• Vimal Raj
  • 4004 Views
  • 0 Comment
  • No tags

Step for Plesk Upgrade 1. Check the version of current Plesk control panel 2. If Plesk is of version 8.x go first upgrade plesk to 10.X then upgrade to plesk 11.0 and then go for plesk 11.5 3. If Plesk if of version 9.x then you can directly upgrade plesk to plesk 11.0 and then upgrade plesk to 11.5 Tip : Always keep a copy of the server while performing upgrade. Also Check Out Our Server Management Plans  

READ MORE
  • Vimal Raj
  • 4005 Views
  • 0 Comment
  • Grep .

C:\>findstr /? Searches for strings in files. FINDSTR [/B] [/E] [/L] [/R] [/S] [/I] [/X] [/V] [/N] [/M] [/O] [/P] [/F:file] [/C:string] [/G:file] [/D:dir list] [/A:color attributes] [/OFF[LINE]] strings [[drive:][path]filename[ ...]] /B Matches pattern if at the beginning of a line. /E Matches pattern if at the end of a line. /L Uses search strings literally. /R Uses search strings as regular expressions. /S Searches for matching files in the current directory and all subdirectories. /I Specifies that the search…

READ MORE
  • Vimal Raj
  • 4003 Views
  • 0 Comment
  • No tags

We are usually facing many library errors while compiling PHP 5. Here are some of the fixes. ================================= checking for BZip2 support… yes checking for BZip2 in default path… not found configure: error: Please reinstall the BZip2 distribution Fix: yum install bzip2-devel ================================= checking for cURL support… yes checking if we should use cURL for url streams… no checking for cURL in default path… not found configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/ Fix:…

READ MORE
  • Vimal Raj
  • 4002 Views
  • 0 Comment
  • No tags

Shell Script for Disk Space 1. Create a file /home/diskspace.sh 2. Enter the following code in the script #!/bin/sh #Threshold is set to 70 here. THRESHOLD=70 MAILTO="youremailaddress" TEMPFILE=/tmp/diskspace.temp HOSTNAME=`hostname`   rm -f $TEMPFILE   #Calculate the Current Disk Usage with the below command. CDU=$(df -h | tail -1 | awk '{print $5}' | sed 's/%//') #Compare the current value with the threshold one. if [ $(expr $CDU ">=" $THRESHOLD) -ne 0 ] then echo "Warning!!! Disk Space usage on server…

READ MORE
  • Vimal Raj
  • 4003 Views
  • 0 Comment
  • No tags

.htaccess rules 1.Remove www in url RewriteEngine On RewriteCond %{HTTP_HOST} !^your-site.com$ [NC] RewriteRule ^(.*)$ http://your-site.com/$1 [L,R=301] 2. Prevent hotlinking RewriteEngine On #Replace ?mysite\.com/ with your blog url RewriteCond %{HTTP_REFERER} !^http://(.+\.)?mysite\.com/ [NC] RewriteCond %{HTTP_REFERER} !^$ #Replace /images/nohotlink.jpg with your "don't hotlink" image url RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpg [L]     3. Force download of specific files Files *.xls> ForceType application/octet-stream Header set Content-Disposition attachment </Files> <Files *.eps> ForceType application/octet-stream Header set Content-Disposition attachment </Files> 4. Log PHP errors # display no errs…

READ MORE
  • ratheesh
  • 4002 Views
  • 0 Comment
  • No tags

When adding a new contact in Roundcube webmail, if you obtain the following error:     An error occured while saving You can check for the error in the Roundcube log files: tail -f /var/log/roundcube/errors If you encounter the following error message MDB2 Error: no such field (-19): _doQuery: [Error message: Could not execute statement] [Last executed query: INSERT INTO contacts (user_id, changed, del, `vcard`, `name`, `email`, `firstname`, `surname`, `words`) VALUES ... [Native code: 1054] [Native message: Unknown column 'words'…

READ MORE
  • Ann George
  • 857 Views
  • 0 Comment
  • No tags

Lighthttpd is the web server which will help to increase the speed with a small memory consumption. This document assumes that both apache and lighthttpd are installed in the server. Prerequisites : A minumum of 2 IP addresses must be available in the server so that both apache and lighthttpd in the same port , but on different IP addresses. 1. Go to apache configuration and locate Listen directive. 2. Add "Listen" directive to all IP addresses of the server,…

READ MORE
  • Ann George
  • 857 Views
  • 0 Comment
  • No tags

It so happens that you are experiencing a lag in your windows server performance. The virtual memory settings in your windows 2003/2008 server might be the key to the performance issue. For setting up virtual memory in windows (2003 server/XP) do the following. 1. System Properties (Right click on 'My Computer' icon and select "Properties') 2. Select "Advanced' tab 3. Select 'Settings' in 'Performance' section. This will open a window 4. Select 'Advanced' tab 5. Here you can set Virtual…

READ MORE
  • Sanjay Santhosh
  • 893 Views
  • 0 Comment
  • No tags

Spamming in Qmail : How to find the domains on which scripts are running in Qmail ? 1) Create a /var/qmail/bin/sendmail-wrapper script with the following content: ------------------- #!/bin/sh (echo X-Additional-Header: $PWD ;cat) | tee -a /var/tmp/mail.send|/var/qmail/bin/sendmail-qmail "$@" ------------------- Note, it should be two lines including '#!/bin/sh'.   2) Create a log file /var/tmp/mail.send and grant it "a+rw" rights; make the wrapper executable; rename old sendmail; and link it to the new wrapper: ------------------- ~# touch /var/tmp/mail.send ~# chmod a+rw /var/tmp/mail.send…

READ MORE
  • Sanjay Santhosh
  • 893 Views
  • 0 Comment
  • No tags

There are two Message Transfer Agents (MTA) that are supported by Parallels Plesk Panel since version 9, including Qmail and Postfix. Each time, only one of them is used by Parallels Plesk Panel. The MTA that is currently used by Parallels Plesk Panel is shown on the Services management page at Home -> Services Management: SMTP Server (Postfix) or SMTP Server (QMail) ------------------------------- It is also possible to check the MTA using the Parallels Plesk Panel utility mailmng: ~# $PRODUCT_ROOT_D/admin/sbin/mailmng…

READ MORE
OUR SERVICES
OUR TECHNOLOGIES