First check if you have SWAP enable or now

swapon --show

If nothing display then you don’t have any SWAP enable, so go ahead and enable SWAP. Change the value of 1G with your need

fallocate -l 1G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile

Now edit fstab file and add that SWAP to make it parmanent.

nano /etc/fstab

Add this line below of fstab file
/swapfile swap swap defaults 0 0

Now Check swap with

free -m

Thank You

Previous articleMethods to Set up VestaCP on CentOS 6.5 VPS (Steps with Photographs)
Next articleHow to set up VestaCP with PHP7.2 and MariaDB10.3

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

LEAVE A REPLY
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764

Please enter your comment!
Please enter your name here