<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.staging.zoneminder.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Johnleeb</id>
	<title>ZoneMinder Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.staging.zoneminder.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Johnleeb"/>
	<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/Special:Contributions/Johnleeb"/>
	<updated>2026-04-20T06:00:01Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=2077</id>
		<title>Installing using ZoneMinder RPMs for SuSE</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=2077"/>
		<updated>2007-07-29T03:09:51Z</updated>

		<summary type="html">&lt;p&gt;Johnleeb: /* using YaST */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSuSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 10.0, 10.1 and 10.2 architectures are i586 and x86_64.&lt;br /&gt;
&lt;br /&gt;
There are two versions available for every above listed [[SuSE]] version even one which requires only the packages that comes with the official [[SuSE]] release. 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/]) and do not lack of this features. They can be identified by the &amp;quot;mp&amp;quot; in the RPM name, for example ZoneMinder-1.22.3-0.mp.11.i586.rpm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation of [[SuSE|openSuSE]] ==&lt;br /&gt;
Install [[SuSE]] on any supported way on your system. Detailed installation instruction are listed at [http://en.opensuse.org/Released_Version].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation of [[ZoneMinder]] ==&lt;br /&gt;
=== using [[YaST]] ===&lt;br /&gt;
The best and easiest way is to install the [[ZoneMinder]] package via [[YaST]]. First you have to find out which [[SuSE]] version you are using. The urls to the different repositories are:&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.0/&lt;br /&gt;
&lt;br /&gt;
Now you have to add the adequate repositories to [[YaST]]. Start [[YaST]] and go to &amp;quot;installation source&amp;quot;. Select &amp;quot;add&amp;quot; and choose &amp;quot;http&amp;quot; as protocol. Enter as server &amp;quot;liquid-co.de&amp;quot; and as path &amp;quot;pub/suse/repositories/10.x&amp;quot;. For more details on how to add package repositories to [[YaST]] go to [http://en.opensuse.org/Add_Package_Repositories_to_YaST].&lt;br /&gt;
&lt;br /&gt;
Optional you can add one [[packman]] repository from [ftp://packman.links2linux.de/pub/packman/MIRRORS] so that it is possible to install the RPM build against the [[packman]] RPMs with mjpeg streaming support and dependencies to ffmpeg.&lt;br /&gt;
&lt;br /&gt;
Now go to [[YaST]]-&amp;gt;Softwaremanagement search for [[ZoneMinder]] and select the entry. After the selection the &amp;quot;version&amp;quot; tab is available, so go to it and choose your wanted version (keep in mind that the RPM which contains the &amp;quot;mp&amp;quot; in the RPM name needs the packman repository added to get installed). Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
*** Warning:  You can only access the NON mp version this way.  Even though both are in the repository Yast only sees and displays the non-mp version.  YUM may not work either.  I managed to make it work with smart, which magically pulled libraries out of some hat when they were not in any of the standard repositories including packman.&lt;br /&gt;
&lt;br /&gt;
=== using [[Yum]] ===&lt;br /&gt;
You must have already installed [[Yum]] to use this way of installation. [[Yum]] easily can be installed via [[Yast]]. Choose the adequate link for your [[SuSE]] version above and download the ZoneMinder.repo file. (http://www.liquid-co.de/pub/suse/repositories/10.x/ZoneMinder.repo) and copy it to /etc/yum.repos.d/. Then run:&lt;br /&gt;
&lt;br /&gt;
yum install ZoneMinder&lt;br /&gt;
&lt;br /&gt;
which will list you the two available versions of [[ZoneMinder]]. Choose your wanted version and install [[ZoneMinder]]. All required packages will be installed automaticly.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; To install the RPM build against the [[packman]] RPMs with mjpeg streaming support and dependencies to ffmpeg you must have added the packman repository to Yum before.&lt;br /&gt;
&lt;br /&gt;
=== Manual installation through rpm command ===&lt;br /&gt;
Download your choosen RPM from the listed repositories. Start root console and run:&lt;br /&gt;
&lt;br /&gt;
 rpm -ivh &amp;lt;ZoneMinder package&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; When you choose this way you have to resolve the package dependencies all by yourself. So the other methods are recommended.&lt;br /&gt;
&lt;br /&gt;
== Setting up [[MySQL]] and [[Apache]] ==&lt;br /&gt;
After you successfully installed all RPMs start root console. Run the following command to start [[Apache]] and [[MySQL]]:&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
 rcmysql start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] follow the steps on the screen to setup a [[MySQL]] root password. When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
 chkconfig apache2 on&lt;br /&gt;
 chkconfig mysql on&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; Of course you can also use [[YaST]] Runleveleditor for this task.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Initializing [[ZoneMinder]] ==&lt;br /&gt;
Log in into root console and run:&lt;br /&gt;
 zm_database_init&lt;br /&gt;
&lt;br /&gt;
and follow the steps on the screen. This script will setup the [[ZoneMinder]] database, creating the zm_admin user for database access and update the /etc/zom.conf with the new set password for zm_admin user. Example output:&lt;br /&gt;
 zm_database_init&lt;br /&gt;
 INFO: when db is correctly installed and you just reinstalled rpm, the answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 new install create db&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]:&lt;br /&gt;
 enter mysql root password:&lt;br /&gt;
 create user zm_admin for zoneminder? [Y/n]:&lt;br /&gt;
 Enter new passwd for user zm_admin:&lt;br /&gt;
 retype password:&lt;br /&gt;
 &lt;br /&gt;
 should i update config file with new passwd? [Y/n]:&lt;br /&gt;
 removing lock file&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
to start [[ZoneMinder.]] When you decided to start [[ZoneMinder]] at boot time then enter:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
This command will start [[ZoneMinder]] on boot time after apache2 and mysql are started.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After successfully installation the ZoneMinder web interface can be reached at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; When trying to run rczm start without running zm_database_init the start will fail.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Update [[ZoneMinder]] ==&lt;br /&gt;
When new version of [[ZoneMinder]] or of the RPMs are available you might want to update your existing installation. You can use [[YaST]] again for this task. Before you enter [[YaST]] run &amp;quot;rczm stop&amp;quot; to stop [[ZoneMinder]]. Go to [[YaST]] -&amp;gt; Softwaremanagement and search for [[ZoneMinder]]. Switch the checkbox to &amp;quot;upgrade&amp;quot; (look for icon explaining in [[YaST]] or in textmode for &amp;quot;&amp;gt;&amp;quot;). Choose your wanted version as described in [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]] and proceed. After installation run zm_database_init and follow the steps on the screen to update your database.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; When upgrading without [[ZoneMinder]] version change, this happens for example 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 &amp;quot;no&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; If not stopping [[ZoneMinder]] (rczm stop) before upgrading you might get an information box with &amp;quot;... failed&amp;quot;. you can ignore this box, but after installation ZoneMinder will be stopped.&lt;br /&gt;
&lt;br /&gt;
== Upgrade from manual installation to RPM ==&lt;br /&gt;
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 listed in [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Uninstalling [[ZoneMinder]] ==&lt;br /&gt;
If you are uninstalling ZoneMiner the database will be untouched, the recorded events and logfiles will reside on the disk and the zm.conf file in /etc will be copied to zm.conf.rpmsave.&lt;/div&gt;</summary>
		<author><name>Johnleeb</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=2076</id>
		<title>Installing using ZoneMinder RPMs for SuSE</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=2076"/>
		<updated>2007-07-28T23:29:25Z</updated>

		<summary type="html">&lt;p&gt;Johnleeb: /* using YaST */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSuSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 10.0, 10.1 and 10.2 architectures are i586 and x86_64.&lt;br /&gt;
&lt;br /&gt;
There are two versions available for every above listed [[SuSE]] version even one which requires only the packages that comes with the official [[SuSE]] release. 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/]) and do not lack of this features. They can be identified by the &amp;quot;mp&amp;quot; in the RPM name, for example ZoneMinder-1.22.3-0.mp.11.i586.rpm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation of [[SuSE|openSuSE]] ==&lt;br /&gt;
Install [[SuSE]] on any supported way on your system. Detailed installation instruction are listed at [http://en.opensuse.org/Released_Version].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation of [[ZoneMinder]] ==&lt;br /&gt;
=== using [[YaST]] ===&lt;br /&gt;
The best and easiest way is to install the [[ZoneMinder]] package via [[YaST]]. First you have to find out which [[SuSE]] version you are using. The urls to the different repositories are:&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.0/&lt;br /&gt;
&lt;br /&gt;
Now you have to add the adequate repositories to [[YaST]]. Start [[YaST]] and go to &amp;quot;installation source&amp;quot;. Select &amp;quot;add&amp;quot; and choose &amp;quot;http&amp;quot; as protocol. Enter as server &amp;quot;liquid-co.de&amp;quot; and as path &amp;quot;pub/suse/repositories/10.x&amp;quot;. For more details on how to add package repositories to [[YaST]] go to [http://en.opensuse.org/Add_Package_Repositories_to_YaST].&lt;br /&gt;
&lt;br /&gt;
Optional you can add one [[packman]] repository from [ftp://packman.links2linux.de/pub/packman/MIRRORS] so that it is possible to install the RPM build against the [[packman]] RPMs with mjpeg streaming support and dependencies to ffmpeg.&lt;br /&gt;
&lt;br /&gt;
Now go to [[YaST]]-&amp;gt;Softwaremanagement search for [[ZoneMinder]] and select the entry. After the selection the &amp;quot;version&amp;quot; tab is available, so go to it and choose your wanted version (keep in mind that the RPM which contains the &amp;quot;mp&amp;quot; in the RPM name needs the packman repository added to get installed). Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
*** Warning:  You can only access the NON mp version this way.  Even though both are in the repository Yast only sees and displays the non-mp version.  YUM may not work either.&lt;br /&gt;
&lt;br /&gt;
=== using [[Yum]] ===&lt;br /&gt;
You must have already installed [[Yum]] to use this way of installation. [[Yum]] easily can be installed via [[Yast]]. Choose the adequate link for your [[SuSE]] version above and download the ZoneMinder.repo file. (http://www.liquid-co.de/pub/suse/repositories/10.x/ZoneMinder.repo) and copy it to /etc/yum.repos.d/. Then run:&lt;br /&gt;
&lt;br /&gt;
yum install ZoneMinder&lt;br /&gt;
&lt;br /&gt;
which will list you the two available versions of [[ZoneMinder]]. Choose your wanted version and install [[ZoneMinder]]. All required packages will be installed automaticly.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; To install the RPM build against the [[packman]] RPMs with mjpeg streaming support and dependencies to ffmpeg you must have added the packman repository to Yum before.&lt;br /&gt;
&lt;br /&gt;
=== Manual installation through rpm command ===&lt;br /&gt;
Download your choosen RPM from the listed repositories. Start root console and run:&lt;br /&gt;
&lt;br /&gt;
 rpm -ivh &amp;lt;ZoneMinder package&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; When you choose this way you have to resolve the package dependencies all by yourself. So the other methods are recommended.&lt;br /&gt;
&lt;br /&gt;
== Setting up [[MySQL]] and [[Apache]] ==&lt;br /&gt;
After you successfully installed all RPMs start root console. Run the following command to start [[Apache]] and [[MySQL]]:&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
 rcmysql start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] follow the steps on the screen to setup a [[MySQL]] root password. When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
 chkconfig apache2 on&lt;br /&gt;
 chkconfig mysql on&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; Of course you can also use [[YaST]] Runleveleditor for this task.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Initializing [[ZoneMinder]] ==&lt;br /&gt;
Log in into root console and run:&lt;br /&gt;
 zm_database_init&lt;br /&gt;
&lt;br /&gt;
and follow the steps on the screen. This script will setup the [[ZoneMinder]] database, creating the zm_admin user for database access and update the /etc/zom.conf with the new set password for zm_admin user. Example output:&lt;br /&gt;
 zm_database_init&lt;br /&gt;
 INFO: when db is correctly installed and you just reinstalled rpm, the answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 new install create db&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]:&lt;br /&gt;
 enter mysql root password:&lt;br /&gt;
 create user zm_admin for zoneminder? [Y/n]:&lt;br /&gt;
 Enter new passwd for user zm_admin:&lt;br /&gt;
 retype password:&lt;br /&gt;
 &lt;br /&gt;
 should i update config file with new passwd? [Y/n]:&lt;br /&gt;
 removing lock file&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
to start [[ZoneMinder.]] When you decided to start [[ZoneMinder]] at boot time then enter:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
This command will start [[ZoneMinder]] on boot time after apache2 and mysql are started.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After successfully installation the ZoneMinder web interface can be reached at http://localhost/zm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; When trying to run rczm start without running zm_database_init the start will fail.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Update [[ZoneMinder]] ==&lt;br /&gt;
When new version of [[ZoneMinder]] or of the RPMs are available you might want to update your existing installation. You can use [[YaST]] again for this task. Before you enter [[YaST]] run &amp;quot;rczm stop&amp;quot; to stop [[ZoneMinder]]. Go to [[YaST]] -&amp;gt; Softwaremanagement and search for [[ZoneMinder]]. Switch the checkbox to &amp;quot;upgrade&amp;quot; (look for icon explaining in [[YaST]] or in textmode for &amp;quot;&amp;gt;&amp;quot;). Choose your wanted version as described in [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]] and proceed. After installation run zm_database_init and follow the steps on the screen to update your database.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; When upgrading without [[ZoneMinder]] version change, this happens for example 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 &amp;quot;no&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; If not stopping [[ZoneMinder]] (rczm stop) before upgrading you might get an information box with &amp;quot;... failed&amp;quot;. you can ignore this box, but after installation ZoneMinder will be stopped.&lt;br /&gt;
&lt;br /&gt;
== Upgrade from manual installation to RPM ==&lt;br /&gt;
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 listed in [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Uninstalling [[ZoneMinder]] ==&lt;br /&gt;
If you are uninstalling ZoneMiner the database will be untouched, the recorded events and logfiles will reside on the disk and the zm.conf file in /etc will be copied to zm.conf.rpmsave.&lt;/div&gt;</summary>
		<author><name>Johnleeb</name></author>
	</entry>
</feed>