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

Installing VMware Workstation Pro on Windows

Here I am going to show you how we can install VMware Workstation Pro in a Windows PC in an easy and Step by Step procedure. But, before we proceed, let us know what is VMware Workstation. Well, VMware Workstation is a desktop software that allows you to run multiple compatible desktop and server operating system simultaneously on a single PC in fully networked, portable virtual machines- with no rebooting or hard drive partitioning required. Virtual Machines are based on Computer Architectures and provide functionality of a physical computer. There are several other virtual machines available in the market like  Parallels Workstation, Parallels Desktop for Mac, VirtualBox, Virtual Iron, Oracle VM, Virtual PC, Virtual Server, Hyper-V etc.  Workstation enhances productivity of IT professionals: Configure and test desktops and servers as virtual machines before deploying them to production. Test new multi-tier applications, application updates, and operating system ...

Configure Wordpress manually with xampp

We all know that Wordpress is a free and open source Content Management System  (CMS), based on PHP and MySQL. It is the most easiest tool to create a Blog or a Website.  Today, I am going to show you how to manually configure your wordpress with xampp web server. Before we begin, make sure that xampp web server should be install on your Windows OS. 1. Goto  https://wordpress.org/download/  and click on download button to download latest version of wordpress. Click to zoom this image 2. Once downloaded, extract wordpress. Click to zoom this image 3. Place the wordpress folder to htdocs folder of xampp. Click to zoom this image 4. Click on START (Windows Logo) and then click to start xampp control panel. Click to zoom this image 5. Start Apache and MySQL services and then, click on Admin button. If you got an error that Apache won't start, then please check my post Fix Apache error in xampp . Click to zoom this image 6. On phpM...

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.