Master-Slave MySQL-5.1 Replication

Environment: RHEL: 5.3 MySQL: 5.1.54 Master : 1. MySQL user and group 2. Download and install MySQL 3. Create database 4. Master config 5. Password for root 6. Launch master 7. Create account for replication Slave : 1. Copy master application and data as slave 2. Slave Config 3. Launch Slave Test : 1. Check […]

Posted in MySQL, RHEL | Tagged , | 2 Comments

PHP-FPM for RHEL

1. Patch PHP-FPM to PHP 2. PHP Configure Options for CGI/FastCGI (for help) 3. Install PHP 4. Modify php.ini and php-fpm.conf 5. Test and Start

Posted in PHP, RHEL | Tagged , | Leave a comment

Sync Up the Repository by Rsync

rsync server : 192.168.0.132 rsync client : 192.168.0.133 1. Check and Install rsync : or download and install from http://rsync.samba.org/ 2. Configurations of rsync server (192.168.0.132) : 3. User & Password : 4. Open port 873 on both server and client : 5. Rsync daemon : 6. Set autorun : or 7. List all the […]

Posted in RHEL | Tagged , | Leave a comment

Install yum on RHEL5

1. Delete the default yum : 2. Install yum of from http://mirrors.163.com/centos/5/os/i386/CentOS/ : 3. Download Config to /etc/yum.repos.d/ : 4. Test :

Posted in RHEL | Tagged , | 1 Comment