---
# System prepended metadata

title: HW06 Install Web Server
tags: [Linux]

---

# 簡介
Linux系統管理課程的作業
安裝Nginx+mariadb+php到ubuntu server

# 實作

更新apt庫
![](https://i.imgur.com/vILlpfU.png)

### Nginx
install Nginx
![](https://i.imgur.com/pXgD1xB.png)


web server status
![](https://i.imgur.com/BNTPuha.png)
![](https://i.imgur.com/u7T5WRU.png)


### Mariadb

install Mariadb
![](https://i.imgur.com/cqY75DK.png)

Mariadb version
![](https://i.imgur.com/bWDMJQi.png)

### php

install php 
![](https://i.imgur.com/QAnh2Vc.png)

php version
![](https://i.imgur.com/ek2vTCm.png)

![](https://i.imgur.com/DHW7DPI.png)


