Web Development

Want to host your own webserver?

# apt install apache2

Want to install a webserver and backend scripting language?

# apt install mysql install php libapache2-mod-php php-mysql
# systemctl restart apache2
# systemctl status apache2

The default location of the website is in /var/www/html. You will either need super user privileges to modify the file, or grants your user write privileges over everything in the /var/www/html directory.

$ sudo vim /var/www/html/index.html


$ sudo chmod 777 /var/www/html -R
$ vim /var/www/html.index.html

Last modified: Tuesday, 16 June 2020, 4:25 AM