Linux serverlinux web serverNETWORK ADMINISTRATIONS

How to start localhost in Ubuntu | install apache server in ubuntu

install apache2 (web server)
————————————–
sudo apt install apache2

start apache server
————————————–
sudo systemctl start apache2

give permission to html folder
————————————–
sudo chmod 777 /var/www/html

create html file in html folder
————————————–
touch /var/www/html/mypage.html

source

by Tricky Binary

linux web server

4 thoughts on “How to start localhost in Ubuntu | install apache server in ubuntu

Comments are closed.