Skip to content

Commit 239490b

Browse files
author
redray
committed
corrected the install manula for ubuntu 8.04 lts
1 parent 2e272f9 commit 239490b

File tree

2 files changed

+39
-35
lines changed

2 files changed

+39
-35
lines changed

INSTALL_UBUNTU_8.04.txt

Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Installation
2-
-----------
2+
------------
33

4-
It is recommended to use a clean (fresh) Ubuntu 7.10 (Gutsy Gibbon) install where you selected no additional packages or servers during setup. Then follow the steps below to setup your server with ISPConfig 3:
4+
It is recommended to use a clean (fresh) Ubuntu 8.04 LTS install where you selected no additional packages or servers during setup. Then follow the steps below to setup your server with ISPConfig 3:
55

66
Now become root user by executing:
77

@@ -29,6 +29,7 @@ Mail name? <-- server1.mydomain.tld
2929

3030
...use your own domain name of course ;)
3131

32+
3233
2) Install Amavisd-new, Spamassassin and Clamav (1 line!):
3334

3435
apt-get install amavisd-new spamassassin clamav clamav-daemon zoo unzip bzip2 arj nomarch lzop cabextract apt-listchanges libnet-ldap-perl libauthen-sasl-perl clamav-docs daemon libio-string-perl libio-socket-ssl-perl libnet-ident-perl zip libnet-dns-perl
@@ -44,7 +45,8 @@ a2enmod suexec
4445
a2enmod rewrite
4546
a2enmod ssl
4647

47-
Optional: Install SuPHP
48+
49+
3.1) Optional: Install SuPHP
4850

4951
apt-get install libapache2-mod-suphp
5052

@@ -76,13 +78,14 @@ apt-get install pure-ftpd-common pure-ftpd-mysql quota quotatool
7678

7779
echo 'yes' > /etc/pure-ftpd/conf/DontResolve
7880

81+
7982
5) Install mydns
8083

8184
apt-get install g++ libc6 gcc gawk make texinfo libmysqlclient15-dev
8285

8386
cd /tmp
84-
wget http://heanet.dl.sourceforge.net/sourceforge/mydns-ng/mydns-1.2.8.4.tar.gz
85-
tar xvfz mydns-1.2.8.4.tar.gz
87+
wget http://heanet.dl.sourceforge.net/sourceforge/mydns-ng/mydns-1.2.8.15.tar.gz
88+
tar xvfz mydns-1.2.8.15.tar.gz
8689
cd mydns-1.2.8
8790
./configure
8891
make
@@ -95,7 +98,7 @@ vi /etc/init.d/mydns
9598
and enter the following lines (between the ----- lines):
9699

97100
------------------------------------------------------
98-
#! /bin/sh
101+
#! /bin/bash
99102
#
100103
# mydns Start the MyDNS server
101104
#
@@ -130,7 +133,7 @@ case "$1" in
130133
echo "."
131134
;;
132135
reload|force-reload)
133-
echo -n "Reloading $DESC configuration..."
136+
echo -n "Reloading $DESC configuration ..."
134137
start-stop-daemon --stop --signal HUP --quiet \
135138
--exec $DAEMON
136139
echo "done."
@@ -166,36 +169,33 @@ apt-get install vlogger webalizer
166169

167170
7) Install ISPConfig 3
168171

169-
There are two possile scenarios, but not both:
170-
1) Install the latest alpha
171-
2) Install directly from SVN
172-
173-
apt-get install php5-cli
172+
There are two possile scenarios a) or b), but not both:
174173

175-
1) Installation of beta 3
174+
a) Installation of beta 3
175+
176+
cd /tmp
177+
wget http://www.ispconfig.org/downloads/ISPConfig_3.0.0.7-beta.tar.gz
178+
tar xvfz ISPConfig_3.0.0.7-alpha.tar.gz
179+
cd ispconfig3_install/install/
176180

177-
cd /tmp
178-
wget http://www.ispconfig.org/downloads/ISPConfig_3.0.0.5-beta.tar.gz
179-
tar xvfz ISPConfig_3.0.0.5-alpha.tar.gz
180-
cd ispconfig3_install/install/
181+
b) Installation from SVN
181182

