Install OracleXE under UbuntuServer

Source: Internet
Author: User
Previously, Oracle's lightweight server oraclexe was used in the development environment. Installing Oracle on Linux is a pain point. This is because many preparations need to be made for the installation. In addition, Oracle installation is based on the RedHat version. UbuntuServer is a good version of Linux server, but has little enterprise support, such as Oracle, such as other software providers. The company needs to transplant the previous Oracle Database stuff. For emergency purposes

Previously, Oracle xe, a lightweight server of oracle, was used in the development environment. Installing Oracle on Linux is a pain point. This is because many preparations need to be made for the installation. In addition, Oracle installation is based on the RedHat version.

Ubuntu Server is a good version of Linux Server, but has little enterprise support, such as Oracle and other software providers.

The company needs to transplant the previous Oracle Database stuff. Install an express edition (XE) on Ubuntu Server for emergency purposes ). This version is very easy to install on Ubuntu.

First, you must set the source of Oracle XE:

Sudo vim/etc/apt/sources. list

Add:

The deb http://oss.oracle.com/debian unstable main non-free then needs to add the public key of the source server to the keystore of the local apt system:

Wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle-O-| sudo apt-key add-then, update apt Library:

Apt-get update:

Apt-get install oracle-xe to install the oracle server. There will be a prompt to configure before starting.

Sudo/etc/init. d/oracle-xe configure, for example, configure the port number of the web management interface, the port number of the oracle listener, whether to start linux at startup, and the password of sys and system users.

In addition, you need to set the environment variable:

Added sudo vim/etc/environment:

PATH =/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games: $ {ORACLE_HOME}/bin

ORACLE_HOME =/usr/lib/oracle/xe/app/oracle/product/10.2.0/server

LD_LIBRARY_PATH = $ ORACLE_HOME/lib: $ LD_LIBRARY_PATH

TNS_ADMIN =/usr/lib/oracle

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.