Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,027

HOME > Windows Azure > Using Windows Azure Case Study (Move to VM - Windows) > ขั้นตอนที่ 3 : การสร้าง Setup FTP Account และ FTP ไฟล์ไปที่ VM (Windows Server)



Clound SSD Virtual Server

ขั้นตอนที่ 3 : การสร้าง Setup FTP Account และ FTP ไฟล์ไปที่ VM (Windows Server)

ขั้นตอนที่ 3 : การสร้าง Setup FTP Account และ FTP ไฟล์ไปที่ VM (Windows Server) การ FTP เป็นวิธีหนึ่งที่ช่วยเพิ่มช่องทางในการที่จะ Transfer หรือ Upload ไฟล์ ด้วยการ FTP ระหว่าง Client กับ VM ที่เป็น Windows Server โดยที่เราสามารถจะ Upload และ Downloadไฟล์ต่าง ๆ จากเครื่อง Client มาไว้บน VM ที่ทำหน้าที่เป็น Server ได้สะดวกและง่ายยิ่งขึ้น

และบน Windows Server 2008 ก็มีเครื่องมือที่สามารถเข้ามาจัดการกับการสร้าง FTP ได้ง่ายยิ่งขึ้น เพราะเพียงแค่สร้าง FTP Site จากนั้นกำหนด Folder และก็สิทธิ์ของ User เพียงเท่านี้ก็สามารถที่จะ FTP ได้อย่างง่ายดาย

การติดตั้ง FTP Services

Windows Azure VM Windows Server FTP

ภายใต้ Server Manager ให้คลิกที่ Roles -> Web Server (IIS) -> Add Role Services

Windows Azure VM Windows Server FTP

เลือก FTP Server

Windows Azure VM Windows Server FTP

เลือก Install เพื่อทำการติดตั้ง

Windows Azure VM Windows Server FTP

ติดตั้งเรียบร้อย








การสร้าง FTP Account

Windows Azure VM Windows Server FTP

คลิกขวาที่ Sites -> Add FTP Sites...

Windows Azure VM Windows Server FTP

กำหนดชื่อ FTP site name : และเลือก Folder สำหรับ Site นี้ ซึ่งเราจะเลือกที่ D:\thaicreate เป็นที่จัดเก็บไฟล์ของเว็บ

Windows Azure VM Windows Server FTP

ในขั้นตอนนี้สามารถกำหนด Host Name และ Port ได้ หรือจะกำหนดเป็นค่า Default จากนั้นให้เลือก No SSL

Windows Azure VM Windows Server FTP

ในขั้นตอนนี้ให้เลือก User ที่จะมีสิทธิ์ FTP ซึ่งในขั้นตอนนี้ให้กำหนดเป็น User ที่ใช้ Login เดียวกับ Login ตัว Windows (ซึ่งตอนนี้ผมได้กำหนด User ว่า thaicreate ในขั้นตอนของการสร้าง VM)

Windows Azure VM Windows Server FTP

ได้ FTP Site ขึ้นมา 1 รายการ สำหรับบริการ FTP ซึ่งในตอนนี้จะยังไม่สามารถ FTP จาก Client ได้ เพราะยังติด Firewall ของ Windows Server


การเปิด Firewall ของ Windows Server 2008

Windows Azure VM Windows Server FTP

เลือกที่ Start -> Administrative -> Windows Firewall with Advanced Security

Windows Azure VM Windows Server FTP

คลิกขวาที่ Inbound -> New Rule...

Windows Azure VM Windows Server FTP

คลิกที่ Port

Windows Azure VM Windows Server FTP

เลือก Allow the connection

Windows Azure VM Windows Server FTP

สร้างชื่อเป็น FTP Content

Windows Azure VM Windows Server FTP

จากนั้นเราจะได้ Inbound Rules ขึ้นมา 1 รายการ และสามารถที่จะปรับแต่งค่าต่าง ๆ ได้จาก Rules นี้








การสร้าง Endpoint บน VM สำหรับ FTP

Windows Azure VM Windows Server FTP

บน Portal Management ของ Windows Azure ให้เลือก VM ที่ต้องการ และเลือกเมนู ENDPOINT

Windows Azure VM Windows Server FTP

เลือก ADD

Windows Azure VM Windows Server FTP

สร้าง Endpoint สำหรับ FTP ซึ่งจะใช้ Port : 21

Windows Azure VM Windows Server FTP

ได้ Endpoint สำหรับ FTP ด้วย Port : 21

