No Swap partition is created when installing Red Flag 4.0, how to remedy now?
You can create a swap file, then mount the sub-file as a swap partition to the system (1) #free to see your current idle Memory (2) # DD if = / dev / zero of = / root / test.swap BS = 1024 count = 40960 (Create a swap file, store in / root directory. 40960 = 40m, can be converted according to your needs, then change to the corresponding value, the general SWAP partition is 2 times the physical memory) (3) # CD / root; mkswap test.swap (Initialize this SWAP file) (4) # swapon test.swap (activated this partition, I don't know if it is said, my understanding is like this, I also hope that prawn guidance) (5 #free looks at your current idle Memory