HP-PA Installing Oracle and Bash

Source: Internet
Author: User
Tags dba gettext

First, install the Oracle database

Environmental checks are performed prior to installation:

1. Check the system version

#uname-A

2. View memory Size

#/usr/contrib/bin/machinfo | Grep-i Memory

3. View Swap Size

#/usr/sbin/swapinfo-a

4. Disk space size

#bdf

A new disk can be installed for Oracle installation, the specific steps refer to: http://blog.csdn.net/kinges/article/details/16311965

5. Create users and Groups

#/USR/SBIN/GROUPADD-G 501 Oinstall
#/USR/SBIN/GROUPADD-G 502 DBA
#/USR/SBIN/GROUPADD-G 503 Oper
#/usr/sbin/useradd-u 501-m-d/home/oracle-g oinstall-g dba,oper Oracle
# passwd Oracle
# ID Oracle

6. Configure Environment variables

# VI. Profile
Adds the following:
Umask 022

        export  tmp=/tmp
        export  tmpdir= $TMP
         export  ORACLE_SID=ORCL
        export  oracle_base=/u01/ Oracle
        export  oracle_home= $ORACLE _base/product/10.2.0/dbhome _1
        export  path= $ORACLE _home/bin: $PATH:/usr/local/bin
        export  nls_lang= "American_america. UTF8 "
        export  ld_library_path= $ORACLE _home/lib:/usr/lib:/usr/ Bin

#export TMP TMPDIR oracle_sid oracle_base oracle_home oracle_term PATH nls_lang ld_library_path

"Note" Su-oracle into the Oracle user, vi profile Edit environment variables, copy the above content to the environment variable, in the following: Wq save, sometimes read-only, you can: wq! force save, or give. Profile permissions, Chmod-r 777. Profile and then edit.

7. Create the appropriate directory

# cd/u01
# mkdir Orainventory
# chown Oracle:oinstall orainventory
# mkdir Oracle
# chown Oracle:oinstall Oracle

# CD Oracle

# mkdir Product

# chown Oracle:oinstall Product

# CD Product

# mkdir 10.2.0

# chown Oracle:oinstall 10.2.0

# CD 10.2.0

# mkdir Dbhome_1

# chown Oracle:oinstall dbhome_1

# cd/u01

# chmod-r 775 Oracle

"Note" Oracle's installation package can be downloaded through the Thunderbolt member account for http://download.oracle.com/otn/hp/oracle10g/10201/10201_ Database.zip, after the download is completed upload to the HP-PA machine, you can create a directory under U01 software,# chown oracle:oinstall/u01/software #chmod-R 775/u01/ Software

8. If the machine has been installed Xmanager, can be xmanager for graphical installation, landing under the Oracle user, double-click Runinstaller, for installation, related settings, based on the contents of the environment variables in step 6 to set.

* By executing commands in Xshell export display=ip:0.0 set Xmanager,ip to native IP, then Xhost +

Second, the installation of HP-PA 11.23 Bash

1. Enter http://hpux.connect.org.uk/hppd/hpux/Shells to find the package:

Make-4.0-hppa-11.23.depot.gz

Gettext-0.18.3.2-hppa-11.23.depot.gz

Libiconv-1.14-hppa-11.23.depot.gz

Termcap-1.3.1-hppa-11.23.depot.gz

Bash-4.3.033-hppa-11.23.depot.gz

After the download is complete, upload to the machine, unzip, and follow Make-4.0-hppa-11.23.depot.gz, gettext-0.18.3.2-hppa-11.23.depot.gz, Libiconv-1.14-hppa-11.23.depot.gz, termcap-1.3.1-hppa-11.23.depot.gz, Bash-4.3.033-hppa-11.23.depot.gz in the order of installation, installation instructions such as:

Swinstall-s/tmp/make-4.0-hppa-11.23.depot.gz

The path here is to write an absolute full path.

During installation, Root ... The path is not written, default/, then the space is selected for the file to be installed (first level), and then through the "tab" key to "install ..." under "action" to install, after completion, through the "tab" key to "exit" under "File", exit the installation

2. After the installation is complete, a number of newly generated file directories can be found in the/usr/local/bin directory, including bash

3. Increase in environmental variables and

4. Exit the system, log back in, bash, and use the Bash command normally.

HP-PA Installing Oracle and Bash

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.