Skip to content

Commit d4c9b31

Browse files
committed
- Improved the debian installation manual
- Fixed a bug in the installer.
1 parent 0c0d284 commit d4c9b31

File tree

2 files changed

+29
-3
lines changed

2 files changed

+29
-3
lines changed

INSTALL_DEBIAN.txt

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,28 @@ Mail name? <-- server1.mydomain.tld
1616

1717
...use your own domain name of course ;)
1818

19+
Edite the file /etc/mysql/my.cnf
20+
21+
vi /etc/mysql/my.cnf
22+
23+
and comment out the line
24+
25+
bind-address = 127.0.0.1
26+
27+
then restart mysql
28+
29+
/etc/init.d/mysql restart
30+
31+
Set the mysql database password:
32+
33+
mysqladmin -u root password yourrootsqlpassword
34+
mysqladmin -h ispconfig.local -u root password yourrootsqlpassword
35+
36+
1937
2) Install Amavisd-new, Spamassassin and Clamav (1 line!):
2038

2139
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
2240

23-
2441
3) Install apache, PHP5 and phpmyadmin (1 line!):
2542

2643
apt-get install apache2 apache2.2-common apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert libapache2-mod-php5 php5 php5-common php5-gd php5-mysql php5-imap phpmyadmin php5-cli
@@ -58,6 +75,15 @@ Then execute:
5875

5976
apt-get install mydns-mysql
6077

78+
-> localhost
79+
-> mydns
80+
Would you like to set up the database and tables automatically? -> yes
81+
What is the username of the MySQL administrator? -> root
82+
Enter the MySQL administrator password -> yourrootsqlpassword
83+
Confirm this password -> yourrootsqlpassword
84+
What is the MyDNS username? -> mydns
85+
What is the MyDNS user password? -> mydnspassword
86+
6187
The mydns installer is a bit tricky, you will have to select to create a new database for mydns and use a existing mysql user, e.g. the mysql root user. This database is only to fullfill the requirements for the debian pacakge during installation and will not be used by ISPConfig later. ISPConfig will automatically change the mydns configuration files to use the ISPConfig database.
6288

6389

install/lib/installer_base.lib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ public function configure_database()
156156
//** Create a recors in the
157157
public function add_database_server_record() {
158158

159-
$server_ini = rf("tpl/server.ini.master");
160-
$server_ini = addslashes($server_ini_content);
159+
$server_ini_content = rf("tpl/server.ini.master");
160+
$server_ini_content = addslashes($server_ini_content);
161161

162162
$sql = "INSERT INTO `server` (`sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `server_name`, `mail_server`, `web_server`, `dns_server`, `file_server`, `db_server`, `vserver_server`, `config`, `updated`, `active`) VALUES (1, 1, 'riud', 'riud', 'r', 'Server', 1, 1, 1, 1, 1, 1, '$server_ini_content', 0, 1);";
163163
$this->db->query($sql);

0 commit comments

Comments
 (0)