In this Tutorial I am only going to how to install open SSH onto your server so that you can access your server remotely from anywhere you have internet connection. Since this task is done in the terminal, I am only going to show the terminal window.
Explanation |
Screenshot |
First open the terminal in centOS. |
 |
Now switch to the root user using su and the update centOS using: yum update |
 |
Now we can install DHCP, use the command: yum install dhcp |
 |
Now we are going to edit the dhcp file. Open it in the text editor of your choice using, /ect/sysconfig/dhcpd file path. |
 |
Once you have entered the file, change the DHCPDARGS to the port you want DHCP to listen on. In my case it is eth0. |
 |
Now using the text editor of your choice open: /etc/dhcp/dhcpd.conf This is the main file that will make or break your server. This is where you need to enter your personalized data. When you first open your file there will be
very little in it. Copy this text file into it and change each field to fit your needs. Save and exit the file when you are done. |
 |
Now we are ready to start our server. Enter the command: service dhcp start If it fails check the configuration file, this is where most mistakes happen. To restart DHCP use the command: service dhcpd restart
if it works correctly then you will see what is shown right. |
 |
This next step is optional. If you want your DHCP server to start everytime your machine is turned on enter, chconfig --levels 235 dhcpd on |
 |