In this article, we will see how to upload our files to a LAMP Server using FileZilla. FileZilla is a cross-platform FTP, SFTP, and FTPS client with a vast list of features, which supports Windows, Mac OS X, Linux, and more. FileZilla's dynamic tools help you move files between your local machine and your Web site's server effortlessly.
Step 1
Login to the Ubuntu Server (LAMP Configured) you created in the previous exercise using the same Username and Password.
Step 2Run the following command to assign permission for the folder where we need to add our own file.
- sudo chmod o+w /var/www/html
Step 3
Login to FileZilla with the host as the IP address, the same username and password of the VM and port as 22. Navigate to /var/www/html path in the remote site.
Step 4
Remove the default index.html page (the Apache default page) and add a new sample php page there named as index.html itself.
Step 5
Now when you check the IP address back in the browser you can see our new page updated there.