Ubuntu
Ubuntu是一种Linux作业系统。
安装
apt
这边列出常用的套件:
sudo apt install -y apache2-utils build-essential curl dstat git jq most mtr-tiny sharutils sysstat 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