Skip to content

Commit 777da79

Browse files
committed
Updated installation instructions for debian lenny.
1 parent 3f133ef commit 777da79

File tree

1 file changed

+77
-11
lines changed

1 file changed

+77
-11
lines changed

INSTALL_DEBIAN_LENNY.txt

Lines changed: 77 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -73,19 +73,85 @@ Then execute:
7373

7474
5) Install mydns
7575

76-
apt-get install mydns-mysql
76+
apt-get install g++ libc6 gcc gawk make texinfo libmysqlclient15-dev
7777

78-
What is the hostname of the machine on which the database will run? -> localhost
79-
What is the database name for the MyDNS database? -> 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-
87-
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.
78+
cd /tmp
79+
wget http://heanet.dl.sourceforge.net/sourceforge/mydns-ng/mydns-1.2.8.4.tar.gz
80+
tar xvfz mydns-1.2.8.4.tar.gz
81+
cd mydns-1.2.8
82+
./configure
83+
make
84+
make install
8885

86+
Now create the start / stop script for mydns:
87+
88+
vi /etc/init.d/mydns
89+
90+
and enter the following lines (between the ----- lines):
91+
92+
------------------------------------------------------
93+
#! /bin/sh
94+
#
95+
# mydns Start the MyDNS server
96+
#
97+
# Author: Philipp Kern <phil@philkern.de>.
98+
# Based upon skeleton 1.9.4 by Miquel van Smoorenburg
99+
# <miquels@cistron.nl> and Ian Murdock <imurdock@gnu.ai.mit.edu>.
100+
#
101+
102+
set -e
103+
104+
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
105+
DAEMON=/usr/local/sbin/mydns
106+
NAME=mydns
107+
DESC="DNS server"
108+
109+
SCRIPTNAME=/etc/init.d/$NAME
110+
111+
# Gracefully exit if the package has been removed.
112+
test -x $DAEMON || exit 0
113+
114+
case "$1" in
115+
start)
116+
echo -n "Starting $DESC: $NAME"
117+
start-stop-daemon --start --quiet \
118+
--exec $DAEMON -- -b
119+
echo "."
120+
;;
121+
stop)
122+
echo -n "Stopping $DESC: $NAME"
123+
start-stop-daemon --stop --oknodo --quiet \
124+
--exec $DAEMON
125+
echo "."
126+
;;
127+
reload|force-reload)
128+
echo -n "Reloading $DESC configuration..."
129+
start-stop-daemon --stop --signal HUP --quiet \
130+
--exec $DAEMON
131+
echo "done."
132+
;;
133+
restart)
134+
echo -n "Restarting $DESC: $NAME"
135+
start-stop-daemon --stop --quiet --oknodo \
136+
--exec $DAEMON
137+
sleep 1
138+
start-stop-daemon --start --quiet \
139+
--exec $DAEMON -- -b
140+
echo "."
141+
;;
142+
*)
143+
echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
144+
exit 1
145+
;;
146+
esac
147+
148+
exit 0
149+
---------------------------------------------------------------------------
150+
151+
now execute:
152+
153+
chmod +x /etc/init.d/mydns
154+
update-rc.d mydns defaults
89155

90156
6) Install vlogger and webalizer
91157

0 commit comments

Comments
 (0)