Wednesday, April 13, 2011

fix firefox youtube fullscreen error in ubuntu

Hello All,
There is a problem in firefox when playing youtube videos in full screen mode. Here is the solution :

sudo mkdir /etc/adobe
sudo echo "OverrideGPUValidation = 1" >> /etc/adobe/mms.cfg

That's it.
msaudi.blogspot.com

Friday, April 8, 2011

Install gcc windows


To install gcc compiler in windows operating system do the following :

1- go to www.mingw.org to download the mingw installer or simply go directly to http://sourceforge.net/projects/mingw/files/

2- click download mingw-get-inst-****
this will download a small exe to help you download and install the required files.
3- click the exe file downloaded and click next

4- keep clicking Next as there is no changes required.

NOTE: You can install the C++ compiler -If you want - by just clicking the check box besides C++ compiler


The installer will do the rest of the job for you. It will download and install the required files.
Then click finish.

///////////////

You will need to add environment variable to the system to be able to use the gcc command at the command prompt.
Follow the next steps to do this :

1- right click on my computer - > Properties -> Advanced - > Environment variables

2- click the PATH variable as indicated then click EDIT
3- Add " ; C:\MinGW\bin to the end of the line "
semicolon followed by the path

4 - Now you are able to compile your c applications using GCC compiler.

** To do this, Click Start -> RUN (or keyboard windows tbutton +R) and write CMD

Compile your code by writing the following command:

gcc c_file_name_path -o c_output_filename


That's it.
msaudi.blogspot.com

Thursday, April 7, 2011

Installing VMware player ubuntu


Hello All,
VMWare offers a free software called VMWare player which you can use to work with virtual machines. of course It has less features than the Work Station version like the ability to make a team and record your WM session but you still can have your work done with the FREE version.

To install it in ubuntu do the following:

first download the software from HERE,
note: you will need to register to be able to download.
then :
Open terminal
Change to the directory you downloaded your file to
issue the following command ,,,
gksudo bash ./VMware-Player-xxxxxxxx
where xxxx is the version details.
This will run a GUI installer, follow the instruction and after you finish, 
you will find it installed in Applications, System Tools , VMware player

Enjoy !.
msaudi.blogspot.com

Monday, April 4, 2011

Configuring Proxy Settings Manually Ubuntu

Steps:

sudo gedit /etc/apt/apt.conf &

then inside apt.conf file write your proxy settings in the following format:
for http:
Acquire::http::Proxy "http://proxy_server_here:port_here";

for ftp: example
Acquire::ftp::Proxy "ftp://10.200.100.100:8080";

If you want to change this, just remove the lines we just wrote.

have fun

Wednesday, March 30, 2011

Get your 4 Giga Ram ( or more) to work under ubuntu 10.10

Hello All,
Usually ubuntu 10.10 (the 32-bit version) does not support 4 giga ram addressing, But the 64-bit version do.

To get your 32-bit version to work you need to install the following:
linux-headers-server
linux-image-server
linux-server
linux-generic-pae
linux-headers-generic-pae

so go ahead and update the system then apt-get install "the above list"

$ sudo apt-get update
$ sudo sudo apt-get install linux-headers-server linux-image-server linux-server
$ sudo apt-get install linux-generic-pae linux-headers-generic-pae

reboot your system ... and have fun !.

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