Skip to content

Commit 03ade50

Browse files
committed
Minor fixes in the installer for Ubuntu 7.10
1 parent f629e20 commit 03ade50

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

INSTALL_UBUNTU.txt

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,14 @@ a2enmod rewrite
4444

4545
4) Install pure-ftpd and quota
4646

47-
apt-get install pure-ftpd-common pure-ftpd-mysql quota quotatool
48-
49-
Edit the file /etc/default/pure-ftpd-common
47+
First we have to make sure that the capability module is loaded in the kernel
5048

51-
vi /etc/default/pure-ftpd-common
49+
modprobe capability
50+
echo 'capability' >> /etc/modules
5251

53-
and change the start mode from inetd to standalone. Then execute:
54-
55-
/etc/init.d/openbsd-inetd restart
52+
Then we install pureftpd and quota.
5653

54+
apt-get install pure-ftpd-common pure-ftpd-mysql quota quotatool
5755

5856
5) Install mydns
5957

install/lib/install.lib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ function get_distname() {
6666

6767
if(trim(file_get_contents('/etc/debian_version')) == '4.0') {
6868
$distname = 'debian40';
69-
swriteln('Operating System: Debian 4.0 or compatible');
69+
swriteln("Operating System: Debian 4.0 or compatible\n");
7070
}
7171
if(trim(file_get_contents('/etc/debian_version')) == 'lenny/sid') {
7272
$distname = 'debian40';
73-
swriteln('Operating System: Debian Lenny/Sid or compatible');
73+
swriteln("Operating System: Debian Lenny/Sid or compatible\n");
7474
}
7575
}
7676

install/lib/installer_base.lib.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,8 @@ public function configure_spamassassin()
488488
public function configure_getmail()
489489
{
490490
$config_dir = $this->conf['getmail']['config_dir'];
491+
492+
if(!is_dir($config_dir)) exec("mkdir -p ".escapeshellcmd($config_dir));
491493

492494
$command = "useradd -d $config_dir getmail";
493495
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");

install/sql/ispconfig3.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ CREATE TABLE `sys_user` (
814814
-- Daten für Tabelle `sys_user`
815815
--
816816

817-
INSERT INTO `sys_user` (`userid`, `sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `username`, `passwort`, `modules`, `startmodule`, `app_theme`, `typ`, `active`, `language`, `groups`, `default_group`, `client_id`) VALUES (1, 1, 0, 'riud', 'riud', '', 'admin', '21232f297a57a5a743894a0e4a801fc3', 'admin,client,mail,monitor,sites', 'mail', 'default', 'admin', 1, 'en', '1,2', 1, 0);
817+
INSERT INTO `sys_user` (`userid`, `sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `username`, `passwort`, `modules`, `startmodule`, `app_theme`, `typ`, `active`, `language`, `groups`, `default_group`, `client_id`) VALUES (1, 1, 0, 'riud', 'riud', '', 'admin', '21232f297a57a5a743894a0e4a801fc3', 'admin,client,mail,monitor,sites,dns', 'mail', 'default', 'admin', 1, 'en', '1,2', 1, 0);
818818

819819
-- --------------------------------------------------------
820820

0 commit comments

Comments
 (0)