Senin, 03 Maret 2014

Hal-hal yang harus dilakukan setelah menginstal Ubuntu Server 12.04

1.Menkonfigurasi IP Static,dengan cara: Masuk Terminal,tuliskan perintah
# nano /etc/network/interfaces

2.Tuliskan perintah
# auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.12.12 network 192.168.12.0
netmask 255.255.255.0
broadcast 192.168.12.255
gateway 192.168.12.1
dns-nameservers 8.8.8.8

3.Konfigurasi DNS
# nano /etc/resolv.conf

4.Non aktifkan eth0 & aktifkan kembali
# ifdown eth0 && ifup eth0
kemudian install editor vim
# apt-get install vim-nox

5. Setting dan arahkan repository jika pada update manager diawal belum diatur
 # vi /etc/apt/sources.list

6. Kita arahkan ke repo kambing
# deb http://kambing.ui.ac.id/ubuntu/ precise-proposed main restricted universe multiverse
#deb http://kambing.ui.ac.id/ubuntu/ precise-security main restricted universe multiverse    
#deb http://kambing.ui.ac.id/ubuntu/ precise-updates main restricted universe multiverse    
#deb http://kambing.ui.ac.id/ubuntu/ precise main restricted universe multiverse

7. Lakukan update,upgrade,dist-upgrade
# apt-get update
# apt-get upgrade
# apt-get dist-upgrade

8. Setting nama host dan hostname agar sama
# hostname
# hostname -f

9.Ikuti langkah berikut
 # vi /etc/hosts
127.0.0.1                localhost
127.0.1.1                 kpliklaten02-ThinkCentre-M70e
192.168.12.12       kpliklaten02-ThinkCentre-M70e <== tambahkan IP + hosname.
# The following lines are desirable
for IPv6 capable hosts
::1                             ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
10.# vi /etc/hostname   >> tambahkan sesuai hostname anda.
kalau belum jelas klik

0 komentar:

Posting Komentar