How to install Oracle 10g in an AIX 6.1 system

Source: Internet
Author: User
Tags character set dba variables


1.1 Confirm that the system library files required to install Oracle are installed lslpp-l bos.adt.base bos.adt.lib BOS.ADT.LIBM



Bos.perf.perfstat bos.perf.libperfstat bos.perf.proctools bos.adt.prof Bos.cifs_fs.rte



1.2 Confirm 64-bit operating system:



/usr/bin/getconf Hardware_bitmode



64



Bootinfo-k



64



1.3: What is the command to view the AIX version?



Oslevel-r



1, unzip the GZ package (you can find the download point on the Oracle website)



Gunzip 10gr2_aix5l64_database.cpio.gz



2, Decompression Cpio package



CPIO-IDCMV < 10gr2_aix5l64_database.cpio



3. Create user Oracle, user group Oinstall and DBA, modify the owner of the installation target directory/oracle



#mkgroup Oinstall



#mkgroup DBA



Or



# Mkgroup-' A ' Oinstall



# Mkgroup-' A ' DBA



#useradd-G oinstall-g dba-d/home/oracle Oracle



passwd Oracle Hint: You can use the ID command to verify the primary Group [primary group/initial Group] and the secondary group



#id Oracle//uid=209 (Oracle) gid=203 (oinstall) groups=204 (DBA)



This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/database/Oracle/



3.1 Create user Oracle #smit mkuser-->user NAME [Oracle]-->primary GROUP [dba]-->group



SET [Oinstall]-->home directory [/oracle]



3.2. Set Password:



# passwd Oracle



3.3, modify the directory permissions, modify the directory owner



# Chown-r Oracle:oinstall/usr/oracledata



# Chmod-r 775/usr/oracledata



4, modify the user Oracle system limit



Vi/etc/security/limits



Add the user's Oracle limit at the end (after three lines):



Default



Fsize =-1



Core = 2097151



CPU =-1



data = 262144



RSS = 65536



stack = 65536



Nofiles = 2000



Root



Daemon



Bin



Sys



Adm:



Uucp



Guest



Nobody



Lpd



Oracle



data =-1



stack =-1



Note:-1 for unrestricted use



5, modify the user Oracle profile, add environment variables:



#vi/home/oracle/.profile



Add the following eight lines to the profile:



Oracle_base=/usr/oracledata



Export Oracle_base



Oracle_home= $ORACLE _base/product/10.2.0



Export Oracle_home



Oracle_sid=orcl



Export Oracle_sid



Path= $ORACLE _home/bin: $PATH



Export PATH



#cat/home/oracle/.profile



7. Execute/usr/oralcesoft/disk1/rootpre/rootpre.sh with Root



Required file./pw-syscall32 is missing.



Solution:



A, download the patch number 2896876, upload to the server to perform again



B. Download the patch number p6718715_10203_aix64-5l, upload to the server to perform again



8, the root user login, set display parameters and install



First run Xhost + Allow access to all people;



Then run export display= server IP address: 0.0 server IP for client machine IP



9, with the Oracle user login (Note: You must use Oracle to re-enter the new login Aix landing session and can not be replaced with the SU command, do not, no



You cannot find an Oracle parameter set in profile that is installed under $home. If the current user root can be logout and then log on with Oracle



Land. You can use the Echo $ORACLE _home to detect environment variables)



Start Xmanager (if the default is text mode to perform the/etc/rc/dt startup desktop), and then hold



Line/oracledisk/disk1/runinstall, installation of Oracle based on GUI wizard



Note: Do not choose to create the database when installing, and then create it with DBCA after the installation is complete; Other database character set selection Simplified Chinese



ZHS16GBK. When the installation is complete, you will be required to execute two scripts with root privileges.



At this point, Oracle's installation is complete.



Then use DBCA to create a database, NETCA to create a listener!



When creating a listener, make sure that you have the correct host name



VI $ORALCE _home/network/admin/listener.ora, the HOST will modify the machine name of the machine, such as "Host=kjptserver1."



This article is from the "Technical Knowledge exchange" blog, please be sure to keep this source http://xiahouyao123.blog.51cto.com/646312/799578


Related Article

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.