Category Archives: Plesk

Plesk related information.

A great and FREE alternative to CPANEL or PLESK (WEBMIN in VIRTUALMIN)

step 1: cut a hole in the box

Anyways i got all this from:

Love this, virtualmin / webmin kick the shit out of cpanel or plesk.. For full control of your web server use webmin instead of paying for cpanel or plesk. Webmin and virtualmin are both free and opensource. Feel free to try this out on your linux webservers.

To enhance security and free system resources on the system we need to disable any services that are not required. You can run this script to do this for you.

* acpid
* anacron
* apmd
* autofs
* bluetooth
* cups
* firstboot
* gpm
* haldaemon
* messagebus
* mdmonitor
* hidd
* ip6tables
* kudzu
* lvm2-monitor
* netfs
* nfslock
* pcscd
* portmap
* rpcgssd
* rpcidmapd
* sendmail
* smartd
* yum-updatesd


We need to fix a few issues to prepare the system for configuration.

* Install updates

yum upgrade

* Switch the mta to postfix

alternatives –config mta

There are 2 programs which provide ‘mta’.
Selection Command
1 /usr/sbin/sendmail.postfix
*+ 2 /usr/sbin/sendmail.sendmail
Enter to keep the current selection[+], or type selection number: 1

* Install caching-nameserver config:

yum install caching-nameserver

* Install Build tools:

yum install gcc cpp gcc-c++ automake automake14 automake15 automake16 automake17 openssl-devel subversion ncurses-devel -y

Configure Network Alias

cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:1
Modify the file /etc/sysconfig/network-scripts/ifcfg-eth0:1 to look like this:


Install Webmin / Virtualmin

* Import webmin pgp key:

rpm –import jcameron-key.asc

* Download the rpm:


* Verify the rpm (should say OK or else download again):

rpm –checksig webmin-1.390-1.noarch.rpm

* Install the rpm:

rpm -Uvh webmin-1.390-1.noarch.rpm

Initial Webmin Config

We need to secure webmin by editing /etc/webmin/miniserv.conf and make the following changes:

* Using SSL only:


* Change the port to 443 and bind to the second nic only:


* Disable UDP broadcasts:


* Change host lockout on login failures to 3 :


* Increase host lockout timeout to 120:


* Change user lockout on login failures to 3:


* Change user lockout timeout to 120:


* Change the realm to something else:


* Log logins to utmp:


Install the webmin Tiger theme:

* Login to webmin via using root and your password.
* Go to webmin ? Configuration ? webmin themes.
* Select From ftp or http URL and enter
* Click install theme.
* Click “return to list themes”.
* Select StressFree as the Current theme then click change.

Install php-pear module:
Click Here!

* Go to webmin ? webmin configuration ? webmin modules.
* Select Third party module from and enter
* Click install module.

Install virtualmin:

* Go to webmin ? webmin configuration ? webmin modules.
* Select install from ftp or http URL and enter
* Click install module.

Remove unwanted modules Go to webmin ? webmin configuration ? delete and select the following:

* ADSL client
* Bacula backup system
* CD Burner
* CVS Server
* Cluster change passwords
* Cluster copy files
* Cluster cron jobs
* Cluster shell commands
* Cluster software packages
* Cluster usermin servers
* Cluster users and groups
* Cluster webmin servers
* Command shell
* Configuration engine
* Custom commands
* DHCP server
* Fetchmail mail retrieval
* File manager
* Frox ftp proxy
* HTTP Tunnel
* Heartbeat monitor
* IPsec VPN
* Jabber IM server
* LDAP server
* Logical volume management
* Majordomo list manager
* NFS exports
* NIS client and server
* OpenSLP server
* PPP dialin server
* PPP dialup client
* PPTP vpn server
* PPTP vpn client
* Postgresql database server
* Printer admin
* ProFTPD server
* QMAIL mail server
* SMART drive status
* SSH / Telnet login
* SSL tunnels
* SAMBA windows file sharing
* Scheduled commands
* Sendmail mail server
* Shoreline firewall
* Squid analysis report generator
* Squid proxy server
* Voicemail server
* WU-FTP server
* Idmapd server

Restart webmin:

service webmin restart

Configure Rpmforge Repo

rpm -Uhv

Related Posts

Plesk webmail error

Ever see this error while in Plesk:

Failed setting of domain parameters: Cannot change Webmail on domain: webmail

So in between making domains in my plesk, i decided to update plesk core files.  Well it didn’t tell me there was a file dependency.  So I updated core files, tried to make another domain and I kept getting this error.  After searching a bit, and concluding nothing from these searches i went back, deleted all my domains and accounts and started creating new domains.  Which still gave me this error.

After sifting through plesk’s interface a while i realized the Latest Release Dates on Base packages of Plesk and Horde webmail support were the same.  I didn’t have the newest version of Horde webmail support installed.  So I installed the new version of Horde webmail support and all was well.