LAMP环境搭建media wiki、dokuwiki
准备工作 安装apache(httpd) 编译安装httpd tar xzvf httpd-2.2.17.tar.gz -C /data/server cd /data/server/httpd-2.2.17 ./configure --prefix=/data/server/httpd --enable-so --enable-rewrite --enable-charset-lite --enable-cgi make -j4 && make install 优化路径并启动: ln -s /data/server/httpd/bin/* /usr/local/bin/ apachectl start 此时启动会提示: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::963a:9ac6:910d:70f2 for ServerName 解决办法:在末行添加:ServerName localhost:80 验证: 安装MySQL 编译安装mysql 提前安好需要的安装环境 yum -y install cmake nucrses-devel yum -y install ncurses-devel 编译安装: tar zxvf mysql-5.5.22