---
# System prepended metadata

title: Unbuntu Install

---

# Unbuntu Install 

## apache

sudo apt-get update 
sudo apt-get install apache2


## nginx

sudo apt-get update
sudo apt-get install nginx

## memcache & memcached

sudo apt-get install php-memcache
sudo apt-get install php-memcached

## redis

sudo apt-get install php版本-redis
### 查詢是否有執行
sudo systemctl status nginx/apache2


### 執行/停止
可用 sudo systemctl start/stop nginc/apache2

若出現a high performance....錯誤 則輸入sudo lsof -i:80查詢是否被佔用

若被佔用則使用 sudo service apache2/nginx stop