Changes

Jump to: navigation, search

OPS235 Lab 2 19

62 bytes added, 10:57, 30 August 2013
service replaced with systemctl
<ol>
<li value="4">Start the virtualization serviceusing the systemctl command: <code>'''systemctl start libvirtd.service libvirtd start'''</code></li> <li>The firewall configuration is altered by the addition of the virtualization software. Restart the firewall so that these changes become active: <code>'''systemctl restart iptables.service iptables restart'''</code></li>
</ol>
<ol>
<li value="25">Enable SSH access to your virtual machine with these commands (semi-colon allows commands to be run in sequence):<br /> <code>service systemctl start sshd start; chkconfig systemctl enable sshd on.service</code></li>
<li>Find out the IP address of your virtual machine: <code>ifconfig eth0</code> </li>
<li>Enter the following command on your virtual machine to create a firewall exception to allow ssh traffic into the machine:<br /> <code>iptables -I INPUT -p tcp -s0/0 -d0/0 --dport 22 -j ACCEPT</code></li>

Navigation menu