Transfer And Manage Files On LAMP Server Using FileZilla

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.

Azure

Step 2

Run the following command to assign permission for the folder where we need to add our own file. 

  1. sudo chmod o+w /var/www/html   
Azure
  
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.
 
Azure
 
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. 
 
Azure

Azure

Step 5

Now when you check the IP address back in the browser you can see our new page updated there.
 
Azure