mirror of
https://github.com/pikami/sysadmin.git
synced 2025-12-19 09:03:04 +00:00
Create swap.sh
This commit is contained in:
5
performance/swap.sh
Normal file
5
performance/swap.sh
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
fallocate -l 2G /swapfile
|
||||||
|
chmod 600 /swapfile
|
||||||
|
mkswap /swapfile
|
||||||
|
swapon /swapfile
|
||||||
Reference in New Issue
Block a user