Firewall Disable / Enable and Stop/ Start in Redhat Linux / Unix and Ubuntu

When you install Oracle database you may need disabling firewall to enable all sessions connection. Let’s review the Firewall Disable-Enable and Stop-Start in Linux.

 

 

 

Firewall Disable / Enable and Stop/ Start in Linux

 

If your application and security rules don’t need any firewall then you can disable it with below script.

Firstly stop then disable it as follows.

 

service iptables stop
chkconfig iptables off

service ip6tables stop
chkconfig ip6tables off

 

 

Stop or Disable Firewall in Linux

You can disable firewall in Redhat with below script.

Firstly stop then disable it as follows.

systemctl stop firewalld
systemctl disable firewalld

You can disable and check status of firewall in Ubuntu with below script.

ufw disable

ufw status

 

You can enable and start Firewall in Oracle Linux as follows.

Firstly start then enable it as follows.

service iptables start
chkconfig iptables on

service ip6tables start
chkconfig ip6tables on

 

 

Start or Start Firewall in Linux

You can enable firewall in Redhat with below script.

Firstly start then enable it as follows.

systemctl start firewalld
systemctl enable firewalld
service firewalld start

 

You can enable Firewall, then check status of firewall  in Ubuntu as follows.

ufw enable
ufw status

 

Do you want to learn Linux System Administration for Beginners, then read the following articles.

 1,229 views last month,  2 views today

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply

Do NOT follow this link or you will be banned from the site!