Last active
February 2, 2016 15:26
-
-
Save kylejohnson/b869eef9d540aa21fe16 to your computer and use it in GitHub Desktop.
ZoneMinder Ubuntu 14.10 Build Commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install apache2 mysql-server php5 php5-mysql build-essential libmysqlclient-dev libssl-dev libbz2-dev libpcre3-dev libdbi-perl libarchive-zip-perl libdate-manip-perl libdevice-serialport-perl libmime-perl libpcre3 libwww-perl libdbd-mysql-perl libsys-mmap-perl yasm subversion automake autoconf libjpeg-turbo8-dev libjpeg-turbo8 apache2-mpm-prefork libapache2-mod-php5 php5-cli libtheora-dev libvorbis-dev libvpx-dev libx264-dev libmp4v2-dev wget git-core mysql-client cmake build-essential libpolkit-backend-1-dev libcurl3 libavfilter-dev libavformat-dev libavutil-dev libswscale-dev libavformat-dev libavutil-dev libavdevice-dev libcurl4-gnutls-dev libgnutls-dev | |
cmake -DZM_WEBDIR=/var/www/zm -DZM_CGIDIR=/usr/lib/cgi-bin -DZM_WEB_USER=www-data -DZM_WEB_GROUP=www-data -DZM_DB_USER=zm01 -DZM_DB_PASS=zm01 -DZM_DB_HOST=sql01.gnulnx.home -DZM_DB_NAME=zm01 | |
make | |
sudo make install | |
mysql -u zm01 -p -h sql01.gnulnx.home zm01 < zm_create.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment