The Perfect Setup - White Box Linux / Red Hat Enterprise Linux 3.0 - Page 3
2 Installing and Configuring the Rest of the SystemConfigure additional IP Addresses I will now assume that the network card to which you want to add additional IP addresses is eth0. In the directory /etc/sysconfig/network-scripts/ you will find the file ifcfg-eth0. It looks like this:
In order to assign additional IP addresses to eth0 you have to create "virtual network cards". The second IP address on eth0 is assigned to eth0:0, the third one to eth0:1, etc. If you want to assign the IP address 192.168.0.101 to eth0 you have to create the file /etc/sysconfig/network-scripts/ifcfg-eth0:0 with the following contents:
Then restart your network: /etc/init.d/network restart
Quota Edit /etc/fstab to look like this (I added ,usrquota,grpquota to partition LABEL=/home):
Then run: touch /home/aquota.user
/home/aquota.group
Start Services All software we need is already installed on the system. Now we have to configure the system to start these services at boot time: chkconfig httpd on Now we start the services we need: /etc/init.d/sendmail stop Make sure /etc/hosts looks like this:
MySQL You should set a password for your MySQL database (the password for the MySQL user root; the default one is an empty password): mysqladmin -u root password
yourrootsqlpassword If you already have a non-empty password, and you want to change it, use this command: mysqladmin -u root
-pyourrootsqlpassword password yournewrootsqlpassword (Please note:
There is no blank between -p
and yourrootsqlpassword!)
|




print: 
Recent comments
5 hours 30 min ago
6 hours 22 min ago
6 hours 48 min ago
9 hours 6 min ago
9 hours 26 min ago
9 hours 55 min ago
10 hours 48 min ago
13 hours 9 min ago
13 hours 26 min ago
13 hours 58 min ago