home,
PHP,
updated
How to Install Apache in Ubuntu Server?
Step 1 — Installing Apache
1. sudo apt update
2. sudo apt install apache2
3. sudo ufw app list
4. sudo ufw allow 'Apache'
5. sudo ufw status
6. sudo systemctl status apache2
7. http://your_server_ip
Step 2 - Basic Commands of Apache
To Stop : sudo systemctl stop apache2
To Start : sudo systemctl start apache2
To Restart : systemctl restart apache2
To Disable : sudo systemctl disable apache2
To Enable : systemctl enable apache2
post a comment