- Improved the debian installation manual
- Fixed a bug in the installer.
| | |
| | | |
| | | ...use your own domain name of course ;) |
| | | |
| | | Edite the file /etc/mysql/my.cnf |
| | | |
| | | vi /etc/mysql/my.cnf |
| | | |
| | | and comment out the line |
| | | |
| | | bind-address = 127.0.0.1 |
| | | |
| | | then restart mysql |
| | | |
| | | /etc/init.d/mysql restart |
| | | |
| | | Set the mysql database password: |
| | | |
| | | mysqladmin -u root password yourrootsqlpassword |
| | | mysqladmin -h ispconfig.local -u root password yourrootsqlpassword |
| | | |
| | | |
| | | 2) Install Amavisd-new, Spamassassin and Clamav (1 line!): |
| | | |
| | | 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 |
| | | |
| | | |
| | | 3) Install apache, PHP5 and phpmyadmin (1 line!): |
| | | |
| | |
| | | |
| | | apt-get install mydns-mysql |
| | | |
| | | -> localhost |
| | | -> mydns |
| | | Would you like to set up the database and tables automatically? -> yes |
| | | What is the username of the MySQL administrator? -> root |
| | | Enter the MySQL administrator password -> yourrootsqlpassword |
| | | Confirm this password -> yourrootsqlpassword |
| | | What is the MyDNS username? -> mydns |
| | | What is the MyDNS user password? -> mydnspassword |
| | | |
| | | 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. |
| | | |
| | | |
| | |
| | | //** Create a recors in the |
| | | public function add_database_server_record() { |
| | | |
| | | $server_ini = rf("tpl/server.ini.master"); |
| | | $server_ini = addslashes($server_ini_content); |
| | | $server_ini_content = rf("tpl/server.ini.master"); |
| | | $server_ini_content = addslashes($server_ini_content); |
| | | |
| | | $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);"; |
| | | $this->db->query($sql); |