Ubuntu
Ubuntu是一種Linux作業系統。
安裝
apt
這邊列出常用的套件:
sudo apt install -y apache2-utils build-essential curl dstat git jq most mtr-tiny p7zip-full sharutils software-properties-common sysstat unrar unzip vim-nox wget zsh zsh-syntax-highlighting; sudo apt clean
設定
在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