Archive for the ‘Linux’ Category

1. A Hostname files is saved at “/etc/sysconfig/network”

2. Open and change the hostname in “network” files like :
[root@localhost ~]# vim /etc/sysconfig/network

3. Save

4. Logout First and Login again
[root@localhost ~]# logout
[root@tarigan ~]# <== DONE


Type :
1. Find file with name “password” in /etc :
[root@NMS-Triplayplus ~]# vim /etc/password

2. Find your username in this files like :
davida:x:500:500:David Arenta Tarigan:/home/davida:/bin/bash

3. Change that rule to be :
davida:x:0:0:David Arenta Tarigan:/home/davida:/bin/bash

4. Save

5. Testing


Follow this Step.

1. Find and Open “resolv.conf” file.
[root@NMS-Triplayplus source]# vim /etc/resolv.conf ::or:: vi /etc/resolv.conf

2. Add nameserver Address

3. Save.

4. Ping
[root@NMS-Triplayplus source]# ping
PING ( 56(84) bytes of data.
64 bytes from ( icmp_seq=1 ttl=52 time=141 ms

5. DONE.


Explanation of requirements.

I. A burned copy of the Centos netinstall.iso CD image
II. An active Internet/Intranet connection to FTP Server

Basic description of what will be done and what is expected.

1. Download a copy of the netinstall ISO:


1. Buatlah file didalam /etc/sysconfig/network-scripts/ dengan nama “route-eth0” dan “route-eth1” jika menggunakan 2 NIC dan seterusnya.
[root@NMS-Triplayplus ~]# vim /etc/sysconfig/network-scripts/route-eth0
[root@NMS-Triplayplus ~]# vim /etc/sysconfig/network-scripts/route-eth1

2. Isikan Routing Table.
Misalkan eth0 pada server saya : via

Misalkan eth1 pada server saya : via