magnus_stout
Guru
- Joined
- Jul 3, 2014
- Messages
- 66
- Reaction score
- 21
Hmm, I think I got it to install on the smallest Vultr instance...
I just completed my install and I am looking at the web interface and it is showing the following:
Type Percent Free Used Buffers Cached Total
Physical memory 78.70 % 58.24 MiB 573.59 MiB 3.66 MiB 93.34 MiB 728.83 MiB
Swap partition 33.13 % 668.73 MiB 331.27 MiB - - 1000.00 Mi
So, what I did was the following:
I just completed my install and I am looking at the web interface and it is showing the following:
Type Percent Free Used Buffers Cached Total
Physical memory 78.70 % 58.24 MiB 573.59 MiB 3.66 MiB 93.34 MiB 728.83 MiB
Swap partition 33.13 % 668.73 MiB 331.27 MiB - - 1000.00 Mi
So, what I did was the following:
- Create a new Debian instance and login as root (Embed a SSH key to make things easy and safe!)
- Input the following commands (taken from the Digital Ocean install):
dd if=/dev/zero of=/swapfile bs=1024 count=1024k
chown root:root /swapfile
chmod 0600/swapfile
mkswap /swapfile
swapon /swapfile
echo "/swapfile swap swap defaults 0 0">>/etc/fstab
sysctl vm.swappiness=10
echo vm.swappiness=10>>/etc/sysctl.conf
free -h
cat /proc/sys/vm/swappiness
- Then, start the install as normal (following directions here).