- Back to Home »
- Tutorial »
- HAL-HAL YG HARUS DILAKUKAN SETELAH MENGINSTALL Ubuntu 12.04 SERVER
Posted by : Unknown
Kamis, 09 Januari 2014
Hal-hal yang harus kita lakukan setelah menginstall Ubutu 12.04 server
(1). Konfigurasi Network (IP Static)
masuk ke :
# nano /etc/network/interfaces
lalu isikan :
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
(2). Konfigurasi
DNS :
# nano /etc/resolv.conf
# 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 :
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
(9). Install SSH-server
# sudo apt-get install openssh-server
(10). Install vi/vim editor
# sudo apt-get install vim-nox
Terimakasih, semoga bermanfaat ;)