I've tried to follow the instructions in the following two links, but to no avail:
After finishing all the steps, I would restart, but then the computer hangs on the Ubuntu loading screen. I can Ctrl +Alt + F1 and log in via terminal, but obviously I need a GUI for a surveillance system, forcing me to reinstall Ubuntu.
Even if I don't restart, despite the fact that during the installation of Zoneminder, it showed that the program has started, I do not see it when going to either localhost (it shows the default apache page), or localhost/vm (shows a 404).
Not sure what I'm doing wrong, but I've got no idea what to do, or what other alternatives there are to ZM that I could try. Personally, I'm looking for whatever works. If I can't solve this problem easily, I would prefer to simply install an alternative program.
Also, I recall reading something about there being PHP/SQL issues for this release of Ubuntu due to deprecated code (I assume the switch over to PDO in PHP). That might explain things, but again, I'm not sure.
4 Answers
The links you provided were for Ubuntu 12.04. Please use: I have verified that this works on Ubuntu server. You will not get a GUI on the PC but you can access the ZM server from another PC. Running ZM on a Ubuntu desktop does work but there are some errors that pop up when you log into the desktop. From time to time well meaning folks will change my write ups and that confuses people who do not know a lot about Ubuntu or Linux. bb
Open the terminal and execute following commands
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgradeRestart Apache
sudo service apache2 restartAdd Zoneminder Repository
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:iconnor/zoneminder
sudo apt-get updateInstall Zoneminder
sudo apt-get install zoneminderCreate a file called zoneminder.conf
sudo -H gedit /etc/tmpfiles.d/zoneminder.confPaste or enter the following to above file
d /var/run/zm 0755 www-data www-dataThen save the file
Change permissions on the file
sudo chmod 755 /etc/tmpfiles.d/zoneminder.confCreate a symbolic link
sudo ln -s /etc/zm/apache.conf /etc/apache2/conf-enabled/zoneminder.confCreate a new user
sudo adduser www-data videoRestart Apache
sudo service apache2 restartDownload cambozola tar.gz file from the following link and extract it to the home folder
Then open the terminal and execute sudo cp cambozola-0.936/dist/cambozola.jar /usr/share/zoneminder
Then open the web browser
Now you can add monitor and make your webcam a cctv camera . If the camera doesn't work restart zoneminder using the start/stop button at the top of ZM -Console.
It just simple and easy to install zoneminder in ubuntu.
it is in the Official Ubuntu Repository.
sudo apt-get install zoneminder 2 If you do not have problems with your computer Here it worked! Zoneminder - Guida Installaz. passo x passo
If your system has got too many installations Zoneminder and LAMP (Linux Apache MySQL PHP)Azzerare e pulire tutto per DISINSTALLARE LAMP ( Linux, Apache, MySQL e PHP)
Or try on a virtual machine with VirtualBox clean, as was done in this guide.
1