Start apache
sudo systemctl start apache2 or sudo service apache2 start or sudo /etc/init.d/apache2 start
Restart apache
sudo systemctl restart apache2 or sudo service apache2 restart or sudo /etc/init.d/apache2 restart
Stop apache
sudo systemctl stop apache2 or sudo service apache2 stop or sudo /etc/init.d/apache2 stop
Disable apache (no auto start)
sudo systemctl disable apache2
Start MySQL
sudo systemctl start mysql or sudo service mysql start or sudo /etc/init.d/mysql start
Restart apache
sudo systemctl restart mysql or sudo service mysql restart or sudo /etc/init.d/mysql restart
Stop MySQL
sudo systemctl stop mysql or sudo service mysql stop or sudo /etc/init.d/mysql stop
Disable MySQL (no auto start)
sudo systemctl disable mysql
- posted by: Lâm Ngọc Khương
- site: https://ngockhuong.com
- email: [email protected]