Install Arial Font Ubuntu

Dear all, here is the direct way to install Arial and other microsoft fonts in ubuntu.

just issue the following 2 commands as a root and accept any upcoming messages (click tab to move between options )

sudo apt-get install ttf-mscorefonts-installer
dpkg-reconfigure ttf-mscorefonts-installer

Accept some license issues and so, just by clicking Ok to the popup dialogues

you will got this message when you done
All done, no errors.
All fonts downloaded and installed.
Updating fontconfig cache for /usr/share/fonts/truetype/msttcorefonts

Good Luck,
Msaudi
msaudi.blogspot.com

RedHat Package Manager rpm guide

Hello ALL,

This is a fast tutorial on linux RedHat package manager . Let’s navigate the rpm (Redhat package manager) command with its options.


rpm : no :D, It does not work without options.


Listing Packages
rpm : no :D, It does not work without options.


– Query all packages :
rpm -qa // you may add | more command to see them page by page and navigate between pages using space & enter keys


– Query Specific package
rpm -q pkgName


– Query with more details(informations) about the package
rpm -qi pkgName


-Query all files used by this package
rpm -ql pkgName


This may be enough but we can add 2 more useful options
-qf over specific file will check which packages this file belongs to or generated by.
rpm -qf file-path-name

-qlp do the same but over rpm archive , not a file
rpm -qlp package-path-name.rpm




Installation
rpm -i packageName.rpm installs the package
rpm -ivh packageName.rpm installs the package, showing you what is going on during the installation [ verbose messages with hash sign indicates the progress


Upgrading installed pacckage
rpm -U packageName.rpm upgrades the package
rpm -Uvh packageName.rpm upgrade showing you what is going on




Removal
rpm -e pkgName erase the package
rpm -e –nodeps pkgName erase and neglect the dependences messages


Verification
Verification for some package verify deifferent aspects of information related to files, owner, group, ….
detailed explanation can be found here


rpm -V pkgName
or
rpm -Va for all packages


Good luck,
M.Saudi
msaudi.blogspot.com


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

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

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 !