HostwareSupport-Linux Hosting technical support for cPanel, Plesk, Directadmin servers

Linux Hosting technical support for cPanel, Plesk, Directadmin and No control panel servers offers and listing
http://hostwaresupport.com/

Mar 28, 2010

How to install fantastico on cpanel ?

To install Fantastico, please follow these steps:

1. Open a web browser and connect to your cPanel Control Panel located at https://ip address:2087.

2. Login as the Administrator using the information sent to you in your setup email.

3. From the menu, under Plugins, click Fantastico De Luxe WHM Admin (located at the bottom).
If this option is not available, see the additional steps below.

4.Click Click here to begin the install of Fantastico.

5. Select a version from the dropdown menu. We recommend choosing the Stable version.

6. Follow the remaining installation steps, using the default information.

7. Once this process completes you may exit the browser.

Fantastico should now be configured for your cPanel control panel and you may begin adding various features. To log into Fantastico, open a browser and go to http://ip address:2083. At the bottom of the screen you will see the Fantastico icon; click on it to start Fantastico

Additional Steps - Download Fantastico

1. Connect to your VPS using an SSH connection.
2.Log in as the Administrator user.
3.Change to the proper cgi folder using the following command:
cd /usr/local/cpanel/whostmgr/docroot/cgi

4.Download the Fantastico install file using the following command:
wget http://www.netenberg.com/files/free/fantastico_whm_admin.tgz

5.Extract the install file using the following command:
tar -xzpf fantastico_whm_admin.tgz

6.Remove the install file using the following command:
rm -rf fantastico_whm_admin.tgz

7.Log out of the SSH connection.

8. Log out and log back into cPanel in a web browser.

9. From the menu, under Plugins, click Fantastico De Luxe WHM Admin (located at the bottom).

Mar 24, 2010

The installation can not be completed: You cannot install more than one script in the root directory of a domain."

I got the Wordpress installed but I'm not sure if there are repercussions from my method.
From my research the problem seems to be a fantistico file named "installed_in_root.php".
I found this rather radical fix by deleting the file from a folder named ".fantasticodata".
Because I suspect possible repercussions I saved the file before deleting it.

This is the suggested fix.
1. login to your ftp
2. find folder .fantasticodata
3. find file installed_in_root.php and delete it.

Mar 8, 2010

Starting Mailman on CPanel Servers

# /usr/local/cpanel/3rdparty/mailman/bin/mailmanctl start
Starting Mailman's master qrunner.
# pgrep mailman
30193
# ps auxfw |grep mailman

Make sure that Mailman is enabled in CPanel Tweak Settings Wink.

How to fix this error in Mailing list
-----------------------------------------------------
Bug in Mailman version 2.1.9.cp2

We\'re sorry, we hit a bug!
Please inform the webmaster for this site of this problem. Printing of
traceback and other system information has been explicitly inhibited, but the
webmaster can find this information in the Mailman error logs.
============================================================

If you are the server administrator, proceed with the following steps:

1. Go to /usr/local/cpanel/3rdparty/mailman
# cd /usr/local/cpanel/3rdparty/mailman

2.# ls -al

3. # chmod -R 2775 ./*

Check if this has fixed the issue.
If not run the fixmailman script.

4. # /scripts/fixmailman

This should be resolve your issue.

Mar 4, 2010

How Nameservers work??

The Domain Name System (DNS) is the system that converts domian names (domain.com) into IP addresses (1.2.3.4). This system is far simpler than most people realize.

There are 3 main compontents to the dns system:
- Parent Nameservers (there are 13 of them in the world)
- Your domain name registrar (where you buy your domain)
- Your own Name Server (where you control the dns values of your domain)

1) When you go to your registrar, you'll purchase a domain. When you purchase the domain, you'll specify the nameservers you want that domain to use. Your registrar will take this information (the domain name and the nameservers it uses) and will send that to the parent nameservers. This can sometimes take a few days to sync up. Once finished, any query of your domain to the parent nameservesr will return the names of the nameservers you specified with your domain. Subsequent queries will ask those nameservers (usualy at your own server), using the zones and values you've setup through DirectAdmin.

2) If you wish to create your own nameservers for your domain (eg: ns1.domain.com), you'll have to go to your registrar to "register" you nameservers as nameservers before you can use them. The first step is usually to make sure they resolve. To do this, you can either go to Reseller Level -> Nameservers, and create nameservers there... or to accomplish the same effect, simply go to manage your domain's zone (Admin Level -> DNS Admin -> domain.com) and add the 2 "A" records for ns1 and ns2, just like any other subdomain (eg, the same as for www, ftp, pop, etc..). At the bottom of the page, use the "Add A Record" field to create:

