Академический Документы
Профессиональный Документы
Культура Документы
2 Offline (Configure to reboot).......................................................................................3 Setting NIC card speed....................................................................................................3 Online...........................................................................................................................3 Offline..........................................................................................................................4 Setting up the environment..............................................................................................4 Selecting the shell........................................................................................................4 Configuring the .profile...............................................................................................5 Create the man page catalogue........................................................................................5 Disable Keyboard abort sequence....................................................................................5 Remote root access..........................................................................................................6 Remote FTP access..........................................................................................................6
Tullett plc
Page 1 of 6
Craig Richards
Network Configuration
First of all edit the /etc/hosts file to check that the correct ip address and hostname are in your file for the server you have just created, also at this point it is a good idea to add in the other servers with there addresses that this server will need to contact. Once this has been completed you will need to add a default route/gateway to the server, there are two ways in which this can be done:
Online
Tullett plc
Page 2 of 6
Craig Richards
Unix Server Build Document route add net default 111.111.1.1 1 (The 1 at the end signifies how may hops, this should be set to one as it is the first thing the server hits is the NIC card)
Online
hme: ndd set /dev/hme instance 0 ndd set /dev/hme adv_100fdx_cap 1 ndd set /dev/hme adv_autoneg_cap 0 qfe: ndd set /dev/qfe instance 0 ndd set /dev/qfe adv_100fdx_cap 1 ndd set /dev/qfe adv_autoneg_cap 0 eri: ndd set /dev/eri instance 0 ndd set /dev/eri adv_100fdx_cap 1 ndd set /dev/eri adv_autoneg_cap 0 ce: ndd ndd ndd ndd ndd ndd set set set set set set /dev/ce /dev/ce /dev/ce /dev/ce /dev/ce /dev/ce instance 0 link_master 0 adv_1000fdx_cap 0 adv_1000hdx_cap 0 adv_100fdx_cap 1 adv_100hdx_cap 0
Tullett plc
Page 3 of 6
Craig Richards
Unix Server Build Document ndd set /dev/ce adv_10fdx_cap 0 ndd set /dev/ce adv_10hdx_cap 0 ndd set /dev/ce adv_autoneg_cap 0
Offline
For hme,eri,qfe you need to edit the main system file (/etc/system) Care must be taken because is there is an error in this file the server would not start, also ensure there are no blank lines. The demonstration below uses hme if you are to use other cards replace hme for your card type i.e. eri vi /etc/system *Force hme into 100 Mbps full duplex mode set hme:hme_adv_100fdx_cap=1 For cards ce: vi /etc/rc2.d/S99net-tune #!/sbin/sh #Set NIC to 100 Mbps full duplex ndd set /dev/ce instance 0 ndd set /dev/ce link_master 0 ndd set /dev/ce adv_1000fdx_cap 0 ndd set /dev/ce adv_1000hdx_cap 0 ndd set /dev/ce adv_100fdx_cap 1 ndd set /dev/ce adv_100hdx_cap 0 ndd set /dev/ce 10_fdx_cap 0 ndd set /dev/ce 10_hdx_cap 0 exit 0
Tullett plc
Page 4 of 6
Craig Richards
Unix Server Build Document manually alter the entry so be careful. Below is an example of if you were going to use Korn Shell. root:x:0:1:Super-User:/:/bin/ksh
Tullett plc
Page 5 of 6
Craig Richards
Unix Server Build Document After you have edited and saved the file from the command prompt enter in the command kbd i the will read the configuration file again so the setting will takes effect immediately.
Tullett plc
Page 6 of 6
Craig Richards