<?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=Monex</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=Monex"/>
	<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/Special:Contributions/Monex"/>
	<updated>2026-04-19T21:52:18Z</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=16208</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=16208"/>
		<updated>2020-07-31T19:04:35Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* using one-click-install (openSUSE &amp;gt;= 10.3) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSUSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSUSE 42.3 and openSUSE 15.0 architectures are 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 ffmpeg support and mjpeg streaming from remote cameras. The other version is build against the packages from [[VLC]] ([http://www.videolan.org/vlc/download-suse.html]) and do not lack these features. They can be identified by the &amp;quot;MP&amp;quot; in the package name, for example ZoneMinder-MP-1.28.1-1.1.x86_64.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|openSUSE Leap]] 15.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/15.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 15.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/15.1/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated openSUSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.3:&lt;br /&gt;
Last ZoneMinder version: 1.25.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.4:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.1:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.2:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.3:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 13.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/13.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 13.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/13.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/42.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/42.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 15.0:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/15.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/42.3/&lt;br /&gt;
&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. However, newer versions of the ZoneMinder-MP package require the VLC repository.&lt;br /&gt;
&lt;br /&gt;
Now go to [[YaST]]-&amp;gt;Softwaremanagement search for [[ZoneMinder]] and select the version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the VLC repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ===&lt;br /&gt;
[[SuSE|openSUSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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. Before you proceed to start [[Apache]] you should verify the timezone (date.timezone) in /etc/php5/apache2/php.ini. If the timezone isn&amp;#039;t configured properly the hashed based authentication might not work. For a list of valid timezones have a look at [http://www.php.net/manual/en/timezones.php].&lt;br /&gt;
&lt;br /&gt;
Now start [[Apache]] and [[MySQL]] by issuing the following commands:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start mysql.service&lt;br /&gt;
 systemctl start apache2.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rcmysql start&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] it is highly recommended to set up a root password after you&amp;#039;ve started [[MySQL]] by invoking mysql_secure_installation.&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 In order to log into MySQL to secure it, we&amp;#039;ll need the current&lt;br /&gt;
 password for the root user.  If you&amp;#039;ve just installed MySQL, and&lt;br /&gt;
 you haven&amp;#039;t set the root password yet, the password will be blank,&lt;br /&gt;
 so you should just press enter here.&lt;br /&gt;
 &lt;br /&gt;
 Enter current password for root (enter for none):&lt;br /&gt;
 OK, successfully used password, moving on...&lt;br /&gt;
 &lt;br /&gt;
 Setting the root password ensures that nobody can log into the MySQL&lt;br /&gt;
 root user without the proper authorisation.&lt;br /&gt;
 &lt;br /&gt;
 Set root password? [Y/n] &lt;br /&gt;
 New password: &lt;br /&gt;
 Re-enter new password: &lt;br /&gt;
 Password updated successfully!&lt;br /&gt;
 Reloading privilege tables..&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 By default, a MySQL installation has an anonymous user, allowing anyone&lt;br /&gt;
 to log into MySQL without having to have a user account created for&lt;br /&gt;
 them.  This is intended only for testing, and to make the installation&lt;br /&gt;
 go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
 production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove anonymous users? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Normally, root should only be allowed to connect from &amp;#039;localhost&amp;#039;.  This&lt;br /&gt;
 ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 By default, MySQL comes with a database named &amp;#039;test&amp;#039; that anyone can&lt;br /&gt;
 access.  This is also intended only for testing, and should be removed&lt;br /&gt;
 before moving into a production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? [Y/n] &lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
 will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Cleaning up...&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 All done!  If you&amp;#039;ve completed all of the above steps, your MySQL&lt;br /&gt;
 installation should now be secure.&lt;br /&gt;
 &lt;br /&gt;
 Thanks for using MySQL!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable mysql.service&lt;br /&gt;
 systemctl enable apache2.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&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;
== 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, then answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 Enter mysql root password: &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &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;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 database successfully initialized&lt;br /&gt;
 you can now start ZonMinder with rczmstart or systemctl start zm.service&lt;br /&gt;
 removing lock file&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&lt;br /&gt;
&lt;br /&gt;
Then run the following command to start [[ZoneMinder]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start zm.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
To enable the start of [[ZoneMinder]] at boot enter:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable zm.service&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
After this [[ZoneMinder]] will start at boot after apache2 and mysql were 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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSUSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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;br /&gt;
&lt;br /&gt;
== Info on Shared Memory ==&lt;br /&gt;
Since package version 1.25.0-44 [[ZoneMinder]] is compiled with mmap enabled. This should simplify the shared memory handling by using /dev/shm. The available space by default is half of the available RAM. &lt;br /&gt;
&lt;br /&gt;
To adjust the shared memory settings for prior versions have a look at the [[FAQ#What_does_a_.27Can.27t_shmget:_Invalid_argument.27_error_in_my_logs_mean.3F_and_my_cameras_won.27t_display_video_at_higher_resolutions.|FAQ Section]].&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=16207</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=16207"/>
		<updated>2020-07-31T19:04:13Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* Installation of ZoneMinder */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSUSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSUSE 42.3 and openSUSE 15.0 architectures are 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 ffmpeg support and mjpeg streaming from remote cameras. The other version is build against the packages from [[VLC]] ([http://www.videolan.org/vlc/download-suse.html]) and do not lack these features. They can be identified by the &amp;quot;MP&amp;quot; in the package name, for example ZoneMinder-MP-1.28.1-1.1.x86_64.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|openSUSE Leap]] 15.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/15.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 15.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/15.1/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated openSUSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.3:&lt;br /&gt;
Last ZoneMinder version: 1.25.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.4:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.1:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.2:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.3:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 13.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/13.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 13.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/13.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/42.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/42.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 15.0:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/15.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/42.3/&lt;br /&gt;
&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. However, newer versions of the ZoneMinder-MP package require the VLC repository.&lt;br /&gt;
&lt;br /&gt;
Now go to [[YaST]]-&amp;gt;Softwaremanagement search for [[ZoneMinder]] and select the version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the VLC repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSUSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSUSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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. Before you proceed to start [[Apache]] you should verify the timezone (date.timezone) in /etc/php5/apache2/php.ini. If the timezone isn&amp;#039;t configured properly the hashed based authentication might not work. For a list of valid timezones have a look at [http://www.php.net/manual/en/timezones.php].&lt;br /&gt;
&lt;br /&gt;
Now start [[Apache]] and [[MySQL]] by issuing the following commands:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start mysql.service&lt;br /&gt;
 systemctl start apache2.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rcmysql start&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] it is highly recommended to set up a root password after you&amp;#039;ve started [[MySQL]] by invoking mysql_secure_installation.&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 In order to log into MySQL to secure it, we&amp;#039;ll need the current&lt;br /&gt;
 password for the root user.  If you&amp;#039;ve just installed MySQL, and&lt;br /&gt;
 you haven&amp;#039;t set the root password yet, the password will be blank,&lt;br /&gt;
 so you should just press enter here.&lt;br /&gt;
 &lt;br /&gt;
 Enter current password for root (enter for none):&lt;br /&gt;
 OK, successfully used password, moving on...&lt;br /&gt;
 &lt;br /&gt;
 Setting the root password ensures that nobody can log into the MySQL&lt;br /&gt;
 root user without the proper authorisation.&lt;br /&gt;
 &lt;br /&gt;
 Set root password? [Y/n] &lt;br /&gt;
 New password: &lt;br /&gt;
 Re-enter new password: &lt;br /&gt;
 Password updated successfully!&lt;br /&gt;
 Reloading privilege tables..&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 By default, a MySQL installation has an anonymous user, allowing anyone&lt;br /&gt;
 to log into MySQL without having to have a user account created for&lt;br /&gt;
 them.  This is intended only for testing, and to make the installation&lt;br /&gt;
 go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
 production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove anonymous users? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Normally, root should only be allowed to connect from &amp;#039;localhost&amp;#039;.  This&lt;br /&gt;
 ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 By default, MySQL comes with a database named &amp;#039;test&amp;#039; that anyone can&lt;br /&gt;
 access.  This is also intended only for testing, and should be removed&lt;br /&gt;
 before moving into a production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? [Y/n] &lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
 will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Cleaning up...&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 All done!  If you&amp;#039;ve completed all of the above steps, your MySQL&lt;br /&gt;
 installation should now be secure.&lt;br /&gt;
 &lt;br /&gt;
 Thanks for using MySQL!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable mysql.service&lt;br /&gt;
 systemctl enable apache2.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&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;
== 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, then answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 Enter mysql root password: &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &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;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 database successfully initialized&lt;br /&gt;
 you can now start ZonMinder with rczmstart or systemctl start zm.service&lt;br /&gt;
 removing lock file&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&lt;br /&gt;
&lt;br /&gt;
Then run the following command to start [[ZoneMinder]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start zm.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
To enable the start of [[ZoneMinder]] at boot enter:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable zm.service&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
After this [[ZoneMinder]] will start at boot after apache2 and mysql were 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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSUSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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;br /&gt;
&lt;br /&gt;
== Info on Shared Memory ==&lt;br /&gt;
Since package version 1.25.0-44 [[ZoneMinder]] is compiled with mmap enabled. This should simplify the shared memory handling by using /dev/shm. The available space by default is half of the available RAM. &lt;br /&gt;
&lt;br /&gt;
To adjust the shared memory settings for prior versions have a look at the [[FAQ#What_does_a_.27Can.27t_shmget:_Invalid_argument.27_error_in_my_logs_mean.3F_and_my_cameras_won.27t_display_video_at_higher_resolutions.|FAQ Section]].&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=16083</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=16083"/>
		<updated>2020-04-14T18:36:08Z</updated>

		<summary type="html">&lt;p&gt;Monex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSUSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSUSE 42.3 and openSUSE 15.0 architectures are 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 ffmpeg support and mjpeg streaming from remote cameras. The other version is build against the packages from [[VLC]] ([http://www.videolan.org/vlc/download-suse.html]) and do not lack these features. They can be identified by the &amp;quot;MP&amp;quot; in the package name, for example ZoneMinder-MP-1.28.1-1.1.x86_64.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|openSUSE Leap]] 15.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/15.1/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated openSUSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.3:&lt;br /&gt;
Last ZoneMinder version: 1.25.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.4:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.1:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.2:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.3:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 13.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/13.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 13.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/13.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/42.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/42.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 15.0:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/15.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/42.3/&lt;br /&gt;
&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. However, newer versions of the ZoneMinder-MP package require the VLC repository.&lt;br /&gt;
&lt;br /&gt;
Now go to [[YaST]]-&amp;gt;Softwaremanagement search for [[ZoneMinder]] and select the version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the VLC repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSUSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSUSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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. Before you proceed to start [[Apache]] you should verify the timezone (date.timezone) in /etc/php5/apache2/php.ini. If the timezone isn&amp;#039;t configured properly the hashed based authentication might not work. For a list of valid timezones have a look at [http://www.php.net/manual/en/timezones.php].&lt;br /&gt;
&lt;br /&gt;
Now start [[Apache]] and [[MySQL]] by issuing the following commands:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start mysql.service&lt;br /&gt;
 systemctl start apache2.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rcmysql start&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] it is highly recommended to set up a root password after you&amp;#039;ve started [[MySQL]] by invoking mysql_secure_installation.&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 In order to log into MySQL to secure it, we&amp;#039;ll need the current&lt;br /&gt;
 password for the root user.  If you&amp;#039;ve just installed MySQL, and&lt;br /&gt;
 you haven&amp;#039;t set the root password yet, the password will be blank,&lt;br /&gt;
 so you should just press enter here.&lt;br /&gt;
 &lt;br /&gt;
 Enter current password for root (enter for none):&lt;br /&gt;
 OK, successfully used password, moving on...&lt;br /&gt;
 &lt;br /&gt;
 Setting the root password ensures that nobody can log into the MySQL&lt;br /&gt;
 root user without the proper authorisation.&lt;br /&gt;
 &lt;br /&gt;
 Set root password? [Y/n] &lt;br /&gt;
 New password: &lt;br /&gt;
 Re-enter new password: &lt;br /&gt;
 Password updated successfully!&lt;br /&gt;
 Reloading privilege tables..&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 By default, a MySQL installation has an anonymous user, allowing anyone&lt;br /&gt;
 to log into MySQL without having to have a user account created for&lt;br /&gt;
 them.  This is intended only for testing, and to make the installation&lt;br /&gt;
 go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
 production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove anonymous users? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Normally, root should only be allowed to connect from &amp;#039;localhost&amp;#039;.  This&lt;br /&gt;
 ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 By default, MySQL comes with a database named &amp;#039;test&amp;#039; that anyone can&lt;br /&gt;
 access.  This is also intended only for testing, and should be removed&lt;br /&gt;
 before moving into a production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? [Y/n] &lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
 will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Cleaning up...&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 All done!  If you&amp;#039;ve completed all of the above steps, your MySQL&lt;br /&gt;
 installation should now be secure.&lt;br /&gt;
 &lt;br /&gt;
 Thanks for using MySQL!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable mysql.service&lt;br /&gt;
 systemctl enable apache2.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&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;
== 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, then answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 Enter mysql root password: &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &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;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 database successfully initialized&lt;br /&gt;
 you can now start ZonMinder with rczmstart or systemctl start zm.service&lt;br /&gt;
 removing lock file&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&lt;br /&gt;
&lt;br /&gt;
Then run the following command to start [[ZoneMinder]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start zm.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
To enable the start of [[ZoneMinder]] at boot enter:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable zm.service&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
After this [[ZoneMinder]] will start at boot after apache2 and mysql were 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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSUSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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;br /&gt;
&lt;br /&gt;
== Info on Shared Memory ==&lt;br /&gt;
Since package version 1.25.0-44 [[ZoneMinder]] is compiled with mmap enabled. This should simplify the shared memory handling by using /dev/shm. The available space by default is half of the available RAM. &lt;br /&gt;
&lt;br /&gt;
To adjust the shared memory settings for prior versions have a look at the [[FAQ#What_does_a_.27Can.27t_shmget:_Invalid_argument.27_error_in_my_logs_mean.3F_and_my_cameras_won.27t_display_video_at_higher_resolutions.|FAQ Section]].&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=15458</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=15458"/>
		<updated>2019-02-11T19:13:58Z</updated>

		<summary type="html">&lt;p&gt;Monex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSUSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSUSE 42.3 and openSUSE 15.0 architectures are 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 ffmpeg support and mjpeg streaming from remote cameras. The other version is build against the packages from [[VLC]] ([http://www.videolan.org/vlc/download-suse.html]) and do not lack these features. They can be identified by the &amp;quot;MP&amp;quot; in the package name, for example ZoneMinder-MP-1.28.1-1.1.x86_64.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|openSUSE Leap]] 15.0:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/15.0/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/42.3/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated openSUSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.3:&lt;br /&gt;
Last ZoneMinder version: 1.25.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.4:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.1:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.2:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.3:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 13.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/13.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 13.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/13.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/42.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/42.2/&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. However, newer versions of the ZoneMinder-MP package require the VLC repository.&lt;br /&gt;
&lt;br /&gt;
Now go to [[YaST]]-&amp;gt;Softwaremanagement search for [[ZoneMinder]] and select the version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the VLC repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSUSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSUSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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. Before you proceed to start [[Apache]] you should verify the timezone (date.timezone) in /etc/php5/apache2/php.ini. If the timezone isn&amp;#039;t configured properly the hashed based authentication might not work. For a list of valid timezones have a look at [http://www.php.net/manual/en/timezones.php].&lt;br /&gt;
&lt;br /&gt;
Now start [[Apache]] and [[MySQL]] by issuing the following commands:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start mysql.service&lt;br /&gt;
 systemctl start apache2.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rcmysql start&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] it is highly recommended to set up a root password after you&amp;#039;ve started [[MySQL]] by invoking mysql_secure_installation.&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 In order to log into MySQL to secure it, we&amp;#039;ll need the current&lt;br /&gt;
 password for the root user.  If you&amp;#039;ve just installed MySQL, and&lt;br /&gt;
 you haven&amp;#039;t set the root password yet, the password will be blank,&lt;br /&gt;
 so you should just press enter here.&lt;br /&gt;
 &lt;br /&gt;
 Enter current password for root (enter for none):&lt;br /&gt;
 OK, successfully used password, moving on...&lt;br /&gt;
 &lt;br /&gt;
 Setting the root password ensures that nobody can log into the MySQL&lt;br /&gt;
 root user without the proper authorisation.&lt;br /&gt;
 &lt;br /&gt;
 Set root password? [Y/n] &lt;br /&gt;
 New password: &lt;br /&gt;
 Re-enter new password: &lt;br /&gt;
 Password updated successfully!&lt;br /&gt;
 Reloading privilege tables..&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 By default, a MySQL installation has an anonymous user, allowing anyone&lt;br /&gt;
 to log into MySQL without having to have a user account created for&lt;br /&gt;
 them.  This is intended only for testing, and to make the installation&lt;br /&gt;
 go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
 production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove anonymous users? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Normally, root should only be allowed to connect from &amp;#039;localhost&amp;#039;.  This&lt;br /&gt;
 ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 By default, MySQL comes with a database named &amp;#039;test&amp;#039; that anyone can&lt;br /&gt;
 access.  This is also intended only for testing, and should be removed&lt;br /&gt;
 before moving into a production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? [Y/n] &lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
 will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Cleaning up...&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 All done!  If you&amp;#039;ve completed all of the above steps, your MySQL&lt;br /&gt;
 installation should now be secure.&lt;br /&gt;
 &lt;br /&gt;
 Thanks for using MySQL!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable mysql.service&lt;br /&gt;
 systemctl enable apache2.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&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;
== 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, then answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 Enter mysql root password: &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &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;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 database successfully initialized&lt;br /&gt;
 you can now start ZonMinder with rczmstart or systemctl start zm.service&lt;br /&gt;
 removing lock file&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&lt;br /&gt;
&lt;br /&gt;
Then run the following command to start [[ZoneMinder]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start zm.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
To enable the start of [[ZoneMinder]] at boot enter:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable zm.service&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
After this [[ZoneMinder]] will start at boot after apache2 and mysql were 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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSUSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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;br /&gt;
&lt;br /&gt;
== Info on Shared Memory ==&lt;br /&gt;
Since package version 1.25.0-44 [[ZoneMinder]] is compiled with mmap enabled. This should simplify the shared memory handling by using /dev/shm. The available space by default is half of the available RAM. &lt;br /&gt;
&lt;br /&gt;
To adjust the shared memory settings for prior versions have a look at the [[FAQ#What_does_a_.27Can.27t_shmget:_Invalid_argument.27_error_in_my_logs_mean.3F_and_my_cameras_won.27t_display_video_at_higher_resolutions.|FAQ Section]].&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=15191</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=15191"/>
		<updated>2018-06-10T16:33:25Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* using YaST */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSUSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.4, 12.1, 12.2, 12.3 and 13.1 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 ffmpeg support and mjpeg streaming from remote cameras. The other version is build against the packages from [[VLC]] ([http://www.videolan.org/vlc/download-suse.html]) and do not lack these features. They can be identified by the &amp;quot;MP&amp;quot; in the package name, for example ZoneMinder-MP-1.28.1-1.1.x86_64.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|openSUSE Leap]] 15.0:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/15.0/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/42.3/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated openSUSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.3:&lt;br /&gt;
Last ZoneMinder version: 1.25.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.4:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.1:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.2:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.3:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 13.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/13.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 13.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/13.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/42.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/42.2/&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. However, newer versions of the ZoneMinder-MP package require the VLC repository.&lt;br /&gt;
&lt;br /&gt;
Now go to [[YaST]]-&amp;gt;Softwaremanagement search for [[ZoneMinder]] and select the version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the VLC repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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. Before you proceed to start [[Apache]] you should verify the timezone (date.timezone) in /etc/php5/apache2/php.ini. If the timezone isn&amp;#039;t configured properly the hashed based authentication might not work. For a list of valid timezones have a look at [http://www.php.net/manual/en/timezones.php].&lt;br /&gt;
&lt;br /&gt;
Now start [[Apache]] and [[MySQL]] by issuing the following commands:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start mysql.service&lt;br /&gt;
 systemctl start apache2.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rcmysql start&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] it is highly recommended to set up a root password after you&amp;#039;ve started [[MySQL]] by invoking mysql_secure_installation.&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 In order to log into MySQL to secure it, we&amp;#039;ll need the current&lt;br /&gt;
 password for the root user.  If you&amp;#039;ve just installed MySQL, and&lt;br /&gt;
 you haven&amp;#039;t set the root password yet, the password will be blank,&lt;br /&gt;
 so you should just press enter here.&lt;br /&gt;
 &lt;br /&gt;
 Enter current password for root (enter for none):&lt;br /&gt;
 OK, successfully used password, moving on...&lt;br /&gt;
 &lt;br /&gt;
 Setting the root password ensures that nobody can log into the MySQL&lt;br /&gt;
 root user without the proper authorisation.&lt;br /&gt;
 &lt;br /&gt;
 Set root password? [Y/n] &lt;br /&gt;
 New password: &lt;br /&gt;
 Re-enter new password: &lt;br /&gt;
 Password updated successfully!&lt;br /&gt;
 Reloading privilege tables..&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 By default, a MySQL installation has an anonymous user, allowing anyone&lt;br /&gt;
 to log into MySQL without having to have a user account created for&lt;br /&gt;
 them.  This is intended only for testing, and to make the installation&lt;br /&gt;
 go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
 production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove anonymous users? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Normally, root should only be allowed to connect from &amp;#039;localhost&amp;#039;.  This&lt;br /&gt;
 ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 By default, MySQL comes with a database named &amp;#039;test&amp;#039; that anyone can&lt;br /&gt;
 access.  This is also intended only for testing, and should be removed&lt;br /&gt;
 before moving into a production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? [Y/n] &lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
 will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Cleaning up...&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 All done!  If you&amp;#039;ve completed all of the above steps, your MySQL&lt;br /&gt;
 installation should now be secure.&lt;br /&gt;
 &lt;br /&gt;
 Thanks for using MySQL!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable mysql.service&lt;br /&gt;
 systemctl enable apache2.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&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;
== 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, then answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 Enter mysql root password: &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &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;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 database successfully initialized&lt;br /&gt;
 you can now start ZonMinder with rczmstart or systemctl start zm.service&lt;br /&gt;
 removing lock file&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&lt;br /&gt;
&lt;br /&gt;
Then run the following command to start [[ZoneMinder]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start zm.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
To enable the start of [[ZoneMinder]] at boot enter:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable zm.service&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
After this [[ZoneMinder]] will start at boot after apache2 and mysql were 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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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;br /&gt;
&lt;br /&gt;
== Info on Shared Memory ==&lt;br /&gt;
Since package version 1.25.0-44 [[ZoneMinder]] is compiled with mmap enabled. This should simplify the shared memory handling by using /dev/shm. The available space by default is half of the available RAM. &lt;br /&gt;
&lt;br /&gt;
To adjust the shared memory settings for prior versions have a look at the [[FAQ#What_does_a_.27Can.27t_shmget:_Invalid_argument.27_error_in_my_logs_mean.3F_and_my_cameras_won.27t_display_video_at_higher_resolutions.|FAQ Section]].&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=15190</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=15190"/>
		<updated>2018-06-10T15:59:55Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* using YaST */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSUSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.4, 12.1, 12.2, 12.3 and 13.1 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 ffmpeg support and mjpeg streaming from remote cameras. The other version is build against the packages from [[VLC]] ([http://www.videolan.org/vlc/download-suse.html]) and do not lack these features. They can be identified by the &amp;quot;MP&amp;quot; in the package name, for example ZoneMinder-MP-1.28.1-1.1.x86_64.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|openSUSE Leap]] 42.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/42.3/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated openSUSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.3:&lt;br /&gt;
Last ZoneMinder version: 1.25.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.4:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.1:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.2:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.3:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 13.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/13.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 13.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/13.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/42.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/42.2/&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. However, newer versions of the ZoneMinder-MP package require the VLC repository.&lt;br /&gt;
&lt;br /&gt;
Now go to [[YaST]]-&amp;gt;Softwaremanagement search for [[ZoneMinder]] and select the version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the VLC repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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. Before you proceed to start [[Apache]] you should verify the timezone (date.timezone) in /etc/php5/apache2/php.ini. If the timezone isn&amp;#039;t configured properly the hashed based authentication might not work. For a list of valid timezones have a look at [http://www.php.net/manual/en/timezones.php].&lt;br /&gt;
&lt;br /&gt;
Now start [[Apache]] and [[MySQL]] by issuing the following commands:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start mysql.service&lt;br /&gt;
 systemctl start apache2.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rcmysql start&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] it is highly recommended to set up a root password after you&amp;#039;ve started [[MySQL]] by invoking mysql_secure_installation.&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 In order to log into MySQL to secure it, we&amp;#039;ll need the current&lt;br /&gt;
 password for the root user.  If you&amp;#039;ve just installed MySQL, and&lt;br /&gt;
 you haven&amp;#039;t set the root password yet, the password will be blank,&lt;br /&gt;
 so you should just press enter here.&lt;br /&gt;
 &lt;br /&gt;
 Enter current password for root (enter for none):&lt;br /&gt;
 OK, successfully used password, moving on...&lt;br /&gt;
 &lt;br /&gt;
 Setting the root password ensures that nobody can log into the MySQL&lt;br /&gt;
 root user without the proper authorisation.&lt;br /&gt;
 &lt;br /&gt;
 Set root password? [Y/n] &lt;br /&gt;
 New password: &lt;br /&gt;
 Re-enter new password: &lt;br /&gt;
 Password updated successfully!&lt;br /&gt;
 Reloading privilege tables..&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 By default, a MySQL installation has an anonymous user, allowing anyone&lt;br /&gt;
 to log into MySQL without having to have a user account created for&lt;br /&gt;
 them.  This is intended only for testing, and to make the installation&lt;br /&gt;
 go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
 production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove anonymous users? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Normally, root should only be allowed to connect from &amp;#039;localhost&amp;#039;.  This&lt;br /&gt;
 ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 By default, MySQL comes with a database named &amp;#039;test&amp;#039; that anyone can&lt;br /&gt;
 access.  This is also intended only for testing, and should be removed&lt;br /&gt;
 before moving into a production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? [Y/n] &lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
 will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Cleaning up...&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 All done!  If you&amp;#039;ve completed all of the above steps, your MySQL&lt;br /&gt;
 installation should now be secure.&lt;br /&gt;
 &lt;br /&gt;
 Thanks for using MySQL!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable mysql.service&lt;br /&gt;
 systemctl enable apache2.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&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;
== 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, then answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 Enter mysql root password: &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &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;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 database successfully initialized&lt;br /&gt;
 you can now start ZonMinder with rczmstart or systemctl start zm.service&lt;br /&gt;
 removing lock file&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&lt;br /&gt;
&lt;br /&gt;
Then run the following command to start [[ZoneMinder]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start zm.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
To enable the start of [[ZoneMinder]] at boot enter:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable zm.service&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
After this [[ZoneMinder]] will start at boot after apache2 and mysql were 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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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;br /&gt;
&lt;br /&gt;
== Info on Shared Memory ==&lt;br /&gt;
Since package version 1.25.0-44 [[ZoneMinder]] is compiled with mmap enabled. This should simplify the shared memory handling by using /dev/shm. The available space by default is half of the available RAM. &lt;br /&gt;
&lt;br /&gt;
To adjust the shared memory settings for prior versions have a look at the [[FAQ#What_does_a_.27Can.27t_shmget:_Invalid_argument.27_error_in_my_logs_mean.3F_and_my_cameras_won.27t_display_video_at_higher_resolutions.|FAQ Section]].&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=14796</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=14796"/>
		<updated>2017-08-22T19:12:57Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* Installation of ZoneMinder */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSUSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.4, 12.1, 12.2, 12.3 and 13.1 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 ffmpeg support and mjpeg streaming from remote cameras. The other version is build against the packages from [[VLC]] ([http://www.videolan.org/vlc/download-suse.html]) and do not lack these features. They can be identified by the &amp;quot;MP&amp;quot; in the package name, for example ZoneMinder-MP-1.28.1-1.1.x86_64.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|openSUSE Leap]] 42.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/42.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/42.3/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated openSUSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.3:&lt;br /&gt;
Last ZoneMinder version: 1.25.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.4:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.1:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.2:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.3:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 13.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/13.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 13.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/13.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/42.1/&lt;br /&gt;
&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. However, newer versions of the ZoneMinder-MP package require the VLC repository.&lt;br /&gt;
&lt;br /&gt;
Now go to [[YaST]]-&amp;gt;Softwaremanagement search for [[ZoneMinder]] and select the version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the VLC repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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. Before you proceed to start [[Apache]] you should verify the timezone (date.timezone) in /etc/php5/apache2/php.ini. If the timezone isn&amp;#039;t configured properly the hashed based authentication might not work. For a list of valid timezones have a look at [http://www.php.net/manual/en/timezones.php].&lt;br /&gt;
&lt;br /&gt;
Now start [[Apache]] and [[MySQL]] by issuing the following commands:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start mysql.service&lt;br /&gt;
 systemctl start apache2.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rcmysql start&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] it is highly recommended to set up a root password after you&amp;#039;ve started [[MySQL]] by invoking mysql_secure_installation.&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 In order to log into MySQL to secure it, we&amp;#039;ll need the current&lt;br /&gt;
 password for the root user.  If you&amp;#039;ve just installed MySQL, and&lt;br /&gt;
 you haven&amp;#039;t set the root password yet, the password will be blank,&lt;br /&gt;
 so you should just press enter here.&lt;br /&gt;
 &lt;br /&gt;
 Enter current password for root (enter for none):&lt;br /&gt;
 OK, successfully used password, moving on...&lt;br /&gt;
 &lt;br /&gt;
 Setting the root password ensures that nobody can log into the MySQL&lt;br /&gt;
 root user without the proper authorisation.&lt;br /&gt;
 &lt;br /&gt;
 Set root password? [Y/n] &lt;br /&gt;
 New password: &lt;br /&gt;
 Re-enter new password: &lt;br /&gt;
 Password updated successfully!&lt;br /&gt;
 Reloading privilege tables..&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 By default, a MySQL installation has an anonymous user, allowing anyone&lt;br /&gt;
 to log into MySQL without having to have a user account created for&lt;br /&gt;
 them.  This is intended only for testing, and to make the installation&lt;br /&gt;
 go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
 production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove anonymous users? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Normally, root should only be allowed to connect from &amp;#039;localhost&amp;#039;.  This&lt;br /&gt;
 ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 By default, MySQL comes with a database named &amp;#039;test&amp;#039; that anyone can&lt;br /&gt;
 access.  This is also intended only for testing, and should be removed&lt;br /&gt;
 before moving into a production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? [Y/n] &lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
 will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Cleaning up...&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 All done!  If you&amp;#039;ve completed all of the above steps, your MySQL&lt;br /&gt;
 installation should now be secure.&lt;br /&gt;
 &lt;br /&gt;
 Thanks for using MySQL!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable mysql.service&lt;br /&gt;
 systemctl enable apache2.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&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;
== 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, then answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 Enter mysql root password: &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &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;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 database successfully initialized&lt;br /&gt;
 you can now start ZonMinder with rczmstart or systemctl start zm.service&lt;br /&gt;
 removing lock file&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&lt;br /&gt;
&lt;br /&gt;
Then run the following command to start [[ZoneMinder]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start zm.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
To enable the start of [[ZoneMinder]] at boot enter:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable zm.service&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
After this [[ZoneMinder]] will start at boot after apache2 and mysql were 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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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;br /&gt;
&lt;br /&gt;
== Info on Shared Memory ==&lt;br /&gt;
Since package version 1.25.0-44 [[ZoneMinder]] is compiled with mmap enabled. This should simplify the shared memory handling by using /dev/shm. The available space by default is half of the available RAM. &lt;br /&gt;
&lt;br /&gt;
To adjust the shared memory settings for prior versions have a look at the [[FAQ#What_does_a_.27Can.27t_shmget:_Invalid_argument.27_error_in_my_logs_mean.3F_and_my_cameras_won.27t_display_video_at_higher_resolutions.|FAQ Section]].&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=14795</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=14795"/>
		<updated>2017-08-22T19:08:10Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* using YaST */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSUSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.4, 12.1, 12.2, 12.3 and 13.1 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 ffmpeg support and mjpeg streaming from remote cameras. The other version is build against the packages from [[VLC]] ([http://www.videolan.org/vlc/download-suse.html]) and do not lack these features. They can be identified by the &amp;quot;MP&amp;quot; in the package name, for example ZoneMinder-MP-1.28.1-1.1.x86_64.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|openSUSE Leap]] 42.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/42.2/&lt;br /&gt;
&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/42.3/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated openSUSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.3:&lt;br /&gt;
Last ZoneMinder version: 1.25.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.4:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.1:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.2:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.3:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 13.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/13.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 13.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/13.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/42.1/&lt;br /&gt;
&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. However, newer versions of the ZoneMinder-MP package require the VLC repository.&lt;br /&gt;
&lt;br /&gt;
Now go to [[YaST]]-&amp;gt;Softwaremanagement search for [[ZoneMinder]] and select the version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the VLC repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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. Before you proceed to start [[Apache]] you should verify the timezone (date.timezone) in /etc/php5/apache2/php.ini. If the timezone isn&amp;#039;t configured properly the hashed based authentication might not work. For a list of valid timezones have a look at [http://www.php.net/manual/en/timezones.php].&lt;br /&gt;
&lt;br /&gt;
Now start [[Apache]] and [[MySQL]] by issuing the following commands:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start mysql.service&lt;br /&gt;
 systemctl start apache2.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rcmysql start&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] it is highly recommended to set up a root password after you&amp;#039;ve started [[MySQL]] by invoking mysql_secure_installation.&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 In order to log into MySQL to secure it, we&amp;#039;ll need the current&lt;br /&gt;
 password for the root user.  If you&amp;#039;ve just installed MySQL, and&lt;br /&gt;
 you haven&amp;#039;t set the root password yet, the password will be blank,&lt;br /&gt;
 so you should just press enter here.&lt;br /&gt;
 &lt;br /&gt;
 Enter current password for root (enter for none):&lt;br /&gt;
 OK, successfully used password, moving on...&lt;br /&gt;
 &lt;br /&gt;
 Setting the root password ensures that nobody can log into the MySQL&lt;br /&gt;
 root user without the proper authorisation.&lt;br /&gt;
 &lt;br /&gt;
 Set root password? [Y/n] &lt;br /&gt;
 New password: &lt;br /&gt;
 Re-enter new password: &lt;br /&gt;
 Password updated successfully!&lt;br /&gt;
 Reloading privilege tables..&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 By default, a MySQL installation has an anonymous user, allowing anyone&lt;br /&gt;
 to log into MySQL without having to have a user account created for&lt;br /&gt;
 them.  This is intended only for testing, and to make the installation&lt;br /&gt;
 go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
 production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove anonymous users? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Normally, root should only be allowed to connect from &amp;#039;localhost&amp;#039;.  This&lt;br /&gt;
 ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 By default, MySQL comes with a database named &amp;#039;test&amp;#039; that anyone can&lt;br /&gt;
 access.  This is also intended only for testing, and should be removed&lt;br /&gt;
 before moving into a production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? [Y/n] &lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
 will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Cleaning up...&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 All done!  If you&amp;#039;ve completed all of the above steps, your MySQL&lt;br /&gt;
 installation should now be secure.&lt;br /&gt;
 &lt;br /&gt;
 Thanks for using MySQL!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable mysql.service&lt;br /&gt;
 systemctl enable apache2.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&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;
== 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, then answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 Enter mysql root password: &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &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;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 database successfully initialized&lt;br /&gt;
 you can now start ZonMinder with rczmstart or systemctl start zm.service&lt;br /&gt;
 removing lock file&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&lt;br /&gt;
&lt;br /&gt;
Then run the following command to start [[ZoneMinder]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start zm.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
To enable the start of [[ZoneMinder]] at boot enter:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable zm.service&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
After this [[ZoneMinder]] will start at boot after apache2 and mysql were 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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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;br /&gt;
&lt;br /&gt;
== Info on Shared Memory ==&lt;br /&gt;
Since package version 1.25.0-44 [[ZoneMinder]] is compiled with mmap enabled. This should simplify the shared memory handling by using /dev/shm. The available space by default is half of the available RAM. &lt;br /&gt;
&lt;br /&gt;
To adjust the shared memory settings for prior versions have a look at the [[FAQ#What_does_a_.27Can.27t_shmget:_Invalid_argument.27_error_in_my_logs_mean.3F_and_my_cameras_won.27t_display_video_at_higher_resolutions.|FAQ Section]].&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=14306</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=14306"/>
		<updated>2017-01-12T20:09:22Z</updated>

		<summary type="html">&lt;p&gt;Monex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSUSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.4, 12.1, 12.2, 12.3 and 13.1 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 ffmpeg support and mjpeg streaming from remote cameras. The other version is build against the packages from [[VLC]] ([http://www.videolan.org/vlc/download-suse.html]) and do not lack these features. They can be identified by the &amp;quot;MP&amp;quot; in the package name, for example ZoneMinder-MP-1.28.1-1.1.x86_64.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|openSUSE]] 13.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/13.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 13.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/13.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/42.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/42.2/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated openSUSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.3:&lt;br /&gt;
Last ZoneMinder version: 1.25.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.4:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.1:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.2:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.3:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.3/&lt;br /&gt;
&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. However, newer versions of the ZoneMinder-MP package require the VLC repository.&lt;br /&gt;
&lt;br /&gt;
Now go to [[YaST]]-&amp;gt;Softwaremanagement search for [[ZoneMinder]] and select the version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the VLC repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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. Before you proceed to start [[Apache]] you should verify the timezone (date.timezone) in /etc/php5/apache2/php.ini. If the timezone isn&amp;#039;t configured properly the hashed based authentication might not work. For a list of valid timezones have a look at [http://www.php.net/manual/en/timezones.php].&lt;br /&gt;
&lt;br /&gt;
Now start [[Apache]] and [[MySQL]] by issuing the following commands:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start mysql.service&lt;br /&gt;
 systemctl start apache2.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rcmysql start&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] it is highly recommended to set up a root password after you&amp;#039;ve started [[MySQL]] by invoking mysql_secure_installation.&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 In order to log into MySQL to secure it, we&amp;#039;ll need the current&lt;br /&gt;
 password for the root user.  If you&amp;#039;ve just installed MySQL, and&lt;br /&gt;
 you haven&amp;#039;t set the root password yet, the password will be blank,&lt;br /&gt;
 so you should just press enter here.&lt;br /&gt;
 &lt;br /&gt;
 Enter current password for root (enter for none):&lt;br /&gt;
 OK, successfully used password, moving on...&lt;br /&gt;
 &lt;br /&gt;
 Setting the root password ensures that nobody can log into the MySQL&lt;br /&gt;
 root user without the proper authorisation.&lt;br /&gt;
 &lt;br /&gt;
 Set root password? [Y/n] &lt;br /&gt;
 New password: &lt;br /&gt;
 Re-enter new password: &lt;br /&gt;
 Password updated successfully!&lt;br /&gt;
 Reloading privilege tables..&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 By default, a MySQL installation has an anonymous user, allowing anyone&lt;br /&gt;
 to log into MySQL without having to have a user account created for&lt;br /&gt;
 them.  This is intended only for testing, and to make the installation&lt;br /&gt;
 go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
 production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove anonymous users? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Normally, root should only be allowed to connect from &amp;#039;localhost&amp;#039;.  This&lt;br /&gt;
 ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 By default, MySQL comes with a database named &amp;#039;test&amp;#039; that anyone can&lt;br /&gt;
 access.  This is also intended only for testing, and should be removed&lt;br /&gt;
 before moving into a production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? [Y/n] &lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
 will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Cleaning up...&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 All done!  If you&amp;#039;ve completed all of the above steps, your MySQL&lt;br /&gt;
 installation should now be secure.&lt;br /&gt;
 &lt;br /&gt;
 Thanks for using MySQL!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable mysql.service&lt;br /&gt;
 systemctl enable apache2.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&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;
== 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, then answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 Enter mysql root password: &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &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;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 database successfully initialized&lt;br /&gt;
 you can now start ZonMinder with rczmstart or systemctl start zm.service&lt;br /&gt;
 removing lock file&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&lt;br /&gt;
&lt;br /&gt;
Then run the following command to start [[ZoneMinder]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start zm.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
To enable the start of [[ZoneMinder]] at boot enter:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable zm.service&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
After this [[ZoneMinder]] will start at boot after apache2 and mysql were 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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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;br /&gt;
&lt;br /&gt;
== Info on Shared Memory ==&lt;br /&gt;
Since package version 1.25.0-44 [[ZoneMinder]] is compiled with mmap enabled. This should simplify the shared memory handling by using /dev/shm. The available space by default is half of the available RAM. &lt;br /&gt;
&lt;br /&gt;
To adjust the shared memory settings for prior versions have a look at the [[FAQ#What_does_a_.27Can.27t_shmget:_Invalid_argument.27_error_in_my_logs_mean.3F_and_my_cameras_won.27t_display_video_at_higher_resolutions.|FAQ Section]].&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=7506</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=7506"/>
		<updated>2016-03-14T19:41:36Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* using YaST */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSUSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.4, 12.1, 12.2, 12.3 and 13.1 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 ffmpeg support and mjpeg streaming from remote cameras. The other version is build against the packages from [[VLC]] ([http://www.videolan.org/vlc/download-suse.html]) and do not lack these features. They can be identified by the &amp;quot;MP&amp;quot; in the package name, for example ZoneMinder-MP-1.28.1-1.1.x86_64.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|openSUSE]] 13.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/13.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 13.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/13.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE Leap]] 42.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/42.1/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated openSUSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.3:&lt;br /&gt;
Last ZoneMinder version: 1.25.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 11.4:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.1:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.2:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSUSE]] 12.3:&lt;br /&gt;
Last ZoneMinder version: 1.27.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/12.3/&lt;br /&gt;
&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. However, newer versions of the ZoneMinder-MP package require the VLC repository.&lt;br /&gt;
&lt;br /&gt;
Now go to [[YaST]]-&amp;gt;Softwaremanagement search for [[ZoneMinder]] and select the version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the VLC repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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. Before you proceed to start [[Apache]] you should verify the timezone (date.timezone) in /etc/php5/apache2/php.ini. If the timezone isn&amp;#039;t configured properly the hashed based authentication might not work. For a list of valid timezones have a look at [http://www.php.net/manual/en/timezones.php].&lt;br /&gt;
&lt;br /&gt;
Now start [[Apache]] and [[MySQL]] by issuing the following commands:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start mysql.service&lt;br /&gt;
 systemctl start apache2.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rcmysql start&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] it is highly recommended to set up a root password after you&amp;#039;ve started [[MySQL]] by invoking mysql_secure_installation.&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 In order to log into MySQL to secure it, we&amp;#039;ll need the current&lt;br /&gt;
 password for the root user.  If you&amp;#039;ve just installed MySQL, and&lt;br /&gt;
 you haven&amp;#039;t set the root password yet, the password will be blank,&lt;br /&gt;
 so you should just press enter here.&lt;br /&gt;
 &lt;br /&gt;
 Enter current password for root (enter for none):&lt;br /&gt;
 OK, successfully used password, moving on...&lt;br /&gt;
 &lt;br /&gt;
 Setting the root password ensures that nobody can log into the MySQL&lt;br /&gt;
 root user without the proper authorisation.&lt;br /&gt;
 &lt;br /&gt;
 Set root password? [Y/n] &lt;br /&gt;
 New password: &lt;br /&gt;
 Re-enter new password: &lt;br /&gt;
 Password updated successfully!&lt;br /&gt;
 Reloading privilege tables..&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 By default, a MySQL installation has an anonymous user, allowing anyone&lt;br /&gt;
 to log into MySQL without having to have a user account created for&lt;br /&gt;
 them.  This is intended only for testing, and to make the installation&lt;br /&gt;
 go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
 production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove anonymous users? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Normally, root should only be allowed to connect from &amp;#039;localhost&amp;#039;.  This&lt;br /&gt;
 ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 By default, MySQL comes with a database named &amp;#039;test&amp;#039; that anyone can&lt;br /&gt;
 access.  This is also intended only for testing, and should be removed&lt;br /&gt;
 before moving into a production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? [Y/n] &lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
 will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Cleaning up...&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 All done!  If you&amp;#039;ve completed all of the above steps, your MySQL&lt;br /&gt;
 installation should now be secure.&lt;br /&gt;
 &lt;br /&gt;
 Thanks for using MySQL!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable mysql.service&lt;br /&gt;
 systemctl enable apache2.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&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;
== 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, then answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 Enter mysql root password: &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &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;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 database successfully initialized&lt;br /&gt;
 you can now start ZonMinder with rczmstart or systemctl start zm.service&lt;br /&gt;
 removing lock file&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&lt;br /&gt;
&lt;br /&gt;
Then run the following command to start [[ZoneMinder]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start zm.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
To enable the start of [[ZoneMinder]] at boot enter:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable zm.service&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
After this [[ZoneMinder]] will start at boot after apache2 and mysql were 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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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.[http://www.blognesian.com/ ]&lt;br /&gt;
&lt;br /&gt;
== Info on Shared Memory ==&lt;br /&gt;
Since package version 1.25.0-44 [[ZoneMinder]] is compiled with mmap enabled. This should simplify the shared memory handling by using /dev/shm. The available space by default is half of the available RAM. &lt;br /&gt;
&lt;br /&gt;
To adjust the shared memory settings for prior versions have a look at the [[FAQ#What_does_a_.27Can.27t_shmget:_Invalid_argument.27_error_in_my_logs_mean.3F_and_my_cameras_won.27t_display_video_at_higher_resolutions.|FAQ Section]].&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=6492</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=6492"/>
		<updated>2014-12-12T18:37:08Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* using YaST */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSuSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.4, 12.1, 12.2, 12.3 and 13.1 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 package name, for example ZoneMinder-MP-1.22.3-21.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|openSuSE]] 11.4:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 13.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/13.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 13.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/13.2/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.3:&lt;br /&gt;
Last ZoneMinder version: 1.25.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.3/&lt;br /&gt;
&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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. Before you proceed to start [[Apache]] you should verify the timezone (date.timezone) in /etc/php5/apache2/php.ini. If the timezone isn&amp;#039;t configured properly the hashed based authentication might not work. For a list of valid timezones have a look at [http://www.php.net/manual/en/timezones.php].&lt;br /&gt;
&lt;br /&gt;
Now start [[Apache]] and [[MySQL]] by issuing the following commands:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start mysql.service&lt;br /&gt;
 systemctl start apache2.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rcmysql start&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] it is highly recommended to set up a root password after you&amp;#039;ve started [[MySQL]] by invoking mysql_secure_installation.&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 In order to log into MySQL to secure it, we&amp;#039;ll need the current&lt;br /&gt;
 password for the root user.  If you&amp;#039;ve just installed MySQL, and&lt;br /&gt;
 you haven&amp;#039;t set the root password yet, the password will be blank,&lt;br /&gt;
 so you should just press enter here.&lt;br /&gt;
 &lt;br /&gt;
 Enter current password for root (enter for none):&lt;br /&gt;
 OK, successfully used password, moving on...&lt;br /&gt;
 &lt;br /&gt;
 Setting the root password ensures that nobody can log into the MySQL&lt;br /&gt;
 root user without the proper authorisation.&lt;br /&gt;
 &lt;br /&gt;
 Set root password? [Y/n] &lt;br /&gt;
 New password: &lt;br /&gt;
 Re-enter new password: &lt;br /&gt;
 Password updated successfully!&lt;br /&gt;
 Reloading privilege tables..&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 By default, a MySQL installation has an anonymous user, allowing anyone&lt;br /&gt;
 to log into MySQL without having to have a user account created for&lt;br /&gt;
 them.  This is intended only for testing, and to make the installation&lt;br /&gt;
 go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
 production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove anonymous users? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Normally, root should only be allowed to connect from &amp;#039;localhost&amp;#039;.  This&lt;br /&gt;
 ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 By default, MySQL comes with a database named &amp;#039;test&amp;#039; that anyone can&lt;br /&gt;
 access.  This is also intended only for testing, and should be removed&lt;br /&gt;
 before moving into a production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? [Y/n] &lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
 will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Cleaning up...&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 All done!  If you&amp;#039;ve completed all of the above steps, your MySQL&lt;br /&gt;
 installation should now be secure.&lt;br /&gt;
 &lt;br /&gt;
 Thanks for using MySQL!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable mysql.service&lt;br /&gt;
 systemctl enable apache2.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&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;
== 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, then answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 Enter mysql root password: &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &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;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 database successfully initialized&lt;br /&gt;
 you can now start ZonMinder with rczmstart or systemctl start zm.service&lt;br /&gt;
 removing lock file&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&lt;br /&gt;
&lt;br /&gt;
Then run the following command to start [[ZoneMinder]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start zm.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
To enable the start of [[ZoneMinder]] at boot enter:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable zm.service&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
After this [[ZoneMinder]] will start at boot after apache2 and mysql were 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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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.[http://www.blognesian.com/ ]&lt;br /&gt;
&lt;br /&gt;
== Info on Shared Memory ==&lt;br /&gt;
Since package version 1.25.0-44 [[ZoneMinder]] is compiled with mmap enabled. This should simplify the shared memory handling by using /dev/shm. The available space by default is half of the available RAM. &lt;br /&gt;
&lt;br /&gt;
To adjust the shared memory settings for prior versions have a look at the [[FAQ#What_does_a_.27Can.27t_shmget:_Invalid_argument.27_error_in_my_logs_mean.3F_and_my_cameras_won.27t_display_video_at_higher_resolutions.|FAQ Section]].&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=6135</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=6135"/>
		<updated>2014-04-18T12:16:36Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* Setting up MySQL and Apache */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSuSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.4, 12.1, 12.2, 12.3 and 13.1 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 package name, for example ZoneMinder-MP-1.22.3-21.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|openSuSE]] 11.4:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 13.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/13.1/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.3:&lt;br /&gt;
Last ZoneMinder version: 1.25.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.3/&lt;br /&gt;
&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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. Before you proceed to start [[Apache]] you should verify the timezone (date.timezone) in /etc/php5/apache2/php.ini. If the timezone isn&amp;#039;t configured properly the hashed based authentication might not work. For a list of valid timezones have a look at [http://www.php.net/manual/en/timezones.php].&lt;br /&gt;
&lt;br /&gt;
Now start [[Apache]] and [[MySQL]] by issuing the following commands:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start mysql.service&lt;br /&gt;
 systemctl start apache2.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rcmysql start&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] it is highly recommended to set up a root password after you&amp;#039;ve started [[MySQL]] by invoking mysql_secure_installation.&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 In order to log into MySQL to secure it, we&amp;#039;ll need the current&lt;br /&gt;
 password for the root user.  If you&amp;#039;ve just installed MySQL, and&lt;br /&gt;
 you haven&amp;#039;t set the root password yet, the password will be blank,&lt;br /&gt;
 so you should just press enter here.&lt;br /&gt;
 &lt;br /&gt;
 Enter current password for root (enter for none):&lt;br /&gt;
 OK, successfully used password, moving on...&lt;br /&gt;
 &lt;br /&gt;
 Setting the root password ensures that nobody can log into the MySQL&lt;br /&gt;
 root user without the proper authorisation.&lt;br /&gt;
 &lt;br /&gt;
 Set root password? [Y/n] &lt;br /&gt;
 New password: &lt;br /&gt;
 Re-enter new password: &lt;br /&gt;
 Password updated successfully!&lt;br /&gt;
 Reloading privilege tables..&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 By default, a MySQL installation has an anonymous user, allowing anyone&lt;br /&gt;
 to log into MySQL without having to have a user account created for&lt;br /&gt;
 them.  This is intended only for testing, and to make the installation&lt;br /&gt;
 go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
 production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove anonymous users? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Normally, root should only be allowed to connect from &amp;#039;localhost&amp;#039;.  This&lt;br /&gt;
 ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 By default, MySQL comes with a database named &amp;#039;test&amp;#039; that anyone can&lt;br /&gt;
 access.  This is also intended only for testing, and should be removed&lt;br /&gt;
 before moving into a production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? [Y/n] &lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
 will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Cleaning up...&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 All done!  If you&amp;#039;ve completed all of the above steps, your MySQL&lt;br /&gt;
 installation should now be secure.&lt;br /&gt;
 &lt;br /&gt;
 Thanks for using MySQL!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable mysql.service&lt;br /&gt;
 systemctl enable apache2.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&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;
== 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, then answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 Enter mysql root password: &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &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;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 database successfully initialized&lt;br /&gt;
 you can now start ZonMinder with rczmstart or systemctl start zm.service&lt;br /&gt;
 removing lock file&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&lt;br /&gt;
&lt;br /&gt;
Then run the following command to start [[ZoneMinder]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start zm.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
To enable the start of [[ZoneMinder]] at boot enter:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable zm.service&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
After this [[ZoneMinder]] will start at boot after apache2 and mysql were 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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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.[http://www.blognesian.com/ ]&lt;br /&gt;
&lt;br /&gt;
== Info on Shared Memory ==&lt;br /&gt;
Since package version 1.25.0-44 [[ZoneMinder]] is compiled with mmap enabled. This should simplify the shared memory handling by using /dev/shm. The available space by default is half of the available RAM. &lt;br /&gt;
&lt;br /&gt;
To adjust the shared memory settings for prior versions have a look at the [[FAQ#What_does_a_.27Can.27t_shmget:_Invalid_argument.27_error_in_my_logs_mean.3F_and_my_cameras_won.27t_display_video_at_higher_resolutions.|FAQ Section]].&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=5996</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=5996"/>
		<updated>2013-12-05T20:02:23Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* Setting up MySQL and Apache */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSuSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.4, 12.1, 12.2, 12.3 and 13.1 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 package name, for example ZoneMinder-MP-1.22.3-21.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|openSuSE]] 11.4:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 13.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/13.1/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.3:&lt;br /&gt;
Last ZoneMinder version: 1.25.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.3/&lt;br /&gt;
&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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. Before you proceed to start [[Apache]] you should verify the timezone (date.timezone) in /etc/php5/apache2/php.ini. If the timezone isn&amp;#039;t configured properly the hashed based authentication might not work. For a list of valid timezones have a look at [http://www.php.net/manual/en/timezones.php].&lt;br /&gt;
&lt;br /&gt;
Make sure that [[MySQL]] uses the correct sql_mode edit the file /etc/my.cnf and make sure that the following line does not exist or is commented out. In my experience on 13.1 you have to comment out the sql_mode line:&lt;br /&gt;
 #sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES&lt;br /&gt;
&lt;br /&gt;
Now start [[Apache]] and [[MySQL]] by issuing the following commands:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start mysql.service&lt;br /&gt;
 systemctl start apache2.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rcmysql start&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] it is highly recommended to set up a root password after you&amp;#039;ve started [[MySQL]] by invoking mysql_secure_installation.&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 In order to log into MySQL to secure it, we&amp;#039;ll need the current&lt;br /&gt;
 password for the root user.  If you&amp;#039;ve just installed MySQL, and&lt;br /&gt;
 you haven&amp;#039;t set the root password yet, the password will be blank,&lt;br /&gt;
 so you should just press enter here.&lt;br /&gt;
 &lt;br /&gt;
 Enter current password for root (enter for none):&lt;br /&gt;
 OK, successfully used password, moving on...&lt;br /&gt;
 &lt;br /&gt;
 Setting the root password ensures that nobody can log into the MySQL&lt;br /&gt;
 root user without the proper authorisation.&lt;br /&gt;
 &lt;br /&gt;
 Set root password? [Y/n] &lt;br /&gt;
 New password: &lt;br /&gt;
 Re-enter new password: &lt;br /&gt;
 Password updated successfully!&lt;br /&gt;
 Reloading privilege tables..&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 By default, a MySQL installation has an anonymous user, allowing anyone&lt;br /&gt;
 to log into MySQL without having to have a user account created for&lt;br /&gt;
 them.  This is intended only for testing, and to make the installation&lt;br /&gt;
 go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
 production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove anonymous users? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Normally, root should only be allowed to connect from &amp;#039;localhost&amp;#039;.  This&lt;br /&gt;
 ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 By default, MySQL comes with a database named &amp;#039;test&amp;#039; that anyone can&lt;br /&gt;
 access.  This is also intended only for testing, and should be removed&lt;br /&gt;
 before moving into a production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? [Y/n] &lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
 will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Cleaning up...&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 All done!  If you&amp;#039;ve completed all of the above steps, your MySQL&lt;br /&gt;
 installation should now be secure.&lt;br /&gt;
 &lt;br /&gt;
 Thanks for using MySQL!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable mysql.service&lt;br /&gt;
 systemctl enable apache2.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&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;
== 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, then answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 Enter mysql root password: &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &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;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 database successfully initialized&lt;br /&gt;
 you can now start ZonMinder with rczmstart or systemctl start zm.service&lt;br /&gt;
 removing lock file&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&lt;br /&gt;
&lt;br /&gt;
Then run the following command to start [[ZoneMinder]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start zm.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
To enable the start of [[ZoneMinder]] at boot enter:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable zm.service&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
After this [[ZoneMinder]] will start at boot after apache2 and mysql were 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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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.[http://www.blognesian.com/ ]&lt;br /&gt;
&lt;br /&gt;
== Info on Shared Memory ==&lt;br /&gt;
Since package version 1.25.0-44 [[ZoneMinder]] is compiled with mmap enabled. This should simplify the shared memory handling by using /dev/shm. The available space by default is half of the available RAM. &lt;br /&gt;
&lt;br /&gt;
To adjust the shared memory settings for prior versions have a look at the [[FAQ#What_does_a_.27Can.27t_shmget:_Invalid_argument.27_error_in_my_logs_mean.3F_and_my_cameras_won.27t_display_video_at_higher_resolutions.|FAQ Section]].&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=5995</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=5995"/>
		<updated>2013-12-05T19:57:49Z</updated>

		<summary type="html">&lt;p&gt;Monex: added 13.1 repos&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSuSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.4, 12.1, 12.2, 12.3 and 13.1 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 package name, for example ZoneMinder-MP-1.22.3-21.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|openSuSE]] 11.4:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 13.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/13.1/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.3:&lt;br /&gt;
Last ZoneMinder version: 1.25.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.3/&lt;br /&gt;
&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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. Before you proceed to start [[Apache]] you should verify the timezone (date.timezone) in /etc/php5/apache2/php.ini. If the timezone isn&amp;#039;t configured properly the hashed based authentication might not work. For a list of valid timezones have a look at [http://www.php.net/manual/en/timezones.php].&lt;br /&gt;
&lt;br /&gt;
Now start [[Apache]] and [[MySQL]] by issuing the following commands:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start mysql.service&lt;br /&gt;
 systemctl start apache2.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rcmysql start&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] it is highly recommended to set up a root password after you&amp;#039;ve started [[MySQL]] by invoking mysql_secure_installation.&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 In order to log into MySQL to secure it, we&amp;#039;ll need the current&lt;br /&gt;
 password for the root user.  If you&amp;#039;ve just installed MySQL, and&lt;br /&gt;
 you haven&amp;#039;t set the root password yet, the password will be blank,&lt;br /&gt;
 so you should just press enter here.&lt;br /&gt;
 &lt;br /&gt;
 Enter current password for root (enter for none):&lt;br /&gt;
 OK, successfully used password, moving on...&lt;br /&gt;
 &lt;br /&gt;
 Setting the root password ensures that nobody can log into the MySQL&lt;br /&gt;
 root user without the proper authorisation.&lt;br /&gt;
 &lt;br /&gt;
 Set root password? [Y/n] &lt;br /&gt;
 New password: &lt;br /&gt;
 Re-enter new password: &lt;br /&gt;
 Password updated successfully!&lt;br /&gt;
 Reloading privilege tables..&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 By default, a MySQL installation has an anonymous user, allowing anyone&lt;br /&gt;
 to log into MySQL without having to have a user account created for&lt;br /&gt;
 them.  This is intended only for testing, and to make the installation&lt;br /&gt;
 go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
 production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove anonymous users? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Normally, root should only be allowed to connect from &amp;#039;localhost&amp;#039;.  This&lt;br /&gt;
 ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 By default, MySQL comes with a database named &amp;#039;test&amp;#039; that anyone can&lt;br /&gt;
 access.  This is also intended only for testing, and should be removed&lt;br /&gt;
 before moving into a production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? [Y/n] &lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
 will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Cleaning up...&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 All done!  If you&amp;#039;ve completed all of the above steps, your MySQL&lt;br /&gt;
 installation should now be secure.&lt;br /&gt;
 &lt;br /&gt;
 Thanks for using MySQL!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable mysql.service&lt;br /&gt;
 systemctl enable apache2.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&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;
== 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, then answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 Enter mysql root password: &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &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;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 database successfully initialized&lt;br /&gt;
 you can now start ZonMinder with rczmstart or systemctl start zm.service&lt;br /&gt;
 removing lock file&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&lt;br /&gt;
&lt;br /&gt;
Then run the following command to start [[ZoneMinder]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start zm.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
To enable the start of [[ZoneMinder]] at boot enter:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable zm.service&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
After this [[ZoneMinder]] will start at boot after apache2 and mysql were 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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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.[http://www.blognesian.com/ ]&lt;br /&gt;
&lt;br /&gt;
== Info on Shared Memory ==&lt;br /&gt;
Since package version 1.25.0-44 [[ZoneMinder]] is compiled with mmap enabled. This should simplify the shared memory handling by using /dev/shm. The available space by default is half of the available RAM. &lt;br /&gt;
&lt;br /&gt;
To adjust the shared memory settings for prior versions have a look at the [[FAQ#What_does_a_.27Can.27t_shmget:_Invalid_argument.27_error_in_my_logs_mean.3F_and_my_cameras_won.27t_display_video_at_higher_resolutions.|FAQ Section]].&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=5690</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=5690"/>
		<updated>2013-04-06T19:02:24Z</updated>

		<summary type="html">&lt;p&gt;Monex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSuSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.4, 12.1, 12.2 and 12.3 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 package name, for example ZoneMinder-MP-1.22.3-21.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|openSuSE]] 11.4:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.3/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.3:&lt;br /&gt;
Last ZoneMinder version: 1.25.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.3/&lt;br /&gt;
&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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. Before you proceed to start [[Apache]] you should verify the timezone (date.timezone) in /etc/php5/apache2/php.ini. If the timezone isn&amp;#039;t configured properly the hashed based authentication might not work. For a list of valid timezones have a look at [http://www.php.net/manual/en/timezones.php].&lt;br /&gt;
&lt;br /&gt;
Now start [[Apache]] and [[MySQL]] by issuing the following commands:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start mysql.service&lt;br /&gt;
 systemctl start apache2.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rcmysql start&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] it is highly recommended to set up a root password after you&amp;#039;ve started [[MySQL]] by invoking mysql_secure_installation.&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 In order to log into MySQL to secure it, we&amp;#039;ll need the current&lt;br /&gt;
 password for the root user.  If you&amp;#039;ve just installed MySQL, and&lt;br /&gt;
 you haven&amp;#039;t set the root password yet, the password will be blank,&lt;br /&gt;
 so you should just press enter here.&lt;br /&gt;
 &lt;br /&gt;
 Enter current password for root (enter for none):&lt;br /&gt;
 OK, successfully used password, moving on...&lt;br /&gt;
 &lt;br /&gt;
 Setting the root password ensures that nobody can log into the MySQL&lt;br /&gt;
 root user without the proper authorisation.&lt;br /&gt;
 &lt;br /&gt;
 Set root password? [Y/n] &lt;br /&gt;
 New password: &lt;br /&gt;
 Re-enter new password: &lt;br /&gt;
 Password updated successfully!&lt;br /&gt;
 Reloading privilege tables..&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 By default, a MySQL installation has an anonymous user, allowing anyone&lt;br /&gt;
 to log into MySQL without having to have a user account created for&lt;br /&gt;
 them.  This is intended only for testing, and to make the installation&lt;br /&gt;
 go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
 production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove anonymous users? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Normally, root should only be allowed to connect from &amp;#039;localhost&amp;#039;.  This&lt;br /&gt;
 ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 By default, MySQL comes with a database named &amp;#039;test&amp;#039; that anyone can&lt;br /&gt;
 access.  This is also intended only for testing, and should be removed&lt;br /&gt;
 before moving into a production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? [Y/n] &lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
 will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Cleaning up...&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 All done!  If you&amp;#039;ve completed all of the above steps, your MySQL&lt;br /&gt;
 installation should now be secure.&lt;br /&gt;
 &lt;br /&gt;
 Thanks for using MySQL!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable mysql.service&lt;br /&gt;
 systemctl enable apache2.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&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;
== 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, then answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 Enter mysql root password: &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &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;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 database successfully initialized&lt;br /&gt;
 you can now start ZonMinder with rczmstart or systemctl start zm.service&lt;br /&gt;
 removing lock file&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&lt;br /&gt;
&lt;br /&gt;
Then run the following command to start [[ZoneMinder]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start zm.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
To enable the start of [[ZoneMinder]] at boot enter:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable zm.service&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
After this [[ZoneMinder]] will start at boot after apache2 and mysql were 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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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.[http://www.blognesian.com/ ]&lt;br /&gt;
&lt;br /&gt;
== Info on Shared Memory ==&lt;br /&gt;
Since package version 1.25.0-44 [[ZoneMinder]] is compiled with mmap enabled. This should simplify the shared memory handling by using /dev/shm. The available space by default is half of the available RAM. &lt;br /&gt;
&lt;br /&gt;
To adjust the shared memory settings for prior versions have a look at the [[FAQ#What_does_a_.27Can.27t_shmget:_Invalid_argument.27_error_in_my_logs_mean.3F_and_my_cameras_won.27t_display_video_at_higher_resolutions.|FAQ Section]].&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=5685</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=5685"/>
		<updated>2013-03-26T20:03:31Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* using YaST */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSuSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.2 11.3 and 11.4 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 package name, for example ZoneMinder-MP-1.22.3-21.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|openSuSE]] 11.4:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.3/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.3:&lt;br /&gt;
Last ZoneMinder version: 1.25.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.3/&lt;br /&gt;
&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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. Before you proceed to start [[Apache]] you should verify the timezone (date.timezone) in /etc/php5/apache2/php.ini. If the timezone isn&amp;#039;t configured properly the hashed based authentication might not work. For a list of valid timezones have a look at [http://www.php.net/manual/en/timezones.php].&lt;br /&gt;
&lt;br /&gt;
Now start [[Apache]] and [[MySQL]] by issuing the following commands:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start mysql.service&lt;br /&gt;
 systemctl start apache2.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rcmysql start&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] it is highly recommended to set up a root password after you&amp;#039;ve started [[MySQL]] by invoking mysql_secure_installation.&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 In order to log into MySQL to secure it, we&amp;#039;ll need the current&lt;br /&gt;
 password for the root user.  If you&amp;#039;ve just installed MySQL, and&lt;br /&gt;
 you haven&amp;#039;t set the root password yet, the password will be blank,&lt;br /&gt;
 so you should just press enter here.&lt;br /&gt;
 &lt;br /&gt;
 Enter current password for root (enter for none):&lt;br /&gt;
 OK, successfully used password, moving on...&lt;br /&gt;
 &lt;br /&gt;
 Setting the root password ensures that nobody can log into the MySQL&lt;br /&gt;
 root user without the proper authorisation.&lt;br /&gt;
 &lt;br /&gt;
 Set root password? [Y/n] &lt;br /&gt;
 New password: &lt;br /&gt;
 Re-enter new password: &lt;br /&gt;
 Password updated successfully!&lt;br /&gt;
 Reloading privilege tables..&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 By default, a MySQL installation has an anonymous user, allowing anyone&lt;br /&gt;
 to log into MySQL without having to have a user account created for&lt;br /&gt;
 them.  This is intended only for testing, and to make the installation&lt;br /&gt;
 go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
 production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove anonymous users? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Normally, root should only be allowed to connect from &amp;#039;localhost&amp;#039;.  This&lt;br /&gt;
 ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 By default, MySQL comes with a database named &amp;#039;test&amp;#039; that anyone can&lt;br /&gt;
 access.  This is also intended only for testing, and should be removed&lt;br /&gt;
 before moving into a production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? [Y/n] &lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
 will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Cleaning up...&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 All done!  If you&amp;#039;ve completed all of the above steps, your MySQL&lt;br /&gt;
 installation should now be secure.&lt;br /&gt;
 &lt;br /&gt;
 Thanks for using MySQL!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable mysql.service&lt;br /&gt;
 systemctl enable apache2.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&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;
== 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, then answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 Enter mysql root password: &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &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;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 database successfully initialized&lt;br /&gt;
 you can now start ZonMinder with rczmstart or systemctl start zm.service&lt;br /&gt;
 removing lock file&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&lt;br /&gt;
&lt;br /&gt;
Then run the following command to start [[ZoneMinder]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start zm.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
To enable the start of [[ZoneMinder]] at boot enter:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable zm.service&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
After this [[ZoneMinder]] will start at boot after apache2 and mysql were 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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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.[http://www.blognesian.com/ ]&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=5679</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=5679"/>
		<updated>2013-03-09T19:38:43Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* using YaST */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSuSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.2 11.3 and 11.4 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 package name, for example ZoneMinder-MP-1.22.3-21.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|openSuSE]] 11.4:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.2/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.3:&lt;br /&gt;
Last ZoneMinder version: 1.25.0&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.3/&lt;br /&gt;
&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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. Before you proceed to start [[Apache]] you should verify the timezone (date.timezone) in /etc/php5/apache2/php.ini. If the timezone isn&amp;#039;t configured properly the hashed based authentication might not work. For a list of valid timezones have a look at [http://www.php.net/manual/en/timezones.php].&lt;br /&gt;
&lt;br /&gt;
Now start [[Apache]] and [[MySQL]] by issuing the following commands:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start mysql.service&lt;br /&gt;
 systemctl start apache2.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rcmysql start&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] it is highly recommended to set up a root password after you&amp;#039;ve started [[MySQL]] by invoking mysql_secure_installation.&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 In order to log into MySQL to secure it, we&amp;#039;ll need the current&lt;br /&gt;
 password for the root user.  If you&amp;#039;ve just installed MySQL, and&lt;br /&gt;
 you haven&amp;#039;t set the root password yet, the password will be blank,&lt;br /&gt;
 so you should just press enter here.&lt;br /&gt;
 &lt;br /&gt;
 Enter current password for root (enter for none):&lt;br /&gt;
 OK, successfully used password, moving on...&lt;br /&gt;
 &lt;br /&gt;
 Setting the root password ensures that nobody can log into the MySQL&lt;br /&gt;
 root user without the proper authorisation.&lt;br /&gt;
 &lt;br /&gt;
 Set root password? [Y/n] &lt;br /&gt;
 New password: &lt;br /&gt;
 Re-enter new password: &lt;br /&gt;
 Password updated successfully!&lt;br /&gt;
 Reloading privilege tables..&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 By default, a MySQL installation has an anonymous user, allowing anyone&lt;br /&gt;
 to log into MySQL without having to have a user account created for&lt;br /&gt;
 them.  This is intended only for testing, and to make the installation&lt;br /&gt;
 go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
 production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove anonymous users? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Normally, root should only be allowed to connect from &amp;#039;localhost&amp;#039;.  This&lt;br /&gt;
 ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 By default, MySQL comes with a database named &amp;#039;test&amp;#039; that anyone can&lt;br /&gt;
 access.  This is also intended only for testing, and should be removed&lt;br /&gt;
 before moving into a production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? [Y/n] &lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
 will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Cleaning up...&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 All done!  If you&amp;#039;ve completed all of the above steps, your MySQL&lt;br /&gt;
 installation should now be secure.&lt;br /&gt;
 &lt;br /&gt;
 Thanks for using MySQL!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable mysql.service&lt;br /&gt;
 systemctl enable apache2.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&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;
== 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, then answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 Enter mysql root password: &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &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;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 database successfully initialized&lt;br /&gt;
 you can now start ZonMinder with rczmstart or systemctl start zm.service&lt;br /&gt;
 removing lock file&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&lt;br /&gt;
&lt;br /&gt;
Then run the following command to start [[ZoneMinder]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start zm.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
To enable the start of [[ZoneMinder]] at boot enter:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable zm.service&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
After this [[ZoneMinder]] will start at boot after apache2 and mysql were 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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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.[http://www.blognesian.com/ ]&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=5678</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=5678"/>
		<updated>2013-03-09T19:37:59Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* using YaST */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSuSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.2 11.3 and 11.4 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 package name, for example ZoneMinder-MP-1.22.3-21.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|openSuSE]] 11.4:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.2/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.3/&lt;br /&gt;
&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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. Before you proceed to start [[Apache]] you should verify the timezone (date.timezone) in /etc/php5/apache2/php.ini. If the timezone isn&amp;#039;t configured properly the hashed based authentication might not work. For a list of valid timezones have a look at [http://www.php.net/manual/en/timezones.php].&lt;br /&gt;
&lt;br /&gt;
Now start [[Apache]] and [[MySQL]] by issuing the following commands:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start mysql.service&lt;br /&gt;
 systemctl start apache2.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rcmysql start&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] it is highly recommended to set up a root password after you&amp;#039;ve started [[MySQL]] by invoking mysql_secure_installation.&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 In order to log into MySQL to secure it, we&amp;#039;ll need the current&lt;br /&gt;
 password for the root user.  If you&amp;#039;ve just installed MySQL, and&lt;br /&gt;
 you haven&amp;#039;t set the root password yet, the password will be blank,&lt;br /&gt;
 so you should just press enter here.&lt;br /&gt;
 &lt;br /&gt;
 Enter current password for root (enter for none):&lt;br /&gt;
 OK, successfully used password, moving on...&lt;br /&gt;
 &lt;br /&gt;
 Setting the root password ensures that nobody can log into the MySQL&lt;br /&gt;
 root user without the proper authorisation.&lt;br /&gt;
 &lt;br /&gt;
 Set root password? [Y/n] &lt;br /&gt;
 New password: &lt;br /&gt;
 Re-enter new password: &lt;br /&gt;
 Password updated successfully!&lt;br /&gt;
 Reloading privilege tables..&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 By default, a MySQL installation has an anonymous user, allowing anyone&lt;br /&gt;
 to log into MySQL without having to have a user account created for&lt;br /&gt;
 them.  This is intended only for testing, and to make the installation&lt;br /&gt;
 go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
 production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove anonymous users? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Normally, root should only be allowed to connect from &amp;#039;localhost&amp;#039;.  This&lt;br /&gt;
 ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 By default, MySQL comes with a database named &amp;#039;test&amp;#039; that anyone can&lt;br /&gt;
 access.  This is also intended only for testing, and should be removed&lt;br /&gt;
 before moving into a production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? [Y/n] &lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
 will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Cleaning up...&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 All done!  If you&amp;#039;ve completed all of the above steps, your MySQL&lt;br /&gt;
 installation should now be secure.&lt;br /&gt;
 &lt;br /&gt;
 Thanks for using MySQL!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable mysql.service&lt;br /&gt;
 systemctl enable apache2.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&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;
== 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, then answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 Enter mysql root password: &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &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;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 database successfully initialized&lt;br /&gt;
 you can now start ZonMinder with rczmstart or systemctl start zm.service&lt;br /&gt;
 removing lock file&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&lt;br /&gt;
&lt;br /&gt;
Then run the following command to start [[ZoneMinder]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start zm.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
To enable the start of [[ZoneMinder]] at boot enter:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable zm.service&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
After this [[ZoneMinder]] will start at boot after apache2 and mysql were 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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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.[http://www.blognesian.com/ ]&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=5546</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=5546"/>
		<updated>2012-09-17T19:10:22Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* Setting up MySQL and Apache */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSuSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.2 11.3 and 11.4 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 package name, for example ZoneMinder-MP-1.22.3-21.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|openSuSE]] 11.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.4:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.2/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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. Before you proceed to start [[Apache]] you should verify the timezone (date.timezone) in /etc/php5/apache2/php.ini. If the timezone isn&amp;#039;t configured properly the hashed based authentication might not work. For a list of valid timezones have a look at [http://www.php.net/manual/en/timezones.php].&lt;br /&gt;
&lt;br /&gt;
Now start [[Apache]] and [[MySQL]] by issuing the following commands:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start mysql.service&lt;br /&gt;
 systemctl start apache2.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rcmysql start&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] it is highly recommended to set up a root password after you&amp;#039;ve started [[MySQL]] by invoking mysql_secure_installation.&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 In order to log into MySQL to secure it, we&amp;#039;ll need the current&lt;br /&gt;
 password for the root user.  If you&amp;#039;ve just installed MySQL, and&lt;br /&gt;
 you haven&amp;#039;t set the root password yet, the password will be blank,&lt;br /&gt;
 so you should just press enter here.&lt;br /&gt;
 &lt;br /&gt;
 Enter current password for root (enter for none):&lt;br /&gt;
 OK, successfully used password, moving on...&lt;br /&gt;
 &lt;br /&gt;
 Setting the root password ensures that nobody can log into the MySQL&lt;br /&gt;
 root user without the proper authorisation.&lt;br /&gt;
 &lt;br /&gt;
 Set root password? [Y/n] &lt;br /&gt;
 New password: &lt;br /&gt;
 Re-enter new password: &lt;br /&gt;
 Password updated successfully!&lt;br /&gt;
 Reloading privilege tables..&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 By default, a MySQL installation has an anonymous user, allowing anyone&lt;br /&gt;
 to log into MySQL without having to have a user account created for&lt;br /&gt;
 them.  This is intended only for testing, and to make the installation&lt;br /&gt;
 go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
 production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove anonymous users? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Normally, root should only be allowed to connect from &amp;#039;localhost&amp;#039;.  This&lt;br /&gt;
 ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 By default, MySQL comes with a database named &amp;#039;test&amp;#039; that anyone can&lt;br /&gt;
 access.  This is also intended only for testing, and should be removed&lt;br /&gt;
 before moving into a production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? [Y/n] &lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
 will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Cleaning up...&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 All done!  If you&amp;#039;ve completed all of the above steps, your MySQL&lt;br /&gt;
 installation should now be secure.&lt;br /&gt;
 &lt;br /&gt;
 Thanks for using MySQL!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable mysql.service&lt;br /&gt;
 systemctl enable apache2.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&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;
== 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, then answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 Enter mysql root password: &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &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;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 database successfully initialized&lt;br /&gt;
 you can now start ZonMinder with rczmstart or systemctl start zm.service&lt;br /&gt;
 removing lock file&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&lt;br /&gt;
&lt;br /&gt;
Then run the following command to start [[ZoneMinder]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start zm.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
To enable the start of [[ZoneMinder]] at boot enter:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable zm.service&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
After this [[ZoneMinder]] will start at boot after apache2 and mysql were 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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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.[http://www.blognesian.com/ ]&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=5545</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=5545"/>
		<updated>2012-09-17T18:50:18Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* using YaST */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSuSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.2 11.3 and 11.4 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 package name, for example ZoneMinder-MP-1.22.3-21.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|openSuSE]] 11.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.4:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.2/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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 commands to start [[Apache]] and [[MySQL]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start mysql.service&lt;br /&gt;
 systemctl start apache2.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rcmysql start&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] it is highly recommended to set up a root password after you&amp;#039;ve started [[MySQL]] by invoking mysql_secure_installation.&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 In order to log into MySQL to secure it, we&amp;#039;ll need the current&lt;br /&gt;
 password for the root user.  If you&amp;#039;ve just installed MySQL, and&lt;br /&gt;
 you haven&amp;#039;t set the root password yet, the password will be blank,&lt;br /&gt;
 so you should just press enter here.&lt;br /&gt;
 &lt;br /&gt;
 Enter current password for root (enter for none):&lt;br /&gt;
 OK, successfully used password, moving on...&lt;br /&gt;
 &lt;br /&gt;
 Setting the root password ensures that nobody can log into the MySQL&lt;br /&gt;
 root user without the proper authorisation.&lt;br /&gt;
 &lt;br /&gt;
 Set root password? [Y/n] &lt;br /&gt;
 New password: &lt;br /&gt;
 Re-enter new password: &lt;br /&gt;
 Password updated successfully!&lt;br /&gt;
 Reloading privilege tables..&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 By default, a MySQL installation has an anonymous user, allowing anyone&lt;br /&gt;
 to log into MySQL without having to have a user account created for&lt;br /&gt;
 them.  This is intended only for testing, and to make the installation&lt;br /&gt;
 go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
 production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove anonymous users? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Normally, root should only be allowed to connect from &amp;#039;localhost&amp;#039;.  This&lt;br /&gt;
 ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 By default, MySQL comes with a database named &amp;#039;test&amp;#039; that anyone can&lt;br /&gt;
 access.  This is also intended only for testing, and should be removed&lt;br /&gt;
 before moving into a production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? [Y/n] &lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
 will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Cleaning up...&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 All done!  If you&amp;#039;ve completed all of the above steps, your MySQL&lt;br /&gt;
 installation should now be secure.&lt;br /&gt;
 &lt;br /&gt;
 Thanks for using MySQL!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable mysql.service&lt;br /&gt;
 systemctl enable apache2.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&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;
== 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, then answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 Enter mysql root password: &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &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;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 database successfully initialized&lt;br /&gt;
 you can now start ZonMinder with rczmstart or systemctl start zm.service&lt;br /&gt;
 removing lock file&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&lt;br /&gt;
&lt;br /&gt;
Then run the following command to start [[ZoneMinder]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start zm.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
To enable the start of [[ZoneMinder]] at boot enter:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable zm.service&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
After this [[ZoneMinder]] will start at boot after apache2 and mysql were 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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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.[http://www.blognesian.com/ ]&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=5094</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=5094"/>
		<updated>2012-01-28T14:05:55Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* Initializing ZoneMinder */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSuSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.2 11.3 and 11.4 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 package name, for example ZoneMinder-MP-1.22.3-21.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|openSuSE]] 11.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.4:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.1/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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 commands to start [[Apache]] and [[MySQL]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start mysql.service&lt;br /&gt;
 systemctl start apache2.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rcmysql start&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] it is highly recommended to set up a root password after you&amp;#039;ve started [[MySQL]] by invoking mysql_secure_installation.&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 In order to log into MySQL to secure it, we&amp;#039;ll need the current&lt;br /&gt;
 password for the root user.  If you&amp;#039;ve just installed MySQL, and&lt;br /&gt;
 you haven&amp;#039;t set the root password yet, the password will be blank,&lt;br /&gt;
 so you should just press enter here.&lt;br /&gt;
 &lt;br /&gt;
 Enter current password for root (enter for none):&lt;br /&gt;
 OK, successfully used password, moving on...&lt;br /&gt;
 &lt;br /&gt;
 Setting the root password ensures that nobody can log into the MySQL&lt;br /&gt;
 root user without the proper authorisation.&lt;br /&gt;
 &lt;br /&gt;
 Set root password? [Y/n] &lt;br /&gt;
 New password: &lt;br /&gt;
 Re-enter new password: &lt;br /&gt;
 Password updated successfully!&lt;br /&gt;
 Reloading privilege tables..&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 By default, a MySQL installation has an anonymous user, allowing anyone&lt;br /&gt;
 to log into MySQL without having to have a user account created for&lt;br /&gt;
 them.  This is intended only for testing, and to make the installation&lt;br /&gt;
 go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
 production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove anonymous users? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Normally, root should only be allowed to connect from &amp;#039;localhost&amp;#039;.  This&lt;br /&gt;
 ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 By default, MySQL comes with a database named &amp;#039;test&amp;#039; that anyone can&lt;br /&gt;
 access.  This is also intended only for testing, and should be removed&lt;br /&gt;
 before moving into a production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? [Y/n] &lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
 will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Cleaning up...&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 All done!  If you&amp;#039;ve completed all of the above steps, your MySQL&lt;br /&gt;
 installation should now be secure.&lt;br /&gt;
 &lt;br /&gt;
 Thanks for using MySQL!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable mysql.service&lt;br /&gt;
 systemctl enable apache2.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&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;
== 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, then answer all questions with &amp;#039;n&amp;#039;&lt;br /&gt;
 Enter mysql root password: &lt;br /&gt;
 generated/updated ~/.my.cnf&lt;br /&gt;
 run mysql command to create db as user root? [Y/n]: &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;
 should the config file updated with the new passwd? [Y/n]: &lt;br /&gt;
 database successfully initialized&lt;br /&gt;
 you can now start ZonMinder with rczmstart or systemctl start zm.service&lt;br /&gt;
 removing lock file&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&lt;br /&gt;
&lt;br /&gt;
Then run the following command to start [[ZoneMinder]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start zm.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rczm start&lt;br /&gt;
&lt;br /&gt;
To enable the start of [[ZoneMinder]] at boot enter:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable zm.service&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 chkconfig zm on&lt;br /&gt;
&lt;br /&gt;
After this [[ZoneMinder]] will start at boot after apache2 and mysql were 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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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.[http://www.blognesian.com/ ]&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=5093</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=5093"/>
		<updated>2012-01-28T13:59:55Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* Setting up MySQL and Apache */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSuSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.2 11.3 and 11.4 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 package name, for example ZoneMinder-MP-1.22.3-21.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|openSuSE]] 11.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.4:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.1/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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 commands to start [[Apache]] and [[MySQL]]:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl start mysql.service&lt;br /&gt;
 systemctl start apache2.service&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note for systemd users:&amp;#039;&amp;#039;&amp;#039; all output is redirected to /var/log/messages instead of printing them on stdout and stderr which means if something goes wring you should have a look at /var/log/messages.&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&lt;br /&gt;
 rcmysql start&lt;br /&gt;
 rcapache2 start&lt;br /&gt;
&lt;br /&gt;
When this is the first time you start [[MySQL]] it is highly recommended to set up a root password after you&amp;#039;ve started [[MySQL]] by invoking mysql_secure_installation.&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL&lt;br /&gt;
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 In order to log into MySQL to secure it, we&amp;#039;ll need the current&lt;br /&gt;
 password for the root user.  If you&amp;#039;ve just installed MySQL, and&lt;br /&gt;
 you haven&amp;#039;t set the root password yet, the password will be blank,&lt;br /&gt;
 so you should just press enter here.&lt;br /&gt;
 &lt;br /&gt;
 Enter current password for root (enter for none):&lt;br /&gt;
 OK, successfully used password, moving on...&lt;br /&gt;
 &lt;br /&gt;
 Setting the root password ensures that nobody can log into the MySQL&lt;br /&gt;
 root user without the proper authorisation.&lt;br /&gt;
 &lt;br /&gt;
 Set root password? [Y/n] &lt;br /&gt;
 New password: &lt;br /&gt;
 Re-enter new password: &lt;br /&gt;
 Password updated successfully!&lt;br /&gt;
 Reloading privilege tables..&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 By default, a MySQL installation has an anonymous user, allowing anyone&lt;br /&gt;
 to log into MySQL without having to have a user account created for&lt;br /&gt;
 them.  This is intended only for testing, and to make the installation&lt;br /&gt;
 go a bit smoother.  You should remove them before moving into a&lt;br /&gt;
 production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove anonymous users? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Normally, root should only be allowed to connect from &amp;#039;localhost&amp;#039;.  This&lt;br /&gt;
 ensures that someone cannot guess at the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 By default, MySQL comes with a database named &amp;#039;test&amp;#039; that anyone can&lt;br /&gt;
 access.  This is also intended only for testing, and should be removed&lt;br /&gt;
 before moving into a production environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? [Y/n] &lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Reloading the privilege tables will ensure that all changes made so far&lt;br /&gt;
 will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? [Y/n] &lt;br /&gt;
  ... Success!&lt;br /&gt;
 &lt;br /&gt;
 Cleaning up...&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 All done!  If you&amp;#039;ve completed all of the above steps, your MySQL&lt;br /&gt;
 installation should now be secure.&lt;br /&gt;
 &lt;br /&gt;
 Thanks for using MySQL!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you plan to start ZoneMinder at boot, you can now add [[Apache]] and [[MySQL]] for automatic start by typing:&lt;br /&gt;
&lt;br /&gt;
openSUSE 12.1 and newer (systemd):&lt;br /&gt;
 systemctl enable mysql.service&lt;br /&gt;
 systemctl enable apache2.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
openSUSE 11.4 and prior:&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;
== 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;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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.[http://www.blognesian.com/ ]&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=5090</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=5090"/>
		<updated>2012-01-27T21:20:43Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* Setting up MySQL and Apache */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSuSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.2 11.3 and 11.4 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 package name, for example ZoneMinder-MP-1.22.3-21.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|openSuSE]] 11.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.4:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.1/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; With openSUSE 12.1 the traditional init process was replaced by systemd, which redirects the output to /var/log/messages. Anyway you can setup the root password by invoking mysql_secure_installation.&lt;br /&gt;
&lt;br /&gt;
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;
== 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;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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.[http://www.blognesian.com/ ]&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=5010</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=5010"/>
		<updated>2011-12-25T19:05:44Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* using YaST */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSuSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.2 11.3 and 11.4 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 package name, for example ZoneMinder-MP-1.22.3-21.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|openSuSE]] 11.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.4:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 12.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/12.1/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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.[http://www.blognesian.com/ ]&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=4562</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=4562"/>
		<updated>2011-07-05T19:09:05Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* using YaST */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSuSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.2 11.3 and 11.4 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 package name, for example ZoneMinder-MP-1.22.3-21.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|openSuSE]] 11.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.4:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.4/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; To resolve the dependencies to perl-PHP-Serialization for openSuSE 11.3 or newer you also need to add the Build Service repository which offers the package:&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.4:&lt;br /&gt;
http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.3:&lt;br /&gt;
http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_11.3/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.1:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.2:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.2/&lt;br /&gt;
&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=4535</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=4535"/>
		<updated>2011-06-11T16:47:25Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* using YaST */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSuSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.2 11.3 and 11.4 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 package name, for example ZoneMinder-MP-1.22.3-21.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|openSuSE]] 11.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.4:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.4/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; To resolve the dependencies to perl-PHP-Serialization for openSuSE 11.3 or newer you also need to add the Build Service repository which offers the package:&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.4:&lt;br /&gt;
http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_11.4/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.3:&lt;br /&gt;
http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_11.3/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=4335</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=4335"/>
		<updated>2011-04-25T13:24:28Z</updated>

		<summary type="html">&lt;p&gt;Monex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&gt;
This is a short How-to for installing [[ZoneMinder]] on [[SuSE|openSuSE]] with RPMs&lt;br /&gt;
Currently RPMS are available for openSuSE 11.2 11.3 and 11.4 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 package name, for example ZoneMinder-MP-1.22.3-21.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|openSuSE]] 11.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.4:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.4/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 &lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.0:&lt;br /&gt;
Last ZoneMinder version: 1.24.2&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/11.0/&lt;br /&gt;
&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=3632</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=3632"/>
		<updated>2010-01-09T20:26:01Z</updated>

		<summary type="html">&lt;p&gt;Monex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&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.1 10.2 and 10.3 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 package name, for example ZoneMinder-MP-1.22.3-21.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|openSuSE]] 10.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.0:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.2/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=2745</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=2745"/>
		<updated>2009-01-07T18:18:38Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* using YaST */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&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.1 10.2 and 10.3 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 package name, for example ZoneMinder-MP-1.22.3-21.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|openSuSE]] 10.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.0:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.1/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/10.0/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.1:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 http://www.liquid-co.de/pub/suse/repositories/discontinued/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
Last ZoneMinder version: 1.23.3 http://www.liquid-co.de/pub/suse/repositories/discontinued/10.2/&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Logwatch&amp;diff=2698</id>
		<title>Logwatch</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Logwatch&amp;diff=2698"/>
		<updated>2008-10-18T16:27:39Z</updated>

		<summary type="html">&lt;p&gt;Monex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMindeeGlossy.png|left]]&lt;br /&gt;
Logwatch is a system log analyzer and reporter. This article describes the extensions logwatch extension for [[ZoneMinder]]. This should help you to get noticed if something goes wrong on your [[ZoneMinder]] box.&lt;br /&gt;
&lt;br /&gt;
== Overview of the provided Informations ==&lt;br /&gt;
Beside the normal logwatch informations this extension provides the following informations:&lt;br /&gt;
&lt;br /&gt;
* Number of alert states for the different cameras&lt;br /&gt;
* Number of [[ZoneMinder]] daemon crashes (includes the information which daemon crashed)&lt;br /&gt;
* Number of [[ZoneMinder]] MySQL errors (includes the [ZoneMinder] error message)&lt;br /&gt;
With detail =&amp;gt; 3&lt;br /&gt;
* Number of abnormally exits from the various [[ZoneMinder]] daemons&lt;br /&gt;
* Number of [[ZoneMinder]] daemon starts.&lt;br /&gt;
&lt;br /&gt;
(As a convention 0 values aren&amp;#039;t displayed)&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
You need to install logwatch. Logwatch is part of the most distributions, simple install it via the package management of your distribution. Of course you can download logwatch it from the logwatch website [http://www.logwatch.org/] too.&lt;br /&gt;
&lt;br /&gt;
== Install the extension for ZoneMinder ==&lt;br /&gt;
first you have to download the required files from [http://liquid-co.de/pub/zm/logwatch/zm_logwatch.tar.gz here]. Extract the archive, copy the file &amp;#039;&amp;#039;zoneminder.conf&amp;#039;&amp;#039; to &amp;#039;&amp;#039;/usr/share/logwatch/default.conf/services/&amp;#039;&amp;#039; and copy the file &amp;#039;&amp;#039;zondeminder&amp;#039;&amp;#039; to &amp;#039;&amp;#039;/usr/share/logwatch/scripts/services/&amp;#039;&amp;#039; (these locations depends on your logwatch install location and may vary). That&amp;#039;s all.&lt;br /&gt;
&lt;br /&gt;
== Using [[ZoneMinder]] logwatch extension ==&lt;br /&gt;
Just run &amp;#039;&amp;#039;logwatch --service zondeminder&amp;#039;&amp;#039;. If you want more detailed informations (see overview) run it with &amp;#039;&amp;#039;--details 3&amp;#039;&amp;#039;. For a more detailed informations on how to use logwatch have a look at the manpage [http://www.logwatch.org/tabs/docs/logwatch.8.html].&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
For example you can run:&lt;br /&gt;
 logwatch  --service zoneminder --range &amp;#039;yesterday&amp;#039; --detail high --print --archives --mailto &amp;lt;your mail address&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Maybe you want to create a daily cronjob. Create a file called logwatch in &amp;#039;&amp;#039;/etc/&amp;#039;cron.d/&amp;#039; for example:&lt;br /&gt;
 0 18 * * *    root    logwatch  --service zoneminder --range &amp;#039;yesterday&amp;#039; --detail high --print --archives --mailto &amp;lt;your mail address&amp;gt;&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=File:ZoneMindeeGlossy.png&amp;diff=2697</id>
		<title>File:ZoneMindeeGlossy.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=File:ZoneMindeeGlossy.png&amp;diff=2697"/>
		<updated>2008-10-18T15:40:46Z</updated>

		<summary type="html">&lt;p&gt;Monex: ZoneMinder Glossy Logo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ZoneMinder Glossy Logo&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=2666</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=2666"/>
		<updated>2008-09-21T11:41:13Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* Initializing ZoneMinder */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&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.1 10.2 and 10.3 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 package name, for example ZoneMinder-MP-1.22.3-21.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.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.0:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.0/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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;
&amp;#039;&amp;#039;&amp;#039;Important Note:&amp;#039;&amp;#039;&amp;#039; If you entered the wrong mysl root password or changed the mysql root password and you get something like &amp;#039;&amp;#039;Permission denied for user root&amp;#039;&amp;#039; when running zm_database_init (you don&amp;#039;t get prompted for the mysql root password again) you have to edit /root/.my.cnf and enter the correct mysql root password there or remove that file to get prompted for the root password again (during execution of zm_database_init). After that run zm_database_init again which should now proceed as desired.&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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=2580</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=2580"/>
		<updated>2008-06-24T19:36:54Z</updated>

		<summary type="html">&lt;p&gt;Monex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&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.1 10.2 and 10.3 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 package name, for example ZoneMinder-MP-1.22.3-21.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.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.3/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 11.0:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/11.0/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/discontinued/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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP.ymp install MP version]&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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=File:ZoneMinderGlossy.png&amp;diff=2478</id>
		<title>File:ZoneMinderGlossy.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=File:ZoneMinderGlossy.png&amp;diff=2478"/>
		<updated>2008-04-18T13:03:33Z</updated>

		<summary type="html">&lt;p&gt;Monex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=2277</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=2277"/>
		<updated>2007-12-11T19:56:00Z</updated>

		<summary type="html">&lt;p&gt;Monex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&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.1 10.2 and 10.3 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 package name, for example ZoneMinder-MP-1.22.3-21.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.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.3/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button. If you prefer the non MP version use the following link: [http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder_10.3.ymp Install normal version]&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you can select one packman repository during the one-click-install dialogue.&lt;br /&gt;
[http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder-MP_10.3.ymp install MP version]&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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=2276</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=2276"/>
		<updated>2007-12-11T19:33:03Z</updated>

		<summary type="html">&lt;p&gt;Monex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&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.1 10.2 and 10.3 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 package name, for example ZoneMinder-MP-1.22.3-21.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.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.3/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. Finally you have to rerun &amp;quot;chkconfig zm on&amp;quot; when you want to start [[ZoneMinder]] at boot. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=2275</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=2275"/>
		<updated>2007-12-11T19:18:33Z</updated>

		<summary type="html">&lt;p&gt;Monex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&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.1 10.2 and 10.3 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 package name, for example ZoneMinder-MP-1.22.3-21.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.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.3/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package  you have to run &amp;quot;cp /etc/zm.conf.rpmsave /etc/zm.conf&amp;quot; and before &amp;quot;zm_datbase_init&amp;quot; when upgrading the MP package from 1.22.3 to 1.23.x. For more detailed informations look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Switching between MP and non MP version | Switching between MP and non MP version]].&amp;#039;&amp;#039;&amp;#039;&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;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted [[ZoneMinder]] version. After finished installation you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot.&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>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=2274</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=2274"/>
		<updated>2007-12-11T18:42:24Z</updated>

		<summary type="html">&lt;p&gt;Monex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&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.1 10.2 and 10.3 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 package name, for example ZoneMinder-MP-1.22.3-21.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.1:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.1/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.2:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE|openSuSE]] 10.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.3/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0:&lt;br /&gt;
Last ZoneMinder version: 1.22.3&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 version you want (either ZoneMinder or ZoneMinder-MP). Keep in mind that ZoneMinder-MP requires the packman repository. Then proceed as normal, all other required packages will be resolved due to dependencies.&lt;br /&gt;
&lt;br /&gt;
=== using one-click-install ([[SuSE|openSuSE]] &amp;gt;= 10.3) ===&lt;br /&gt;
[[SuSE|openSuSE]] 10.3 offers an installation by only one click. Just click on the following button.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[Image:ZoneMinderOneClickInstall.png]]]&lt;br /&gt;
link:http://www.liquid-co.de/pub/suse/one-click-install/ZoneMinder.ymp&lt;br /&gt;
&lt;br /&gt;
If you prefer the MP version use this one. If you don&amp;#039;t already added one packman repository you have to select the checkbox for the packman repository during one click install.&lt;br /&gt;
&lt;br /&gt;
{{Click&lt;br /&gt;
|image  = ZoneMinderOneClickInstallMP.png&lt;br /&gt;
|width  = 160px&lt;br /&gt;
|height = 49px&lt;br /&gt;
|link   = Installing_using_ZoneMinder_RPMs_for_SuSE&lt;br /&gt;
}}&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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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;
*** &amp;#039;&amp;#039;&amp;#039;Due to package name change of the MP package you should have a look at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]] when upgrading the MP package.&amp;#039;&amp;#039;&amp;#039;&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#Switching between MP and non MP version | Switching between MP and non MP version]].&lt;br /&gt;
&lt;br /&gt;
== Switching between MP and non MP version ==&lt;br /&gt;
Follow the steps described at [[Installing_using_ZoneMinder_RPMs_for_SuSE#Installation of ZoneMinder | Installation of ZoneMinder]]. Because ZoneMinder-MP and ZoneMinder packages are conflicting [[YaST]] will report a conflict. Resolve the dependencies by deleting the unwanted package version. After installation finished you have to replace the new installed configuration file by typing (as root):&lt;br /&gt;
 cp /etc/zm.conf.rpmsave /etc/zm.conf&lt;br /&gt;
the run zm_database_init if this is not an update of ZoneMinder (compare to [[Installing_using_ZoneMinder_RPMs_for_SuSE#Update ZoneMinder | Update Zoneminder]]) and answer all questions with &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; otherwise follow the update steps on the screen.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; After switching between MP and non MP version you have to run &amp;quot;chkconfig zm on&amp;quot; again if you want to start [[ZoneMinder]] at boot process.&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>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Template:Click&amp;diff=2273</id>
		<title>Template:Click</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Template:Click&amp;diff=2273"/>
		<updated>2007-12-11T18:36:38Z</updated>

		<summary type="html">&lt;p&gt;Monex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;div style=&amp;quot;position:relative; width:{{{width}}}; height:{{{height}}}; overflow:hidden;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;position:absolute; font-size:{{{height}}}; overflow:hidden; line-height:{{{height}}}; letter-spacing:{{{width}}};&amp;quot;&amp;gt;[[{{{link}}}|&amp;lt;span title=&amp;quot;{{{title|{{{link}}}}}}&amp;quot; style=&amp;quot;text-decoration:none;&amp;quot;&amp;gt;&amp;amp;nbsp; &amp;amp;nbsp;&amp;lt;/span&amp;gt;]]&amp;lt;/div&amp;gt;[[Image:{{{image}}}|{{{width}}}|{{{title|{{{link}}}}}}]]&amp;lt;/div&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{template doc}}&lt;br /&gt;
&amp;lt;!-- Add categories and interwikis to the /doc subpage, not here! --&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Template:Click&amp;diff=2272</id>
		<title>Template:Click</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Template:Click&amp;diff=2272"/>
		<updated>2007-12-11T18:34:33Z</updated>

		<summary type="html">&lt;p&gt;Monex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;span style=&amp;quot;position:relative; overflow:hidden; width:{{{width}}}; height:{{{height}}}; z-index:2;&amp;quot;&amp;gt;[[Image:{{{image}}}|{{{width}}}]]&amp;lt;span style=&amp;quot;position:absolute; top:0; left:0; padding-top:3px; z-index:3;&amp;quot;&amp;gt;[[{{{link}}}|&amp;lt;span style=&amp;quot;float:left; width:{{{width}}}; height:{{{height}}}; font-size:{{{height}}}; line-height:{{{height}}}; word-spacing:{{{width}}}; cursor:pointer;&amp;quot;&amp;gt;&amp;amp;nbsp; &amp;amp;nbsp;&amp;lt;/span&amp;gt;]]&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Template:Click&amp;diff=2267</id>
		<title>Template:Click</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Template:Click&amp;diff=2267"/>
		<updated>2007-12-03T20:01:07Z</updated>

		<summary type="html">&lt;p&gt;Monex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;div style=&amp;quot;position:relative; width:{{{width}}}; height:{{{height}}}; overflow:hidden;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;position:absolute; font-size:{{{height}}}; overflow:hidden; line-height:{{{height}}}; letter-spacing:{{{width}}};&amp;quot;&amp;gt;[[{{{link}}}|&amp;lt;span title=&amp;quot;{{{title|{{{link}}}}}}&amp;quot; style=&amp;quot;text-decoration:none;&amp;quot;&amp;gt;&amp;amp;nbsp; &amp;amp;nbsp;&amp;lt;/span&amp;gt;]]&amp;lt;/div&amp;gt;[[Image:{{{image}}}|{{{width}}}|{{{title|{{{link}}}}}}]]&amp;lt;/div&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{template doc}}&lt;br /&gt;
&amp;lt;!-- Add categories and interwikis to the /doc subpage, not here! --&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=2246</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=2246"/>
		<updated>2007-12-01T19:19:27Z</updated>

		<summary type="html">&lt;p&gt;Monex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&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.1 10.2 and 10.3 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.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.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.3/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0(Last ZoneMinder version: 1.22.3):&lt;br /&gt;
&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;
[[Image:Yast zoneminder.png|thumb|right|Package selection of different ZoneMinder versions]]&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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=2245</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=2245"/>
		<updated>2007-12-01T17:02:53Z</updated>

		<summary type="html">&lt;p&gt;Monex: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:ZoneMinderSuSERPMS.png|left]]&lt;br /&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.1 10.2 and 10.3 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.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.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.3/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Depreciated SuSE versions&amp;#039;&amp;#039;&amp;#039; (repository is still there but not updated anymore)&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.0(Last ZoneMinder version: 1.22.3=:&lt;br /&gt;
&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;
[[Image:Yast zoneminder.png|thumb|right|Package selection of different ZoneMinder versions]]&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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=File:ZoneMinderOneClickInstallMP.png&amp;diff=2244</id>
		<title>File:ZoneMinderOneClickInstallMP.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=File:ZoneMinderOneClickInstallMP.png&amp;diff=2244"/>
		<updated>2007-12-01T16:23:11Z</updated>

		<summary type="html">&lt;p&gt;Monex: openSuSE one click install of ZoneMinder MP&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;openSuSE one click install of ZoneMinder MP&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=File:ZoneMinderOneClickInstall.png&amp;diff=2243</id>
		<title>File:ZoneMinderOneClickInstall.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=File:ZoneMinderOneClickInstall.png&amp;diff=2243"/>
		<updated>2007-12-01T16:22:48Z</updated>

		<summary type="html">&lt;p&gt;Monex: openSuSE one Click Install of ZoneMinder&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;openSuSE one Click Install of ZoneMinder&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=File:ZoneMinderSuSERPMS.png&amp;diff=2242</id>
		<title>File:ZoneMinderSuSERPMS.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=File:ZoneMinderSuSERPMS.png&amp;diff=2242"/>
		<updated>2007-12-01T15:09:48Z</updated>

		<summary type="html">&lt;p&gt;Monex: ZoneMinder SuSE RPM Picture&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ZoneMinder SuSE RPM Picture&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=2180</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=2180"/>
		<updated>2007-10-18T18:54:43Z</updated>

		<summary type="html">&lt;p&gt;Monex: &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.0:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.0/&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.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.3/&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;
[[Image:Yast zoneminder.png|thumb|right|Package selection of different ZoneMinder versions]]&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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=File:Yast_zoneminder.png&amp;diff=2179</id>
		<title>File:Yast zoneminder.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=File:Yast_zoneminder.png&amp;diff=2179"/>
		<updated>2007-10-18T18:21:50Z</updated>

		<summary type="html">&lt;p&gt;Monex: ZoneMinder Pakage selection in Yast&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ZoneMinder Pakage selection in Yast&lt;/div&gt;</summary>
		<author><name>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=2178</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=2178"/>
		<updated>2007-10-17T19:59:30Z</updated>

		<summary type="html">&lt;p&gt;Monex: /* Initializing ZoneMinder */&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.0:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.0/&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.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.3/&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;
&amp;#039;&amp;#039;&amp;#039;Hint:&amp;#039;&amp;#039;&amp;#039; Since [[SuSE|openSuSE]] 10.3 PHP short_open_tag is disabled by default. The RPM now includes a config file for apache to avoid a manual edit. The only thing you have to do is to &amp;#039;&amp;#039;&amp;#039;restart apache&amp;#039;&amp;#039;&amp;#039; after the installation (rcapache2 restart)!&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;
== 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>Monex</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Installing_using_ZoneMinder_RPMs_for_SuSE&amp;diff=2177</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=2177"/>
		<updated>2007-10-15T09:03:51Z</updated>

		<summary type="html">&lt;p&gt;Monex: &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.0:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.0/&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.2/&lt;br /&gt;
&lt;br /&gt;
[[SuSE]] 10.3:&lt;br /&gt;
http://www.liquid-co.de/pub/suse/repositories/10.3/&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>Monex</name></author>
	</entry>
</feed>