lamp基于CentOS6.4安装配置详解.pptVIP

  • 4
  • 0
  • 约2.85千字
  • 约 16页
  • 2016-11-21 发布于河南
  • 举报
2.安装: ·安装Apache: (1)yum -y install httpd 安装命令其中-y是全部回答yes (2)/etc/init.d/httpd start 启动Apache 备注:Apache启动之后会提示错误 解决办法: vi /etc/httpd/conf/httpd.conf 编辑 找到 #ServerName :80 修改为 ServerName www. localhost .com:80 这里设置为你自己的域名,如果没有域名可以设置成localhost chkconfig httpd on 设为开机启动 /etc/init.d/httpd restart 重启Apache ·安装MySQL: (1)yum -y install mysql安装命令 (2)/etc/init.d/mysqld start 启动mysql (3)chkconfig mysqld on 设为开机启动 (4)cp /usr/share/mysql/f /etc/f 复制MySQL默认配置文件,直接覆盖/etc/f (5)mysql_secure_installation 设置mysql管理员root账户密码 (6)/etc/init.d/mysqld restart 重启my

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档