Rabu, 08 Januari 2014

10 Hal yang dilakukan setelah menginstall Ubuntu 12.04 server


Sebelum menjalankan langkah pertama, anda harus membuka terminal baru dan masuk ke root
>> Caranya dengan memasukan perintah sudo su
 Selanjutnya :

 (1). Konfigurasi Network (IP Static)
     
  # nano /etc/network/interfaces

   auto lo
   iface lo inet loopback
  
  
    auto eth0
    iface eth0 inet static
    address 192.168.12.13   << di isi IP address anda ( untuk melihat ip address ketik [ifconfig]
    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
    (hasilnya harus sama & FQDN)
     
    Cara edit :
     
    # nano /etc/hosts
     
    127.0.0.1       localhost
    127.0.1.1       kpliklaten-ThinkCentre-M70e
    192.168.12.12       kpliklaten-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

Semoga bermanfaat :)

Tidak ada komentar:

Posting Komentar

 

Maharani Vitarasari Copyright © 2011 Design by Ipietoon Blogger Template | web hosting