Konfigurasi IP Address di Linux Ubuntu server 14.04
![Hasil gambar untuk linux ubuntu](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdsIBBJfTZBoUTzbQYI92PhJ1z0nZxNLny7wwRPX-NMutUlogpqu2wa55-bC2nmdPjl1ku_-V9EenhpNxMQxyh7WdTrKlA7lg2imhLPvgKjjCL94ccsAh6Rdjt85YCza8e83KpRPWSiSw/s1280/linux_ubuntu_human_for_beings_desktop_1280x1090_wallpaper-116115.png)
untuk memudahkan proses konfigurasi, berikut adalah informasi sistem yang digunakan untuk keperluan instalasi ZImbra :
Domain : alifa.co.idHostname : mailIP Address : 192.168.80.150Gateway : 192.168.80.1DNS : 192.168.80.18.8.8.8
- Konfigurasi Network
Kemudian ketika sudah diasumsikan nama interfaces LAN terdeteksi sebagai eth0.
kita akan konfigurasi IP Adress static, dengan menggunakan berintah berikut :
vim.tiny /etc/network/interfaces atau
nano /etc/network/interfaceskemudian ketikkan seperti dibawah ini :
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.80.150
netmask 255.255.255.0
gateway 192.168.80.1
dns-nameservers 192.168.80.150 [IP Zimbra Server]
dns-nameservers 192.168.80.1 [DNS Local/ dns Google]
dns-nameservers 8.8.8.8
dns-search alifa.co.id
- Restart
Restart network dan Konfigurasi agar otomatis boot. dengan perintah berikut :
- ifconfig eth0
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOb_FCrsXBsM-et2P2d8whyMsGIsiKjTCS2dyhXwk1kouk_XglKsS4_LbdKxaOaccczWVJzToToLtFr__xGzGt6RjPwbYf8xScRJI95VbCTsY592bGZc6hdch30SKAbTu3U-B8huVpqfny/s1600/3.png)
- Konfigurasi /etc/hosts
kemudian kalian buka file /etc/hosts dan konfigurasi seperti berikut :
127.0.0.1 localhost
192.168.80.150 mail.alifa.co.id mail
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Buka file /etc/resolv.conf dan konfigurasikan seperti konfigurasi pada network diatas :
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.80.150
nameserver 192.168.80.1
nameserver 8.8.8.8
search alifa.co.id