Cài đặt ftp server trên windows server 2012

     

You may want to install a secure FTP server on Windows either as standalone file storage or to have means of editing your website hosted on IIS (Internet Information Services) web server. In both cases, you can use an optional FTP Server component of the IIS. It can be installed standalone or along with a Web Server.1

Installing FTP Server Adding FTP Site

Installing FTP Server


In Add Roles and Features wizard: Proceed to Installation Type step and confirm Role-based or feature-based installation. Proceed to Server Roles step and check Web Server (IIS) role. Note that it is checked already, if you had IIS installed as a Web Server previously. Confirm installing IIS Management Console tool. Proceed to Web Server Role (IIS) > Role Services step and check FTP Server role service. Uncheck Web Server role service, if you do not need it. Proceed to the end of the wizard and click Install. Wait for the installation to complete.

*


If you do not have IIS installed yet:

In Windows Server Manager go to Roles node and in Roles Summary panel click Add Roles. In Add Roles wizard: Proceed to Server Roles step and check Web Server (IIS) role. Proceed to Role Services step and check FTP Server > FTP Service role service. Uncheck Web Server role service, if you do not need it. Make sure Management Service > IIS Management Console role service is checked. Proceed to the end of the wizard and click Install. Wait for the installation to complete.

If you have IIS installed already (i.e. as a Web Server):

In Windows Server Manager go to Roles node and in Web Server (IIS) > Role Services panel click Add Role Services. In Add Role Services wizard: Check FTP Server > FTP Service role service. Make sure that Management Service > IIS Management Console is checked. Confirm with Next button. Proceed to the end of the wizard and click Install. Wait for the installation to complete.

*


Go to Control Panel > Programs > Program and Features > Turn Windows features on or off. On a Windows Features window: Expand Internet Information Services > FTP Server and check FTP Service. Expand Internet Information Services > Web Management Tools and check IIS Management Console, if it is not checked yet. Confirm with OK button. Wait for the installation to complete.

*

Opening IIS Manager


Go to Control Panel > System and Security > Administrative Tools and open Internet Information Services (IIS) Manager. Navigate to your Windows server node.

Bạn đang xem: Cài đặt ftp server trên windows server 2012

*


You need a TLS/SSL certificate to secure your FTP server. Ideally, you should acquire the certificate from a certificate authority.

Xem thêm: Plugin Tạo Landing Page Wordpress Với Theme & Plugin Tốt Nhất

You may also create a self-signed certificate locally, but in such case users of your FTPS server will be warned, when connecting to the server.

To create the self-signed certificate:

In IIS Manager, open IIS > Server Certificates. Click on Create Self-Signed Certificate action. Specify a certificate name (e.g. “FTP Server”) and submit with OK.

*

Self-signed certificates created by IIS Manager do not work with FTPS clients that check for key usage violations.2 To create a certificate with a correct key usage, use New-SelfSignedCertificate PowerShell as an Administrator:

New-SelfSignedCertificate -FriendlyName "FTP Server" -CertStoreLocation cert:\localmachine\my -DnsName ftp.example.com

Servers behind external Firewall/NAT



Chuyên mục: Domain Hosting