WorkingWithRHEL7: Difference between revisions

From T2B Wiki
Jump to navigation Jump to search
No edit summary
Line 17: Line 17:


=== Replacing NetworkManager by network ===
=== Replacing NetworkManager by network ===
Type these commands :
First, check if there is the '''GATEWAY''' parameter in the ifcfg-ethX of the NIC. (GATEWAY0 is not working without NM)
Then, type these commands :
<pre>
<pre>
systemctl stop NetworkManager
systemctl stop NetworkManager

Revision as of 12:34, 18 November 2015

Getting rid of firewalld and coming back to iptables

Here are the magic commands :

systemctl stop firewalld
systemctl disable firewalld
yum remove firewalld
yum install iptables-services
systemctl enable iptables.service
systemctl enable ip6tables.service

Don't forget to configure SSH with system-config-firewall-tui. And after that :

systemctl start iptables.service
systemctl start ip6tables.service

Replacing NetworkManager by network

First, check if there is the GATEWAY parameter in the ifcfg-ethX of the NIC. (GATEWAY0 is not working without NM) Then, type these commands :

systemctl stop NetworkManager
systemctl disable NetworkManager

And now, we can restart network :

service network restart

Adoption of Predictable Network Interface Names

Names of NICs will change. To prepare yourself to the new naming rules, please read these documents :

Default filesystem : xfs

RHEL7 adopts XFS as the default filesystem. It might generates troubles with our Quattor scdb -> check our filesystem layout templates.

Transition from SysVinit to Systemd

I find this link useful.

Template:TracNotice