Commit 777da79c authored by tbrehm's avatar tbrehm
Browse files

Updated installation instructions for debian lenny.

parent 3f133efa
......@@ -73,19 +73,85 @@ Then execute:
5) Install mydns
apt-get install mydns-mysql
apt-get install g++ libc6 gcc gawk make texinfo libmysqlclient15-dev
What is the hostname of the machine on which the database will run? -> localhost
What is the database name for the MyDNS database? -> 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.
cd /tmp
tar xvfz mydns-
cd mydns-1.2.8
make install
Now create the start / stop script for mydns:
vi /etc/init.d/mydns
and enter the following lines (between the ----- lines):
#! /bin/sh
# mydns Start the MyDNS server
# Author: Philipp Kern <>.
# Based upon skeleton 1.9.4 by Miquel van Smoorenburg
# <> and Ian Murdock <>.
set -e
DESC="DNS server"
# Gracefully exit if the package has been removed.
test -x $DAEMON || exit 0
case "$1" in
echo -n "Starting $DESC: $NAME"
start-stop-daemon --start --quiet \
--exec $DAEMON -- -b
echo "."
echo -n "Stopping $DESC: $NAME"
start-stop-daemon --stop --oknodo --quiet \
--exec $DAEMON
echo "."
echo -n "Reloading $DESC configuration..."
start-stop-daemon --stop --signal HUP --quiet \
--exec $DAEMON
echo "done."
echo -n "Restarting $DESC: $NAME"
start-stop-daemon --stop --quiet --oknodo \
--exec $DAEMON
sleep 1
start-stop-daemon --start --quiet \
--exec $DAEMON -- -b
echo "."
echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
exit 1
exit 0
now execute:
chmod +x /etc/init.d/mydns
update-rc.d mydns defaults
6) Install vlogger and webalizer
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment