CentOS6 Installation Help

Forum for questions and support relating to the 1.26.x releases only.
Locked
tleanna
Posts: 7
Joined: Tue Apr 01, 2014 2:57 pm

CentOS6 Installation Help

Post by tleanna »

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
BiloxiGeek
Posts: 271
Joined: Tue Feb 11, 2014 2:04 pm

Re: CentOS6 Installation Help

Post by BiloxiGeek »

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.
tleanna
Posts: 7
Joined: Tue Apr 01, 2014 2:57 pm

Re: CentOS6 Installation Help

Post by tleanna »

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
BiloxiGeek
Posts: 271
Joined: Tue Feb 11, 2014 2:04 pm

Re: CentOS6 Installation Help

Post by BiloxiGeek »

I see that occasionally when a new repo gets set up. Typically I get a little heavy-handed with yum in those cases.

Code: Select all

yum clean all
yum repolist
Then try to do whatever you were trying to do before.
tleanna
Posts: 7
Joined: Tue Apr 01, 2014 2:57 pm

Re: CentOS6 Installation Help

Post by tleanna »

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
BiloxiGeek
Posts: 271
Joined: Tue Feb 11, 2014 2:04 pm

Re: CentOS6 Installation Help

Post by BiloxiGeek »

It looks like you're installing the RPMFusion release package for Fedora 20 instead of CentOS.
tleanna
Posts: 7
Joined: Tue Apr 01, 2014 2:57 pm

Re: CentOS6 Installation Help

Post by tleanna »

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
BiloxiGeek
Posts: 271
Joined: Tue Feb 11, 2014 2:04 pm

Re: CentOS6 Installation Help

Post by BiloxiGeek »

Yes, use the RedHat Enterprise Linux (EL) 6 release packages for all the third party repo's. CentOS is based on RedHat EL6.
tleanna
Posts: 7
Joined: Tue Apr 01, 2014 2:57 pm

Re: CentOS6 Installation Help

Post by tleanna »

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
Locked