Friday, February 25, 2011

Installing MySQL Workbench using command in Fedora Linux

Installing MySQL Workbench, on Fedora 13, is as follows:

Login as root
Open a terminal window in GNOME/KDE or switch to the command line
Issue the command:
rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi

Next, issue the command:
yum install http://rpms.famillecollet.com/remi-release-13.rpm

Open the file named remi.repo, found in the directory /etc/yum.repos.d, in a text editor (say vi) and change line no. 5 from:
enabled=0 to enabled=1
This will enable the [remi] repository.
Finally issue:
yum install mysql-workbench
to install MySQL Workbench on Fedora 13.

Henceforth, MySQL Workbench can be launched via a terminal window by issuing mysql-workbench or it can be found under Applications >Programming in GNOME.

Installing MySQL in Fedora Core Linux

Hi Friends,

below are the steps to install MySQL on Fedora Core Linux:

Use yum to install both mysql command line tool and the server:yum -y install mysql mysql-server
Enable the MySQL service:/sbin/chkconfig mysqld on
Start the MySQL server:/sbin/service mysqld start
Set the MySQL root password:mysqladmin -u root password 'new-password'The quotes around the new password are required.

Sunday, February 20, 2011

Videos for using Apache Ant with Eclipse

Setting $PATH variable in Linux

Set the following variables in .bash_profile file in root folder of your linux account:

JAVA_HOME=/usr/local/java
JDK_HOME=$JAVA_HOME
ANT_HOME=/usr/local/ant
PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH

Please make sure that you log off and log in back to see changes.

Thanks.