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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Jeremy Yen
October 08, 2013
Technology
0
88
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
220
Club Mate and Hacker - 34C3 @ SITCON
jeremy5189
2
720
SITCON 2017 論壇系統開發分享 @ SITCON 2017 Summer
jeremy5189
0
230
poManeuver: Poland into space
jeremy5189
0
460
How we hacked a forum
jeremy5189
0
510
Bdecisive - Booking.com Taipei Hack 2nd Prize
jeremy5189
0
580
Social Intelligence Smart-device project
jeremy5189
0
65
IoT made easy @ SITCON x HK
jeremy5189
0
110
Other Decks in Technology
See All in Technology
Amazon S3 Vectorsを使って資格勉強用AIエージェントを構築してみた
usanchuu
3
450
コミュニティが変えるキャリアの地平線:コロナ禍新卒入社のエンジニアがAWSコミュニティで見つけた成長の羅針盤
kentosuzuki
0
130
Webhook best practices for rock solid and resilient deployments
glaforge
2
300
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
990
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
2
390
Cosmos World Foundation Model Platform for Physical AI
takmin
0
950
StrandsとNeptuneを使ってナレッジグラフを構築する
yakumo
1
120
プロポーザルに込める段取り八分
shoheimitani
1
580
登壇駆動学習のすすめ — CfPのネタの見つけ方と書くときに意識していること
bicstone
3
120
Frontier Agents (Kiro autonomous agent / AWS Security Agent / AWS DevOps Agent) の紹介
msysh
3
180
15 years with Rails and DDD (AI Edition)
andrzejkrzywda
0
200
超初心者からでも大丈夫!オープンソース半導体の楽しみ方〜今こそ!オレオレチップをつくろう〜
keropiyo
0
120
Featured
See All Featured
Building AI with AI
inesmontani
PRO
1
700
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
The browser strikes back
jonoalderson
0
390
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
170
Building Adaptive Systems
keathley
44
2.9k
Documentation Writing (for coders)
carmenintech
77
5.3k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
240
Six Lessons from altMBA
skipperchong
29
4.2k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.6k
Faster Mobile Websites
deanohume
310
31k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.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: 部落格,會員中⼼心,論壇,社員系統