Instructions before installation:
1. SUSE 10 is SUSE 10.1 Professional Edition (32-bit)
2. Install "Developer" software, such as gcc, when installing SUSE.
3. Here, the Oracle 10g's version is 10.2.0.1(32bit, and the installation package is 10__database_linux32.zipInstallation steps:
1. Extract the libaio-0.3.104-12.i586.rpm and libaio-devel-0.3.104-12.i586.rpm files from the/SUSE/i586 folder in the fourth suse installation disk and execute rpm? Install the civl command.
Rpm-ivh libaio-0.3.104-12.i586.rpm Rpm-ivh libaio-devel-0.3.104-12.i586.rpm |
2. Create relevant users
Groupadd oinstall Groupadd dba Useradd-m-G oinstall-g dba oracle Passwd oracle |
3. Create an ORACLE directory and change the corresponding Permissions
Mkdir-p/opt/oracle/product/10.2 Chown-R oracle. dba/opt/oracle Chown-R oracle: oinstall/home/oracle Chmod-R 777/home/oracle |
Note: The ORACLE installation directory selected here is/opt/oracle/product/10.2. You can modify the directory as needed.
4. Edit the/home/oracle/. bashrc file and add
ORACLE_BASE =/opt/oracle; export ORACLE_BASE ORACLE_HOME = $ ORACLE_BASE/product/10.2; export ORACLE_HOME NLS_LANG = AMERICAN_AMERICA.ZHS16GBK; export NLS_LANG LD_LIBRARY_PATH = $ ORACLE_HOME/lib; export LD_LIBRARY_PATH PATH = $ ORACLE_HOME/bin: $ PATH; export PATH |
Note: The ORACLE installation directory selected here is/opt/oracle/product/10.2. You can modify the directory as needed.
5. Decompress 10201_database_linux32.zip and upload it to the/home/oracle directory. Here, after completing this step, the path of the oracle 10 Gb Installation File runInstaller is/home/oracle/database/runInstaller (not necessarily the same, which directory does runInstaller have in/home/oracle)
6. Modify the/home/oracle/database/install/oraparam. ini file and find the following content:
[Certified Versions] Linux = RedHat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1, asianux-2 |
To:
[Certified Versions] Linux = redhat-3, SuSE-10, redhat-4, UnitedLinux-1.0, asianux-1, asianux-2 |
7. log out of the root user, log on to the graphical interface with the oracle user, and run the installer.
Cd/home/oracle/database ./RunInstaller |
NOTE: If runInstaller is not in this path, run it in the corresponding directory.
8. Select Basic Installation in the Installation screen, and cancel the check box before "Starter Database". Click NEXT (set the password of SYS and other users in the middle ).
9. After installing ORACLE 10 Gb, create a database. Database creation steps
1. Use oracle users to log on to the SUSE Gui
2. Run the dbca command
3. Follow the prompts to build the database step by step, be sure to select the default character set (recommended AMERICAN_AMERICA.ZHS16GBK), if there is a ORA-12547 error during this process, because there are no libaio-0.3.104-12.i586.rpm, libaio-devel-0.3.104-12.i586.rpm two packages
4. After the database is created, modify the/home/. bashrc file and add
ORACLE_SID = sspra; export ORACLE_SID
5. log out and log on again to test whether the database is successfully created.