Posts tagged ‘Dedicated Server Hosting’

Before we proceed towards the tutorial for Reinstallation of GRUB boot loader on Linux Dedicated Servers, I would suggest you to have a look at the short description about GRUB boot loader which is given below.

Most of us who belong to the web hosting industry are well aware of the fact that the products and applications released under the GNU project are free. GRUB is also a boot loader package which is available for free i.e. it is released under the GNU project. Now, I would like to explain what does GRUB do.

GRUB is actually one of the multiboot specification which will allow you to install and run 2 different operating systems of the same machine. As you will have 2 different operating systems installed on the machine, you will need an option to select the operating system you wish to run when the machine starts, otherwise this feature won’t be useful. This option is available if you have GRUB installed on the Linux Dedicated Server Hosting. Alongwith this feature, you can also select different images of the kernel and pass boot time parameters on a single operating system’s partitions to such kernels.

Most of the hosting providers who offer Linux Dedicated Servers will assist you to install GRUB boot loader on the Linux Dedicated Servers, however, it might be possible that you will have to reinstall it on your Linux Dedicated Server Hosting. For this purpose, below are some steps which can be followed in order to reinstall GRUB boot loader on Linux Dedicated Servers.

Important : The steps given below are for RedHat and CentOS operating systems only and the steps should be followed in rescue mode. Also, the steps given below are to reinstall a grub which is deleted by mistake or which is corrupted due to some reason.

1. Firstly, it is important to boot the system and hence you should do this before you proceed.

2. As the installation is to be done in the rescue mode, you should enter the rescue mode first and you can do this by entering the Linux rescue command as given below.

Note : Make sure that you enter the Linux rescue command at the installation prompt.

Quote:
linux rescue

3. In order to mount the root partition, enter the command given below :

Quote:
chroot /mnt/sysimage

4. /dev/hda is the boot partition where you need to reinstall the GRUB boot loader and you can enter the command below to do so.

Quote:
/sbin/grub-install /dev/hda

5. Check the file /boot/grub/grub.conf again.

Reason for the confirmation : It might be possible that some additional entries may be needed for GRUB.

6. There is only step to follow i.e. Reboot the system and you are done.

7. Congratulations as you have already Reinstalled GRUB boot loader on your Linux Dedicated Server Hosting.

[Post to Twitter] Tweet This

TCP Wrapper actually acts as a firewall for your Linux based dedicated server hosting. The reason it is referred to a kind of firewall is the fact that the incoming packets are monitored by the TCP Wrapper. If you have a Linux dedicated server then it might be possible that a hacker attempts to login into your Linux dedicated server.

TCP Wrapper will check if the external source is authorized to connect to the server. If it is not authorized, the login permission will be denied and if it is authorized, the login attempt will be successful. For this reason, you can also call TCP Wrapper as a domain computer program. It is one of the best programs available to keep hackers away from your Linux based dedicated server hosting.

This program was basically developed as your Linux dedicated server is connected to the network and it is necessary to filter the network before the server anyone can gain access to the server. TCP Wrapper is indeed a very good program, however, you can read below to find out how does it work.

When someone tries to login into the server, “/etc/hosts.allow†is checked for an entry file. If it is present, it is possible to continue. Even if this is not found, it is possible to continue. However, “/etc/hosts.deny†file is checked. If there are no matches found this time too, you will be able to continue, however, if a match is found this time, you won’t be able to continue and the service will be blocked.

For better understanding about this, you can go through the below example:

Example “/etc/hosts.deny” file:

SSHD: 192.168.1.1

If the above file is present, it will block access to the computer with IP address, 192.168.1.1.

Note : It’s when someone from the computer with the IP address, 192.168.1.1 tries to login via SSH, it is possible for you to run commands on your Linux dedicated server.

The below command will send an email to the email address you have registered.

sshd: 192.168.1.1: spawn (echo -e “%d %h %H %u”| /bin/mail -s ‘hosts.deny entry’ root)
Important : It is possible for you to run commands in “/etc/hosts.allow” if you would like to receive emails for successful login attempts on your Linux based dedicated server hosting.

[Post to Twitter] Tweet This