ns1 A 1.2.3.4
ns2 A 1.2.3.5

where 1.2.3.4 and 1.2.3.5 are the IPs you want your nameservers to use. This is essentially all a nameserver needs to have to exist (on the part of your server anyway, the rest is at the registrar).

Once your ns1.domain.com and ns2.domain.com values resolve, go to your registrar and register them as nameservers.

3) Propogation of the new values might take upwards of a few days, so patience is important. Once they're registered, you can again go to your registrar and set your domain to use these new nameservers. You'll also need to go back to your domain's dns management and set these new nameservers in the "NS" record values.

The order of events for a dns lookup of www.domain.com is as follows:

- A client queries his ISP's nameservers.

- His ISP's nameservers query the parent dns servers for domain.com, they return it's nameservers, (eg: ns1.domain.com and ns2.domain.com)

- His ISP's nameservers then query either ns1.domain.com or ns2.domain.com (choice is random) for the value of www.domain.com.

- either ns1 or ns2 will return the IP address of the "www" A record for domain.com to the ISP's nameservers. The ISP's nameserver caches this value for usually about 4 hours so further queries are not required during that time. The IP is returned to the client to use to access the server.

The locations in DirectAdmin where the NS records will be used, are specified at:

- Admin Level -> Admin Settings -> ns1/ns2: The main nameservers for the box. Use to give to new Admins and Resellers, and for fallback values. The IPs that these resolve to are the IPs used for "virtual" nameservers at the Reseller Level.

- Reeller Level -> Nameservers -> ns1/ns2 (bottom set): The default values that are given to newly created Users created by this Reseller.

- Reseller Level -> List Users -> username -> ns1/ns2: The default values that are given to newly created domains by the User.

All of these settings ultimately end up changing just the NS records of a domain, so by changing the NS values manually, that's all that really matters.

Mar 3, 2010

Installing Softaculous

Note: Before starting the installation make sure ionCube Loaders are enabled. For that go to WHM and click on Tweak Settings. Please make sure that the Ioncube loader is selected for the backend copy of PHP.

Now SSH to your server and enter following commands:

# cd /usr/local/cpanel/whostmgr/docroot/cgi
# wget -N http://www.softaculous.com/ins/addon_softaculous.php
# chmod 755 addon_softaculous.php

Now go to :
WHM > Plugins (Add-Ons on older versions than 11) > Softaculous - Instant Installs
The following webpage will open if the installation was successful:

----------------------------------------------------------------------------
Now, just wait for the scripts to get downloaded. The download status is shown in the iFRAME.

Thats it the
installation of Softaculous is completed!

Mar 1, 2010

Image magik RPM installation for VPS (Linux)

Check that Imagemagick is not installed via Easyapache3. If you already have ImageMagick installed via rpm, you need to remove it. Find the rpms using the following command.

# rpm -qa |grep -i imagemagick

Remove the rpms in the following order

rpm -e ImageMagick-c++-devel-6.2.8.0-4.el5_1.1
rpm -e ImageMagick-c++-6.2.8.0-4.el5_1.1
rpm -e ImageMagick-perl-6.2.8.0-4.el5_1.1
rpm -e ImageMagick-devel-6.2.8.0-4.el5_1.1
rpm -e ImageMagick-6.2.8.0-4.el5_1.1
============================================

Download the ImageMagick using the following

# cd /usr/local/src
# wget http://ftp.nluug.nl/ImageMagick/ImageMagick-6.4.3-6.zip
# unzip ImageMagick-6.4.3-6.zip
# cd ImageMagick-6.4.3

Installation

# ./configure
# make install

This may take a while to complete. Finally,

# cd PerlMagick/
# perl Makefile.PL
# make
# make install

* Add PHP Pecl extension to access ImageMagick via PHP

Login to WHM,

WHM > Software > Module Installers > PHP Pecl

# install imagick

* ImageMagick should be installed now.

If WHM can’t find the ImageMagic installation

Firstly install ImageMagick-devel

# yum -y install ImageMagick-devel

Once that is done, you need to download the Imagick PHP extensions from:

http://pecl.php.net/package/imagick

# cd /usr/local/src/
# wget http://pecl.php.net/get/imagick-2.2.0.tgz
# tar -zxvf imagick-2.2.0 .tgz
# cd imagick-2.2.0
# phpize
# ./configure

# make
# make install

find the php.ini using the command

# php -i |grep php.ini

add the following line to php.ini

# extension="imagick.so"

restart Apache and you are done