
- #Install oracle 11g enterprise edition on ubuntu install#
- #Install oracle 11g enterprise edition on ubuntu manual#
- #Install oracle 11g enterprise edition on ubuntu software#
- #Install oracle 11g enterprise edition on ubuntu password#
#Install oracle 11g enterprise edition on ubuntu password#
You will now be placed in a SQL environment that only understands SQL commands.Ĭreate a regular user account in Oracle using the SQL command: create user USERNAME identified by PASSWORD Start command line shell as the system admin using the command: sqlplus sys as sysdbaĮnter the password that you gave while configuring Oracle earlier. Start the Oracle XE 11gR2 server using the command: sudo service oracle-xe start Step 4: Using the Oracle XE Command Shell Start the Oracle 11gR2 XE: sudo service oracle-xe startĪdd user YOURUSERNAME to group dba using the command: sudo usermod -a -G dba YOURUSERNAME Load the changes by executing your profile. bashrc file: pico ~/.bashrcĪdd the following lines to the end of the file: export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xeĮxport NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh`Įxport LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH Setup environment variables by editting your.
#Install oracle 11g enterprise edition on ubuntu install#
Install the oracle DBMS using the command: sudo dpkg -install oracle-xe_11.2.0-2_bĬonfigure Oracle using the command: sudo /etc/init.d/oracle-xe configure Now execute the following commands: sudo ln -s /usr/bin/awk /bin/awk #!/bin/shĬhange the permissions of the file using the command: sudo chmod 755 /etc/rc2.d/S01shm_load Create the following file using the command: sudo pico /etc/rc2.d/S01shm_loadĬopy the following into the file and save. You should see the file-max value that you entered earlier. Verify the new parameters are loaded using: sudo sysctl -q fs.file-max Now load the kernel parameters: sudo service procps start Verify the change using the command: sudo cat /etc/sysctl.d/nf Oracle 11gR2 XE requires additional kernel parameters which you need to set using the command: sudo pico /etc/sysctl.d/nfĬopy the following into the file and save: # Oracle 11g XE kernel parameters If ] thenĮcho '# Required-Start: $remote_fs $syslog' > $fileĮcho '# Required-Stop: $remote_fs $syslog' > $fileĮcho '# Short-Description: Oracle 11g Express Edition' > $fileĬhange the permission of the chkconfig file using the command: sudo chmod 755 /sbin/chkconfig # Oracle 11gR2 XE installer chkconfig hack for Ubuntu Now copy and paste the following into the file and save: #!/bin/bash The pico text editor is started and the commands are shown at the bottom of the screen. Install required packages using the command: sudo apt-get install alien libaio1 unixodbcĮnter into the Disk1 folder using command: cd Disk1/Ĭonvert RPM package format to DEB package format (that is used by Ubuntu) using the command: sudo alien -scripts -d oracle-xe-11.2.0-1.0.x86_64.rpmĬreate the required chkconfig script using the command: sudo pico /sbin/chkconfig In my case, I simply pressed but you may have to key in some other Selection depending on your installed JDKs.Step 2: Instructions before install OracleĬopy the downloaded file and paste it in home directory. If you have OpenJDK as well, you might have to change the default value to Oracle Java. Now, you can see, I have only Oracle Java Installed,so I do not have any problem. Press to keep the current choice, or type selection number:
#Install oracle 11g enterprise edition on ubuntu manual#
* 1 /usr/lib/jvm/java-8-oracle/bin/javac 1081 manual mode Press to keep the current choice, or type selection sudo update-alternatives -config javac There is 1 choice for the alternative javac (providing /usr/bin/javac).Ġ /usr/lib/jvm/java-8-oracle/bin/javac 1081 auto mode * 1 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 manual mode There is 1 choice for the alternative java (providing /usr/bin/java ).Ġ /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 auto mode Create a file with the following $ sudo update-alternatives -config java Basically, we'll add two files, one for configuration check and another for kernel parameter settings. So, you also need to provide the similar to the installer to be successful.
#Install oracle 11g enterprise edition on ubuntu software#
While this discussion was going on, some fellow developers asked me about the installation procedures of some software applications. I am using Ubuntu for quite a sometime and I am happy with it. I wrote some points on Ubuntu, Windows, Open SUSE and Oracle Linux. Some days ago, on Quora, I answered a question on OS options.
