Skip to content

Commit d75f080

Browse files
committed
- Enabled tools module for administrator by default.
- Updated Ubuntu installation instructions.
1 parent 0634d4e commit d75f080

File tree

2 files changed

+71
-1
lines changed

2 files changed

+71
-1
lines changed

INSTALL_UBUNTU_8.04.txt

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,76 @@ cd mydns-1.1.0
6868
make
6969
make install
7070

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

72142
6) Install vlogger and webalizer
73143

install/sql/ispconfig3.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@ CREATE TABLE `sys_user` (
875875
-- Daten für Tabelle `sys_user`
876876
--
877877

878-
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);
878+
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,tools', 'mail', 'default', 'admin', 1, 'en', '1,2', 1, 0);
879879

880880
-- --------------------------------------------------------
881881

0 commit comments

Comments
 (0)