开发工具:
文件大小: 32kb
下载次数: 0
上传时间: 2011-05-30
详细说明: Discuz论坛AIX环境配置 主机系统:AIX5.3 数据库:Mysql5 WEB服务:Apache2+PHP5 准备: gcc V4.0.0 for AIX V5.3 (gcc-4.0.0-1.aix5.3.ppc.rpm) gcc-c++ V4.0.0 for AIX V5.3 (gcc-cplusplus-4.0.0-1.aix5.3.ppc.rpm) libgcc V4.0.0 for AIX V5.3 (libgcc-4.0.0-1.aix5.3.ppc.rpm) libstdc++ V4.0.0 for AIX V5.3 (libstdcplusplus-4.0.0-1.aix5.3.ppc.rpm) libstdc++-devel V4.0.0 for AIX V5.3 (libstdcplusplus-devel-4.0.0-1.aix5.3.ppc.rpm) bzip v1.0.2 (bzip2-1.0.2-3.aix5.1.ppc.rpm) expat v1.95.7 (expat-1.95.7-4.aix5.1.ppc.rpm) flex v2.5.4a (flex-2.5.4a-6.aix4.3.ppc.rpm) freet ype2 v2.1.7 (freetype2-2.1.7-5.aix5.1.ppc.rpm) libjpeg v6b (libjpeg-6b-6.aix5.1.ppc.rpm) libpng v1.2.8 (libpng-1.2.8-5.aix5.1.ppc.rpm) zlib v1.2.3 (zlib-1.2.3-3.aix5.1.ppc.rpm) libxml2-2.6.21-4.aix5.2.ppc.rpm libxml2-devel-2.6.21-4.aix5.2.ppc.rpm pkg-config-0.19-6.aix5.2.ppc.rpm 安装 AIX 分发版中的 Base Application Development Math Library (bos.adt.libm) httpd-2.2.15.tar.gz php-5.2.11.tar mysql-5.1.46-aix5.3-powerpc.tar AIX5.3安装Mysql5 cd /usr/mysql # ./scripts/mysql_install_db Installing MySQL system tables... OK Filling help tables... OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: ./bin/mysqladmin -u root password 'new-password' ./bin/mysqladmin -u root -h testos password 'new-password' Alternatively you can run: ./bin/mysql_secure_installation which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers. See the manual for more instructions. You can start the MySQL daemon with: cd . ; ./bin/mysqld_safe & You can test the MySQL daemon with mysql-test-run.pl cd ./mysql-test ; perl mysql-test-run.pl Please report any problems with the ./bin/mysqlbug script! AIX5.3安装Apache (httpd2.2.15 ) #./configure --prefix=/usr/local/apache --enable-mods-shared=all --enable-so (/usr/local/apache为安装目录) #make #make install 配置httpd.conf vi /usr/local/apache/conf/httpd.conf ServerName 配置为 127.0.0.1,服务器IP或域名 DirectoryIndex 中添加index.htm index.jsp default.htm default.html Group nobody 必须要改,否则apache不能启动 #cd /usr/local/apache/bin #./apachectl start 编辑apache配置文件httpd.conf 找到LoadModule php5_module modules/libphp5.so 前面的#号去掉(默认已去掉注释) 还有找到DirectoryIndex index.html 加上 index.php index.htm AIX5.3安装PHP ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --with-zlib #/opt/freeware/bin/make # cp .libs/libphp5.so /usr/local/apache2/modules # cp php.ini-recommended /usr/local/apache2/conf/php.ini 不需要make install ...展开收缩
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.