Code: Select all
sudo /etc/init.d/apache2 reload
Code: Select all
sudo /etc/init.d/apache2 reload
That bieng a question I am still mulling over. Looking at other packages, squirrelmail leaves it up to the admin to do the link, mediawiki does it for you. I may put it in as a postinst question . . .rjewell wrote:So, that gets zm up and running! I think this was my big problem because I remember zm "installing" in previous attempts and I was just confused why the code wasn't there and the browser didn't work. Can/should the installer do this?
Code: Select all
root@ubuntu:/home/ryan/Desktop# dpkg --install zoneminder_1.22.3-6_i386.deb
Selecting previously deselected package zoneminder.
(Reading database ... 112152 files and directories currently installed.)
Unpacking zoneminder (from zoneminder_1.22.3-6_i386.deb) ...
Setting up zoneminder (1.22.3-6) ...
Starting ZoneMinder: Can't chdir to '/var/www/zm/html': No such file or directory at /usr/local/share/perl/5.8.7/ZoneMinder/Debug.pm line 349
ZoneMinder::Debug::Fatal('Can\'t chdir to \'/var/www/zm/html\': No such file or directory') called at /usr/bin/zmpkg.pl line 95
failure
invoke-rc.d: initscript zoneminder, action "start" failed.
dpkg: error processing zoneminder (--install):
subprocess post-installation script returned error exit status 255
Errors were encountered while processing:
zoneminder
Code: Select all
sudo dpkg -i zoneminder_1.22.3-6_i386.deb
??????????????????rjewell wrote: Finally, I learned I also have to create the startup script. It would be nice if that were in the package too.