您的位置:首页 > 运维架构 > Linux

centos6.6 lamp 安装

2016-06-21 01:29 357 查看

准备

yum安装

apahce 安装

yum install httpd

chkconfig httpd on 设为开机启动

service httpd restart 重启服务

mysql 安装

yum install mysql mysql-server

chkconfig mysqld on 设为开机启动

mysql_secure_installation 为root设密码

/etc/init.d/mysql.d restart

/etc/init.d/httpd restart

php 安装

yum intall php

安装php组件

转载:

http://www.osyunwei.com/archives/8415.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  centos