There is a magnificent guide which shows how to install oracle xe to ubuntu I would like to share it helped me a lot.
https://forums.oracle.com/forums/thread.jspa?threadID=2301639
WARNING!!!!,
Installing Oracle XE to Ubuntu is literally pain in the butt. I got many errors eventhough I used that guide up there. Therefore I would like to share that what I needed to do after I installed oracle xe.
1. If you get an error like "initXE.ora has not been found". DON NOT rename
{oracle home for me it is /u01/app/oracle/product/11.2.0/xe}/product/dbs/init.ora to initXE.ora
if you see only init.ora under this path that means you haven't created your XE database yet. So it is simple
run this shell script
/u01/app/oracle/product/11.2.0/xe/bin/createdb.sh
this will take 5-10 minutes to recreate a new database.
2. if you get an error when you try to start sqlplus which says something about "libaio.so.1" I don't remember either the name of the file or the problem, but problem stems from 32bit-64bit ubuntu library conflict. therefore you should install the 64 bit version of this library with
sudo apt-get install libaio1
Note: when oracle is installed to Ubuntu, it creates a new user account which is "oracle", and the password of this account is the password you entered when you run the /etc/init.d/oracle-xe configure. sqlplus is created by this account and only visible for this user. To use sqlplus you can log in with this user via the command line with
su - oracle
command.
Cheers.
Ali Olcay Sahin, Bilgisayar, Yazılım, Internet, Software, Information Technologies
Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts
Saturday, 24 March 2012
Thursday, 5 May 2011
Maven settings.xml location at Ubuntu and Windows Systems
settings.xml file is used for configuring maven builder about profiles, repositories etc. At windows systems this file can be found at;
{Maven Installed Location}\conf\settings.xml
such as: C:\Program Files (x86)\Apache Software Foundation\apache-maven-3.0.3\conf
At Ubuntu systems it can be found under
/etc/maven2/settings.xml
{Maven Installed Location}\conf\settings.xml
such as: C:\Program Files (x86)\Apache Software Foundation\apache-maven-3.0.3\conf
At Ubuntu systems it can be found under
/etc/maven2/settings.xml
Sunday, 1 May 2011
Ubuntu 11.04 set a new environment variable (persistently)
Custom environment variables are stored in /etc/environment file.
sudo gedit /etc/environment
If you open this file you will see the PATH variable's value. If you would like to set a new one just move to new line and set your variable in {variable_name}="{variable_value}" format. Such as JAVA_HOME="/usr/lib/jvm/java-6-sun/bin"
DONT FORGET TO OPEN FILE AS SUPER USER and restart your computer after you saved the changes.
To see the list of environment variables:
bash$ export
sudo gedit /etc/environment
If you open this file you will see the PATH variable's value. If you would like to set a new one just move to new line and set your variable in {variable_name}="{variable_value}" format. Such as JAVA_HOME="/usr/lib/jvm/java-6-sun/bin"
DONT FORGET TO OPEN FILE AS SUPER USER and restart your computer after you saved the changes.
To see the list of environment variables:
bash$ export
Etiketler:
environment variable,
linux,
ubuntu
Subscribe to:
Posts (Atom)