【LAMP 环境下搭建 Discuz 论坛】
3
3) 用修改后的密码登录
[root@test1 local]# mysql -u root –p
Enter password: ( 输入修改后的密码 mysql)
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4 to server version: 4.0.16-standard
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
成功!
2. 安装 apache
安装之前要先检查 linux 自带的 apache, 若有则删除
命令: rpm –qa|grep httpd #查询安装的软件
rpm –e –nodeps 软件名称 #卸载软件部检查依赖关系
使用版本 httpd-2.2.21.tar.gz
上传软件并解压
#tar zxvf httpd-2.2.21.tar.gz
编译、安装
#cd httpd-2.2.21
#./configure --prefix=/usr/local/apache -enable-module=so
// “--prefix ”选项指定 Apache 服务器程序将要安装到的系统目录
#make && make install
apache 的启动与停止
评论0
最新资源