Monday Sep 06
English French German Italian Portuguese Russian Spanish Filipino

Installing Virtualmin GPL using install script on Debian Etch - Page 5

Attention: open in a new window. PrintE-mail
Article Index
Installing Virtualmin GPL using install script on Debian Etch
Installing additional packages
Running install script
Connecting to Webmin
Change webmin admin account
All Pages

 

Time to change Webmin root account (This is different from the root account of the system found in /etc/passwd, do not delete this.) Go to Webmin | Webmin | Webmin Users | Click on root | scroll down | Click Clone | Put in new username | Logout | Log back in using new Webmin administrator account | delete root account.  (Don't use common names or words found in dictionary not even other languages for the Webmin root account. Use combination of numbers, letters uppercase, lower case, special keyboard characters. You have done this for the root password too, right?)

apt-get update

Do an upgrade

apt-get upgrade (Done to make sure we have the latest security updates installed.)

I will also enable Virtualmin's update package check daily to make sure I get notified whenever there is an updated package available. Go to System Information | Virtualmin packages.

 

virtualmin_auto_update

 

 

 

 

 

I will install additional packages not installed by the install script.

apt-get install php5-curl php5-dev php5-gd php5-idn php5-imagick php5-imap php5-json php5-mcrypt php5-memcache php5-mhash php5-ming php5-mysql php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-odbc unixodbc unixodbc-dev unixodbc-bin aspell-en imagemagick make g++

When ask "continue installing libc-client without Maidir support?" answer (yes)

Note: I ran into an issue where e-mails were getting stucked in queue. I checked the MX and DNS records all was correct, even tried to send e-mail using telnet to verify the system accepts e-mail for a domain user.  The solutions was on a Debian system, Spamassassin when installed using apt-get is set to disabled by default.  I had to go into /etc/default/spamassassin to enable it.  I also came across an error where the command being fed to procmail wasn't working due to a syntax error, it was written as (/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME.)  There was no space between procmail and -wrapper.  After making the correction mail got delivered correctly.

 

etc_default

 

 

 

 

 

 

 

 

 

 

 

I read off the Virtualmin forum the suggestion to run ClamAV using clamdscan since clamscan consumes a lot of CPU.  Go to Virtulamin | Email Messages | Spam and Virus Scanning.

 

clamdscan

 

 

 

 

 

 

 

Newer Virtualmin GPL versions will now inform you of new updates when available.

 

virtualmin-update

 

 

 

 

 

 

 

 

The latest addition now allows you to configure the Virtualmin host based on function be it a web, email, database server using the available CPU and Memory found on the server. It even allows you to skip the auto configuration. Very cool!

 

post-install

 

 

 

 

 

The post install will also prompt you to enter the root password for the MySQL database. I prefer to use a different password than the one use by root account of the server.

 

post-install-mysql-password

 

 

 

 

To help fight spam Virtualmin GPL will even provide a way to install Postgrey.

 

postgrey

 

 

 

 

 

After you click Install Postgrey Now, the installation will proceed. At the end of the installation script an error comes up "Failed to install" I went ahead and click "Enable Greylisting" anyway since I knew postgrey has already been installed earlier by Virtualmin. Upon clicking this, the process will configure Postfix to use greylisting.

 

enable-greylisting

 

 

 

 

 

I wanted to make sure that Postgrey is indeed running on port 6000. Checking the mail.log confirms it does.

postgrey-running

 

 

 

I also like to make sure the time on my server is synchronized with an atomic clock. Go to Webmin | Hardware | Time server sync tab. Here is a good link to get a list of time server's closest to you. Create a sync schedule.

time-sync

If you get an error saying ntpdate is not installed. This can be easily remedied.

apt-get install ntpdate

The developers of Virtualmin are constantly releasing improvements or fixes. Download the newest version from here. To install the new version go to Webmin | Webmin Configuration | Install | Choose from uploaded file | click Choose File | browse to where you downloaded the new version | click Install Module.

 

webmin-modules-install

 

Browse to location where new version of Virtualmin was downloaded.

 

browse-to-download

 

Install success.

 

update-success

Done. What are you waiting for go create a virtual site to host using the best free web hosting control panel on the Internet!

Once you start having web sites to hosts it would  be a a good idea to have a copy of the backup data created by Virtualmin off site. I use Veeam FastSCP to get this done.

If you find this useful please leave me a comment. I'd like to know if I missed anything so I can improve the guide. Thank you.

References used:

http://www.virtualmin.com/documentation/

http://www200.pair.com/mecham/spam/

http://www.howtoforge.com/perfect_setup_debian_etch

blackhole@aldeguer.us



Add this page to your favorite Social Bookmarking websites
Digg! Reddit! Del.icio.us! Google! Live! Facebook! StumbleUpon! Yahoo! Joomla Portal

COMMENTS: (Abusing this comment form with spam would be the most effective way to have your IP, network or country blocked!)

avatar Someone
0
 
 
Perfect! Very good, clean and simple install guide.
Name *
Code   
ChronoComments by Joomla Professional Solutions
Submit Comment
Cancel
avatar paul
0
 
 
Well done and thanks. This worked a treat for me.

Name *
Code   
ChronoComments by Joomla Professional Solutions
Submit Comment
Cancel
Name *
Code   
ChronoComments by Joomla Professional Solutions
Submit Comment