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

Install mp3 player and vlc player on Fedora

Play mp3 songs in fedora linux
I am using the Fedora 11 and on that I am going to install the Fluendo MP3 plugin

Install mp3 player and vlc player on Fedora

If you want to install the Fluendo MP3 plugin on Fedora 8, 9, 10 or 11
Use same steps;

Download fluendo-codecs-mp3-7-1.i386.rpm file from here:

fluendo-codecs-mp3

Use following command:
[root@localhost siwan]# rpm -i fluendo-codecs-mp3-7-1.i386.rpm

How to install the Vlc player on Fedora 8, 9, 10 or 11
root@localhost siwan]#  su
[root@localhost siwan]#  rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
[root@localhost siwan]# yum install vlc
[root@localhost siwan]# yum install mozilla-vlc (optionnal)

Install Mysql cluster on Fedora box

Each MySQL Cluster host computer running an SQL node must have installed on it a MySQL. For management nodes and data nodes,
it is not necessary to install the MySQL server binary,
but management nodes require the management server daemon (ndb_mgmd) and data nodes require the data node daemon (ndbd).

It is also a good idea to install the management client (ndb_mgm) on the management server host.
This section covers the steps necessary to install the correct binaries for each type of Cluster node.

Important Note:
If you have mysql installed already than remove that from computer using following command
[root@localhost siwan]# yum remove mysql mysql-server mysql-libs mysql-common

Open http://dev.mysql.com/downloads/
click on * MySQL Cluster url:
http://dev.mysql.com/downloads/select.php?id=14
Scoll down,
Under “Current Realeases” section
You will see the following text;
MySQL Cluster 7.0.8a GA
Select the Red Hat Enterprise Linux here and download following packages.

Select Operating System: Red Hat Enterprise Linux
As per linux edition(4 and 5) and computer and Os comptable(64bit or 32bit download the RPMs
I am using the Fedora 11 as OS and 32bit Intel machine.
I used or downloaded following RPM files from above URL:
MySQL-Cluster-gpl-debuginfo-7.0.8a-0.rhel5.i386.rpm
MySQL-Cluster-gpl-embedded-7.0.8a-0.rhel5.i386.rpm
MySQL-Cluster-gpl-server-7.0.8a-0.rhel5.i386.rpm
MySQL-Cluster-gpl-7.0.8a-0.rhel5.src.rpm
MySQL-Cluster-gpl-7.0.8a-0.sles11.src.rpm
MySQL-Cluster-gpl-devel-7.0.8a-0.rhel5.i386.rpm
MySQL-Cluster-gpl-tools-7.0.8a-0.rhel5.i386.rpm
MySQL-Cluster-gpl-test-7.0.8a-0.rhel5.i386.rpm
MySQL-Cluster-gpl-client-7.0.8a-0.rhel5.i386.rpm
MySQL-Cluster-gpl-extra-7.0.8a-0.rhel5.i386.rpm
MySQL-Cluster-gpl-storage-7.0.8a-0.rhel5.i386.rpm
MySQL-Cluster-gpl-shared-7.0.8a-0.rhel5.i386.rpm
MySQL-Cluster-gpl-management-7.0.8a-0.rhel5.i386.rpm

SQL node installation — RPM files. On each machine to be used for hosting a cluster SQL node, install the Server RPM by executing the following command as the system root user, replacing the name shown for the RPM as necessary to match the name of the RPM downloaded from the MySQL web site:

How to repeat:
Make sure you have nothing in /var/lib/mysql and /var/lock/subsys/mysql.
The do :
rpm -i MySQL-client-5.1.25-0.glibc23.x86_64.rpm MySQL-server-5.1.25-0.glibc23.x86_64.rpm

[root@localhost MysqlClusterSoft]# rpm -iv MySQL-Cluster-gpl-*

Forcely install the above rpms again, for that use following command.
[root@localhost MysqlClusterSoft]# rpm -ivh –force MySQL-Cluster-gpl-server-7.0.8a-0.rhel5.i386.rpm

Following command you can use for uninstall the Mysql cluster.
[root@localhost MysqlClusterSoft]# rpm -e -F MySQL-Cluster-gpl-*

[root@localhost MysqlClusterSoft]# yum install mysql mysql-server

[root@localhost MysqlClusterSoft]# rpm -Uhv MySQL-Cluster-gpl-server-7.0.8a-0.rhel5.i386.rpm
Preparing… ########################################### [100%]
1:MySQL-Cluster-gpl-serve########################################### [100%]
091113 17:05:13 [Warning] Forcing shutdown of 3 plugins
091113 17:05:13 [Warning] Forcing shutdown of 3 plugins

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:

/usr/bin/mysqladmin -u root password ‘new-password’
/usr/bin/mysqladmin -u root -h localhost.localdomain password ‘new-password’

Alternatively you can run:
/usr/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.

See the manual for more instructions.

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available at http://www.mysql.com/
Support MySQL by buying support/licenses from http://shop.mysql.com/

[root@localhost MysqlClusterSoft]#

[root@localhost MysqlClusterSoft]# rpm -Uhv MySQL-Cluster-gpl-client-7.0.8a-0.rhel5.i386.rpm
Preparing… ########################################### [100%]
package MySQL-Cluster-gpl-client-7.0.8a-0.rhel5.i386 is already installed

After all installtion Please reboot the machine. and Run the nbdb server and load the sample data.
Use following article…
http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-multi-load-data-queries.html

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