How to configure-add java extension for php on CentOS 5

How to configure-add java extension for php on CentOS 5

Here I have used php version 5.2.11 and to jdk-6u18-linux-x64.bin ( from given JAVA download link) [root@ravi.com ~]# yum  -y install httpd php php-devel php-gd php-cli php-xml php-ldap php-common php-pear php-pdo Install java jdk and set env in ~/.bashrc also run this on CLI to verify before next step. export JAVA_HOME=//usr/java/jdk1.6.0_18 export PATH=/usr/java/jdk1.6.0_18/bin:$PATH [root@ravi.com ~]# …

Read More Read More

How to install PDO_OCI extension for php5

How to install PDO_OCI extension for php5

To enable pdo_oci module you may need to install oracle client and oci8 module is require. I have installed oracle 10g client here. [root@ravi.com ~]# export ORACLE_HOME=/usr/lib/oracle/10.2.0.3/client64/ ; export LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.3/client64/ [root@ravi.com ~]# cd /tmp [root@ravi.com tmp]# pecl download pdo_oci [root@ravi.com tmp]# tar xvzf PDO_OCI-1.0.tar.gz [root@ravi.com tmp]# cd PDO_OCI-1.0 && phpize [root@ravi.com tmp]# ./configure [root@ravi.com PDO_OCI-1.0]# …

Read More Read More

Installing PDO_OCI extension for php5

Installing PDO_OCI extension for php5

To enable pdo_oci module you may need to install oracle client and oci8 module is require. I have installed oracle 10g client here. [root@ravi.com ~]# export ORACLE_HOME=/usr/lib/oracle/10.2.0.3/client64/ ; export LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.3/client64/ [root@ravi.com ~]# cd /tmp [root@ravi.com tmp]# pecl download pdo_oci [root@ravi.com tmp]# tar xvzf PDO_OCI-1.0.tar.gz [root@ravi.com tmp]# cd PDO_OCI-1.0 && phpize [root@ravi.com tmp]# ./configure [root@ravi.com PDO_OCI-1.0]# …

Read More Read More

Как установить & настроить VNC Server на CentOS

Как установить & настроить VNC Server на CentOS

Как установить VNCSERVER На CentOS Yum groupinstall “GNOME Desktop Environment” Yum Xterm Установить VNC-сервера VNC удалить существующий файл с править & ‘/ ETC / sysconfig / VNCSERVERS “и добавьте следующие строки в нем VNCSERVERS = “2: Root” VNCSERVERARGS [2] = “-геометрия 800 × 600-nolisten TCP-nohttpd-LocalHost” установить VNC пароль для открытия VNC для пользователей корня (Вы …

How to install & configure VNC server on CentOS

How to install & configure VNC server on CentOS

How to install VNCSERVER on CentOS yum groupinstall “GNOME Desktop Environment” yum install xterm vnc-server vnc remove the existing file & edit with ‘/etc/sysconfig/vncservers‘ and put the following lines in it VNCSERVERS=”2:root” VNCSERVERARGS[2]=”-geometry 800×600 -nolisten tcp -nohttpd -localhost” set the vnc password to open the vnc for user root (you have to login as a …

Read More Read More

How to install GeoIP and mod_geoip2 on centos for apache

How to install GeoIP and mod_geoip2 on centos for apache

How to install GeoIP and mod_geoip2 on centos for apache 1) yum install GeoIP GeoIP-devel GeoIP-data zlib-devel 2) mkdir /usr/local/share/GeoIP 3) Download the latest Country and City database files from maxmind cd /usr/local/share/GeoIP wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz gunzip GeoIP.dat.gz gunzip GeoLiteCity.dat.gz 4) yum install httpd-devel apr-devel 5) wget http://geolite.maxmind.com/download/geoip/api/mod_geoip2/mod_geoip2_1.2.5.tar.gz 6) tar xvzf mod_geoip2_1.2.5.tar.gz && cd …

Read More Read More

How to install GeoIP and mod_geoip2 on centos for apache

How to install GeoIP and mod_geoip2 on centos for apache

How to install GeoIP and mod_geoip2 on centos for apache 1) yum install GeoIP GeoIP-devel GeoIP-data zlib-devel 2) mkdir /usr/local/share/GeoIP 3) Download the latest Country and City database files from maxmind cd /usr/local/share/GeoIP wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz gunzip GeoIP.dat.gz gunzip GeoLiteCity.dat.gz 4) yum install httpd-devel apr-devel 5) wget http://geolite.maxmind.com/download/geoip/api/mod_geoip2/ 6) tar xvzf mod_geoip2_1.2.5.tar.gz && cd …

Read More Read More