CentOS6.4 is installed on the VM (the VM memory is divided into 1 GB and the swpe space is allocated to 2 GB. The result of oracle scanning is that the swpe partition is almost the same, that is, several hundred MB.
CentOS 6.4 is installed on the VM (the VM memory is divided into 1 GB and the swpe space is allocated to 2 GB. The result of oracle scanning is that the swpe partition is almost the same, that is, several hundred MB.
With my hand-written installation experience, the Oracle Installation process is really amazing, and it completely makes me enter the secondary element. How is it more difficult than installing Mac on a PC? But the first installation is inevitable, I describe a little exaggerated ,(-. -|
PS: du Niang. I think there are no installation tutorials for the license l in the world,
~~~~~~~~~~~~~~~~~~~~~~~
(Non-detailed tutorial, record difficult issues)
CentOS 6.4 is installed on the Virtual Machine (the VM memory is divided into 1 GB, And the swpe space is allocated to 2 GB. The result of oracle scanning is that swpe partitions are nearly enough, that is, several hundred MB, it doesn't matter if you use a single machine), and then install Parallels Tools, and then start environment layout:
1. You don't have to worry about the hardware conditions. For soft requirements, you can set the kernal parameter after installing the program;
2. The software package, according to the official instructions, "rpm-q ***" to check whether the package exists. You can perform batch operations as long as the software name is ready, and the version number is not limited, the version provided in the official document is a few years ago. It can be installed online with "yum install", but rpm cannot be installed. Most of the files are installed in DVD1, which means that DVD2 is useless ~
3. Create users and groups
Groupadd oinstall
Groupass dba
Useradd-g oinstall-G dba oracle
Passwd oracle // prompt to enter the User Password
4. log on to oracle and create an installation directory
5. This is very important. Modify the. bash_profile file in the user directory to edit the environment variables. If the listener cannot be started or other intractable problems, you can check it here. If it is not used for SSH Login, I still cannot solve this problem.
Most of the tutorials define the final export, but I can't solve the problem in actual operations, so each line has export,
Export ORACLE_BASE =/opt/oracle/app
Export ORACLE_HOME =/opt/oracle/app/product/11.2.0/dbhome_1
Export ORACLE_SID = orcl
Export PATH = $ ORCALE_HOME/bin: $ PATH
6. Run the installer and the system is in simplified Chinese. If you run the runInstaller directly, it is not surprising that it is a box. For example, you can only use English to enter the installer Directory, which contains two zip packages, decompress the package and put it together:
1 $ LANG = en_US./runInstaller
Install database software only by hand. Listeners and databases are self-help ~
7. Check the soft-condition hand and watch the operation as needed:
1) manually install all packages in the same way;
2) Modify/etc/security/limis. conf and add
Oracle soft nproc 2047
Oracle hard npoc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536
3) Modify/etc/sysct. conf as required,
Fs. aio-max-nr = 1048576
Fs. file-max = 6815744
Kernel. shmall = 2097152
Kernel. shmmax = 536870912
Kernel. shmmni = 4096
Kernel. sem = 250 32000 100 128
Net. ipv4.ip _ local_port_range = 9000 65500
Net. core. rmem_default = 262144
Net. core. rmem_max = 4194304
Net. core. wmem_default = 262144
Net. core. wmem_max = 1048586
After changing according to the prompts, restart and Haha. The first time you run the installation program, you only need to check the conditions ~
8. Install listeners and databases on your own:
1) netca prompts the next step. If an error occurs when selecting a port, change the domain name in/etc/hosts to your host name.
2) When dbca installs the database, it must be consistent with the environment variable set earlier. Select the second Use UNicode in the Character Sets tab.
3) In the dbstart and dbshut files under product/11.2.0/dbhome_1/bin /,
12 ORACLE_HOME_LISTNER = $1
ORACLE_HOME_LISTNER = $ ORACLE_HOME
9. Start
1) Run lsnrctl start to open the listener
2) Run sqlplus/as sysdba
3) Run sqlplus> startup to start the database service.
Recommended reading:
Installing Oracle 11g R2 ON Rad Hat Enterprise Linux 5.5
Install Oracle 11g in CentOS 5.9
Installation of Oracle 11g R2 on CentOS 6.4