BLOG HOME -  UK WEB HOSTING -  PHP MYSQL HOSTING -  RESELLER HOSTING -  eUKhost FORUMS -  VPS HOSTING

Archive for Computer Technical Support

Deleting Stats logs daily in cPanel

Deleting Stats logs is something that is enabled on most servers but one does encounter servers with a full domlogs directory. To delete those logs you can follow these steps:-

First step is to check how large are the apache domain logs, you can check those on a cPanel server by running “du -hs /usr/local/apache/domlogs”. If the size of those logs is large, then you may want as much free space as possible. Login to WHM and click Tweak Settings. Within that menu click “Delete each domain’s access logs after stats run” which will enable this and click ‘Save’. Now at the end of the stats run every night it will wipe out the directory so you should not have the logs grow very large, unless of course your server is very busy.

Comments Bookmark on del.icio.us

Setting Cronjobs

One of the most important task if you are a webmaster or a business website owner is to constantly update the website as well as perform routine tasks. Certain tasks such as running scripts, sending e-mails to a mailing list, or updating a database involve daily attention. However, there are times when you may fail to perform the task on hand at the right time. At time, some tasks may be too difficult for you to handle that they might take up a lot of your time and effort. You certainly can’t afford to miss performing certain tasks on time if you own a website that has a considerable number of visitors or subscribers consequences of which may result in loss and damaged company reputation for inability to deliver services on time.

You have a forum on your website and you wish to have a setting on it which should automatically delete account holders that have not been active for say last 100 days. Instead of manually sending a notification to each and every member, why not use a cron to make the task much more easier for you? With a cron job, you can easily monitor the inactive accounts and who among your members will automatically receive an e-mail reminder after exactly 100 days.

Cron jobs are automated programs created for Unix and Linux platforms. Their job is to complete the tasks by following the particular commands a web developer has assigned them to execute at the exact time and given date. For example, if you wish to send a group e-mail every morning at 7.00 or on the 3rd day of every month. With the help of Cron Job, you don’t have to to wake up yourself at 7.00 just to write the content of the group e-mail and send it to all members. All you need to do is set the time and date of the message delivery using the crontab.

A crontab is the file where cron settings are found. It contains the following fields: commands, minutes, hours, days, months, and weekdays. You can fill these fields with the information that will suit your needs or preferences. In case one option is not applicable like the minutes field, all you need to do is place an asterisk (*) instead. The actual crontab is presented through a text file that will require you to write complex codes or syntax. To make it more convenient to use, most web hosting providers nowadays offer a user-friendly version of a crontab. It’s now in the form of a web control panel that is fairly easy to configure.

Comments Bookmark on del.icio.us

Email Works via IMAP But Not POP3 - cPanel

This problem is probably happening because the wrong POP3 server is running. To fix this, follow these instructions:

1) Login to your Linux box via SSH as root.

2) Run the following command:

vi /etc/xinetd.d/popa3d
3) Locate the line ‘disable = no’.

4) Change the line to read ‘disable = yes’.

5) Save and close the file by pressing ‘esc’ and typing ‘:wq’.

6) Now restart the xinetd service: ’service xinetd restart’.

7) Login to WHM and navigate to: WHM > Restart Services > Select the Link ‘POP3 Server (cppop)’.

8) When prompted to restart the service, select ‘Yes’.

You should now be able to access your cPanel email via POP3.

Comments (1) Bookmark on del.icio.us

Enabling Spell Checker in Horde Webmail

One of the many unique features about Horde webmail is it’s spell checker facility. However, the use of this requires that certain components be installed. To install these follow these instructions:

1) Login to your Linux box via SSH as root.

2) Install aspell by running the following command:

    yum -y install aspell aspell-en-gb

Leave it to install; you shouldn’t need to make any changes to Horde as it should automatically detect the ASPELL installation.

Comments Bookmark on del.icio.us

Installing cPanel

Follow these steps to install cPanel on a Linux box.

1) Login to your Linux machine via SSH as root.

2) Run the following commands:

# cd /home

# wget http://layer1.cpanel.net/latest

# sh latest

After that you will need to leave it for around 90 minutes so that cPanel can install.

Comments Bookmark on del.icio.us

Installing Fantastico

Installing Fantastico on a Linux system is fairly easy; follow these instructions and you will have it installed in no time!

1) Login to your Linux box via SSH as root.

2) Run the following commands:

# cd /usr/local/cpanel/whostmgr/docroot/cgi

# wget -N http://files.betaservant.com/files/free/fantastico_whm_admin.tgz

# tar -xzpf fantastico_whm_admin.tgz

# rm -rf fantastico_whm_admin.tgz

3) Login to WHM and navigate to: ‘WHM’ > ‘Add-Ons’ > ‘Fantastico De Luxe WHM Admin’ and perform the rest of the installation from there.

You have just install Fantastico!

Comments Bookmark on del.icio.us

« Previous entries · Next entries »