Build:Tutorial:Configuring a RHEL System: Difference between revisions

 
(2 intermediate revisions by one other user not shown)
Line 96: Line 96:


# Log in as root.
# Log in as root.
# Disable gpm, cups, and hpoj.
# Disable gpm, cups, atd, apmd, and hpoj:
#* for s in gpm cups hpoj; do service $s stop; chkconfig --del $s; done
<pre>for s in gpm cups atd, apmd, hpoj; do service $s stop; chkconfig --del $s; done</pre>


===Disable X===
===Disable X===
Line 137: Line 137:
===Finalize Network Settings===
===Finalize Network Settings===


Edit /etc/sysconfig/network to contain the expected fully-qualified hostname of the system.
<div class="example" title="/etc/sysconfig/network">
<pre class="code">
NETWORKING=yes
NETWORKING=yes
HOSTNAME=myhostname.mydomain
HOSTNAME=myhostname.mydomain
</pre>
</div>
Edit /etc/sysconfig/network-scripts/ifcfg-eth0 to contain the network configuration that will be used by this system.


<div class="example" title="/etc/sysconfig/network-scripts/ifcfg-eth0">
<pre class="code">
DEVICE=eth0
DEVICE=eth0
ONBOOT=yes
ONBOOT=yes
156

edits