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!)
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning




print: 

Recent comments
12 hours 18 min ago
19 hours 23 min ago
22 hours 7 min ago
23 hours 55 min ago
1 day 2 hours ago
1 day 3 hours ago
1 day 12 hours ago
1 day 17 hours ago
1 day 17 hours ago
1 day 20 hours ago