歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 給ubuntu的swap分區增加容量

給ubuntu的swap分區增加容量

日期:2017/2/28 17:11:27   编辑:Linux教程

給Ubuntu的swap分區增加容量的具體步驟:

ubuntu下在 apt 安裝 Oracle-xe-client 時,有可能會出現如下的錯誤,提示 Swap 分區沒有達到要求的大小,安裝無法繼續。

This system does not meet the minimum requirements for swap space. Based on the amount of physical memory available on the system, Oracle Client 10g Express Edition requires 1024 MB of swap space. This system has 951 MB of swap space. Configure more swap space on the system and retry the installation.

下面我們就來增加系統的 Swap 分區大小。

1.首先用命令free查看系統內 Swap 分區大小。
free -m

total used free shared buffers cached
Mem: 1002 964 38 0 21 410
-/+ buffers/cache: 532 470
Swap: 951 32 929

可以看到 Swap 只有951M,不符合 Oracle-xe-client 的安裝要求。

Copyright © Linux教程網 All Rights Reserved