The Perfect Setup - Fedora Core 4 - Page 3
2 Installing And Configuring The Rest Of The System
Configure Additional IP Addresses
Let's assume our network interface is eth0. Then there is a file /etc/sysconfig/network-scripts/ifcfg-eth0 which looks like this:
Now we want to create the virtual interface eth0:0 with the IP address 192.168.0.101. All we have to do is to create the file /etc/sysconfig/network-scripts/ifcfg-eth0:0 which looks like this:
Afterwards we have to restart the network:
Setting The Hostname
Install apt For Fedora
apt is the packaging system used on Debian. Since it cares much better for package dependencies than rpm it would be nice if we could use it on our new Fedora system. This would save us a lot of hassle. Fortunately, apt has been ported to a lot of rpm based distributions, and is also available for Fedora Core 4 (you will love it... :-)). In this tutorial I will use a mixture of Fedora's yum and apt, because not all yum packages are available for apt and vice versa.
yum install apt
Edit /etc/apt/sources.list. It should contain the following lines:
In the last line, rpm http://ayo.freshrpms.net fedora/linux/1/i386 core updates freshrpms, the 1 is not an error or typo! This is the repository that has the imap package which we are going to install soon! So do not change these lines!
Import The GPG Keys For Software Packages
rpm --import /usr/share/rhn/RPM-GPG-KEY*
Install Some Software
yum install fetchmail wget bzip2 unzip zip nmap openssl lynx fileutils ncftp
yum install quota
Edit /etc/fstab to look like this (I added ,usrquota,grpquota to LABEL=/ (mount point /):
touch /aquota.user /aquota.group
yum install bind-chroot
Bind will run in a chroot jail under /var/named/chroot/var/named/.