Archive for the tag 'linux'

Recommended firewall setup for Ensim Pro for Linux

The following is the list of ports used by Ensim Pro for Linux that need to be open if the server is installed behind a firewall.

TCP Port Service

20 FTP Data
21 FTP
22 SSH
23 Telnet
25 Sendmail SMTP
53 DNS
80 HTTP
110 POP3
143 IMAP
443 SSL
783 Spamassassin
3306 MySQL
19638 Control panel

UDP Port Service

53 DNS
3306 MySQL

Setting up sendmail over SSL on Ensim Pro Control Panel for Linux

Login as root on your Ensim Pro Control Panel for Linux box

Backup your current sendmail conf file

cp /etc/mail/sendmail.cf /etc/mail/sendmail.cf.bak

Prepare sendmail’s certificate

cd /usr/share/ssl/certs
make sendmail.pem

You will be prompted with several questions typical for SSL certificate generation)

Backup /usr/lib/opcenter/sendmail/install/sendmail.mc file

cp /usr/lib/opcenter/sendmail/install/sendmail.mc /usr/lib/opcenter/sendmail/install/sendmail.mc.bak

Edit /usr/lib/opcenter/sendmail/install/sendmail.mc file

vi /usr/lib/opcenter/sendmail/install/sendmail.mc

Uncomment the following lines to point to your generated certificate

define(`confCACERT_PATH’,`/usr/share/ssl/certs’)
define(`confCACERT’,`/usr/share/ssl/certs/ca-bundle.crt’)
define(`confSERVER_CERT’,`/usr/share/ssl/certs/sendmail.pem’)
define(`confSERVER_KEY’,`/usr/share/ssl/certs/sendmail.pem’)

Add DAEMON_OPTIONS to make sendmail listen on port 465
DAEMON_OPTIONS(`Port=smtp,Addr=0.0.0.0, Name=MTA’)dnl
DAEMON_OPTIONS(`Port=smtps, Name=SSLMTA, M=s’)dnl

Rebuild sendmail conf file

m4 /usr/lib/opcenter/sendmail/install/sendmail.mc > /etc/mail/sendmail.cf

Restart sendmail

/sbin/service sendmail restart

You can check if sendmail is listening on 465 port by issuing command

netstat –nlp | grep 465

Reference: http://parallels.com

Installation Checklist

You must install the RPM spamassassin-3 or later on the server before you install Ensim Pro Control Panel.

Verify that you have set up the yum repository containing the operating system RPMs, RPM updates, and RPM extras (required only if using yum to obtain and update RPMs).

Set up a yum repository on your local FTP server or on the server on which you are installing Parallels Pro Control Panel. The installer obtains the operating system RPMs, required RPM updates, and RPM extras from the repository.

List of packages that should not be upgraded on an Ensim Pro for Linux server.

Ensim RPMs you should leave alone: Some of these application RPMs have an tag in the build number (”ensimized RPMs”). This denotes that Parallels Pro Control Panel for Linux has made modifications to the RPM for various reasons such as fixing bugs, adding additional security, or improving performance for hosting domains. The detailed list of these RPMs is shown below.

Package Name
apache-mod_fastcgi
ensim-perl
frontpage
tomcat-connectors
analog
chartdirector-python
imap
majordomo
Miva-empresa
Mivamerchant
Mivamerchant-5.00
miva-empresa-5.02
phpMyAdmin
poprelay
squirrelmail
vacation
webdav
tomcat4
Zope

Reference :http://www.parallels.com/products/pro/

Upgrading to PHP5 on RHEL4 Ensim Pro X for Linux

1.Remove php 4.3.9 rpms

# rpm -qa | grep -i php | grep 4.3.9 | xargs rpm -e –nodeps

2.Upgrade / install libc-client using yum or up2date

# yum install libc-client or up2date libc-client

3.Download all php5 rpms from ftp://ftp.digitalus.nl/ensim_php5/

4.Install all php5 rpms

# rpm -ivh –nodeps *.rpm

5.Edit /etc/virtualhosting/filelists/apache.sh and add following lines

N:S,rpm:php-domxml
N:S,rpm:php-xml
N:S,rpm:libc-client

6.Run ensim through maintenance

set_pre_maintenance
set_maintenance
set_post_maintenance
service epld restart

Reference : http://parallels.com/

« Prev - Next »