Linux has a myriad of beauty, such as the absence of XWindows display on Ubuntu Server, although this feature may be added later, but the absence is not a deficiency, but is one of the advantages, the absence of the visual XWindows display means more resources are available to perform as a server, because with the window-based visual display will definitely use resources, both memory and processor resources used though relatively small, it still takes a bit of space for processing.
But when he first became acquainted with Ubuntu Server, the author had a small problem when going to setup the ip address, after a few minutes of looking and searching at one's favorite search engine (the GOOGLE of course), the problem disappear in a flash. This is the answer.
[root@mataramkluster mcg]#gedit /etc/network/interface
auto lo eth0 iface lo inet loopback iface eth0 inet static address xxx.xxx.xxx.xxx (enter your IP address) netmask xxx.xxx.xxx.xxx (add wih your netmask) gateway xxx.xxx.xxx.xxx (your gateway IP) broadcast xxx.xxx.xxx.xxx (the broadcast IP on your network) network xxx.xxx.xxx.xxx (enter your network IP)
[root@mataramkluster mcg]#gedit /etc/resolv.conf
nameserver xxx.xxx.xxx.xxx (filled with IP DNS2)
nameserver xxx.xxx.xxx.xxx (filled with IP DNS3)
5. Restart the network
[root@mataramkluster mcg]#/etc/init.d/networking restart
[root@mataramkluster mcg]#ifconfig
8. For another Linux distributions, the configuration maybe almost the same as in this article.
0 comments:
Post a Comment