From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
= Automated script = | = Automated script = | ||
<pre>#!/bin/sh | <pre> | ||
#!/bin/sh | |||
# Author: Athmane Madjoudj <athmanem AT gmail.com> | # Author: Athmane Madjoudj <athmanem AT gmail.com> | ||
Line 24: | Line 25: | ||
yum -y remove sendmail | yum -y remove sendmail | ||
yum -y update | yum -y update | ||
reboot</pre> | reboot | ||
</pre> |
Revision as of 17:47, 14 May 2011
System configuration used in my installation testing as of May 2011
- Arch: i686
- Hardware: KVM w/virtio
- Fedora release fully updated.
- Network script instead of Networkmanager.
- Network setup: DHCP / IPv4
- Postfix and OpenSSH server installed and enabled at boot.
- Sendmail removed
Automated script
#!/bin/sh # Author: Athmane Madjoudj <athmanem AT gmail.com> echo "BOOTPROTO=dhcp" >> /etc/sysconfig/network-scripts/ifcfg-eth0 sed -i 's/ONBOOT=no/ONBOOT=yes/' /etc/sysconfig/network-scripts/ifcfg-eth0 chkconfig network on chkconfig NetworkManager off service network restart yum -y install openssh-server openssh-clients openssh postfix chkconfig sshd on chkconfig postfix on yum -y remove sendmail yum -y update reboot