欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

腾讯云ubuntu下安装php5 apache2 mysql的命令分享

程序员文章站 2022-04-03 17:05:34
sudo apt-get update sudo apt-get install mysql-server sudo apt-get install mysql-client...

sudo apt-get update

sudo apt-get install mysql-server

sudo apt-get install mysql-client

sudo service mysql start

sudo apt-get install apache2

sudo apt-get install php5

sudo apt-get install php5-mysql

sudo /etc/init.d/apache2 restart

sudo service apache2 restart

systemctl stop firewalld

service ufw stop

service ufw status