Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install FTP application FileZilla Server on your Virtual Machine VM and Publish using FTP

On your Virtual machine VM, Here is the correct install of the FileZilla server application? and then how to publish your website throw it to your VM? How to open the ports on Azure for FTP FileZilla Server and how to connect it?

like image 671
Bashar Abu Shamaa Avatar asked Aug 23 '16 08:08

Bashar Abu Shamaa


1 Answers

Download "FileZilla Server" on your azure VM (Virtual machine); The download link is available here:

http://filezilla-project.org/download.php?type=server

Now install it, And follow these steps:

1- Go with default setting as below

enter image description here

2- Choose the default "Install as a service, Start with windows", And make the port 14147

3- After finish installation, the FileZilla will run and popup this screen for you, fill it as in image: enter image description here

4- Now we want to locate the folder for the FTP process, But before that we need to add a group and a user; So, from the menu go to "Edit" --> "Groups" and add a Group, then the shared folder as below :

enter image description here

  • Add full permission to the group on selected folder.

5- Edit --> Users as below : enter image description here enter image description here

6- Now, Go to Edit --> Settings :

Go to "Passive mode settings", and fill as below: enter image description here

7- Then go to tab "FTP Over TLS Settings" and create a certificate as below: enter image description here

8- Now, we have to open the ports on VM Windows Firewall : enter image description here enter image description here Add these ports: 14147 , 21 and 990: enter image description here Then Choose the default option to allow all connection and give a name for these ports.

9- Go to "Outbound Rules" and choose Add new rules, follow the same steps in point 8 and be sure to choose "Allow the Connections" and not the default one which is "Block Connections".

10- Now we need to open the ports on Azure portal page:

Log to https://portal.azure.com and then select your VM and then follow these steps: "Network Interfaces" -- > "Network security Group" --> "Inbound Security Rule" And add the ports 21, 14147 and 990 one after each other as below: enter image description here

  • Don't forget to repeat above image step for other ports. 11- Do the same with Outbound Security Rules, with all ports 21, 14147 and 990: enter image description here

12- To publish your site on FTP, Follow these steps : a. After Open your project on Visual Studio, Right click on your project, the select "Publish". b. enter image description here c. enter image description here d. Validate your connection. e. Next --> Next --> Publish your website.

like image 124
Bashar Abu Shamaa Avatar answered Oct 28 '22 06:10

Bashar Abu Shamaa