Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

set swap space aws

sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
sudo /sbin/mkswap /var/swap.1
sudo chmod 600 /var/swap.1
sudo /sbin/swapon /var/swap.1
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #swap #space #aws
ADD COMMENT
Topic
Name
7+4 =