How to install Google Chrome on Linux or Fedora

Just open the following URL;
http://www.google.com/chrome/eula.html

Download your rpm file for installtion.

#rpm -i google-chrome-beta_current_i386.rpm

That sit.

After installtion you can install very usefull Google Chrome Extensions.

https://chrome.google.com/extensions/

MS-paint on Linux or Fedora or MS-paint options on Linux

I am big fan of Ms-paint. Ms-paint is really good tool for editing images.
But searched paint for linux os. I got really alternative solutions.

kolorpaint is the solution. I am using the Fedoa 11.
Go to following URL:
http://kolourpaint.sourceforge.net/download.html

Download the rpm for as per linux version.
User following commands for installing kolorpaint.

[root@siwank-pc Download]# rpm -ivh kolourpaint-1.2.2-2.fc7.rf.i386.rpm
warning: kolourpaint-1.2.2-2.fc7.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1aa78495
Preparing…                ########################################### [100%]
1:kolourpaint            ########################################### [100%]
[root@siwank-pc Download]#

Here is screen shot of kolorpaint.

How to change the computer name in linux

Follow me if you want to change the computer name on Linux
[siwan@localhost ~]$ hostname siwan
hostname: you must be root to change the host name
[siwan@localhost ~]$ su
Password:
[root@localhost siwan]# hostname siwan
[root@localhost siwan]#

close the terminal or command prompt and start again

[siwan@siwan ~]$

your Pc name will be siwan

command : hostname your_desired_computer_name

Force remove the rpm from linux box

I installed the Mysql-cluster on fedora11 box.
When I tried the wordpress local setup on by box I got following error.
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.”

I used the noraml command for uninstalling the rpm package.
#rpm -e PACKAGE_NAME
I tried so many things but failed. Nothing is removed. Then I tried this command. I still got following result.

#yum list Mysql*.*
Installed Packages
MySQL-Cluster-gpl-debuginfo.i386 7.0.8a-0.rhel5 installed
MySQL-Cluster-gpl-extra.i386 7.0.8a-0.rhel5 installed
MySQL-Cluster-gpl-management.i386 7.0.8a-0.rhel5 installed
MySQL-Cluster-gpl-server.i386 7.0.8a-0.rhel5 installed
MySQL-Cluster-gpl-shared.i386 7.0.8a-0.rhel5 installed
MySQL-Cluster-gpl-storage.i386 7.0.8a-0.rhel5 installed
MySQL-Cluster-gpl-tools.i386

I tried the following commands…
#yum remove MySQL-Cluster-gpl-shared
This really worked…Yes this is final solution.

[root@localhost siwan]# yum install mysql mysql-server php-mysql mysql-common mysql-libs

[root@localhost siwan]# /etc/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: httpd: Could not reliably determine the server’s fully qualified domain name, using localhost.localdomain for ServerName

This will solved your problem. Following links I found usefull:

http://www.rikers.org/rpmbook/node18.html
http://www.rikers.org/rpmbook/node20.html
http://www.rikers.org/rpmbook/node19.html

How to install and setup varnish on fedora9

Varnish is an HTTP accelerator designed for content-heavy dynamic web sites. In contrast to other HTTP accelerators, many of which began life as client-side proxies or origin servers, Varnish was designed from the ground up as an HTTP accelerator.

Use following command:
[root@localhost siwan]# su
[root@localhost siwan]# yum install varnish
ncurses are needed for textual “graphical” configuration.
[root@localhost siwan]# yum install ncurses-devel

Edit the setting of varnish
[root@localhost siwan]# vim /etc/varnish/default.vcl

Start the varnish.
[root@localhost varnish]# /etc/init.d/varnish start

on startup set varnish on
[root@localhost varnish]# /sbin/chkconfig varnish on

Software for making diagram or flowchart in fedora

Aftter doning some R&D I found some flowchart and open source graphics softwares.
I installed on my Fedora9. Gimp is like photoshop but I do not find that as good as Photoshop.

1. inkscape
Features: An Open Source vector graphics editor, with capabilities similar to Illustrator, CorelDraw,
or Xara X, using the W3C standard Scalable Vector Graphics (SVG) file format.
Installation command
[root@localhost siwan]# yum install inkscape
Site Url: http://www.inkscape.org/index.php

2. Dia
Features:Dia is a program for creating diagrams of all kinds. It can create many types of diagrams, including UML, network and flowchart diagrams. The engine is very flexible and dynamically loads diagram-types from disk. Dia can also print diagrams and export tham to a number pf formats including EPS, SVG, and PNG
Installation command
[root@localhost siwan]# yum install dia
Site Url:http://live.gnome.org/Dia

How to install mysql-connector-java / mysql-connector-odbc on fedora

I am using the Fedora9 for installation
I downloaded rmp file from this location.
http://rpm.pbone.net/index.php3/stat/4/idpl/7221422/com/mysql-connector-java-3.1.12-5.fc9.i386.rpm.html

If you are using the fedora 10 or 11, you can use this url;
http://www.rpmfind.net/linux/rpm2html/search.php?query=mysql-connector-java&submit=Search+…&system=fedora+9&arch=

[siwan@localhost ]$ su
Password:
[root@localhost ]# rpm -Uvh mysql-connector-java-3.1.12-5.fc9.i386.rpm
Preparing… ########################################### [100%]
1:mysql-connector-java ########################################### [100%]
[root@localhost ]#

how to install mysql-connector-odbc on fedora

I downloaded rmp file from this location.
http://rpm.pbone.net/index.php3?stat=3&search=mysql-connector-odbc&srodzaj=3

[root@localhost Desktop]# rpm -Uvh mysql-connector-odbc-3.51.24r1071-1.fc9.i386.rpm
Preparing… ########################################### [100%]
1:mysql-connector-odbc ########################################### [100%]
[root@localhost Desktop]#

How to use the killall command on linux

Killall command is very useful in linux. You can stop or kill the all same processes.

killall command can used in Linux and Unix OS.

killall – kill processes by name

You can find the process name by using this command:
#ps -ef|grep firefox

for kill the process
#su
#ROOT_PASSOWRD
#killall firefox