HostOnNet Blog

Category Archives: Linux

How to install Windows 7 from Ubuntu without burnning a disc

If you’re running on ubuntu and want to install Windows 7 without burning a disc,you can try following steps to install Windows 7 with the iso file. Step 1 : Download grub4dos from : http://download.gna.org/grub4dos/grub4dos-0.4.4-2009-06-20.zip Decompress the grub.exe and put


How to install RPM Packages on Ubuntu

Ubuntu Support only deb package installation, If you have some software in rpm package you can install it in Ubuntu easily. Fedora/Redhat and Mandriva support RPM packages. In Ubuntu you can easily install softwares from Software Centers or via PPA.


How to mount a new Hard Drive on your Linux Server

This is a simple guide on how to mount and parition a new hard drive to be used only for backups. This guide uses fdisk which is a very powerful tool but you should be fine as long as you


How to Reset Forgotten Linux Root Password

Whenever you can’t remember your Root password, you can do this steps to reset it. You can log in with single-user mode and create a new root password. Reboot your computer. When GRUB is presenting the menu list, follow those


How to Change the SSH port on cPanel Servers

To change the SSH port login as root, and edit /etc/ssh/sshd_config Find the line that says Port 22 and change 22 to any number between 1024->65535 (above 30000 is best) and save the file. Once done, run: /etc/init.d/sshd restart Now


How to Change Hostname and IP on a CentOS Server

UPDATE 2017-03-21 CentOS 7 come with hostnamectl command, that allow you to easily set server hostname with out manually editing any of these files. RedHat based system use the file /etc/sysconfig/network to read the saved hostname at system boot. This


How to Install Mod_Gzip with Apache

mod_gzip is an Internet Content Acceleration module for the popular Apache Web Server. It compresses the contents delivered to the client. There is no need to install any additional software on the client! If you are having difficulties with getting


How to Disable Direct Root Logins

Allowing the root user to login directly is a major security issue, we’ll show you how to disable it so you can still login as root but just not directly, reducing the security issue. This will force a hacker to


How to Disable Telnet

Telnet sends clear text passwords and usernames through logins and should be disabled on all web servers and replaced with SSH. Some hosting providers are not disabling telnet by default but you should ensure that it has been turned off


How to Install, Configure and Securing a new cPanel Server

First Install cPanel on the new server after this give screen command If it works then OK ,but if did’nt work use now give screen command after that give ‘ll’ or ls and you will see the file as ‘latest’