Minor fixes in the installer for Ubuntu 7.10
| | |
| | | |
| | | 4) Install pure-ftpd and quota |
| | | |
| | | First we have to make sure that the capability module is loaded in the kernel |
| | | |
| | | modprobe capability |
| | | echo 'capability' >> /etc/modules |
| | | |
| | | Then we install pureftpd and quota. |
| | | |
| | | apt-get install pure-ftpd-common pure-ftpd-mysql quota quotatool |
| | | |
| | | Edit the file /etc/default/pure-ftpd-common |
| | | |
| | | vi /etc/default/pure-ftpd-common |
| | | |
| | | and change the start mode from inetd to standalone. Then execute: |
| | | |
| | | /etc/init.d/openbsd-inetd restart |
| | | |
| | | |
| | | 5) Install mydns |
| | | |
| | |
| | | |
| | | if(trim(file_get_contents('/etc/debian_version')) == '4.0') { |
| | | $distname = 'debian40'; |
| | | swriteln('Operating System: Debian 4.0 or compatible'); |
| | | swriteln("Operating System: Debian 4.0 or compatible\n"); |
| | | } |
| | | if(trim(file_get_contents('/etc/debian_version')) == 'lenny/sid') { |
| | | $distname = 'debian40'; |
| | | swriteln('Operating System: Debian Lenny/Sid or compatible'); |
| | | swriteln("Operating System: Debian Lenny/Sid or compatible\n"); |
| | | } |
| | | } |
| | | |
| | |
| | | public function configure_getmail() |
| | | { |
| | | $config_dir = $this->conf['getmail']['config_dir']; |
| | | |
| | | if(!is_dir($config_dir)) exec("mkdir -p ".escapeshellcmd($config_dir)); |
| | | |
| | | $command = "useradd -d $config_dir getmail"; |
| | | caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command"); |
| | |
| | | -- Daten für Tabelle `sys_user` |
| | | -- |
| | | |
| | | 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); |
| | | 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); |
| | | |
| | | -- -------------------------------------------------------- |
| | | |