hi all,
a while ago i decided to build zonmeinder packages for suse and now they are finished
available rpms:
packages are available for x86_64 and i586 architectures and for suse 10.0, 10.1 and 10.2.
there are two versions available for every mentioned suse release even one which requires only the packages that comes with the official suse release ZoneMinder-1.22.3-11.x86_64.rpm or ZoneMinder-1.22.3-11.i586.rpm these packages have some missing features of zoneminder like mjpeg streaming from remote cameras. the other version is build against the packages from packman (http://packman.links2linux.de/), ZoneMinder-1.22.3-0.mp.11.i586.rpm or ZoneMinder-1.22.3-0.mp.11.x86_64.rpm these packages have dependencies to some packman rpms, but its is possible to export events as mpeg (via ffmpeg) and do mjpeg streaming.
installation:
the best and easiest way is to install the ZoneMinder package via yast. the rpms are available through yum repository. so choose your suse version below.
suse 10.2:
http://www.liquid-co.de/pub/suse/repositories/10.2/
suse 10.1:
http://www.liquid-co.de/pub/suse/repositories/10.1/
suse 10.0:
http://www.liquid-co.de/pub/suse/repositories/10.0/
after that start yast and go to "installation source". select add and choose http as protocol. enter as server "liquid-co.de" and as path "pub/suse/repositories/10.x". for more details on how to add package repositories to yast go to http://en.opensuse.org/Add_Package_Repositories_to_YaST. optional you can add one packman repo from ftp://packman.links2linux.de/pub/packman/MIRRORS so that it is easy possible to install the package that has more features as described above.
after you successfully added the new installation source go to yast package management and search for zoneminder. after you selected the package you can go to the versions tab and select the wanted version. all other required packages will be resolved due to dependencies.
after successfully installation log in as root in console and start apache (rcapache2 start) and mysql (rcmysql start). when mysql was not installed before follow the recommondations to set up an mysql root password (for security reasons). to start apache2 and mysql on boot do „chkconfig mysql on“ and „chkconfig apache2 on“.
then run as root zm_database_init and follow the steps on the screen. this script will install the zoneminder database, create the zoneminder database user and adjust the config in /etc/zm.conf to the new created user. after that you are able to start zoneminder via "rczm start". to start zoneminder on boot enter "chkconfig zm on". so thats all
upgrading:
when upgrading without zoneminder version change, this happens when upgrading from one rpm version to a later rpm version (for example from ZoneMinder-1.22.3-10.x86_64.rpm to ZoneMinder-1.22.3-11.x86_64.rpm ) then the database is already installed and no database upgrade is necessary. in this case, when you will be asked weather to create zm database or to create the zoneminder database user, you have to answer all questions from the zm_database_init script with "no".
when the zoneminder version change then the zm_database_init script will perform a database upgrade. to do so, follow the steps on the screen.
note: when upgrading from a manual installation from zoneminder to any rpm version remove all related zoneminder files except the config file /etc/zm.conf. then install the rpm and follow the steps above.
the goal of the zm_database init script is to make the installation as easy as possible and not to care about to performing an upgrade or a new installation.
Have a lot of fun
monex
zoneminder rpms for suse
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
hi,
first thing you should do is to check that the rpm installation was successfull. you can check that the rpm is installed with (in console):
when no result is returned (in the above example the result is ZoneMinder-1.22.3-0.mp.15) then the rpm is not installed, so the installation failed.
btw. which version did you choose for installation (mp or normal, i586 or x86_64)?
did you install the package via yast, yum or commandline?
when the rpm is not installed, then try an installation from commandline:
download the package manual (http://liquid-co.de/pub/suse/repositori ... /repodata/), open commandline and run post the output here. hopefully then it will be possible to see why the installation failed earlier.
hope this helps.
monex
first thing you should do is to check that the rpm installation was successfull. you can check that the rpm is installed with (in console):
Code: Select all
$> rpm -q ZoneMinder
ZoneMinder-1.22.3-0.mp.15
btw. which version did you choose for installation (mp or normal, i586 or x86_64)?
did you install the package via yast, yum or commandline?
when the rpm is not installed, then try an installation from commandline:
download the package manual (http://liquid-co.de/pub/suse/repositori ... /repodata/), open commandline and run
Code: Select all
$> rpm -ivh <ZoneMinder Package> --test
hope this helps.
monex