The Perfect Server - Ubuntu Intrepid Ibex (Ubuntu 8.10) - Page 7

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Fri, 2008-10-31 12:15. ::

19 Webalizer

To install webalizer, just run

apt-get install webalizer

 

20 Synchronize the System Clock

It is a good idea to synchronize the system clock with an NTP (network time protocol) server over the internet. Simply run

apt-get install ntp ntpdate

and your system time will always be in sync.

 

21 Install Some Perl Modules Needed By SpamAssassin (Comes With ISPConfig)

Run

apt-get install libhtml-parser-perl libdb-file-lock-perl libnet-dns-perl

 

22 ISPConfig

The configuration of the server is now finished, and if you wish you can now install ISPConfig on it. Please check out the ISPConfig installation manual: http://www.ispconfig.org/manual_installation.htm

 

22.1 A Note On SuExec

If you want to run CGI scripts under suExec, you should specify /var/www as the home directory for websites created by ISPConfig as Ubuntu's suExec is compiled with /var/www as Doc_Root. Run

/usr/lib/apache2/suexec -V

and the output should look like this:

root@server1:~# /usr/lib/apache2/suexec -V
 -D AP_DOC_ROOT="/var/www"
 -D AP_GID_MIN=100
 -D AP_HTTPD_USER="www-data"
 -D AP_LOG_EXEC="/var/log/apache2/suexec.log"
 -D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
 -D AP_UID_MIN=100
 -D AP_USERDIR_SUFFIX="public_html"
root@server1:~#

So if you want to use suExec with ISPconfig, don't change the default web root (which is /var/www) if you use expert mode during the ISPConfig installation (in standard mode you can't change the web root anyway so you'll be able to use suExec in any case).

 

23 Links


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by willebanksIII (not registered) on Fri, 2010-02-19 13:30.

Howdy all,

I have been cutting and pasting one line at a time within each blue box. Can I just select everything within the whole box? I bet I can but I really don't feel like experimenting and breaking something.

I realize I'm not suppose to ask questions here but I figure a yes or no answer will get the job done!

Thanks,

Will

 

 

 

Submitted by mrmikey05 (not registered) on Sat, 2009-03-21 10:16.

Hey guys. This tut is really perfect. the only problem I have now is, my apache2 failed after installing ispconfig. how do i go about fixing that?

Please direct me to help.

Thanks again for a great tut.

Submitted by Sonic (not registered) on Sat, 2009-02-28 16:22.

Al of your settings work like a charm. The only thing that doesn't work, is the installation of Ispconfig.

 When all the settings are in place, and he is restarting all services, the apache2 server "fails".

 When I manually want to start it, it also fails.. Now I'm really stuck with a non working server...

 

Please help :-/

Submitted by Rogerio Martinelli (not registered) on Mon, 2009-04-06 21:07.

Look at your apache error log.

i resolved with that.

my problem was with logger so:

sudo apt-get install vlogger

 

all the best

RM

 

Submitted by Sem Wong (not registered) on Thu, 2009-02-05 19:26.

Hey! Thanks for this awesome howto! Thanks to you I got a fully functioning server.

 I got 1 problem here (nothing wrong with the tutorial, since it all works perfect :))
My ISP (Internet Service Provider) blocks all incoming port 80 requests. I would like to know how I can change the listening port so I can put it at port 88 :).

1 more thing, Which ports do I have to portforward for all the things? ftp is port 21 and the mail server?

thanks in advance,
Sem Wong.

Submitted by Koop (not registered) on Tue, 2008-11-25 18:24.

Falko,

Thanks so much for the killer setup how to's. They literally have taught me everything I know about linux so far.  A great follow up How To would be a how to on how to add functionality to these perfect servers. I want to take this setup, which is running awesome by the way, and add backup, load balancing, and intrusion detection. 

Anyway, awesome so far thanks!

 Koop

Submitted by clabrown (not registered) on Fri, 2008-11-21 18:57.

Thanks very much this is really helpful.

 You may need to add a section about corrections to resolv.conf in the networking section, 7 on page 3. This seems to end up with the gateway's ip for the nameserver, and "home" (I think) for the default "domain" and "search" parameters.

 In my case my gateway does not provide dns, and I had to change the domain and search entries to "mydomain.com".

Submitted by Tyger (not registered) on Sat, 2008-11-08 23:52.
Thanks for an excellent tutorial.
Submitted by sims (not registered) on Mon, 2008-11-03 00:04.
I don't think that's the best choice for and FTP server. Might want to give vsftpd a try.
Submitted by garfunkle (not registered) on Fri, 2008-10-31 17:55.
Been waiting for a perfect server since beta. I use this in a virtual environment to practise my networking skills and so far it's installed great, done everything except ISP Config. Will be testing the features now.
Submitted by Anonymous (not registered) on Sat, 2010-03-20 15:43.
Did not see clamav and freshclam installation in this tutorial