Open main menu

CDOT Wiki β

Changes

OPS235 Lab 2 - CentOS7 - SSD

321 bytes removed, 10:57, 11 June 2016
no edit summary
<ol>
<li value="7">Start the virtualization service: <b><code><span style="color:#3366CC;font-size:1.2em;">service libvirtd start</span></code></b></li>
<li>The firewall configuration most recent variants of Centos and Fedora are using a service called '''firewalld''' that is altered by intended to replace '''iptables''', however the addition of the virtualization software''iptables'' service is still in relatively common usage. Centos7 uses firewalld for firewall, but In this course we will be switching back to using concentrate on ''iptables''. Issue the following series of command to install iptables and restart the firewall:<brol><brli> Disable firewalld:<b><code><span stylesource lang="color:#3366CC;font-size:1.2em;bash">systemctl disable firewalldsystemctl stop firewalld</span></codesource></b><br><bol><codeol><span styleli value="color:#3366CC;font-size:1.2em;2">systemctl mask firewalldInstall and enable the IPTables services:</span></code></b><br><b><code><span stylesource lang="color:#3366CC;font-size:1.2em;bash">yum install iptables-services</span></code></b><br><b><code><span style="color:#3366CC;font-size:1.2em;">systemctl enable iptables</span></code></b><br><b><code><span style="color:#3366CC;font-size:1.2em;">systemctl start iptables</span></code></b><br><b><code><span style="color:#3366CC;font-size:1.2em;">service iptables save</spansource></code></b><br><brol></li>
</ol>
{| width="40%" align="right" cellpadding="10"
13,420
edits