HowTo: Install MySQL Workbench on RHEL 5.x / CentOS 5.x | x86_64

Hello

What is MySQL Workbench ?

MySQL Workbench is a unified visual tool for database architects, developers, and DBAs. MySQL Workbench provides data modeling, SQL development, and comprehensive administration tools for server configuration, user administration, backup, and much more. MySQL Workbench is available on Windows, Linux and Mac OS X.

MySQL Workbench
MySQL Workbench

Sharing article which will help you all to Install MySQL Workbench on RHEL 5.4 / CentOS 5.4 x86_64 (64-Bit).

Please follow below steps to install MySQL Workbench on RHEL 5.x / CentOS 6.x 64 Bit version.

1. You need to be root to install RPMs.

2. Download MySQL-Workbench RPM from below link,

[root@tejasbarot ~]# wget ftp://ftp.pbone.net/mirror/dev.mysql.com/pub/Downloads/MySQLGUITools/mysql-workbench-oss-5.2.17-1centos.el5.x86_64.rpm

3. Download dependencies from below link:

[root@tejasbarot ~]#  wget http://tejasbarot.com/RPMs/downloads/mysql-workbench.tar.gz
[root@tejasbarot ~]# tar zxvf mysql-workbench.tar.gz
[root@tejasbarot ~]# cd mysql-workbench
[root@tejasbarot mysql-workbench]# rpm -Uvh *.rpm

4. Now Next step to Install downloaded RPM MySQL-Workbench in step 2.

[root@tejasbarot ~]# yum -y localinstall mysql-workbench-oss-5.2.17-1centos.el5.x86_64.rpm --nogpgcheck

5. That’s it. Now Wait for dependencies to be installed and MySQL Workbench will be ready for you.

Hope this will be helpful to you all.

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

Please Keep in Touch with Social Networking :- 

Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

Disable / Password Protect Single User Mode / RHEL / CentOS / 5.x / 6.x

Hello All,

If you have not protected Single User Mode with Password then it is big risk for your Linux Server, So protecting Single User Mode with Password is very important when it comes to security,

Today in this article i will show you how you can protect Single User Mode with Password on RHEL / CentOS 5.x and RHEL / CentOS 6.x.

Please execute given commands carefully else your system will not boot properly. First i would request you to read full procedure and then try to follow. Do it at your own risk 🙂

 

Password Protect
Password Protect

 

1. For RHEL / CentOS 5.x

1.1 Before doing anything please take backup of your /etc/inittab

cp /etc/inittab /etc/inittab.backup

To Disable and Make Single User Mode Password Protected, Execute below command as root :-

[root@tejas-barot-linux ~]$ sed -i '1i  su:S:wait:/sbin/sulogin'

So It will look like below

su:S:wait:/sbin/sulogin
# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:3:initdefault:

NOTE: If you do not want to use sed command then You can always add “su:S:wait:/sbin/sulogin” at top in /etc/inittab

2. For RHEL / CentOS 6.x

2.1 Before doing anything please take backup of your /etc/inittab

cp /etc/sysconfig/init /etc/sysconfig/init.backup

2.2 To Disable and Make Single User Mode Password Protected, Execute below command as root :-

[root@tejas-barot-linux ~]$#sed -i 's/SINGLE=\/sbin\/sushell/SINGLE=\/sbin\/sulogin/' /etc/sysconfig/init

So It will look like below

SINGLE=/sbin/sulogin

NOTE :- If you do not want to use sed command then You can always change to “SINGLE=/sbin/sulogin” in /etc/sysconfig/init

Enjoy Linux 🙂 Enjoy Open Source

Please Keep in Touch with Social Networking :- 
Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

Install / Upgrade Firefox 17.x on RHEL / CentOS / 5.x / 32-Bit / 64-Bit / X86_64 / Linux

Hello,

This how will show you the way to Installing / Upgrading  Firefox 17 on RHEL and CentOS 5.x Linux.

In RHEL 5.x and CentOS 5.x there is very Old Firefox version is available, So It is possible that you will not able to use some of the Latest Web based Features from Faebook, Gmail, twitter and LinkedIn.

So To run the Latest Web Based Features, We have to make sure our Firefox version should be Latest and Updated, As of Now there is Firefox 17 is available for the CentOS / RHEL 6.x. We will be Installing / Upgrading the Firefox using YUM.

 

Firefox 17.x on RHEL5
Firefox 17.x on RHEL5

 

Please perform following steps to Install Mozilla Firefox on RHEL / CentOS / 5.x :-

Step 1 :- You need to be Root to Install / Upgrade Firefox 17 on RHEL / CentOS / 5.x :-

Step 2 :- Make sure Internet is Direct or You should be able to use Yum for external Repositories from Command Line.

Step 3 :- Close All Firefox Sessions.

Step 4 :- Execute Following Command to Move Existing Repositories to Another Directory to Avoid Package Conflicts.

[root@linux-support-ahmedabad-tejas-barot ~]# mv /etc/yum.repos.d/*.repo /root

Step 5 :- Download and Configure the Repository for Firefox 17 :-

[root@linux-support-ahmedabad-tejas-barot ~]# wget -c http://www.tejasbarot.com/RPMs/downloads/firefox_tejas_barot.repo
[root@linux-support-ahmedabad-tejas-barot ~]# mv firefox_tejas_barot.repo /etc/yum.repos.d/

