Apabila telah seslesai menginstal Ubuntu server 12.04 ada 10 hal/perintah yang harus kita lakukan di terminal linux. berikut ini merupakan 10 hal tersebut :
(1). Konfigurasi Network (IP Static)
# nano /etc/network/interfaces
(2). Konfigurasi DNS :
# nano /etc/resolv.conf
Apabila langkah (1) & (2) sudah anda jalankan, kemudian 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
(hasilnya 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
~
>> tambahkan sesuai hostname anda.
(7). Reboot
# reboot
(8). Aktifkan pssword root.
# passwd root
>> masukkan pasword root anda.
(1). Konfigurasi Network (IP Static)
# nano /etc/network/interfaces
(2). Konfigurasi DNS :
# nano /etc/resolv.conf
Apabila langkah (1) & (2) sudah anda jalankan, kemudian 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
(hasilnya 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
~
>> 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
0 komentar:
Posting Komentar