In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
            
                    
                
2025-11-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces "how to do insufficient swap when installing oracle12c". In daily operation, I believe that many people have doubts about how to do insufficient swap when installing oracle12c. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the question of "how to do insufficient swap when installing oracle12c". Next, please follow the editor to study!
The free command displays the amount of memory used on the current system
1. View current memory
[root@happy] # free-m
Total used free shared buffers cached
Mem: 1826 1706 120 8 0 531
-/ + buffers/cache: 1174
Swap: 2063 2 2061
2. Create a file to swap the partition: increase the swap partition by 2G, and count is equal to the desired block size.
[root@happy ~] # dd if=/dev/zero of=/home/swap bs=block_size count=number_of_block
Dd: invalid number 'block_size'
[root@happy ~] # dd if=/dev/zero of=/home/swap bs=1024 count=2048000
2048000000000 records in
2048000000000 records out
2097152000 bytes (2.1 GB) copied, 10.0768 s, 208 MB/s
3. Set up swap partition files
[root@happy ~] # mkswap / home/swap
Setting up swapspace version 1, size = 2047996 KiB
No label, UUID=2a8e8c81-fe4b-4111-ae60-715715cdb400
4. Enable swapping partition files immediately
[root@happy ~] # swapon / home/swap
Swapon: / home/swap: insecure permissions 0644, 0600 suggested.
5. Check again
[root@happy] # free-m
Total used free shared buffers cached
Mem: 1826 1741 85 7 0 742
-/ + buffers/cache: 998 827
Swap: 4063 81 3982
6. If you want to make boot self-boot, you want to modify the file / etc/fastb and modify the swap line.
#
# / etc/fstab
# Created by anaconda on Mon May 14 16:09:52 2018
#
# Accessible filesystems, by reference, are maintained under'/ dev/disk'
# See man pages fstab (5), findfs (8), mount (8) and/or blkid (8) for more info
#
/ dev/mapper/rhel-root / xfs defaults 1 1
UUID=6fef81a7-d81f-4a22-8795-f714054edb2e / boot xfs defaults 1 2
/ home/swap swap swap defaults 0 0
/ mvp/RHEL-server-7.0-x86_64-LinuxProbe.Com.iso / mnt/cdrom iso9660 defaults,ro 0 0
At this point, the study on "what to do if swap is insufficient when installing Oracle 12c" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





CREATE OR REPLACE PACKAGE KMP_ALGOR_PKGASTYPE next_arr_tt IS TABLE OF INT INDEX BY PLS_INTEGER;PROCE
            
            About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.