1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Oracle Database 11g Express Edition requires 2048 MB of swap space 対応

Posted at

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

このシステムは、スワップ領域の最小要件を満たしていません。
Oracle Database 11g Express Editionの上で使用可能な物理メモリの量には、
スワップスペースの2048MB を必要とします。
このシステムは、 2015MBを持っています
スペースをスワップ。システム上でより多くのスワップ領域を設定し、再インストールしてください

確認

[root@localhost oracle-xe-11.2.0-1.0.x86_64]# free -m
             total       used       free     shared    buffers     cached
Mem:          4840       1673       3166          2        128        891
-/+ buffers/cache:        653       4186
Swap:         2015          0       2015

なので拡張してインストール

# dd if=/dev/zero of=/swapfile bs=1M count=400
400+0 records in
400+0 records out
419430400 bytes (419 MB) copied, 0.286681 s, 1.5 GB/s


# mkswap /swapfile
mkswap: /swapfile: warning: don't erase bootbits sectors
        on whole disk. Use -f to force.
Setting up swapspace version 1, size = 4194292 KiB
no label, UUID=ddb34e01-5bb5-45c6-8c13-bd71e206326d

# swapon /swapfile
# swapon -s
# vi /etc/fstab
+swap                    /swap                   swap    defaults        0 0" 

# yum install oracle-xe-11.2.0-1.0.x86_64.rpm
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Examining oracle-xe-11.2.0-1.0.x86_64.rpm: oracle-xe-11.2.0-1.0.x86_64
Marking oracle-xe-11.2.0-1.0.x86_64.rpm to be installed
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
Resolving Dependencies
--> Running transaction check
---> Package oracle-xe.x86_64 0:11.2.0-1.0 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================
 Package                  Arch                  Version                    Repository                                   Size
=============================================================================================================================
Installing:
 oracle-xe                x86_64                11.2.0-1.0                 /oracle-xe-11.2.0-1.0.x86_64                564 M

Transaction Summary
=============================================================================================================================
Install       1 Package(s)

Total size: 564 M
Installed size: 564 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : oracle-xe-11.2.0-1.0.x86_64                                                                               1/1
Executing post-install steps...
You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database.

  Verifying  : oracle-xe-11.2.0-1.0.x86_64                                                                               1/1

Installed:
  oracle-xe.x86_64 0:11.2.0-1.0

Complete!
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?