Forums
  News| Documentation| Screenshots| Downloads| Support| Forums| Wiki| Shop| Search| Donate| Contact Home
FAQFAQ SearchSearch MemberlistMemberlist UsergroupsUsergroups RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

CentOS 4.4 and ZM

 
Donate $20 Donate $40
Post new topic   Reply to topic    ZoneMinder Forum Index -> ZoneMinder Previous Versions
View previous topic :: View next topic  
Author Message
Aketaton



Joined: 05 Feb 2007
Posts: 5

PostPosted: Mon Feb 05, 2007 3:37 pm    Post subject: CentOS 4.4 and ZM Reply with quote

Hi all

I'm trynig to install ZM on a Centos 4.4 64bit system.

I tried to follow these guidelines:

http://www.zoneminder.com/forums/viewtopic.php?t=6086

But the packages are too old Sad

Does anybody has some advices to give me? Or anybody has a link to download centos 4.3 64 bit??

Do you have other step by step guides to install ZM on a 64 bit system?

Thank you very mutch.
Back to top
View user's profile Send private message
zoneminder
Site Admin


Joined: 09 Jul 2003
Posts: 4994
Location: Bristol, UK

PostPosted: Mon Feb 05, 2007 9:48 pm    Post subject: Reply with quote

These are the steps I have taken to install ZM on a RHEL system, which might help.

It is quite brief as it's just a crib sheet rather than detailed instructions. It is for 1.22.2 so some bits may not apply and also you may have yum rather than up2date but it might give you a bit of help.

Quote:
1. Disable selinux (/etc/selinux/config)
2. Set up file database (/etc/updatedb.conf)
3. Install mysql etc (up2date –install mysql-server etc)
4. Set up mysql to auto-start (chkconfig --add mysqld; chkconfig --level 345 mysqld on; service mysqld start)
5. Install libpcre etc (up2date --install pcre-devel)
6. Install subversion (up2date --showall | grep svn)
7. Fetch ffmpeg (svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg)
8. Build ffmpeg (cd ffmpeg; ./configure; make )
9. Install ffmpeg (make install; make install-libs; make install-headers)
10. Install perl modules (perl –MCPAN –eshell; install Archive::Tar Archive::Zip; install MIME::Lite MIME::Entity)
11. Fetch ZM (wget 'http://www.zoneminder.com/downloads/ZoneMinder-1.22.2.tar.gz')
12. Configure ZM (./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-libarch=lib64 ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=<your zm db user>ZM_DB_PASS=<your zm db name> CFLAGS="-g -O3 -march=athlon64" CXXFLAGS="-g -O3 -march=athlon64")
13. Patch ZM (wget 'http://www.zoneminder.com/downloads/zm-1.22.2-ffmpeg.patch'; wget 'http://www.zoneminder.com/downloads/zm-1.22.2-userlang2.patch'; wget 'http://www.zoneminder.com/downloads/zm-1.22.2-filter.patch')
14. Build ZM (make)
15. Install ZM (make install)
16. Create zm database (mysql < db/zm_create.sql)
17. Create zm user (grant all on zm.* to '<your zm db user>'@'localhost' identified by '<your zm db pass>';)
18. Start up httpd (chkconfig --level 345 httpd on; service httpd start)
19. Set up ZM to auto-run (install scripts/zm /etc/init.d/; chkconfig --add zm)
20. Start ZM

_________________
Phil
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
ma77hias



Joined: 07 Jul 2004
Posts: 71

PostPosted: Tue Feb 06, 2007 8:56 am    Post subject: rpms for centos 4 Reply with quote

you should find most rpms needed for ZM on
[url]http://dag.wieers.com/rpm/packages.php[/url]
even 64bit. Just add the repository to your yum and you should be fine.

I have started building rpms for centos3 and 4 for 32bit but I haven't got around to making these things available on the forum.
Back to top
View user's profile Send private message Send e-mail
Aketaton



Joined: 05 Feb 2007
Posts: 5

PostPosted: Tue Feb 06, 2007 3:57 pm    Post subject: Reply with quote

Great Twisted Evil

You give me a lot of good infos Smile

My weekend is going to be with ZM Smile
Back to top
View user's profile Send private message
miket



Joined: 29 Mar 2006
Posts: 37

PostPosted: Wed Feb 07, 2007 6:43 pm    Post subject: Reply with quote

Yeah, I really need to update that little howto. I run CentOS 4.4 x86_64 on all of my boxes. I will try to get the howto updated. If I had more time...I would like to create an installer similar to the Zimbra installer for RHEL/CentOS. One executable that asks you a couple questions and does everything. The first thing that I normally tell people to do is download the rpmforge repository setup file and install it like: wget http://dag.wieers.com/packages/rpmforge-release/rpmforge-release-0.3.6-1.el4.rf.x86_64.rpm
rpm -Uvh rpmforge-release-0.3.6-1.el4.rf.x86_64.rpm

One of the most common questions that I get with zoneminder setups is where do I find all of the dependent rpms? If you install the rpmforge repository file above you can then search the repository for packages by doing yum list ffmpeg* and then yum install ffmpeg-version.rpm. I like using the rpmforge packages because upgrading is a snap...just type yum -y update.

I may contact cordel and see if we can work together in creating a single file/install script that uses the rpmforge repository, etc. Maybe he has already done this??
Back to top
View user's profile Send private message
Aketaton



Joined: 05 Feb 2007
Posts: 5

PostPosted: Thu Feb 08, 2007 8:34 am    Post subject: Reply with quote

miket wrote:
Yeah, I really need to update that little howto. I run CentOS 4.4 x86_64 on all of my boxes. I will try to get the howto updated. If I had more time...I would like to create an installer similar to the Zimbra installer for RHEL/CentOS. One executable that asks you a couple questions and does everything. The first thing that I normally tell people to do is download the rpmforge repository setup file and install it like: wget http://dag.wieers.com/packages/rpmforge-release/rpmforge-release-0.3.6-1.el4.rf.x86_64.rpm
rpm -Uvh rpmforge-release-0.3.6-1.el4.rf.x86_64.rpm

One of the most common questions that I get with zoneminder setups is where do I find all of the dependent rpms? If you install the rpmforge repository file above you can then search the repository for packages by doing yum list ffmpeg* and then yum install ffmpeg-version.rpm. I like using the rpmforge packages because upgrading is a snap...just type yum -y update.

I may contact cordel and see if we can work together in creating a single file/install script that uses the rpmforge repository, etc. Maybe he has already done this??


That would be great Smile

I like CentOS and I want to make a clean install of ZM. This weekend I will try and let you know.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ZoneMinder Forum Index -> ZoneMinder Previous Versions All times are GMT
Page 1 of 1

 
  
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
 ©2007 Triornis Ltd News • Documentation • Screenshots • Downloads • Support • Forums • Wiki • Shop • Search • Donate • Contact • Home