mirror of
https://github.com/pikami/sysadmin.git
synced 2026-10-21 00:04:30 +01:00
Create swap.sh
This commit is contained in:
1 parent
33030b030b
commit
9ba570b2cf
1 file changed
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
fallocate -l 2G /swapfile
|
||||
chmod 600 /swapfile
|
||||
mkswap /swapfile
|
||||
swapon /swapfile
|
||||
Reference in new issue
Block a user