Panggolekan

Rabu, 05 Maret 2014

hal hal yang harus dilakukan setelah menginstall ubuntu 12.04 server

1.konfigurasi network/membuat ip static

2.buka terminal , ketik nano /etc/network/interface lalu enter

3.lalu isikan :

   auto lo

   iface lo inet loopback


   auto eth0

   iface eth0 inet static

   address 192.168.12.16

   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


(2). Konfigurasi DNS :

# nano /etc/resolv.conf

Setelah langkah (1) & (2) non aktifkan eth0 & aktifkan kembali

# ifdown eth0 && ifup eth0



(3). Setting dan arahkan repository :

# nano /etc/apt/sources.list

Misal Ubuntu 12.04 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



(4). Lakukan update.

# apt-get update


(5) Lakukan upgrade :

# apt-get dist-upgrade



(6). Setting hosts & hostname :

Cara cek :

# hostname

# hostname -f

(hasiknya harus sama & FQDN)

Cara edit :

# nano /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

             

# nano /etc/hostname


>> tambahkan sesuai hostname anda.

(7). Reboot

# reboot


(8). Aktifkan pssword root.

# passwd root

>> masukkan pasword root anda.

(9). Install SSH-server

# sudo apt-get install openssh-server


(10). Install vi/vim editor

# sudo apt-get install vim-nox

Tidak ada komentar:

Posting Komentar