zoneminder is a free open source video surveillance software under Linux. Many people have a lot of problems during installation, and they won't even install it. Today, Xiaobian will introduce you to the method of installing zoneminder for Linux. Let's learn together.
Installation:
1) LAMP installation. LAMP is the initial combination of Linux, Apache, MySql, and PHP. You can also install Apace2, Mysql, and PHP separately. This is not recommended. One is because of trouble, and the other is because some libraries may be missed.
sudo su
apt-get install tasksel
tasksel
Move the up and down keys to the left side of the Lamp, press the space bar to select, then press the Tab key Move the cursor to Enter and press Enter to start the installation. Other options do not need to be modified to avoid configuration errors. After that, you will be prompted to set the password of the MySql database and so on.
You can access the Apache server after installation. Enter localhost in your browser to see the prompt.
2) Update the system package.
sudo su
apt-get update
apt-get upgrade
apt-get dist-upgrade
3) Installing zoneminder
sudo apt-get install zoneminder
4) Install H.264 package (if the camera supports H.264 format)
sudo apt-get install x264
5) Modify the zoneminder startup function, let MySql start before the zoneminder starts.
sudo nano /etc/init.d/zoneminder
Add sleep 15
in front of the ”zmfix -a” statement Control+x exits, prompts select &ldquo ;Y” save changes.
6) Create a symbolic link between apache and zonemin.
First check to see if the /etc/apache2/conf.d folder exists. Normal Apache2 does not ship with this folder after installation. If it does, you do not need to execute the following instruction.
mkdir /etc/apache2/conf.d
Create a symbolic link.
ln -s /etc/zm/apache.conf /etc/apache2/conf.d /zoneminder.conf
ln -s /etc/zm/apache.conf /etc/apache2/conf-enabled/zoneminder.conf
/etc/init.d/apache2 force-reload
adduser www-data video
7) Install Cambozola, this plugin is used to support video streaming.
cd /usr/src && wget
http://www.andywilcock.com/code/cambozola/cambozola-latest.tar.gz
Remember Advance the second line of the URL to the first line.
tar -xzvf cambozola-latest.tar.gz
cp cambozola-0.935/dist/cambozola.jar /usr/share/zoneminder
will be in the second instruction The 0.935 is replaced with the version name obtained by the first decompression instruction.
8) Add SSL to Apache.
a2a2ensite default-ssl
enmod ssl
service apache2 restart
9) Now you can enter localhost/zm to access the main interface of zoneminder.
10) If the display is blank, there may be some Linux versions that do not support cgi (computer graphics interface), you need to modify the configuration.
sudo nano /etc/php5/apache2/php.ini
Modify the off of short_open_tag = Off to On
sudo a2enmod cgi
/etc /init.d/apache2 force-reload
11) Now you can add a camera.
The above is the introduction of the Linux installation of zoneminder. When installing, you must first install LAMP, then update the system package, and then enter the command, the installation is complete.
We all know that Linux system startup is very fast, so what content does the Linux
During the use of Linux systems, sometimes we will use some tools to backup or restore file permissi
A lot of Linux beginners cant find the apue.h file mentioned in the article when they study the book
IEs4Linux is an IE browser that can be used on Linux systems. If Google and other b
Linux system using additional permissions method
Steps for Linux installation and configuration of GoLang development environment
How to modify the color of the Linux system shell script output text
How to quickly clear Linux file content
Linux installation of Fedora through BFO Step
How Ubuntu System Uses Script to Upgrade Kernel
What should I do if the Linux system SSH timeout is disconnected?
Ubuntu dual system does not have a bootable device solution
CentOS system installation using Subversion method
Beginners how to quickly learn the find command under Linux
How to configure and install Node.js in Ubuntu development environment
Windows 7 features experience: security articles
Can Win8 upgrade Win10 for free? PC manufacturers are very dissatisfied with
Clear windows access LAN cache username and password
Convenient operation and remote management of Windows Server core
Win7 system can not start service error 1068 how to fix?
Adjust mouse cursor thickness skills under Windows 7
How to update Win10 10122 to Win10 10130?
Turn off system remote assistance function: Windows 7 system security settings