日期:2014-05-17 浏览次数:20762 次
yum install ibus-table-chinese-wubi-haifeng yum -y install kernel-devel rpm-build gcc make yum -y install patch make gcc gcc-c++ gcc-g77 flex bison file yum -y install libxml2 libxml2-devel yum -y install curl curl-devel yum -y install libjpeg libjpeg-devel yum -y install libpng libpng-devel yum -y install libmcrypt libmcrypt-devel
cd /home/lifision/LAMP tar -zvxf mysql-5.5.12-linux2.6-i686.tar.gz mv /home/lifision/LAMP/mysql-5.5.12-linux2.6-i686 /usr/local/mysql cd /usr/local/mysql groupadd mysql useradd -p mysql -g mysql mysql scripts/mysql_install_db --user=mysql cp /usr/local/mysql/support-files/my-medium.cnf /etc/my.cnf /usr/local/mysql/support-files/mysql.server start #########################
/usr/local/mysql/bin/mysql /usr/local/mysql/bin/mysqladmin -u root password *** /usr/local/mysql/support-files/mysql.server stop /usr/local/mysql/bin/mysql -u root -p //userdel -r mysql //groupdel -r mysql //chmod 777 /usr/local/mysql //chown -R root /usr/local/mysql //chown -R mysql /usr/local/mysql/data //chown -R mysql:mysql /usr/local/mysql/data //ps -A|grep mysql //8016 pts/2 00:00:00 mysqld_safe //kill -9 8016
cd /home/lifision/LAMP tar -zvxf httpd-2.2.18.tar.gz cd httpd-2.2.18 ./configure --prefix=/usr/local/apache --enable-module=so --enable-mods-shared='rewrite' make make install /usr/local/apache/bin/apachectl start ########################### /usr/local/apache/bin/apachectl stop http://127.0.0.1/ mkdir /www chmod 777 /www gedit /usr/local/apache/conf/httpd.conf DocumentRoot /usr/local/apache/htdocs => /www <Directory "/usr/local/apache/htdocs"> => <Directory "/www">
//rm -rf /home/lifision/LAMP/php-5.2.17 cd /home/lifision/LAMP tar -jxvf php-5.2.17.tar.bz2 cd php-5.2.17 ./configure --prefix=/usr/local/php -with-apxs2=/usr/local/apache/bin/apxs --with-curl --with-gd --with-mysql=/usr/local/mysql make make install
DirectoryIndex index.html index.php <Directory "/www"> </Directory>
AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps AddType application/x-compress .Z AddType application/x-gzip .gz .tgz
LoadModule php5_module modules/libphp5.so AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps index.php <?php phpinfo(); ?>
cd /home/lifision/LAMP tar -zvxf phpMyAdmin-3.4.0-all-languages.tar.gz cp /home/lifision/LAMP/phpMyAdmin-3.4.0-all-languages/config.sample.inc.php => /home/lifision/LAMP/phpMyAdmin-3.4.0-all-languages/config.inc.php mv /home/lifision/LAMP/phpMyAdmin-3.4.0-all-languages /www/phpMyAdmin
cd /home/lifision/LAMP tar -zvxf ZendOptimizer-3.3.9