Moving to SVN from 1.24.0 and back?
Posted: Mon Feb 23, 2009 1:22 am
I am currently running version 1.24.0 and I want to update to the SVN version of ZoneMinder.
I am a beginner but I want to be able to switch back to 1.24.0 if I fail miserably in my first SVN attempt, so can somebody review my planned steps?
Note: Both the Apache and MySQL Servers are running and the ZoneMinder Server is stopped.
1 ) Make a MySQL backup of the zm Catalog (database)
2 ) Open a Konsole window.
3 ) Log in as root.
4 ) Navigate to the directory where I installed ZoneMinder 1.24.0 (~/<my_user_name>/Development/ZM/ZoneMinder-1.24.0)
5 ) Execute this:
6 ) Quit root
7 ) Navigate to ~/<my_user_name>/Development/ZM
8 ) Execute this:
9 ) Navigate to zm_svn (cd zm_svn)
10 ) Execute this:
11 ) login as root
12 ) Execute these:
13 ) Quit root
14 ) Execute this:
15 ) Execute this:
Now I probably will never want or need to go back to the original 1.24.0, but just in case I do here are the steps I would follow.
Stop the ZoneMinder server, then do these steps...
1 ) Restore my previous MySQL backup that I made in step 1 above
2 ) Open a Konsole window.
3 ) Log in as root.
4 ) Navigate to the directory where I installed ZoneMinder SVN (~/<my_user_name>/Development/ZM/zm_svn)
5 ) Execute this:
6 ) Quit root
7 ) Navigate to the directory where I installed ZoneMinder 1.24.0 (~/<my_user_name>/Development/ZM/ZoneMinder-1.24.0)
8 ) Execute this:
9 ) login as root
10 ) Execute these:
11 ) Quit root
12 ) Execute this:
And bingo I should be back to 1.24.0...
Does it look good?
Thanks for your time, Keith
I am a beginner but I want to be able to switch back to 1.24.0 if I fail miserably in my first SVN attempt, so can somebody review my planned steps?
Note: Both the Apache and MySQL Servers are running and the ZoneMinder Server is stopped.
1 ) Make a MySQL backup of the zm Catalog (database)
2 ) Open a Konsole window.
3 ) Log in as root.
4 ) Navigate to the directory where I installed ZoneMinder 1.24.0 (~/<my_user_name>/Development/ZM/ZoneMinder-1.24.0)
5 ) Execute this:
Code: Select all
make uninstall
7 ) Navigate to ~/<my_user_name>/Development/ZM
8 ) Execute this:
Code: Select all
svn co http://svn.zoneminder.com/svn/zm/trunk zm_svn (This will put the SVN in ~/<my_user_name>/Development/ZM/zm_svn)
10 ) Execute this:
Code: Select all
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-libarch=lib64 ZM_SSL_LIB=openssl --with-ffmpeg=/usr/local
12 ) Execute these:
Code: Select all
make
make install
14 ) Execute this:
Code: Select all
zmupdate.pl -f
Code: Select all
zmpkg.pl start
Stop the ZoneMinder server, then do these steps...
1 ) Restore my previous MySQL backup that I made in step 1 above
2 ) Open a Konsole window.
3 ) Log in as root.
4 ) Navigate to the directory where I installed ZoneMinder SVN (~/<my_user_name>/Development/ZM/zm_svn)
5 ) Execute this:
Code: Select all
make uninstall
7 ) Navigate to the directory where I installed ZoneMinder 1.24.0 (~/<my_user_name>/Development/ZM/ZoneMinder-1.24.0)
8 ) Execute this:
Code: Select all
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-libarch=lib64 ZM_SSL_LIB=openssl --with-ffmpeg=/usr/local
10 ) Execute these:
Code: Select all
make
make install
12 ) Execute this:
Code: Select all
zmpkg.pl start
Does it look good?
Thanks for your time, Keith