LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-03-2013, 12:19 AM   #1
shankarpanda003
LQ Newbie
 
Registered: Jan 2013
Posts: 4

Rep: Reputation: Disabled
turning off firewall


How can i turnoff redhat linux server's firewall?and what is the basic command for installing a rpm package.I tried installing mysql workbench by this command:rpm -ivh packagename.rpm
but it didnt work.Can anyone please help me
 
Old 01-03-2013, 12:52 AM   #2
lvvloten
LQ Newbie
 
Registered: Mar 2011
Posts: 5

Rep: Reputation: 1
Hi,

Please be aware of the security implications when you turn off the firewall! It is good practice to use the firewall even when your computer is located inn a trusted network.

Having said that:
To turn off the firewall you need to be root:
service iptables stop
And to avoid it will start at next reboot:
chkconfig iptables off

To search and install the package(s) that you need use yum, not rpm:
yum search mysql
yum install <packagename(s)>

Don't forget: man is your friend! (man yum)
And so is google.

I hope this helps.
Lucas
 
1 members found this post helpful.
Old 01-03-2013, 01:12 AM   #3
trijit
Member
 
Registered: Sep 2010
Location: Kolkata
Distribution: Ubuntu
Posts: 35

Rep: Reputation: 3
Quote:
Originally Posted by shankarpanda003 View Post
How can i turnoff redhat linux server's firewall?and what is the basic command for installing a rpm package.I tried installing mysql workbench by this command:rpm -ivh packagename.rpm
but it didnt work.Can anyone please help me
Check the rpm details that you have downloaded. If it is incompatible with your current OS architecture then the installation fails. The command you are using is correct. "rpm -ivh pkgname.rpm" does the trick.
 
1 members found this post helpful.
Old 01-03-2013, 02:00 AM   #4
shankarpanda003
LQ Newbie
 
Registered: Jan 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Yes Lucas , i have already searched using yum but latest mysql workbench was not available on my redhat 6.3.So i downloaded a rpm package mysql workbench installer and tried to install that,but couldnt install.
 
Old 01-03-2013, 02:35 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,589

Rep: Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643
I am guessing that that rpm is for a different operating system
from the mysql site it is a fedora 17 rpm

And that is very incompatible with RHEL6.3

There is a reason you are using Red Hat -- it is VERY stable .
That entails that the versions of programs are a bit "old" .Old BUT patched with the current security patches .
also the version of a program will NEVER change over the life time of the os ( for RHEL 6 that is 10 years )

you could always build from source ,then using "rpm-build" convert it to a rpm package for install.

There is a "src" source code rpm for RHEL6
http://www.mysql.com/downloads/workbench/#downloads
"mysql-workbench-gpl-5.2.45-1el6.src.rpm"
you will need to build the program
 
1 members found this post helpful.
Old 01-03-2013, 08:38 AM   #6
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,262

Rep: Reputation: 1679Reputation: 1679Reputation: 1679Reputation: 1679Reputation: 1679Reputation: 1679Reputation: 1679Reputation: 1679Reputation: 1679Reputation: 1679Reputation: 1679
Quote:
Originally Posted by John VV View Post
... over the life time of the os ( for RHEL 6 that is 10 years )
IYI: Changed to 13 years -- since EL5.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Managing A Single Firewall Policy For Multiple Servers Using Firewall Builder LXer Syndicated Linux News 0 12-06-2010 10:20 AM
Turning Off All Firewall Checks gw1500se Mandriva 2 10-19-2008 12:49 PM
firewall needs turning off berrance Linux - Security 2 08-21-2004 10:07 AM
Turning off Firewall for Port 110? coffee9876 Linux - Security 1 10-14-2003 04:37 PM
Turning firewall off mrpjwilson Linux - Security 9 07-12-2003 07:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration