您的位置 电脑知识爱好者 >> 操作系统 >> Solaris9_x86+Apache2+Mysql

Solaris9_x86+Apache2+Mysql

电脑知识爱好者http://www.l9l8.com电脑知识爱好者2008-4-8 1:25:46
知识重点:Software packages needed: 1. GCC 3.2.3 compiled package for x86 platform: gcc-3.2.3-sol9-intel-local.gz 2. MySQL 3.23.55 source code package: mysql-3.23.55.tar.gz 3. Apache 2.0.44 ..
Install MySQL 3.23.55:
# groupadd -g 1002 mysql
# useradd -u 1002 -g mysql -d / -s /usr/bin/false -c "MySQL DB User" mysql
# gtar zxvf mysql-3.23.55.tar.gz
# cd mysql-3.23.55
# ./configure --prefix=/usr/local/mysql --with-low-memory --with-extra-charsets=gb2312,gbk --with-mysqld-user=mysql
# make
# make install
# cd /usr/local/mysql
# cd bin
# ./mysql_install_db
# chown -R mysql:mysql /usr/local/mysql/var
# cd /usr/local/mysql/share/mysql
# ./mysql.server start


Install Apache 2.0.44:
# gtar zxvf httpd-2.0.44.tar.gz
#./configure --enable-mods-shared=all --with-egd --with-devrandom --enable-so
# make
# make install


Install PHP 4.3.1:
# gtar zxvf php-4.3.1.tar.gz
# ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --enable-ftp --with-enable-track-vars
# make
# make install


参与评论
相关内容
关于我们 | 隐私政策 | 站点地图 | 站长博客|京ICP备07025396号
添加到百度搜藏 添加到百度搜藏 电脑知识爱好者Copyright ?2006-2008版权所有 我要啦免费统计