Home - archive
php ini not working on cPanel use suPHP
published: 27 Dec 2011, in category: , , ,

is suPHP apache trouble maker which php.ini on per user not working as well. and check now root@venus [/home/rottwe/www]# php -c php.ini t.php | grep globalrun command auto_globals_jit => On => On register_globals => On => On reference  


Load Balancing MySQL Replication Master to Master with HAProxy
published: 17 Aug 2011, in category: , , , ,

Quick How to Load Balancing MySQL master to master with HAProxy On previous post, we’ve installed MySQL Server Replication Master to Master. Now, we can do that for Load Balancing with HAProxy. We need one server again to do this. Do this section on HAProxy server (on example). Installing HAProxy...  


Replicate Master to Master MySQL
published: 16 Aug 2011, in category: , , ,

Preparation Master 1, srv14: 111.68.112.43 Master 2, srv15: 111.68.112.44 Install mysql server on both server. look at previous post for this section. Configuration Master 1 Master 2 Setup Replication Setup Master 1 root@srv14 init.d# mysql -u root -p run command Enter password: Welcome to the MySQL monitor. Commands end with...  


Compiling MySQL 5.5.12 with CMAKE on CentOS
published: 14 Aug 2011, in category: , , , ,

Install dependencies package yum install -y cmake.x86_64 gcc44-gfortran-4.4.4-13.el5 gcc-objc++-4.1.2-50.el5 gcc-4.1.2-50.el5 gcc44-4.4.4-13.el5 libgcc-4.1.2-50.el5 gcc44-c++-4.4.4-13.el5 gcc-c++-4.1.2-50.el5 gcc-gfortran.x86_64 ncurses-devel.x86_64 bison-devel.x86_64 Getting source and cmake wget -c http://ftp.jaist.ac.jp/pub/mysql/Downloads/MySQL-5.5/mysql-5.5.12.tar.gz tar -xvf mysql-5.5.12.tar.gz cd mysql-5.5.12 cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr/local/mysql -DENABLE_DEBUG_SYNC:BOOL=OFF -DMYSQL_DATADIR:PATH=/home/mysql -DMYSQL_DATADIR=/usr/local/mysql/data -DSYSCONFDIR=/usr/local/mysql -DMYSQL_UNIX_ADDR:FILE_NAME=/usr/local/mysql/tmp/mysql.sock -DWITH_EMBEDDED_SERVER:BOOL=ON -DWITH_EXTRA_CHARSETS:STRING=all Make and make install make; make install groupadd mysql useradd -r...  


Install Nginx PHP and FCGI Perl on ubuntu
published: 07 Aug 2011, in category: , , , , , ,

Quick How to Install Dependencies apt-get install nginx libfcgi-perl libfcgi-procmanager-perl FCGI perl on Nginx CGIWRAP-FCGI Perl Script Grab this script save as /usr/local/bin/cgiwrap-fcgi.pl . Nginx configuration for FCGI PERL Add this script to /etc/nginx/sites-available/default. for php engine, replace .pl extention. Run cgiwrap-fcgi.pl root@imam-MS-7636:/usr/local/src/FCGI-0.71# /usr/local/bin/cgiwrap-fcgi.pl FastCGI: manager (pid 30814): initialized FastCGI:...  


What is Hadoop - Apa itu Hadoop
published: 31 Jul 2011, in category: ,

Sometimes, when we bored nothing get idea, my friend sometimes go ahead to chat. We are play jokes, but still serious. Try, Find, Getting out of the box is our mind. Here is one jokes that’s why i posted here.  


Install rrdtool 1.4.5 on Linux machine
published: 31 Jul 2011, in category: , , ,

Installing Dependencies Pixman. wget -c http://oss.oetiker.ch/rrdtool/pub/libs/pixman-0.10.0.tar.gz tar -xvf pixman-0.10.0.tar.gz cd pixman-0.10.0 ./configure make make install Cairo. wget -c http://oss.oetiker.ch/rrdtool/pub/libs/cairo-1.6.4.tar.gz tar -xvf cairo-1.6.4.tar.gz cd cairo-1.6.4 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig ./configure make make install if got error: error: pixman> = 0.10.0 d install pixman first. Glib. wget -c http://oss.oetiker.ch/rrdtool/pub/libs/glib-2.15.4.tar.gz tar -xvf glib-2.15.4.tar.gz cd glib-2.15.4...  


Install Nginx 1.0.4 and PHP-FPM Patch 0.5.14
published: 31 Jul 2011, in category: , , , ,

Quick how to. here we go… Install Nginx 1.0.4 version. grab this code and execute it. Install PHP and Patch FPM 0.5.14 grab this code and execute it. Configure PHP-FPM.conf Grab this code and put as /usr/local/php/etc/php-fpm.conf. Configure PHP.ini we can use php.ini on this page PHP-CGI Script grab this...  


Upgrading ZPOOL and ZFS version on FreeBSD
published: 31 Jul 2011, in category: , , ,

After upgrade to current FreeBSD, i’ve got warning below: mars# zpool status pool: zroot state: ONLINE status: The pool is formatted using an older on-disk format. The pool can still be used, but some features are unavailable. action: Upgrade the pool using 'zpool upgrade'. Once this is done, the pool...  


Install PHP PostgreSQL Module and enable PostgreSQL Module Internal cPanel PHP on WHM
published: 31 Jul 2011, in category: , , , , ,

Well. That was make me annoying 1 month ago. Actually, if you run WHM. There are two version of PHP. 1. PHP module run on client. 2. PHP module run on internal WHM/cPanel. On previous post, i was installing PostgreSQL on WHM. But client can’t use it on PostgreSQL admin...