182-
2) Installation from SVN
183+
apt-get install subversion
184+
cd /tmp
185+
svn export svn://svn.ispconfig.org/ispconfig3/trunk/
186+
cd trunk/install
187+
188+
after a) or b)
183189

184-
apt-get install subversion
185-
cd /tmp
186-
svn export svn://svn.ispconfig.org/ispconfig3/trunk/
187-
cd trunk/install
188-
189-
190-
1+2) Now proceed with the ISPConfig installation.
190+
proceed with the ISPConfig installation.
191191

192192
Now start the installation process by executing:
193193

194194
php -q install.php
195195

196196
The installer will configure all services like postfix, sasl, courier, etc. for you. A manual setup as required for ISPConfig 2 (perfect setup guides) is not nescessary. To login to the ISPConfig controlpanel, open the following URL in your browser (replace the IP to match your settings!):
197197

198-
http://192.168.0.100:8080/
198+
http://server1.mydomain.tld:8080/
199199

200200
the default login is:
201201

@@ -205,17 +205,20 @@ password: admin
205205
In case you get a permission denied error from apache, please restart the apache webserver process.
206206

207207

208-
8) Once you have restarted Apache you need to fix a quick setting in apache2.
208+
8) Apache Fix
209+
210+
Once you have restarted Apache you need to fix a quick setting in apache2.
209211

210-
1) rm /etc/apache2/sites-enabled/000-default
212+
a) rm /etc/apache2/sites-enabled/000-default
211213

212-
2) echo "NameVirtualHost *:80">> /etc/apache2/httpd.conf
214+
b) echo "NameVirtualHost *:80">> /etc/apache2/httpd.conf
213215

214-
3) /etc/init.d/apache2 restart
216+
c) /etc/init.d/apache2 restart
215217

216218

219+
9) Optional packages
217220

218-
Installing Jailkit:
221+
9.1) Installing Jailkit:
219222

220223
apt-get install build-essential autoconf automake1.9 libtool flex bison
221224
cd /tmp

install/lib/installer_base.lib.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,8 @@ public function configure_postfix($options = '')
292292
'broken_sasl_auth_clients = yes',
293293
'smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:'.$config_dir.'/mysql-virtual_recipient.cf, reject_unauth_destination',
294294
'smtpd_use_tls = yes',
295-
'smtpd_tls_cert_file = '.$config_dir.'/smtpd.cert',
296-
'smtpd_tls_key_file = '.$config_dir.'/smtpd.key',
295+
'smtpd_tls_cert_file = '.$config_dir.'/ssl/smtpd.cert',
296+
'smtpd_tls_key_file = '.$config_dir.'/ssl/smtpd.key',
297297
'transport_maps = proxy:mysql:'.$config_dir.'/mysql-virtual_transports.cf',
298298
'relay_domains = mysql:'.$config_dir.'/mysql-virtual_relaydomains.cf',
299299
'virtual_create_maildirsize = yes',
@@ -332,12 +332,13 @@ public function configure_postfix($options = '')
332332

333333
if(!stristr($options,'dont-create-certs')) {
334334
//* Create the SSL certificate
335-
$command = 'cd '.$config_dir.'; '
335+
$command = 'mkdir '.$config_dir.'/ssl; '
336+
.'cd '.$config_dir.'/ssl; '
336337
.'openssl req -new -outform PEM -out smtpd.cert -newkey rsa:2048 -nodes -keyout '
337338
.'smtpd.key -keyform PEM -days 365 -x509';
338339
exec($command);
339340

340-
$command = 'chmod o= '.$config_dir.'/smtpd.key';
341+
$command = 'chmod o= '.$config_dir.'/ssl/smtpd.key';
341342
caselog($command.' &> /dev/null', __FILE__, __LINE__, 'EXECUTED: '.$command, 'Failed to execute the command '.$command);
342343
}
343344

0 commit comments

Comments
 (0)