你的位置:首页 > 操作系统

[操作系统]CentOS 部署 PHP 应用(lamp环境)


先贴命令,之后再作补充。

 

yum install wget

wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
rpm -ivh mysql-community-release-el7-5.noarch.rpm
yum install mysql-server
systemctl start mysqld.service
yum install httpd
systemctl start httpd.service
yum install php
yum install lrzsz
rz -be
yum install unzip
unzip xycontact.zip
cp -r xycontact /var/html/www
mysql -u root
source /root/xycontact/db.sqlcentos部署php应用