Wednesday, March 23, 2011

install .rpm packages in Ubuntu

Hello, Here are the steps :

install alien package

sudo apt-get install alien

then simply run

alien package.rpm

Sunday, March 6, 2011

Install and start Oracle 10g Express in Ubuntu 10.10

Here are The steps to download, install and start Oracle Express 10g getting the History and Arrow Keys to work in Terminal.

Add this line to /etc/apt/sources.list file:

deb http://oss.oracle.com/debian unstable main non-free

Next, you will need to add the GPG key.

wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add -

As root, type:

apt-get update

To install the XE database server, apt-get 'oracle-xe-universal' or 'oracle-xe' (Western European support only).

apt-get install oracle-xe-universal

If you only need the XE client, type

apt-get install oracle-xe-client

----------------------------------------------------------


Then
As root, type:
/etc/init.d/oracle-xe configure

Edit your .bashrc file to include the lines:

ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server PATH=$PATH:$ORACLE_HOME/bin export ORACLE_HOME export ORACLE_SID=XE
export PATH

Start a new bash shell for the changes to take effect.

To log in as a database administrator:
conn sys as sysdba ; Then write your password

To Access database home from HTTP
http://localhost:8080/apex/

To add new user to the system and give him dba privilages, write the following in the SQL Plus CMD

create user write_user_name identified by write_user_password;
grant dba to user_name;

To unlock the HR account to work with examples provided by Oracle.

alter user HR account unlock ; alter user HR identified by $password ; exit

-----------------------------------------------------


To get the history and arrows keys to work:
Download qgplus , Click Here

after you download gqlplus,

1. find your path variable:
echo $PATH
you should see this path in there:
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/b

2. Extract the gqplus file you have downloaded and take out the gqlplus executable from the linux folder inside it.


3. place the executable in any of the path directories.

e.g. Copy it here :/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin


Then from the terminal run it.

qglplus


Have Fun :) .


References:

- https://help.ubuntu.com/community/Oracle

- https://help.ubuntu.com/community/Oracle10g#head-35cee01075d83fad1bb353beac13b27bda3fee32

- http://ubuntuforums.org/showthread.php?t=320659

Monday, January 17, 2011

disabling beep in solaris

This annoying beep can be removes simply by going to : Edit -> profile preferences -> uncheck the terminal beep box.

Friday, January 14, 2011

Installing Acrobat Reader under Linux

To Install Adobe Acrobat Reader do the following:

-> Download it HERE (make sure above download word that Your system: Linux).
-> Run it as .bin file (steps here).

That's it.

Run .bin files in Linux

To run .bin files you only need to write "./" followed by the file name while you are in the directory containing that file. Those files needs to marked as executable , so you will need to change its permissions.

Switch To root first ("su" command, then write the password) then apply the following:

Code:
filePath:# chmod a+x name_of_file.bin
Then run it by writing:

Code:
filePath:# ./name_of_file.bin

Tuesday, January 11, 2011

Configuring Microsoft True Type Fonts in Fedora 14


How To Configure Fedora 14 fonts:
If you did not find any one the following necessary packages try to search for and install them.


-> yum install XFree86-xfs
-> yum install ttmkfdir
-> yum install rpm-build cabextract
-> rpmbuild -bb msttcorefonts-2.0-1.spec
-> rpm -ivh /usr/src/redhat/RPMS/noarch/msttcorefonts-2.0-1.noarch.rpm




Configure Pidgin to work with Gmail (GTalk)

Hello every one,
For configuring pidgin to work with gmail (gtalk) you need just the following simple steps :

Open pidgin:


- Accounts Menu - > Add
- Protocol menu : XMPP
- User name : write your id without @ part. example :msa.j
- Domain : gmail.com
- Resource : empty
- Password : yourpassword & check the remember password box if you want that.

Then go to advanced tab

- Connect Port : 5222
- Connect Server : talk.google.com



Click Add, and Enjoy !