• Sunny
  • 776 Views
  • 0 Comment
  • No tags

In Directadmin has some scripts for converting from vm-pop to dovecot. cd /usr/local/directadmin/custombuild ./build dovecot ./build todovecot .build updatedovecot

READ MORE
  • Sunny
  • 776 Views
  • 0 Comment
  • No tags

If you're running php 5.2 in either cli or cgi (suphp), and would like 5.3 instead, you can do so with the following commands: cd /usr/local/directadmin/custombuild ./build set php5_ver 5.3 ./build update ./build php n

READ MORE
  • Sunny
  • 777 Views
  • 0 Comment
  • No tags

Below is a list of some free applications in cPanel that will allow you to easily manage a number of other basic cPanel functions, such as mail settings, mail queues, and a more advanced ModSecurity tool. 1. CSF - this is an advanced firewall system utilising Linux ip tables 2. Mail Manage – allows you to adjust mail settings, such as hourly limits and email forwarders, on a per account basis 3. Mail Queues – easily manage your email queues…

READ MORE
  • Sunny
  • 778 Views
  • 0 Comment
  • No tags

Boot to newly installed kernel once – Very important for remote support engineers. Suppose following situation: You have complied the new kernel from source and after the successful finish of kernel compilation the grub.conf is automatically set new kernel as default kernel. But we can’t make sure that the newly compiled kernel will boot the system normally. In that case you need to make a condition in such a way that if newly isntalled kernel didn’t boot the sytem, boot…

READ MORE
  • Sunny
  • 778 Views
  • 0 Comment
  • No tags

Before starting to upgrade mysql in your server, first make full mysql backup(including system tables)  to safe location. This action will prevent data losing in case if something goes wrong. The following link will help how to take backup, http://docs.cloudlinux.com/index.html?backing_up_mysql.html Then you can update mysql/governor in the following way: # yum update governor-mysql --enablerepo=cloudlinux-updates-testing # /usr/share/lve/dbgovernor/db-select-mysql --mysql-version=mysql55 # /usr/share/lve/dbgovernor/db-select-mysql --install-now Once the installation completed, don't forgot to recompile php on the server. MYSQL_VERSION can be one of the following: auto…

READ MORE
  • Sunny
  • 777 Views
  • 0 Comment
  • No tags

Create a file "mailqueu.sh" in your server. vim /root/mailqueue.sh Enter the following script to the file, #!/bin/bash EMAIL="youraddress@mail.com" MQUEUE=`find /var/spool/exim/input -name '*-H' | wc -l | sed -e "s/ //g"` if [ $MQUEUE -gt 200 ]; then echo "Mail queue at `hostname` has $MQUEUE messages!!!" | mail -s "CRITICAL ALERT: Mail queue" $EMAIL fi Save and close and set execution permission to the script. Then, add a cron job on the server to schedule the task, # crontab -e and…

READ MORE
  • Sunny
  • 777 Views
  • 0 Comment
  • No tags

Burn the following LIVECD image on CD and to use the Boot CD-ROM. http://repo.r1soft.com/bm/serverbackup-centos-bootcd-agent.iso Booting Linux Host From CD After you have the Live CD software written to CD (Obtaining Live CD Software), you can boot the server you want to Restore from this CD. Follow the instructions below. 1. Boot your server. During the first seconds of boot, click the required key combination to enter BIOS setup. 2. Select to boot from CD-ROM in the BIOS setup. Follow the…

READ MORE
  • Sunny
  • 777 Views
  • 0 Comment
  • No tags

How to download Ftp site using wget how to download files from a FTP server with Linux gnu wget command. wget have many options. You can view its options via wget --help Here I am only dealing with the options --user and --password To download files from an FTP account do the following: wget --user=user --password=PaS5wOrD ftp://domain.tld/public_html/downloads/test_ This command will help to migrate a remote domain to another.

READ MORE
  • Harish PP
  • 776 Views
  • 0 Comment
  • No tags

Clamav can work in conjunction with pure-ftpd to not allow virus’s to be uploaded. Followings are the steps to integrate  pure-ftpd with clamav in cPanel server. 1. Install Clamav 2.  Patch pure-ftpd conf file Edit /etc/pure-ftpd.conf and set CallUploadScript yes Edit /etc/init.d/pure-ftpd Look for $DAEMONIZE $fullpath /etc/pure-ftpd.conf -O clf:/var/log/xferlog $OPTIONS --daemonize Under this add $DAEMONIZE /usr/sbin/pure-uploadscript -B -r /etc/pure-ftpd/upload-check.sh Next look for kill $(cat /var/run/pure-ftpd.pid) Under this add kill $(cat /var/run/pure-uploadscript.pid) 3. create new file named  /etc/pure-ftpd/upload-check.sh vi /etc/pure-ftpd/upload-check.sh #!/bin/sh…

READ MORE
  • Harish PP
  • 772 Views
  • 0 Comment
  • No tags

This article shows how to enable FTP (File Transfer Protocol) passive mode for server with pure-ftpd and APF (Advanced Policy Firewall) installed. Pure-ftpd installation will disable the passive mode and even if you have enabled it, you still have to open some ports of your APF.   Pure-Ftpd Configuration: * Login to your server with root access * Edit the pure-ftpd configuration by typing: vi /etc/pure-ftpd.conf * Look for line: #PassivePortRange 30000 50000 Note that the port range may different…

READ MORE
OUR SERVICES
OUR TECHNOLOGIES