[Web] 如何在aix系统里搭建web服务器~

weixin_38056491 2003-04-26 09:10:26

最好详细说一下(偶是新人),或者给个有关连接,谢谢
...全文
22 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
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) freetype2 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

477

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