Testing CentOS 7 – Lots have changed
So, just installed the newly launched CentOS 7 and oh boy! Lot’s have changed.Honestly I don’t know if it’s for the good or bad. As I observed the distro moves really fast, and it starts reeeeallly fast!
The first notable change is that the default filesystem changed to XFS. Therefore no more x86 32bit support. This would not be such an important change, as it does not affect the way you actually work with your linux distro.
But there’s more to come…
Initscripts gone! systemd is here!
For example to start apache you now need to type something like:
systemctl start httpd
To set it to automatically start with the server:
systemctl enable httpd
To se if it starts with the system:
systemctl is-enabled httpd
Got the point?
iptables ? Where did it go?
Well, we have FirewallD now. For example, to enable port 80 you need to do something like:
firewall-cmd --permanent --zone=public --add-service=http
So, FirewallD adds the “zone” layer, the ideea is to be able to filter similar traffic on multiple interfaces. To get active zones just type
firewall-cmd --get-active-zones
or to see all zones type:
firewall-cmd --list-all-zones
Interesting huh?