![]() Change the directory ownership and group: sudo chown www-data:www-data /var/www/html/newdirectory Warning: These steps do not restrict access to folders outside of the /var/First create a new directory under / var/www/html: cd /var/www/htmlĬreate a new user and give the user a password: sudo adduser ftpuserįinally give the new user the permissions that they need. With the webserver up and running I needed to be able to FTP into the var/FTP over SSH turned out to be a much simpler and quicker setup. I used tasksel to quickly install the LAMP server role as follows: sudo apt update I recently setup an Ubuntu 18.04 webserver to test webpages locally. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |