Linux Installation Procedure: Difference between revisions
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
Finish installation process. | Finish installation process. | ||
'''NOTE''': if machine has multiple network ports, Linux may not assign them properly to specified IP names and addresses. If problem occures, open network GUI and delete all existing records. After that, click ''New'' and pick hadrware port you want to configure from the list of available ports (tricky part is to know which RJ-45 connector corresponds to which port ..). Configure and activate it, make sure it works. Repeat for other ports. Results will be stored in directory ''/etc/sysconfig/network-scripts'', file names will be ''ifcfg-eth0'', ''ifcfg-eth1'' etc. If modifying those files manually, restart network by ''/etc/init.d/network restart''. Finally, set routing, for example for ''clonmon'' command ''route'' shows following: | '''NOTE''': if machine has multiple network ports, Linux may not assign them properly to specified IP names and addresses. If problem occures, open network GUI and delete all existing records. After that, click ''New'' and pick hadrware port you want to configure from the list of available ports (tricky part is to know which RJ-45 connector corresponds to which port ..). Configure and activate it, make sure it works. Repeat for other ports. Results will be stored in directory ''/etc/sysconfig/network-scripts'', file names will be ''ifcfg-eth0'', ''ifcfg-eth1'' etc. If modifying those files manually, restart network by ''/etc/init.d/network restart''. Finally, set routing, for example for ''clonmon'' command ''route -n'' shows following: | ||
Kernel IP routing table | Kernel IP routing table | ||
Destination Gateway Genmask Flags Metric Ref Use Iface | Destination Gateway Genmask Flags Metric Ref Use Iface | ||
129.57.160.0 | 129.57.160.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 | ||
129.57.68.0 | 129.57.68.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3 | ||
129.57.69.0 | 129.57.69.0 0.0.0.0 255.255.255.0 U 0 0 0 dev5937 | ||
129.57.64.0 | 129.57.64.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 | ||
169.254.0.0 | 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth3 | ||
0.0.0.0 129.57.68.100 0.0.0.0 UG 0 0 0 eth3 | |||
Run following commands: | Run following commands: | ||
/sbin/route add -net 129.57.160.0 netmask 255.255.255.0 gw 129.57.160.5 dev eth1 | /sbin/route add -net 129.57.160.0 netmask 255.255.255.0 gw 129.57.160.5 dev eth1 | ||
Line 40: | Line 39: | ||
/sbin/route add -net 129.57.69.0 netmask 255.255.255.0 gw 129.57.69.206 dev dev5937 | /sbin/route add -net 129.57.69.0 netmask 255.255.255.0 gw 129.57.69.206 dev dev5937 | ||
/sbin/route add -net 129.57.64.0 netmask 255.255.255.0 gw 129.57.64.57 dev eth0 | /sbin/route add -net 129.57.64.0 netmask 255.255.255.0 gw 129.57.64.57 dev eth0 | ||
Now ''route'' shows following: | Now ''route -n'' shows following: | ||
Revision as of 21:49, 9 November 2007
Get RHEL4 CDs from Paul Letta.
Connect terminal, keyboard and mouse.
Boot from CD1. Follow instructions. When asked, choose following options:
- Choose 'Manually partition with Disk Druid', set /boot to 100MB, then / to 40GB, then swap to 8192MB or at least double memory size. The rest of disk can be set as /space.
- Network: choose manually, type clonpc2.jlab.org; click 'EDIT', deactivate 'Configure using DHCP',
type IP address and netmask (255.255.255.0), click Ok. Type Gateway (for example 129.57.167.99) and 3 DNS servers (129.57.167.5,129.57.167.14,129.57.32.100).
- Choose 'No firewall'
- Disable 'SELinux'
- Choose 'Customize software packages to be installed', click 'Everything'.
You will be asked to install CD2, CD3 and CD4, then CD1 again. Then you will be asked to click 'Reboot'. First remove CD, then click 'Reboot'. You will be asked few more questions. When asked to activate service, choose 'Tell me why I need to register ..' and click 'Next'. Choose 'I can not complete registration ..' and click 'Next'. You will see 'System user' screen, click 'Use network login..'. Choose 'Enable NIS support' and click 'Configure NIS'. Type NIS Domain: 'CCCHP' and NIS Server: clon00.jlab.org. Finish installation process.
NOTE: if machine has multiple network ports, Linux may not assign them properly to specified IP names and addresses. If problem occures, open network GUI and delete all existing records. After that, click New and pick hadrware port you want to configure from the list of available ports (tricky part is to know which RJ-45 connector corresponds to which port ..). Configure and activate it, make sure it works. Repeat for other ports. Results will be stored in directory /etc/sysconfig/network-scripts, file names will be ifcfg-eth0, ifcfg-eth1 etc. If modifying those files manually, restart network by /etc/init.d/network restart. Finally, set routing, for example for clonmon command route -n shows following:
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 129.57.160.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 129.57.68.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3 129.57.69.0 0.0.0.0 255.255.255.0 U 0 0 0 dev5937 129.57.64.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth3 0.0.0.0 129.57.68.100 0.0.0.0 UG 0 0 0 eth3
Run following commands:
/sbin/route add -net 129.57.160.0 netmask 255.255.255.0 gw 129.57.160.5 dev eth1 /sbin/route add -net 129.57.68.0 netmask 255.255.255.0 gw 129.57.68.26 dev eth3 /sbin/route add -net 129.57.69.0 netmask 255.255.255.0 gw 129.57.69.206 dev dev5937 /sbin/route add -net 129.57.64.0 netmask 255.255.255.0 gw 129.57.64.57 dev eth0
Now route -n shows following:
From now on you can use remote 'ssh' connection.
- Ask Paul Letta to subscribe to RedHat sattelite service. After it is done, standard Linux is installed. Paul will normally run 'up2date' to get recent RHEL4 but you can repeat it as 'root' to make sure and then reboot machine.
- Proceed with Linux Customization on CLON Cluster if applicable.
To boot Linux in single user mode (no graphics), add single to the end of boot line during boot process.
=
background info
You can choose to download the RHEL operating system directly from the Red Hat Web site and not receive a media kit from HP containing the software. This scenario occurs when the media option AJR is deselected from the order. (The media kit option is always selected by default. )
It is necessary to register at the Red Hat Web site prior to download. Registration requires the activation code that each customer receives from HP when ordering either RHEL.
You can download RHEL for each available platform as four CD ISO images or one DVD ISO image.
Use the following procedure to download RHEL and create the installation media:
1.
Register and log in at the following Red Hat Web site:
www.redhat.com/rhn 2.
Click on channels and then select Red Hat Enterprise Linux ES (v.4 for 64–bit Intel Itanium). 3.
Select Downloads and then download the ISO images of install, compatibility and source disks
Files with ia64 in the name are for the Itanium platform. 4.
Create the CDs or a DVD from the ISO images.
IMPORTANT: Create the CDs or DVD using the contents of the ISO images. Do not create the CDs or DVD by burning the .iso files themselves to CD or DVD. For example, if you are using K3b to burn a CD, click Tools>CD>Burn CD Image, select the .iso image, then click Burn.