您的位置:首页 > 理论基础 > 计算机网络

搞了一个论坛玩玩!http://lupeiqing.3322.org/bbs

2004-08-05 23:52 591 查看
基于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的所在目录即可!

最后根据自己要求配置即可
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