Archive for the tag 'Panel'

HOWTO: Set default site for IP address in Plesk Control Panel

You can select and change which of your Domains your IP address points to by making a simple change in your Plesk Control Panel. This is also useful if you want to preview a site before changing your DNS settings.

1. First, log in to your Plesk control panel,
2. Click on Server.
3. Click the icon for IP Addresses, and you will see a number X under the heading hosting on the far right which indicates how many domains you have on each corresponding IP address.
4. Click on the number you see for the IP address in question.
5. On the next page, you’ll see radio buttons next to each of your domains. Select the radio button for the Domain that you want to see when browsing to your IP address, and then click Set as Default.

Now, when you browse to your IP address, you’ll see the domain that you have selected as Default.

How to Install KISS My Firewall on Ensim Control Panel

KISS My Firewall is a FREE iptables script designed for a typical web server. It takes advantage of the latest firewall technologies including stateful packet inspection and connection tracking. It also contains some preventative measures for port scanning, DoS attacks, and IP spoofing, among other things.

KISS My Firewall 2 is very easy to install and does not require any initial configuration. It will work with any stock installation of Ensim WEBppliance Basic & Pro, Plesk, and Webmin. Cpanel installations require some modifications.

When logged in as root ( “su -” ), type:

cd /usr/bin
wget http://www.indotek.com/kiss/kiss-2.2.tar.gz
tar zxvf kiss-2.2.tar.gz

That’s it! To get it running anywhere on the command line, you simply type:

kiss start

To stop the firewall, type:

kiss stop

To get status information, type:

kiss status

If you want to block an offenders IP address/subnet, simply edit the BLOCK_LIST variable in the /usr/bin/kiss file. You can separate IP addresses and subnet’s with a space. Once you are finished, simply restart KISS by typing:

kiss restart

Reset the license for Ensim Pro Control Panel Linux

Ensim Pro Control Panel license is tied to a MAC-address. Therefore, when you change your network card, Ensim does not recognize the license as valid anymore.

Rename /etc/appliance/.license/.LIC_file and /etc/appliance/.license/.MLK_file so that the license would be treated as a new one by Ensim

# mv /etc/appliance/.license/.MLK_file /etc/appliance/.license/.MLK_file.bak
# mv /etc/appliance/.license/.LIC_file /etc/appliance/.license/.LIC_file.bak

Once this is done, we need to contact support to reset the license.

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

Requirements for upgrading Ensim Control Panel

File system EXT3

Important: Quotas may not function as intended if you use other file systems.

Disk space At least 40 GB

Disk space partitioning:

/ 5 GB or more
(assuming minimum disk space of 40 GB)

/usr 5 GB or more

/swap Twice the size of RAM

The size of the partitions can vary in proportion to the size of the disk space.

/var 4 GB or more
/home 20 GB or more (depending on the number of sites you want to host)

Important: Do not create /home/virtual on a separate partition. The Site Administrator dashboard reports incorrect disk usage if the directory is created on a separate partition.

« Prev - Next »