Original von HWguru
Aber eigentlich gibt es beim chmod Befehl den -R switch (Changes files and directories recursively)
lG HWguru
das funzte leider nicht und noch ein Problem, ich wollte folgendes tun,
ändern der Port von www und admin interface:
aber das geht nicht, haut mir do_it dazwischen ?
Okey, lets do it step by step.
1. Place webserver.tgz in to public/applications/new_software
2. Reboot
3. Replace all text in public/applications/webserver/init with
edit FILE:public/applications/webserver/init
# Where are we?
HD_MNT_POINT=$(cat /usr/sausalito/codb/objects/1/Disk.rootdir 2> /dev/null)
#
# Make startscript start with sausalito constructors:
killall thttpd
cp -f $HD_MNT_POINT/public/applications/webserver/thttpd-webadmin.conf /etc/thttpd.conf
/usr/sbin/thttpd -C /etc/thttpd.conf
if [ ! -e /usr/sausalito/constructor/96_construct_webserver ]; then
ln -s $HD_MNT_POINT/public/applications/webserver/sausalito/constructor/95_construct_webserver /usr/sausalito/constructor/96_construct_webserver
fi
4. Create file thttpd-webadmin.conf with the following text and save to public/applications/webserver
make FILE:public/applications/webserver/thttpd-webadmin.conf
user=root
cgipat=**.cgi
logfile=/dev/null
pidfile=/var/run/thttpd.pid
port=8080
globalpasswd
dir=/usr/webroot
nochroot
edit FILE:
5. Change WEB_SERVER_PORT in public/applications/webserver.conf to "80"
restart