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
250905 大吉祥寺.pm 2025 前夜祭 「プログラミングに出会って20年、『今』が1番楽しい」
msykd
PRO
1
560
Kubernetes における cgroup v2 でのOut-Of-Memory 問題の解決
pfn
PRO
0
470
Firestore → Spanner 移行 を成功させた段階的移行プロセス
athug
0
320
AI開発ツールCreateがAnythingになったよ
tendasato
0
110
AWSを利用する上で知っておきたい名前解決のはなし(10分版)
nagisa53
9
2.6k
kubellが考える戦略と実行を繋ぐ活用ファーストのデータ分析基盤
kubell_hr
0
150
DDD集約とサービスコンテキスト境界との関係性
pandayumi
2
270
生成AIでセキュリティ運用を効率化する話
sakaitakeshi
0
350
react-callを使ってダイヤログをいろんなとこで再利用しよう!
shinaps
1
210
Skrub: machine-learning with dataframes
gaelvaroquaux
0
120
Bye-Bye Query Spaghetti: Write Queries You'll Actually Understand Using Pipelined SQL Syntax
tobiaslampertlotum
0
150
カミナシ社の『ID管理基盤』製品内製 - その意思決定背景と2年間の進化 #AWSUnicornDay / Kaminashi ID - The Big Whys
kaminashi
3
830
Featured
See All Featured
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
8
520
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
Scaling GitHub
holman
463
140k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
For a Future-Friendly Web
brad_frost
180
9.9k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Optimizing for Happiness
mojombo
379
70k
Producing Creativity
orderedlist
PRO
347
40k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
A designer walks into a library…
pauljervisheath
207
24k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.5k
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: 部落格,會員中⼼心,論壇,社員系統