Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introduction to Internet Management
Search
Jeremy Yen
October 08, 2013
Technology
0
82
Introduction to Internet Management
Jeremy Yen
October 08, 2013
Tweet
Share
More Decks by Jeremy Yen
See All by Jeremy Yen
dEXonation
jeremy5189
0
110
A day of full stack developer @ NFU
jeremy5189
0
210
Club Mate and Hacker - 34C3 @ SITCON
jeremy5189
2
710
SITCON 2017 論壇系統開發分享 @ SITCON 2017 Summer
jeremy5189
0
230
poManeuver: Poland into space
jeremy5189
0
450
How we hacked a forum
jeremy5189
0
480
Bdecisive - Booking.com Taipei Hack 2nd Prize
jeremy5189
0
570
Social Intelligence Smart-device project
jeremy5189
0
64
IoT made easy @ SITCON x HK
jeremy5189
0
110
Other Decks in Technology
See All in Technology
Javalinの紹介
notoh
0
110
「伝える」を加速させるCursor術
naomix
0
640
doda開発 生成AI元年宣言!自家製AIエージェントから始める生産性改革 / doda Development Declaration of the First Year of Generated AI! Productivity Reforms Starting with Home-grown AI Agents
techtekt
0
160
ゆるSRE #11 LT
okaru
1
630
ObsidianをMCP連携させてみる
ttnyt8701
2
120
CIでのgolangci-lintの実行を約90%削減した話
kazukihayase
0
280
AI技術トレンド勉強会 #1MCPの基礎と実務での応用
nisei_k
1
210
Rubyで作る論理回路シミュレータの設計の話 - Kashiwa.rb #12
kozy4324
1
310
評価の納得感を2段階高める「構造化フィードバック」
aloerina
1
180
What's new in OpenShift 4.19
redhatlivestreaming
1
240
開発効率と信頼性を両立する Ubieのプラットフォームエンジニアリング
teru0x1
0
140
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
38k
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
Adopting Sorbet at Scale
ufuk
77
9.4k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Mobile First: as difficult as doing things right
swwweet
223
9.6k
The Pragmatic Product Professional
lauravandoore
35
6.7k
Building Applications with DynamoDB
mza
95
6.4k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.5k
Rebuilding a faster, lazier Slack
samanthasiow
81
9k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Practical Orchestrator
shlominoach
188
11k
Typedesign – Prime Four
hannesfritz
42
2.7k
Transcript
NTUST Jeremy Yen
} 什麼是網站? } 如何管理⼀一個網站? } 如何架設⼀一個網站?
} 訪客透過IP或網址連線到⼀一台遠端伺服器(Remote Server)並存取上⾯面的檔案。 IP: 123.124.36.12/index.htm URL: http://example.com/index.htm /index.htm
} 通常網站伺服器會有⼀一個資料夾,稱為網站根⺫⽬目錄 } /home/wwwroot/ } C:/Program File/AppServ/www/ } 所有網站資料皆放置於此資料夾下,訪客也只能存 取這個資料夾
} 每個網站⼀一定有⼀一個IP位置 } 因為IP位置不好記,所以使⽤用網址(Domain) } 網址需要註冊(購買),⼀一個網址可以對應⼀一個IP } 網址與IP對應須透過DNS( Domain Name
Server) 伺服器
訪客瀏覽 example.com DNS將 example.com 對應成 IP123.124.57.32 伺服器收到請求並回應
} 針對主機位於遠端的狀況 } Web界⾯面 } http://patricks.tw/wp-admin/ } SSH } FTP
} SFTP
} Secure Shell (安全的Shell連接) } Telent 加密版 } ⽤用以存取遠端主機的命令列,可遠端執⾏行命令 }
常⽤用Client軟體: putty, pietty( putty不⽀支援中⽂文) } SSH如果被侵⼊入,後果不堪設想, } 絕對不要洩漏帳號密碼!
} File Transfer Protocol } ⽤用以傳輸檔案,可上傳/下載檔案 } 常⽤用Client軟體: FileZilla, CyberDuck,
Windows 檔案總管
} SSH也可以上傳/下載檔案 (SCP命令) } 利⽤用SSH當作FTP⽤用稱做SFTP } 速度慢,較安全
https://stu255.ntust.edu.tw/ntust_stu/index.php 通訊協定 ⼦子網域 SubDomain 域名 Domain 類型: com,org,gov,mil,edu,com.tw 資料夾 檔案
} ⼀一個網址對應⼀一個IP,那⼦子網域是怎麼回事呢? cs.ntust.edu.tw cc.ntust.edu.tw DNS伺服器 IP:140.118.31.99 cs.ntust.edu.tw cc.ntust.edu.tw 主機 從封包裡分辨
cs cc
None
} 選擇硬體(主機) ◦ ⾃自⾏行購買維護 ◦ 租⽤用虛擬主機 ◦ 租⽤用VPS } 選擇軟體
◦ Linux Server ◦ Windows Server ◦ Mac Server } 購買網址(透過 GoDaddy等網站)
} 開發原始碼(免費) } 運作較穩定 } LAMP / LNMP ◦ Linux
◦ Apache / Nginx – 伺服器軟體,提供HTTP服務 ◦ MySQL – 資料庫軟體 ◦ PHP – 處理動態網⾴頁的程式語⾔言
} CentOS,從Red Hat發展⽽而來的免費發⾏行版。 } Debian,⼀一個強烈信奉⾃自由軟體,並由志願者維護的系統。 } Fedora,是Red Hat的社群版。 } Red
Hat Enterprise Linux,Fedora的商業版,由Red Hat維護和提 供技術⽀支援。 } Ubuntu,⼀一個⾮非常流⾏行的桌⾯面發⾏行版,由Canonical維護。
} 理察·斯托曼在1983年9月27⽇日發起。⺫⽬目標建⽴立⼀一 套完全⾃自由的作業系統。 } GNU計畫的產物除了Linux家族以外,還有各式各 樣的開放原始碼軟體。 } 為保證GNU軟體可以⾃自由地「使⽤用、複製、修改和 釋出」,出現 GNU
General Public License,GPL (GNU通⽤用公共許可證) } 常⾒見GNU產品: gcc(C語⾔言編譯器), GNU/Linux, } http://www.gnu.org/software/software.html
} 台灣⼤大多數學校使⽤用 } 需要昂貴授權費 } ⾃自⾏行架設居多(租⽤用通常較Linux貴) } Internet Information Services(IIS)
– 提供HTTP 服務 } Microsoft SQL Server – 提供資料庫服務 } ASP 和 ASPX - 處理動態網⾴頁(可⽤用VB或C#撰寫)
} 靜態網⾴頁 ◦ 不隨使⽤用者變動的網⾴頁 ◦ 通常網⾴頁副檔名為.htm或.html ◦ 網站內容固定(如公司介紹網⾴頁) } 動態網⾴頁
◦ 隨使⽤用者或操作變動的網⾴頁 ◦ 由程式語⾔言如PHP,ASP等處理 ◦ EX: 部落格,會員中⼼心,論壇,社員系統