1. view the current virtual memory
[root @ centos RPM] # Free-M
total used free shared buffers cached
mem: 1518 530 987 0 19 406
-/+ buffers/cache: 104 1413
swap: 2047 0 2047
2. view the current file system information
[Root @ centos RPM] # DF-H
Filesystem size used avail use % mounted on
/Dev/sda1 7.9 GB 2.9g 4.7G 39%/
None 760 m 0 760 m 0%/dev/SHM
/Dev/sda3 1004 M 276 M 678 M 29%/tmp
/Dev/sda6 5.0g 44 m 4.7G 1%/u01
/Dev/sda5 4.0g 3.6g 199 m 95%/u02
3. Increase the current swap space from 2274 MB to 227 MB, and add a MB swap file.
[Root @ centos RPM] # dd If =/dev/Zero of =/swap_increased BS = 1024 COUNT = 235000
235000 + 0 records in
235000 + 0 records out
4. Run the following command to add and enable the virtual memory.
[Root @ centos RPM] # mkswap/swap_increased
Setting up swapspace version 1, size = 240635 KB
[Root @ centos RPM] # Swapon/swap_increased
[Root @ centos RPM] # Free-m
Total used free shared buffers cached
Mem: 1518 765 752 0 20 635
-/+ Buffers/cache: 108 1409
Swap: 2276 0 2276
5. Install Oracle Database 11g
Xmanager
Netca
Dbca
For reprint, please indicate the source and original article links:
Http://blog.csdn.net/xiangsir/article/details/8570404