Step 6 :- Execute Following Command to Start Installing / Upgrading Firefox 17 on RHEL / CentOS / 5.x 

[root@linux-support-ahmedabad-tejas-barot ~]# yum install -y firefox

Step 7 :- Once Above Process is successfully completed, You will able to use firefox.

Step 8 :- Remove the Firefox Repository and Restore you Previous Repositories.

[root@linux-support-ahmedabad-tejas-barot ~]# rm -rf /etc/yum.repost.d/firefox_tejas_barot.repo
[root@linux-support-ahmedabad-tejas-barot ~]# mv /root/*.repo /etc/yum.repos.d/

That’s IT.

Hope this will helps you all, If you face any issue regarding the same or its not working for your some how then please raise your questions / issues then comment down below.

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Please Keep in Touch with Social Networking :- 

Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

Enjoy Mozilla Firefox 🙂 Enjoy Browsing 🙂 :)  Enjoy Linux :) Enjoy Open Source

Howto Access / Mount / MAP Windows Share from Linux | RHEL / CentOS 5.x | RHEL / CentOS 6.x | Fedora 17 | Ubuntu 12.10 | Ubuntu 12.04 LTS

Hello,

This Article will show you to Access Windows Shares from Linux. You can Perform this commands to Almost all Linux like ( Red Hat Enterprise Linux, Ubuntu Desktop Edition, Ubuntu Server Edition, CentOS and Of Course Fedora).

This is very basic Howto but this can be very helpful and You can achive this with some simple steps.

Accessing Windows share is called a Mount in Linux Terms. In This Howto and in Section 2 You will able to make that share Permanent available to Linux it is like MAP Drive of Windows from Linux.

Requirements for this Howto :

1. You need to be root to execute this commands, To Access from GUI “root” access is not needed.

2. Package cifs-utils must installed, If its not installed You can Install it by following command

=> For Ubuntu

#sudo apt-get install cifs-utils

=> For RHEL/CentOS

#yum install cifs-utils

Please Perform following steps to Map / Mount / Access windows share directory from Linux

Following topics covered in this article :-

1) Mount Windows Share from Linux ( Temporary ).

2) Mount Windows Share from Linux ( Permanent, Available on re-boot).

3) Accessing Windows Share Directory using Linux GUI.

So Now Let’s Come to the poing and Start Executing Commands

1) Mount Windows Share from Linux ( Temporary ) :-

By Performing this Section you will able to mount windows shared directory from Linux but that will be on Temporary basis once you re-boot your system then it will not available. So Take a note of this.

root@tejasbarot-linux-ahmedabad:~ # mount -t cifs //<windows-ip-address>/<share-name> /<local/mount/point> -o username=username,password=password

For Example :-

root@tejasbarot-linux-ahmedabad:~ # mount -t cifs //192.168.1.3/share /mnt -o username=tejasbarot,password=linuxahmedabad

2) Mount Windows Share from Linux ( Permanent, Available on re-boot).

By Performing this Section you will able to mount windows shared directory from Linux on Permanent Basis, Even if you re-boot then it will be available, But Of-Course Windows share must available.

First of all take backup of /etc/fstab file so if anything goes wrong you can always recover.

=>  To backup /etc/fstab file execute following command.

root@tejasbarot-linux-ahmedabad:~ #cp /etc/fstab /etc/fstab.original

=> Open /etc/fstab with your Favourite text editor. I am using VIM as my editor.

root@tejasbarot-linux-ahmedabad:~ # vim /etc/fstab

=> Now Insert Following entry

//<windows-ip-address>/<share-name> /<local/mount/point> cifs username=username,password=password 0 0

For Example ( Entry Should look like below ) :-

//192.168.1.3/share /mnt cifs username=tejasbarot,password=linuxahmedabad 0 0

Save and Exit from File. To save in VIM ( Press ESC and :wq and ENTER )

=> To Test Your Entry is correct or not Execute following command :-

root@tejasbarot-linux-ahmedabad:~ # mount -a

No Error should be there once you execute this command.

=> Now You can Confirm by “df -h”

3) Accessing Windows Share Directory using Linux GUI.

This is the easiest way to Access Windows Share from Linux.

If You are Using Unity or GNOME 3.0 then you can search for “Connect to Network/Server” and Window will open and If You are using GNOME Classic then You can Perform steps as per below screen shot.

=> Click on “Places” -> Click on “Connect to Network/Server

Connect to Network/Server
Connect to Network/Server

 

=> Select “Windows Share when Next Screen Appears

Select Windows Share
Select Windows Share

=> When Next Screen Comes up,Provide Details of “Windows Share” and click on Connect.

  • Server : IP Address/Name of System where windows share is available (Only this field is required, You can skip all other fields).
  • Port : Provide If only connecting to Non-Default Port.
  • Type: Windows Share
  • Share : Share Name
  • Folder : Folder Inside Share
  • Domain Name : If You are in Domain Environment then Provide Domain Name.
  • Username : Username Who has Share Access
  • Password : Password of User which you have provided above.
Provide Share Details
Provide Share Details

That’s It. By above three methods you can Map / Access / Mount Windows Share from Linux and You can even Make it Permanent same like MAP Drive.

Hope this will helps you, Waiting for your feedback.

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Enjoy Windows Share from Linux 🙂 Enjoy Linux MAP Drive 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