http://linuxbyexample.org
In this video I am going to show you some Linux commands, that you can use to check the specification of a new server you have just purchased. Many hosting companies are now offering virtual private servers, with a wide variety of specifications, after receiving your username and password from the company, you want to be able to check that the server has been set-up with the specification you have paid for.
Here, I have already logged into my new server using SSH, and the first command I am going to use is the "DF" command, which reports the size of the disk. Used with the dash H switch, this command will report hard disk usage in Gigabytes. You can see here, that my total disk space allowance is seven point four Gigabytes, which is correct for my server specification.
Next, we want to check the memory allocation. This can be done by issuing the
"FREE" command with the dash M switch. Here you can see that my server has a total memory allocation of two hundred and twenty eight Megabytes, and this command also displays how much memory is currently being used, and how much is available for use.
Many hosting providers offer different Linux distributions, so you need to check that your new server has been set-up with the distribution you intended to use. You can do this be using the "CAT" command to output the contents of the LSB release located in the etc folder. As you can see, I decided to go with Ubuntu ten point zero four as this is an LTS release, which means I will get security upgrade support for five years.
If your interested to know which version of the Linux kernel is supplied with your distribution, then you can use the "U NAME" command with the dash R switch to output the full version of the Linux kernel.
The last command I want to show you today, outputs the IP address of your new server. Type in, hostname dash capital i and the output from the command will show you the full IP address of your server.
Where did you buy the dedicated sever from? Host Gator?
threeto1 1 year ago