THogland
Joined: 26 Sep 2005 Posts: 33
|
Posted: Sat Oct 01, 2005 7:32 pm Post subject: Notes on Debian 3.1 installation |
|
|
The standard installation notes worked pretty well for me, but like most things Linux, there is the possibility that you'll need to use a moderate amount of common sense. So, here's how I made it all happen. Note that this was done on a 2.53Ghz Celeron server with 512MB of memory, and while there's no GUI running it does have a typical load of web components running – apache, postfix, procmail, etc. - and I had no conflicts with other software.
Prerequisites:
As listed:
libz(prepackaged)
libpng (prepackaged)
libgd (packaged as libgd2-xpm or libgd2-noxpm, pick one)
radlib (downloaded and installed)
libcurl (packaged as libcurl3)
Debian “extras”:
libgd-dev (dev libraries – packaged as libgd2-xpm-dev or libgd2-noxpm-dev, pick the one matching the above libgd)
libcurl-dev (dev libraries – packaged as libcurl3-dev)
lukemftp (prepackaged Debian version of tnftp – needed for FTP uploads)
Install all the packaged software first, then download and install radlib as directed – it depends on a couple of these packages. Once that is finished, install wview by following the directions – it should work fine, up to the “copy the startup script”. The docs don't mention it as of now, but new in 1.81 is a Debian script; if you are using an earlier one and for some reason don't want to download 1.81, or if for some odd reason the included script doesn't work, I'll be posting my script here. It uses Debian's start-stop-daemon command to control things, which isn't required (and isn't used by the included script), but it does work. Also, I commented out pieces I didn't intend to use – I don't use SSH, for example, so mine has the start for $SSHD_BIN commented out. This isn't strictly needed – if the .conf file is missing the daemon will exit with no ongoing problems – but it keeps the startup and log cleaner, and since I spent a lot of time tailing the message log while tweaking this I did it.
Finally, on my system (multi-user server, no GUI) I boot to runlevel 2, so link this to /etc/rc2.d:
fred:/mnt/wxdata# ln -s /etc/init.d/wview /etc/rc2.d/S95wview
(Adjust to match your system – check using the runlevel command.)
Any changes to config files don't seem to be reread until that particular daemon is restarted, which under Debian can be done this way (using FTP for example):
fred:/mnt/wxdata# start-stop-daemon --stop --exec /usr/local/bin/wviewftpd
fred:/mnt/wxdata# start-stop-daemon --start --exec /usr/local/bin/wviewftpd
If you need to restart wviewd, remember that everything depends on this, so don't try restarting it alone! Use
fred:/mnt/wxdata# /etc/init.d/wview stop
fred:/mnt/wxdata# /etc/init.d/wview start
Good luck! |
|