Skip to content

Instantly share code, notes, and snippets.

@jongacnik
Created December 6, 2018 21:54
Show Gist options
  • Select an option

  • Save jongacnik/ea2a3aa76ed2a282872b5fdc535edcfe to your computer and use it in GitHub Desktop.

Select an option

Save jongacnik/ea2a3aa76ed2a282872b5fdc535edcfe to your computer and use it in GitHub Desktop.
vesta create 2gb swapfile
# http://web3us.com/drupal6/how-create-web-site-handbook/fedora-or-redhat-server-tips/adding-swap-space-linux-without-rebooting
dd if=/dev/zero of=/swapfile1 bs=1024 count=2097152
mkswap /swapfile1
swapon /swapfile1
free
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment