Rizwan Abbasi’s Blog











{اپریل 2, 2009}   Restarting Apache server

How to restart Apache server in CentOS?

It’s simple just right click on desktop, click on Open terminal

and type

service httpd restart

Rizwan Abbasi



{اپریل 2, 2009}   Opening/Editing a text file

How to open/edit a text file in CentOS?

it’s simple

gedit filepath

e,g,

gedit /etc/php.ini

An editor will be opened and you can edit your php.ini file.

Rizwan Abbasi



{اپریل 2, 2009}   Installing bin(*.bin) files

How to install binary files in Linux? It’s simple dude,

I have downloaded a file GoogleEarthLinux.bin, now

rightclick on  GoogleEarthLinux.bin and click on properties,

click on permissions and in the Execute there will e a checkbox

“Allow executing file as program” just tick it.

Double click on GoogleEarthLinux.bin , a popup will appear and just select

Run in Terminal.

Follow the instruction and you are done.

Rizwan Abbasi



{اپریل 2, 2009}   Magic with youtube

Do you want to see the magic with http://www.youtube.com?

open your favourit browser and enter http://www.youtube.com/

click on your favourite video now, I liked the Heroes video, i have the following address from the address bar.

http://www.youtube.com/watch?v=M4dQ1DTOtb4&feature=PlayList&p=8026B24C41B07EC0&playnext=1&playnext_from=PL&index=3

just add &flip=1 at the end. i.e,

http://www.youtube.com/watch?v=M4dQ1DTOtb4&feature=PlayList&p=8026B24C41B07EC0&playnext=1&playnext_from=PL&index=3&flip=1

and  text and video  will be flipped.

It’s great naa, you must try it.

Rizwan Abbasi



et cetera