Windows Azure VM Windows Server FTP

จากนั้นให้ลอง FTP เข้าไป ซึ่ง Host จะใช้ชื่อเดียวกับ URL ของ VM และก็ Username / Password ถ้า Login ผ่านก็จะพบกับไฟล์ที่เราได้สร้างไว้ก่อนหน้านี้

Windows Azure VM Windows Server FTP

ซึ่ง index.html เป็นไฟล์ที่อยู่บน VM ในโฟเดอร์ D:\thaicreate\index.html

Windows Azure VM Windows Server FTP

ให้ทำการ Upload ไฟล์ของเว็บไซต์ทั้งหมดขึ้นไปไว้บน VM

Windows Azure VM Windows Server FTP

เมื่อทำการ Remote เข้าไปดูในโฟเดอร์ D:\thaicreate ก็จะพบกับไฟล์ที่เราได้ Upload ผ่าน FTP



บทความถัดไปที่แนะนำให้อ่าน

   
Share


ช่วยกันสนับสนุนรักษาเว็บไซต์ความรู้แห่งนี้ไว้ด้วยการสนับสนุน Source Code 2.0 ของทีมงานไทยครีเอท


ลองใช้ค้นหาข้อมูล


   


Bookmark.   
       
  By : ThaiCreate.Com Team (บทความเป็นลิขสิทธิ์ของเว็บไทยครีเอทห้ามนำเผยแพร่ ณ เว็บไซต์อื่น ๆ)
  Score Rating :  
  Create/Update Date : 2013-06-06 21:03:00 / 2017-03-24 16:47:45
  Download : No files
 Sponsored Links / Related

 
ขั้นตอนที่ 1 : การสร้าง VM ของ Windows Server บน VM - Windows Azure
Rating :

 
ขั้นตอนที่ 2 : การติดตั้ง IIS Web Server การสร้าง Endpoint เพื่อบริการ Web Server
Rating :

 
ขั้นตอนที่ 4 : ติดตั้ง PHP สำหรับ IIS บน VM Windows Server ของ Windows Azure
Rating :

 
ขั้นตอนที่ 5 : การติดตั้ง MySQL และสร้าง User สำหรับ MySQL บน Windows Server
Rating :

 
ขั้นตอนที่ 6 : การติดตั้ง SMTP บน VM Windows Server เพื่อใช้สำหรับส่งอีเมล์ด้วย PHP
Rating :

 
ขั้นตอนที่ 7 : การแก้ไข CNAME เกำหนด Custom Domain เพื่อใช้งานจริงบน VM
Rating :

 
ขั้นตอนที่ 8 : การตรวจสอบ Scale , Monitor และรายละเอียดค่าบริการอื่น ๆ
Rating :


ThaiCreate.Com Forum


Comunity Forum Free Web Script
Jobs Freelance Free Uploads
Free Web Hosting Free Tools

สอน PHP ผ่าน Youtube ฟรี
สอน Android การเขียนโปรแกรม Android
สอน Windows Phone การเขียนโปรแกรม Windows Phone 7 และ 8
สอน iOS การเขียนโปรแกรม iPhone, iPad
สอน Java การเขียนโปรแกรม ภาษา Java
สอน Java GUI การเขียนโปรแกรม ภาษา Java GUI
สอน JSP การเขียนโปรแกรม ภาษา Java
สอน jQuery การเขียนโปรแกรม ภาษา jQuery
สอน .Net การเขียนโปรแกรม ภาษา .Net
Free Tutorial
สอน Google Maps Api
สอน Windows Service
สอน Entity Framework
สอน Android
สอน Java เขียน Java
Java GUI Swing
สอน JSP (Web App)
iOS (iPhone,iPad)
Windows Phone
Windows Azure
Windows Store
Laravel Framework
Yii PHP Framework
สอน jQuery
สอน jQuery กับ Ajax
สอน PHP OOP (Vdo)
Ajax Tutorials
SQL Tutorials
สอน SQL (Part 2)
JavaScript Tutorial
Javascript Tips
VBScript Tutorial
VBScript Validation
Microsoft Access
MySQL Tutorials
-- Stored Procedure
MariaDB Database
SQL Server Tutorial
SQL Server 2005
SQL Server 2008
SQL Server 2012
-- Stored Procedure
Oracle Database
-- Stored Procedure
SVN (Subversion)
แนวทางการทำ SEO
ปรับแต่งเว็บให้โหลดเร็ว


Hit Link
   







Load balance : Server 02
ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2024 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่