Comments on The Perfect Server - Ubuntu 15.10 (nginx, MySQL, PHP, Postfix, BIND, Dovecot, Pure-FTPD and ISPConfig 3)
This tutorial shows the steps to install an Ubuntu 15.10 (Wiley Werewolf) server with Nginx, PHP, MariaDB, Postfix, pure-ftpd, BIND, Dovecot and ISPConfig 3. ISPConfig 3 is a web hosting control panel that allows you to configure the installed services through a web browser. This setup provides a full hosting server with web, email (inc. spam and antivirus filter), Database, FTP and DNS services.
15 Comment(s)
Comments
Isn't "Changing the Default Shell" a very heavy-handed thing to do, just to install a config panel app you might use every once in a while? Could you provide some further explanation?
The default shell for Linux systems has been /bin/sh for many years, ubuntu decided to switch to /bin/dash now but dash is not 100% compatible with sh, so shell scripts especially some configure scripts to compile software fail with dash. For ispconfig, the shell does not matter at all. But when you start to try to compile software like jailkit as we will do in this tutorial then this can fail with dash. Using /bin/sh as default shell has no negative effects.
All times i see in this tutorials "comment out" all in /etc/cron.d/awstats...
Well... Awstats dont generate stats by default, even if password is set, the stats folder is empty.
Please explain better HOW to install it correctly.
Awstats get's configured automatically by ISPConfig when you create a site, so all you have to do is to comment out the cronjob as described in the tutorial to configure AWStats.
Seriously... no.
The folder "stats" contain httaccess/_pwd and a index.php... no more, even if you "comment out" the cronjob, the install of AWStats has to be more workaround...
Even if you start it "manual", the main html page isnt the same as described in index.php... and the aliases for the AWStats images doesnt exist in the virtualhost...
(manual script) /usr/share/awstats/tools/awstats_buildstaticpages.pl -config=yourdomain.com -update -awstatsprog=/usr/lib/cgi-bin/awstats.pl -dir=/var/www/clients/client1/web1/web/stats
Maybe AWStats has "extra" workaround on kimsufi/soyoustart servers?
There is no additional setup required and this setup works on many servers (about 40 thousand installations every month). Please post if the forum if you need help to debug your setup.
@Step 14: Installing fail2ban
I have to add the line [Definition] before "ignorerefex" to make fail2ban start
Add the missing ignoreregex line in the postfix-sasl file:
echo "ignoreregex =" >> /etc/fail2ban/filter.d/postfix-sasl.conf
There is nothing mordern about this stack. I don't see Nginx 1.9.1, or any sort of other upgrades to the other stacks out there other than you pulling in MariaDB (Good for you btw, I love Maria).
This tutorial uses the latest Nginx version that is available from Ubuntu as it is meant as a stable production server system and not as a testbed for latest dev versions of a software. If you want to install a newer third party package, then you can do that of course. Just ensure that your custom compiled Nginx uses the exact same compile options then the one from Ubuntu (e.g. the same folders and the same user and group www-data).
Virtual machine image download of this tutorial?
i can not find the download link
See the menu on the right side of the page with the red download "star". Click on the filename that is on the right side of the word "Download".
Hello, about Postfix config:
You will be asked the following questions:
General type of mail configuration: <-- Internet SiteSystem mail name: <-- server1.example.com
How to make Postfix conf not only for 1 domain, but as multidomain mail server? Becose if you have ispConfig, then really logically you want to add more then 1 domain.
With this conf I had problems with google recipients, becose all mails was classified as spam because they were sent from the same address (host).
is it ok?
Like always Till ... Good Job ;) All stuff done at the first attempt, under a new VPS.
Just have to rebuy an ISP manual now !
If you get 502 bad gateway:
nano /etc/php5/fpm/pool.d/www.conf
change listen to this
listen = 127.0.0.1:9000
check the php5-fpm
service php5-fpm status
shows "php5-fpm stop/waiting"
you have to do
service php5-fpm restart
php5-fpm start/running, process 24040
I hope it will help someone.
I'am using nginx 1.11.3 and PHP 7.x. Do i need to edit cgi.fix_pathinfo and date.timezone...???