[笔记] centos7 lamp 搭建
其实也就几个命令:sudo yum -y install httpd
sudo service httpd start
sudo yum -y install http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm # 由于centos7 默认是安装MariaDB,需要自己安装mysql rpm
sudo yum -y install mysql-community-server
sudo service mysqld start
sudo /usr/bin/mysql_secure_installation
sudo yum -y install php php-mysql
sudo chkconfig httpd on
sudo chkconfig mysqld on
学习
页:
[1]