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
84
Introduction to Internet Management
Jeremy Yen
October 08, 2013
Tweet
Share
More Decks by Jeremy Yen
See All by Jeremy Yen
dEXonation
jeremy5189
0
120
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
490
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
OCI Network Firewall 概要
oracle4engineer
PRO
1
7.8k
AWSにおけるTrend Vision Oneの効果について
shimak
0
130
関係性が駆動するアジャイル──GPTに人格を与えたら、対話を通してふりかえりを習慣化できた話
mhlyc
0
130
Oracle Cloud Infrastructure:2025年9月度サービス・アップデート
oracle4engineer
PRO
0
450
E2Eテスト設計_自動化のリアル___Playwrightでの実践とMCPの試み__AIによるテスト観点作成_.pdf
findy_eventslides
1
420
リーダーになったら未来を語れるようになろう/Speak the Future
sanogemaru
0
280
【新卒研修資料】LLM・生成AI研修 / Large Language Model・Generative AI
brainpadpr
24
17k
実装で解き明かす並行処理の歴史
zozotech
PRO
1
420
空間を設計する力を考える / 20251004 Naoki Takahashi
shift_evolve
PRO
3
360
GC25 Recap+: Advancing Go Garbage Collection with Green Tea
logica0419
1
420
社内お問い合わせBotの仕組みと学び
nish01
0
410
Access-what? why and how, A11Y for All - Nordic.js 2025
gdomiciano
1
110
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
20k
Scaling GitHub
holman
463
140k
Embracing the Ebb and Flow
colly
88
4.8k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Automating Front-end Workflow
addyosmani
1371
200k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
610
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
114
20k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Code Review Best Practice
trishagee
72
19k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
19
1.2k
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: 部落格,會員中⼼心,論壇,社員系統