HostOnNet Blog

Category Archives: Windows

CPAN configuration

To install CPAN perl modules in linux, you can use “cpan” command. In command shell, enter cpan #cpan cpan> install DBI If you are running cpan for first time, it may ask you to configure, you have to select the


Making vi the default editor

Many linux system use pico as default editor. I love to use vi for editing files. crontab -e open up in pico if pico is set as default editor. This can be changed by setting environment variable VISUAL=vi Read more


Setting ProFTPd default tranfer mode

By default ProFTPd transfer all files in BINARY mode. This will work fine for images, zip files, other data files. When you upload scripts, mainly .pl and .cgi (perl scripts), you have to upload then in ASCII mode to get


Getting List of all A Records of a Domain

host command can be used to list all A Records of a domain name. host -l domainname.extn name-server.extn Here domainname.extn is the domain name for which you want to list all A Records. name-server.extn is name server that host the


Test

Adding Image with HTML code <img src=”http://blogs.bizhat.com/bizhat/files/2005/11/371.jpg”> Drag and Drop an Image uploaded with “Upload File” http://blogs.bizhat.com/bizhat/2005/11/15/test/freebsd/ When i Drag and Drop, i love to see the images in the post here itself, not a link to image on another


named – high server load

Today i found one of the server have high server load. I have stoped all services and checked /var/log/messages and found too many requests for a domain that is not hosted on the server. Nov 14 06:11:51 godislove named[10264]: lame


APF Firewall, Removing IP from deny rules

Today a client told he can’t access his web site from his home, but working fine from all other locations. It could be firewall blocking access from his IP address. Server use APF Firewall, which is a popular iptables based


Fixing Bind RNDC errors in Cpanel Server

RNDC (rndc) is the control program of BIND (name servers). In many new Cpanel/WHM installation you will see BIND not getting started at boot time and not even with service named start You can correct the problem with # cd


SSL Redirecting to https page

A client want all pages in her web site secured. SSL was already installed on the domain name. So all pages, if access with SSL url was secure https://myyoffi.com But she need all visitors see secure page regardless of what


Installing ImageMagick on Linux Server

ImageMagick is a package for the automated and interative manipulation of images through PHP, Perl and other programming languages. Installing ImageMargick on Linux is easy. There are 3 ways to install ImageMagick 1. Install from Source 2. Install with yum