Smooth upgrade from 1.23.3 to 1.24.1 on gentoo
Posted: Tue Mar 31, 2009 11:24 pm
Smooth upgrade from 1.23.3 to 1.24.1
Just want to repeat me experiences with gentoo
First:
I stoped zoneminder synced package list removed 1.23.3 version of zoneminder, and reinstalled the new version of ffmpeg
Second:
backup mysql from phpmyadmin
(although I did not need it)
Third:
I read the manual for am 3 times trying to find what to "./configure" it with (yes i missed the section on compiling twice)
Anyways I ended up with
NOTE: I turned of mapped memory because I did not see the right perl module in portage
Forth:
Changed zm.conf so it would connect to the db
I changed ZM_DB_USER and ZM_DB_PASS
Used zmupdate which failed (i dont know why)
So used php my admin to run the zoneminder database update sql.
Fifth:
Checked to see if events came up and i could make videos.
Everything worked as expected and even mpeg streaming worked correctly
Started zm
Sixth:
Modified zmtrigger as shown HERE
restarted zoneminder
ENDNOTES:
Seams much faster than before
Mpeg Streaming never worked for me before this.
Compiling is easier than I predicted for a complex programs as this
scales much better in cell phone(blackberry anyways)
Thanks ZoneMinder community for helping get me started with zoneminder and getting things set up in 1.23.3 version.
Just want to repeat me experiences with gentoo
First:
I stoped zoneminder synced package list removed 1.23.3 version of zoneminder, and reinstalled the new version of ffmpeg
Code: Select all
/etc/init.d/zoneminder stop
emerge --sync
emerge --unmerge zoneminder
emerge ffmpeg
emerge gcc
backup mysql from phpmyadmin
(although I did not need it)
Third:
I read the manual for am 3 times trying to find what to "./configure" it with (yes i missed the section on compiling twice)
Anyways I ended up with
Code: Select all
./configure --with-mysql --with-ffmpeg=/usr/bin/ffmpeg --with-webuser=apache --with-webgroup=apache --with-webdir=/var/www/zoneminder/htdocs/ --with-cgidir=/var/www/zoneminder/htdocs/cgi-bin/ --enable-mmap=no
Code: Select all
make install
Forth:
Changed zm.conf so it would connect to the db
Code: Select all
nano /usr/local/etc/zm.conf
Used zmupdate which failed (i dont know why)
So used php my admin to run the zoneminder database update sql.
Fifth:
Checked to see if events came up and i could make videos.
Everything worked as expected and even mpeg streaming worked correctly
Started zm
Sixth:
Modified zmtrigger as shown HERE
restarted zoneminder
ENDNOTES:
Seams much faster than before
Mpeg Streaming never worked for me before this.
Compiling is easier than I predicted for a complex programs as this
scales much better in cell phone(blackberry anyways)
Thanks ZoneMinder community for helping get me started with zoneminder and getting things set up in 1.23.3 version.