from the console
Disable SELinux!!!
Code: Select all
yum install mysql-server mysql-devel php-mysql pcre-devel perl-DateManip perl-libwww-perl perl-Device-SerialPort perl-MIME-Lite perl-Archive-Zip
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
cd ffmpeg/
./configure
make
make install
make install-libs
cd ..
chkconfig --add mysqld
chkconfig --level 345 mysqld on
chkconfig --level 345 httpd on
service mysqld start
service httpd start
yum install gnutls-devel gnutls-utils
yum install libjpeg-devel
wget http://dag.wieers.com/rpm/packages/perl-PHP-Serialization/perl-PHP-Serialization-0.27-1.el5.rf.noarch.rpm
rpm -i perl-PHP-Serialization-0.27-1.el5.rf.noarch.rpm
wget http://www.zoneminder.com/downloads/ZoneMinder-1.23.1.tar.gz
tar xvfz ZoneMinder-1.23.1.tar.gz
cd ZoneMinder-1.23.1
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpass
make
make install
install scripts/zm /etc/init.d/
chkconfig --add zm
mysql mysql < db/zm_create.sql
mysql mysql
grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass';
quit
mysqladmin reload
service zm start
Michael Smith