Tag - Linux Plesk

change-the-default-port-for-Plesk

How to change the default port for Plesk

It is not recommended to change the default Plesk port because it can break Plesk integration with other programs (like Plesk Expand or DrWeb). Linux :- 1.) To change the port Plesk listens on you will need to edit /usr/local/psa/admin/conf/httpsd.conf file and change the following directives to list the port you want Plesk to listen on: Listen 8443 Port 8443 <VirtualHost *:8443> 2.) You will need to restart Plesk afterwards and update the hardware object in the SoftLayer portal with the new port (Hardware > [...]

Read more...
Install-two-php-version-on-plesk

How to Install two php version on plesk

1. SSH to your Parallels Plesk Panel (PP) server as root, download the PHP source, unpack it, and configure it # cd /usr/local/src # mkdir php540 # cd php540 # wget http://www.php.net/get/php-5.4.0.tar.gz/from/at2.php.net/mirror # tar xzvf php-5.4.0.tar.gz # cd php-5.4.0 Note: You HAVE TO USE THE PREFIX SWITCH in order for your new PHP to be installed inside a single directory. For example: # ./configure '--with-libdir=lib64' '--cache-file=../config.cache' '--prefix=/usr/local/php540-cgi' '--with-config-file-path=/usr/local/php540-cgi/etc' '--disable-debug' '--with-pic' '--disable-rpath' '--enable-fastcgi' '--with-bz2' '--with-curl' '--with-freetype-dir=/usr/local/php540-cgi' '--with-png-dir=/usr/local/php540-cgi' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr/local/php540-cgi' '--with-openssl' '--with-pspell' '--with-pcre-regex' '--with-zlib' '--enable-exif' [...]

Read more...
Disable-Reverse-Lookups-In-QMail

Disable Reverse Lookups In QMail

Open /etc/xinetd.d/smtp_psa with your favourite text editor (vi, nano etc) Find the line that starts with server_args and add “-Rt0” after the equals sign like so: BEFORE: server_args = /usr/sbin/rblsmtpd -r sbl-xbl.spamhaus.org /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true AFTER: server_args = -Rt0 /usr/sbin/rblsmtpd -r sbl-xbl.spamhaus.org /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true Then save the file and issue: service xinetd restart; service qmail restart as root to restart qmail and apply the changes. Make sure nothing else is modified apart from this as qmail will start to break horribly. Cheers.

Read more...
How-To-Check-Plesk-mta-qmail-posftfix

How To Check Plesk MTA And How To Switch From QMail To Postfix And Back?

There are two MTA that are supported by Plesk since version 9: – Qmail – 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) And you can also check the through command line: /usr/local/psa/admin/sbin/mailmng --features | grep SMTP_Server $features[‘SMTP_Server’] = “QMail“; $features[‘SMTP_Server_package’] = “psa-qmail“; OR /usr/local/psa/admin/sbin/mailmng --features | grep SMTP_Server $features[‘SMTP_Server’] = “Postfix“; $features[‘SMTP_Server_package’] = “Postfix“; You can switch the MTA from Qmail [...]

Read more...
How-To-Manage-QMail-Queue-In-Linux-Plesk

How To Manage QMail Queue In Linux Plesk?

Plesk server uses qmail as a mail server. Following are some of the qmail commands for Plesk server. 1) To check the mail queue in plesk from command line, you can use the command : # /var/qmail/bin/qmail-qstat messages in queue: 10 messages in queue but not yet preprocessed: 0 2) You can examine the queue with qmail-qread. # /var/qmail/bin/qmail-qread 3) From the qread command you get the message’s id . In the above example , one of the id is 524514 . Now you can [...]

Read more...
Install-ImageMagick-With-PHP-Imagick-Extension-On-Plesk-CentOS-VPS

Install ImageMagick With PHP Imagick Extension On Plesk CentOS VPS

Here are the steps and procedures you need to follow for install Imagemagick on Plesk VPS. login into the server and give the following commands, This requires yum to be installed on the server. yum install ImageMagick yum install ImageMagick-devel yum install php-pear [for PECL] pecl install imagick if you are getting the following error then you do not have compiler installed. You can do that using yum install gcc configure: error: no acceptable C compiler found in $PATH See `config.log’ for more details.” Restart the [...]

Read more...