「Ubuntu」:修訂間差異
跳至導覽
跳至搜尋
無編輯摘要 |
|||
第2行: | 第2行: | ||
== 安裝 == | == 安裝 == | ||
=== apt === | === apt === | ||
這邊列出常用的套件: | 這邊列出常用的套件: | ||
* apache2-utils | * apache2-utils | ||
第10行: | 第12行: | ||
* zsh | * zsh | ||
* zsh-syntax-highlighting | * zsh-syntax-highlighting | ||
== 設定 == | |||
在VPS或是雲端上的機器通常會利用swapfile增加一些記憶體使用空間: | |||
<syntaxhighlight lang="bash"> | |||
sudo fallocate -l 512M /swapfile; sudo chmod 600 /swapfile; sudo mkswap /swapfile; sudo swapon /swapfile; echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab | |||
</syntaxhighlight> | |||
== 外部連結 == | == 外部連結 == |
於 2019年1月17日 (四) 14:38 的修訂
Ubuntu是一種Linux作業系統。
安裝
apt
這邊列出常用的套件:
- apache2-utils
- build-essential
- sharutils
- vim-nox
- zsh
- zsh-syntax-highlighting
設定
在VPS或是雲端上的機器通常會利用swapfile增加一些記憶體使用空間:
sudo fallocate -l 512M /swapfile; sudo chmod 600 /swapfile; sudo mkswap /swapfile; sudo swapon /swapfile; echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab