Add swap file CentOS
Home
Home
Sign In
Home
Redhat / CentOS
Add swap file CentOS
Add swap file CentOS
Print
Email
To add 4Gig Swap:
dd if=/dev/zero of=/swapfile bs=1M count=4048
mkswap /swapfile
chmod 600 /swapfile
vi /etc/fstab
Add:
/swapfile swap swap 0 0
mount -a
swapon -a
swapon -s
free -m
Prev
Next
Operating
Systems
Windows
Launch Active Directory Users and Computers
RDP Force Admin Login
Windows Server VM Post Install
Active Directory Sanity Check and Repair
Windows Proxy
Redhat / CentOS
Setup SSH Keys
Install X11
Install Apache on Centos
Add new partition Centos 7
Add swap file CentOS
CentOS 7 Change Hostname
Solaris
Software
Oracle
Install Oracle 12cR1 Client on Redhat
Import and export with datapump
Database Links
Install Oracle 12cR1 on CentOS 7
Oracle Database Directories - datapump
MySQL / MariaDB
Create DB and DB User CLI
Change MySQL passwords
HP OpenView NNMi
NNMi Debug
BMC Remedy
Create / Delete Remedy DB
Change Remedy DB Password
Add New Menu or Menu Item to Remedy HomePage
Nokia 5620 SAM
Citrix
Citrix Hot Keys
XenApp Legacy Drive Mapping
TAC Plus
Oracle Change Password
Networking
Cisco
Cisco IPsec Troubleshooting
Interfaces
Terminal Length - sh run
Nokia
Nokia SR 7705
Nokia Omni Switch
Nokia 7705 SNMP
Subnets
Miscellaneous
Stuff
Naming Convention
vi Cheat Sheet
Test NTP
Setup syslog (rsyslog)
S5 Box
Login
Username
Password
Log in
Forgot your username?
Forgot your password?
Desktop Version