Skip to main content

Assign Static IP in Ubuntu Server

To setup a domain, the server should assigned with a static ip address. Let's go ahead and assign static ip address on ubuntu server.
1. To should change your root password in order to proceed further. Type su and enter your new password that already created, and logged in as a root.







2. Type ifconfig on the terminal window. If it is not showing ip addresses, then you need to install net-tools. Make a track of inet, netmask and broadcast ip addresses and open interfaces file located under etc/network directory.
3. You need to edit this file and make an entry of ip-addresses. Now scroll down and goto dhcp and press insert button to make an entry. replace dhcp by typing static because we are assigning this server with a static ip-address.
  Enter address, netmask, network, broadcast and gateway for your ubuntu server. Enter dns-nameservers, alongwith global dns. dns-nameservers ip address should be same with the ip-address of your server. Finally type dns-search with the name of your local server. Press esc on your keyboard, type : and type wq to save and exit from the file.
  4. Finally restart network services by typing /etc/init.d/networking restart on your terminal window.

Comments

Popular posts from this blog

How to increase VRAM in VMware

When you get poor graphics performance in VMware, you need to increase vram to get better graphics. To increase graphics value, you need to edit .vmx file of your Guest OS. Goto, VMware folder or to the Guest OS folder to find .vmx file. Once you get that file, open it with a text editor. Click to zoom this Image Depending on the type of VRAM, change the value for your Guest OS. Click to zoom this Image Click to zoom this Image Once you change the value of VRAM (please check above screenshot of VRAM values from 16MB to 512MB). Save the file and exit and then check the Graphics performance of your Guest OS. Click to zoom this Image You are Done. For more details, please check the knowledge-base of VMware website. Link: https://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&externalId=1003

How to create shortcut in Library

On this post, I will show you how to create a shortcut to access a folder from Windows Library in a super easy step. 1. Goto your profile from windows Start button (Here, I have Windows 7 installed on my PC). 2. Right click on Libraries on left side of the window pane. Select " New " and then " Library " to create Library folder. 3. Once Library folder is created, right on it and rename Library folder (I gave it a name Downloads). And, Click on " Include a Folder " to create a folder. 4. Show the path of the folder which is to be accessed from the Library and click on " Include Folder ". 5. And, here you are. The shortcut folder and its path is created under Library folder.

A quick access to Windows Features

If we want to access Windows Features without going to control pane, then we can quickly access this from Run box. To do that press ( Windows logo + R ) key and type optionalfeatures.exe and click on OK. Click to zoom this Image Windows Features window will pop-up, where you can enable windows services. Click to zoom this Image