基于solaris 8 for sparc。
服务器配置:
1G内存,2cpu
安装services:
mysql-4.0.20:
shell> wget http://dev.mysql.com/get/Downloa ... sql.linuxforum.net/
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> gunzip < mysql-standard-4.0.20-sun-solaris2.8-sparc.tar.gz | tar xvf -
shell> mv mysql-standard-4.0.20-sun-solaris2.8-sparc mysql-4.0.20
shell> cd mysql-4.0.20
shell> scripts/mysql_install_db --user=mysql
shell> chown -R root .
shell> chown -R mysql data
shell> chgrp -R mysql .
shell> bin/mysqld_safe --user=mysql &
php-4.3.8:
shell> wget http://cn2.php.net/get/php-4.3.8.tar.gz/from/cn.php.net/mirror
shell> ./configure --prefix=/marco/service/php-4.3.8 --with-apxs2=/marco/service/apache-2.0.50/bin/apxs --sable-debug --enable-track-vars && make && make install
shell> cp php.ini-dist /marco/service/php-4.3.8/lib/php.ini
apache-2.0.50:
shell> wget http://apache.linuxforum.net/dist/httpd/httpd-2.0.50.tar.gz
shell> ./configure --prefix=/marco/service/apache-2.0.50 --enable-include --enable-so && make && make install
安装ZendOptimizer
shell>./install.sh
输入安装位置和php.ini的所在目录即可!
最后根据自己要求配置即可
该博客基于Solaris 8 for sparc系统,介绍服务器配置及服务安装。包括安装MySQL 4.0.20、PHP 4.3.8、Apache 2.0.50的具体shell命令,还提及安装ZendOptimizer的方法,最后需根据自身要求进行配置。


被折叠的 条评论
为什么被折叠?



