AWS 從 0 到 1
-最後 5/6 的短暫相處-
本課重點
- Build Web Server
- Introduction
- Setup
- Setting
- Using
- Web designing language
🤩🤩 彩 蛋 🤩🤩
沒看過人家彩蛋放在前面的

🤪 🤪 爽 !! 🤪 🤪
體諒大家每次連線很阿雜

來簡單寫寫 Shell Script
製作一個SSH連線的shell


詳細程式語法參考鳥哥私房菜

撰寫 Shell Script
執行 Shell Script:sh [sh file]
Build Web Server
Introduction

- http 狀態碼 -

Web Server Architecture
常見種類:
LAMP = Linux Apache Mysql PHP
WIMP = Windows IIS Mssql Perl
Installation

Installation


rpm 安裝套件:rpm -ivh [rpm package]
Installation

查看所有相關性套件:yum repolist
Installation

Installation

Installation

Installation

Installation

直接啟動他們 !!


查看通訊埠

開啟對外通訊埠

測試網站狀態

資料庫安全配置



從 Log 檔中尋找臨時密碼:
cat /var/log/mysqld.log |grep temporary
再次執行後即可完成
測試能否驅動 PHP 模組

在 html 資料夾下編輯一個 php 檔案
位置:/var/www/html

撰寫內容

查看測試網頁:
http://[host IP]/testphp.php
注意:
1. URL = 連結伺服器資料位置
2. host IP = /var/www/html (預設)
3. 所以 [host IP]/testphp.php =
/var/www/html/testphp.php
Configuration











先創建一個測試環境

再來創個首頁吧

編輯隨便寫寫東西

連線就會有了

查看 photo 資料夾
即使沒有資料夾首頁也不該顯示資料夾內容 !!

Security setting of Apache






檢查設定檔是否正常
檢查網頁狀態



講個秘密
🤨又 彩 蛋 ?!🤨
Terminal 也有 Browser
🤩🤩 🤩🤩

安裝套件:w3m 與 w3m-img




開啟網頁:w3m [web url]
Display
Web Designing Language
隨便找個網站看看原始碼


這 尛 ?!!
Demo

也沒那麼難是吧 😏😏
圖片來源:彎彎
Introduction
Body
Exterior
Activity
Introduction

圖片來源:D3



HTML 5


HTML 5


HTML 5

Javascript


Javascript



Javascript




以上程式語法圖截於:http://www.w3school.com.cn
AWS從0到1:最後5/6的短暫相處
By JayWei
AWS從0到1:最後5/6的短暫相處
- 129