With "Disk Druid" we can "Add," "Edit" (Change), or "Delete" the partitions on the hard disk. After completing the hard disk setup, we can format the hard disk.
 
 
 
There are some other steps you need to complete before the software installation.
Generally to install a Web Server you need two cards: one card will be connected to the router (CISCO or other) and the second card generally a Fast Ethernet (100 Mbit) will be the way to gateway your Intranet to Internet.
 
If you have these two cards installed in your system, will appears a mask that present two cards: "eth0" and "eth1".
Is not important what card will be for the Intranet and what card will be for the Internet. However is important to remember that when you run the "ping" command this send packets from eth0.
Generally, "eth0" is the card "running all the time". If you have Internet all the time, will be better to choose "eth0" for Internet. Instead if you want to run Internet sometimes, will be better to connect "eth0" to the Intranet, that works all the time.
Another important fact is that generally, CISCO routers can be connected only to 10 Mbit cards. Therefore this fix the choice in your decision.
In RedHat 7.1, the "kernelcfg" is not more present, and the file "conf.modules" (RedHat 6.2) now is "modules.conf"
We will assume for this training the following file:
 
[root@www etc]# more /etc/modules.conf

alias eth0 ne2k-pci
alias eth1 3c59x
alias parport_lowlevel parport_pc
alias usb-controller usb-uhci
[root@www etc]#
 
 
and therefore a NE2000 PCI for the Internet connected to the CISCO Router and a 3Com EtherFast 10/100 "Tornado" for the Intranet (eth1)
Now, we will complete the relative fields in the masks:
 
 
These masks are composed in two parts. The top that regards the Ethernet cards and the bottom that is fixed and regards the hostname and router information.
We use the fixed number that the phone company give us to represent our domain. Generally the give a range for example: "213.82.126.1-30".
We assign the first number to the the CISCO router, the gateway to the Internet: 213.82.126.1
This info will appears in the "netcfg" mask as follows:
 
 
as well as in the "Interfaces" entry
 
 
and "Names" entry.
 
 
 
The files about the network card configuration are located in:
 
 
[root@www /root]# more /etc/sysconfig/network-scripts/ifcfg-eth*

::::::::::::::
/etc/sysconfig/network-scripts/ifcfg-eth0
::::::::::::::
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.1.63
IPADDR=192.168.1.63
NETMASK=255.255.255.0
NETWORK=192.168.1.62
ONBOOT=yes
USERCTL=no
::::::::::::::
/etc/sysconfig/network-scripts/ifcfg-eth1
::::::::::::::
DEVICE=eth1
BROADCAST=213.82.126.3
IPADDR=213.82.126.2
NETMASK=255.255.255.254
NETWORK=213.82.126.2
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
[root@www /root]#
The file for the "names" is the "resolv.conf"
[root@www /root]# more /etc/resolv.conf

search futuretg.com
nameserver 151.99.125.3
nameserver 151.99.250.4
nameserver 151.1.1.1
[root@www /root]#
The file for the gateway info is "network"
[root@www /root]# more /etc/sysconfig/network

NETWORKING=yes
HOSTNAME=www.futuretg.com
GATEWAY=213.82.123.1
GATEWAYDEV=eth0
[root@www /root]#

We can gateway on "eth0" or "eth1", depending of our setting.

Phone company, generally gives to you: the IP range, you can use the first for the gateway that they offers configured, and then each one in sequence for each domain that you want to run on your system. They also fix for you the Netmask and the Broadcast numbers, depending on your IP address. The program will also complete the Gateway and Primary DNS (Domain Name Server) address.
 
The next step is setting up the system's Time Zone. Please don't choose System clock, which uses UTC (Universal Time), unless you're in London's time zone. Simply select the local city from the map or use the scrollbars to select the city nearest to you.
 
 
 
Creating Accounts.
 
 
Now, you need to enter the "root" password and create a non-root account. Use the initial of your first name then your last name and press the "Add" button.
 
 
The installer will ask you for the Authentification method to be applied on your system, exactly the same as the "Text Installation."
 
 
 
Depending on the choices you made on the installation mask, the system will now copy the software selection on to your hard disk. We recommend "Custom" for experienced users and "Everything" for the inexperienced user or if you don't know what packages you need.
 
 
 
The last step before starting the software installation concerns the X Window Configuration. Select the "Use Graphical Login" for logging onto the system from the graphical environment. You can also configure your graphical settings and video resolution from these masks.
 
 
The system is ready to install the software! After a couple of minutes, depending on your choices, Red Hat Linux will be installed on your system. All 844 packages require 2.0 GB.
 
 
The installer will now ask if you want to create a boot disk. If you are new to Linux, it's advisable to do so.
 
 
 
Now, the Red Hat installer will display the "Congratulations" screen.
 
 
And after a couple of minutes, the first "graphical login" screen will appear. Enjoy your Red Hat Linux system.
 
 
 
 
For additional info about the RedHat installation you can browse the BASE course 

 

Press the button to go to the next section.