Author Archives: admin

admin

About admin

come and find me on

Accelerates the performance of PHP on your servers – Install xCache

XCache is an open-source cacher that can significantly boost the performance of PHP code on your servers. It keeps the compiled form of PHP scripts into the system cache or RAM and uses that compiled version straight from the server cache, If compiled version is found in cache the PHP code compilation is skipped that saves time and delivers optimal performance.

In order to install xCache on CentOS you need to following the following steps.

1) Login to your server or VPS using root credentials.

2) Make user you have all the libraries and tools required to complete the installation:
yum -y install php-devel gcc make

3) Download the latest tarball of xcache
cd /opt
wget http://xcache.lighttpd.net/pub/Releases/3.1.0/xcache-3.1.0.tar.gz

4) Uncompress the source code
tar zxvf xcache-3.1.0.tar.gz
cd xcache-3.1.0

5) Now you need to build the
phpize –clean
phpize

You will get the output similar to the following.
Configuring for:
PHP Api Version: 20121113
Zend Module Api No: 20121212
Zend Extension Api No: 220121212

6) Now execute the configuration script
./configure –enable-xcache && make

The above command will take a minute or so to complete and produce significant screen out. At the end you will see message
Build complete.
Don’t forget to run ‘make test’.

7) Now you need to publish the compiled XCache:

make install

8) For administration panel of XCache you will need to generate a password encrypted with md5.

echo -n “DmbAdm2014″|md5sum
52e4557e634f2ab84a967b17be449d06 –

9) Now you need to update php.ini file with the details similar to the following

vi /etc/php.ini
[xcache-common]
extension = /usr/lib64/php/modules/xcache.so
[xcache.admin]
xcache.admin.user = “admin”
xcache.admin.pass = “52e4557e634f2ab84a967b17be449d06″

[xcache]
xcache.size = 32M
xcache.shm_scheme = “mmap”

; set to cpu count (cat /proc/cpuinfo |grep -c processor)
xcache.count = 4
xcache.slots = 8K

; ttl of the cache item, 0=forever
xcache.ttl = 0
xcache.gc_interval = 0

xcache.var_size = 8M
xcache.var_count = 1
xcache.var_slots = 8K
xcache.var_ttl = 0
xcache.var_maxttl = 0
xcache.var_gc_interval = 300

xcache.test = Off
xcache.readonly_protection = On
xcache.mmap_path = “/tmp/xcache”
xcache.coredump_directory = “”

xcache.cacher = On
xcache.stat = On
xcache.optimizer = Off

[xcache.coverager]
xcache.coverager = On
xcache.coveragedump_directory = “”

10) Now you can test if XCache is enabled by running the phpinfo() function and look for something similar to:
with XCache v2.0.1, Copyright (c) 2005-2013, by mOo

DB2 10.5 Enterprise Server Edition – Fixing libaio and libnuma shared library error

Before we dig deep I will provide some details on the environment
IBM DB2 Version – DB2 10.5 ESE
OS – Centos 6.5
Server – VPS 1 GB RAM, 30 GB SSD

After I successfully installed IBM DB2 10.5 server edition and created an instance. I issued db2start command and bam got an error.

>db2start
>db2start: error while loading shared libraries:libaio.so.1: cannot open shared object file: No such file or directory

This error occurs because shared library: libio is missing. The solution is very simple. I logged in as root and installed  the library using the following command

>yum install libaio

After installing libaio library switched identity to db2inst1 and tried to started db2instance and got the second error.

>db2start
>db2start: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory

Again the reason for this error was missing shared library. I logged in as root and installed the library.

>yum install numactl-2.0.7-8.el6.x86_64

I installed the library and instance started successfully.

DATABASE PROGRAMING

Cogniz software Maintain and Evaluate database management systems with computer software to determine ways to organize and store data. Using this step Graduates learn to identify user requirements, set up computer databases, and test and coordinate modifications to the computer database systems. We ensures the performance of the system, understands the platform on which the database runs, and adds new users to the system. Because they also design and implement system security, computer programmers and database scientists often plan and coordinate security measures.

 

Database Programming

DATABASE ADMINISTRATION

Cogniz software Maintain and Evaluate database management systems with computer software to determine ways to organize and store data. Using this step Graduates learn to identify user requirements, set up computer databases, and test and coordinate modifications to the computer database systems. We ensures the performance of the system, understands the platform on which the database runs, and adds new users to the system. Because they also design and implement system security, computer programmers and database scientists often plan and coordinate security measures.

Software,database programming

Custom Application Development

Cogniz software Solutions offers custom application development and full life-cycle design for a range of platforms, architectures, technologies and devices. Our deep cross-industry expertise and in-depth understanding of business processes and information technology benfefit organizations by supporting the needs of highly customized, market-leading products and services.

Website Development

Database Programming Training

Cogniz software solutions provides Database programming training to write code, perform quality assurance checks and design the protocols of enterprise access to a database or data warehouse environment.In this training, you will learn basic SQL database creation and manipulation, as well as how to search databases and how to incorporate them into PHP-based programs and applications. SQL (Structured Query Language) is the language for databases such as Oracle, MySQL, MS Access, etc.

Website Development

Website Marketing And Design

Cogniz software solutions Provides the best oppurtunity to all,who have desire to get uniquness in their website

The benefits of our Website Marketing services include:

  • Being found first in search results
  • Gaining an advantage over your competitors
  • Attaining the highest rate of traffic to your website
  • Being perceived as your industry’s leader
  • Attracting more quality sales leads
  • Increasing business revenue
  • Enhancing business profitability
  • Improving business sustainability

Website Marketing

Website Development and Designing

We provide exceptional consulting expertise, and strategic design that compliments your brand & accomplishes your goals.

We provide a comprehensive range of Services featuring website development, website application an Programming, SEO

Website Development

Mobile App Development

Cogniz Software Solutionis a Reputable  mobile app company that provide mobile app development courses and training at very low fee rates.

So we offers:-

Mobile App Development

  • Complete Mobile App Strategies
  • Your Content, Colors, & Branding
  • End to End App Development
  • Solutions for Any Industry
  • Apps for any Organization, Brand, Event, Product
  • Complete Custom Development Available

Mobile App Development