CentOS5.2x86 installation of Oracle on a graphic-less Interface

Source: Internet
Author: User
Recently, the company bought a video conferencing software, but it only had to use the Operating System (CentOS5.2x86) provided by him, and there was no graphic interface, which made me very depressed. Because

Recently, the company bought a video conferencing software, but only the operating system provided by the company (CentOS 5.2 x86), and there is no graphical interface, which makes me very depressed. Because

Recently, the company bought a video conferencing software. However, I am very depressed that I can only use the Operating System (CentOS 5.2 x86) provided by him without a graphical interface. Since there is no graphic interface environment, installing Oracle becomes more complicated (only the mysql database is included in the system ). I did not select Silent Installation (many configurations, though not difficult, but troublesome), but installed the graphical interface. For Silent Installation, refer to this post "". Next, let's talk about how to install the graphical interface and the whole process of Oracle installation:

1. If there is no graphical interface, install the X Window and KDE environments first. The specific method is as follows:
1) yum groupinstall "X Window System"
When installing XWindow, the system may prompt a Packet Conflict (please pay attention to it. I cannot remember how to write it. But it can be determined that all files are downloaded and prompted during the check), rpm-e xxx. rpm -- nodeps (-- nodeps must be added because of dependency). Uninstall and re-Execute yum groupinstall "X Window System ". The next step will be smooth.

2) yum groupinstall "KDE (K Desktop Environment )"
After installation, enter init 5 as the root user to enter the kde Desktop Environment.

TIPS:
Yum groupinstall -Support
In the preceding command, Is one of the following: assamese, bengali, chinese, gujarati, hindi, Japan, kannada, korean, malayalam, marathi, oriya, punjabi, sinhala, tamil, thai, or telegu.

2. Start configuring oracle Parameters

1. decompress the Installation File
Unzip 10201_database_linux32.zip
2. Set kernel parameters (/etc/sysctl. conf)
Sysctl is an interface that allows you to change the running Linux system. Includes some advanced options for TCP/IP stack and virtual memory system, which can improve the system performance. The sysctl command provides two functions: Read and modify system settings. For more information about the specific settings, see the sysctl optimization documentation.

Copy the following parameters to/etc/sysctl. conf and comment out the corresponding items "kernel. shmmax", "kernel. shmall", and "fs. file-max"

Kernel. shmall = 2097152
Kernel. shmmax = 2147483648
Kernel. shmmni = 4096
# Semaphores: semmsl, semmns, semopm, semmni
Kernel. sem = 250 32000 100 128
Fs. file-max = 65536
Net. ipv4.ip _ local_port_range = 1024 65000
Net. core. rmem_default = 262144
Net. core. rmem_max = 262144
Net. core. wmem_default = 262144
Net. core. wmem_max = 262144
Run the following command to make it take effect:
/Sbin/sysctl-p

3. Modify and add the content to/etc/security/limits. conf.
Nproc indicates the number of processes in the system. nofile indicates the number of files that can be opened. Soft indicates the system
The value currently set. hard indicates the maximum value that can be set by the system. The soft option setting cannot be greater than the hard setting.
.
* Soft nproc 2047
* Hard nproc 16384
* Soft nofile 1024
* Hard nofile 65536
4. Add the following content to the/etc/pam. d/login file.
Session required/lib/security/pam_limits.so
5. Add the following content to the/etc/selinux/config file.
SELINUX = disabled
6. Create an oracle user-related user name and group
Groupadd oinstall high
Groupadd dba
Low groupadd quota

Add group-g user group and-G affiliated group to the user
Useradd-g oinstall-G dba oracle
Modify user group
Usermod-G oinstall oracle
Passwd oracle

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.