<pre> sudo apt-get update; sudo apt-get upgrade -y; sudo apt-get autoremove sudo apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common htop ncdu nano sl -y sudo timedatectl set-timezone <b>Etc/UTC</b> </pre> ## Swap <pre> sudo fallocate -l 1G /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile </pre> `echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab` <pre> sudo sysctl vm.swappiness=10 sudo sysctl vm.vfs_cache_pressure=50 </pre> <pre> echo 'vm.swappiness=10' | sudo tee -a /etc/sysctl.conf echo 'vm.vfs_cache_pressure=50' | sudo tee -a /etc/sysctl.conf </pre>
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up