mirror of
https://github.com/pikami/sysadmin.git
synced 2026-05-25 06:27:41 +01:00
Create swap.sh
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
fallocate -l 2G /swapfile
|
||||||
|
chmod 600 /swapfile
|
||||||
|
mkswap /swapfile
|
||||||
|
swapon /swapfile
|
||||||
Reference in New Issue
Block a user