Open main menu

CDOT Wiki β

Changes

OPS235 Lab 4 - CentOS7

172 bytes added, 07:33, 29 April 2015
no edit summary
</li>
<li>Note the difference in output between '''centos2''' and '''centos3'''.</li>
<li>You can use the '''init''' command to change the current run-level. See a list of runlevels [https://www.centos.org/docs/5/html/5.2/Installation_Guide/s2-init-boot-shutdown-rl.html here]. Use the <code/li>man</codeli> Use the '''man''' command to learn how to use the '''init''' command. Use this command to change the current runlevel in centos2 to 3. What happened? What happens after your reboot?</li> <li>Change the default run-level on in '''centos2''' to '''3'''. What happens now after you reboothappened?</li> <li>Issue the following Linux command:
<ul>
<li><b><code><span style="color:#3366CC;font-size:1.2em;">startx</span></code></b></li>
<li>What happens?</li>
<li>Log-off your graphical system. You should return to your shell prompt.</li>
<li>Change the default run-level Using systemd requires a different method of setting text mode and graphical mode. You can refer to this link for '''future reference: [http://zenit.senecac.on.ca/wiki/index.php/Init_vs_systemd init vs systemd]</li><li>Restart your centos2machine, and make certain that it runs in ''' back to '''5graphical''' and reboot mode</li> </li>Why would you want to make sure it works.a graphical Linux system run in text-based mode?</li>
</ol>
13,420
edits