I am trying to install ZoneMinder 1.26.5 on CentOS and am having issues. I am very green with Linux in general so please be patient...
So far here is what I have done...
Downloaded and expanded the ZoneMinder 1.26.5 tar into the ZoneMinder 1.26.5 folder. Read the README.md file. Installed REPOFORGE - now at release-0.5.3-1.el6.rf.x86_64 and installed all requirements listed: automake bzip2-devel ffmpeg-devel ... etc...
I am not quite sure what needs to be performed for EPEL (at url identified) - I could use a little help for this one...
I read the INSTALL file and installed cmake-2.6.4.5 program and tried to change the zmuser name and password using the following commands: cmake -ZM_DB_USER=zmadmin and cmake -ZM_DB_PASS=newPW and I get the following error: CMake Error: The source directory "/tmp/ZoneMinder-1.26.5/ -ZM_DB_USER=zmadmin" does not exist
I ended up changing the CMakeLists.txt file to the correct name and password (I know it says you shouldn't do this, but not sure if this is reliable)
I cannot get anything to install using the cmake or make commands....
All help is very apprciated.
Troy
CentOS6 Installation Help
-
- Posts: 271
- Joined: Tue Feb 11, 2014 2:04 pm
Re: CentOS6 Installation Help
http://www.zoneminder.com/forums/viewto ... =9&t=19119
Check that post, it has the steps needed to get zm 1.27 installed on CentOS without any compiling. I've used it on two systems, the steps work and you end up with a good install of the latest zm.
Check that post, it has the steps needed to get zm 1.27 installed on CentOS without any compiling. I've used it on two systems, the steps work and you end up with a good install of the latest zm.
Re: CentOS6 Installation Help
Seeing as this link has the 1.27 release I went with this one....
OK, I have the three repositories installed:
RPM Fusion repository (rpmfusion-free-release-20-1.noarch)
EPEL repository (epel-release-6-8.noarch)
RepoForge (formerly RPMForge) repository (rpmforge-release-0.5.3-1.el6.rf.x86_64)
Ran the Yum Priorities update and received this error:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/metalink | 14 kB 00:00
Error: Cannot find a valid baseurl for repo: rpmfusion-free
Any ideas?
Troy
OK, I have the three repositories installed:
RPM Fusion repository (rpmfusion-free-release-20-1.noarch)
EPEL repository (epel-release-6-8.noarch)
RepoForge (formerly RPMForge) repository (rpmforge-release-0.5.3-1.el6.rf.x86_64)
Ran the Yum Priorities update and received this error:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/metalink | 14 kB 00:00
Error: Cannot find a valid baseurl for repo: rpmfusion-free
Any ideas?
Troy
-
- Posts: 271
- Joined: Tue Feb 11, 2014 2:04 pm
Re: CentOS6 Installation Help
I see that occasionally when a new repo gets set up. Typically I get a little heavy-handed with yum in those cases.
Then try to do whatever you were trying to do before.
Code: Select all
yum clean all
yum repolist
Re: CentOS6 Installation Help
OK, success - sort of...
1) EPEL Repository is fine and priorities assigned
2) RepoForge (RPMForge) repository is fine and priorities assigned
3) RPM Fusion repository is installed - see warning below. ..
[root@toscadvr tmp]# rpm -ivh rpmfusion-free-release-20-1.noarch.rpm
warning: rpmfusion-free-release-20-1.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID ae688223: NOKEY
Preparing... ########################################### [100%]
1:rpmfusion-free-release ########################################### [100%]
When I run the yum install yum-plugin-priorities it will fail giving me the same error... If I rename the rpmfusion files in the yum.repos.d folder, the yum install yum-plugin-priorities works without issue...
If I un-comment line 3 (baseurl) and comment line 4 (mirrorlist) in my rpmfusion-free.repo file, it will still fail with this error:
[root@toscadvr yum.repos.d]# yum install yum-plugin-priorities
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: ***edu
* epel: ***gov
* extras: mirror***net
* rpmforge: ftp***jp
* updates: mirror***org
*** [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-free. Please verify its path and try again
I can't seem to find the correct url for the update for rpmfusion-free and/or rpmfusion-free-updates....
Troy
1) EPEL Repository is fine and priorities assigned
2) RepoForge (RPMForge) repository is fine and priorities assigned
3) RPM Fusion repository is installed - see warning below. ..
[root@toscadvr tmp]# rpm -ivh rpmfusion-free-release-20-1.noarch.rpm
warning: rpmfusion-free-release-20-1.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID ae688223: NOKEY
Preparing... ########################################### [100%]
1:rpmfusion-free-release ########################################### [100%]
When I run the yum install yum-plugin-priorities it will fail giving me the same error... If I rename the rpmfusion files in the yum.repos.d folder, the yum install yum-plugin-priorities works without issue...
If I un-comment line 3 (baseurl) and comment line 4 (mirrorlist) in my rpmfusion-free.repo file, it will still fail with this error:
[root@toscadvr yum.repos.d]# yum install yum-plugin-priorities
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: ***edu
* epel: ***gov
* extras: mirror***net
* rpmforge: ftp***jp
* updates: mirror***org
*** [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-free. Please verify its path and try again
I can't seem to find the correct url for the update for rpmfusion-free and/or rpmfusion-free-updates....
Troy
-
- Posts: 271
- Joined: Tue Feb 11, 2014 2:04 pm
Re: CentOS6 Installation Help
It looks like you're installing the RPMFusion release package for Fedora 20 instead of CentOS.
Re: CentOS6 Installation Help
The link that I followed only has Fedora and 'EL'.... Should I be installing EL 6 x86_64 Update (linked to mock-rpmfusion-free-20.1-1.el6)?
Troy
Troy
-
- Posts: 271
- Joined: Tue Feb 11, 2014 2:04 pm
Re: CentOS6 Installation Help
Yes, use the RedHat Enterprise Linux (EL) 6 release packages for all the third party repo's. CentOS is based on RedHat EL6.
Re: CentOS6 Installation Help
I was able to complete the rest of the installation and am now able to get to the console. I greatly appreciate the help.
Troy
Troy