ZM on SME7beta8 (based on centos4.2) with yum

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
Post Reply
User avatar
chaapaï
Posts: 19
Joined: Fri Aug 13, 2004 2:26 pm
Location: France

ZM on SME7beta8 (based on centos4.2) with yum

Post by chaapaï »

hello all!!

Well, i haved rebuild ZM-1.21.4 for SME7beta8 (based on centos4.2 with kernel 2.6.9-22.0.1)
If you want install zm with yum:
open a ssh session and tape (or edit /home/db/yum_repository )

Code: Select all

# echo "contribchaapai=repository|BaseURL|ftp://ftp.chaapai.homelinux.net/yum-smeserver/7.0beta8/smechaapai\/$basearch|EnableGroups|0|GPGCheck|0|Name|SME Server - Chaapai contribs|status|enabled">>/home/e-smith/db/yum_repositories
# /sbin/e-smith/expand-template /etc/yum.conf


check the result in /etc/yum.conf :

Code: Select all

...
[contribchaapai]
name=SME Server - Chaapai contribs
baseurl=ftp://ftp.chaapai.homelinux.net/yum-smeserver/7.0beta8/smechaapai/$basearch
gpgcheck=0
enablegroups=0
...
an for install zm with X10 tape

Code: Select all

yum install zm-X10
I have rebuild bttv driver , qc-usb driver for kernels
-kernel-module-bttv-0.9.15 ( or kernel-hugemem-module-bttv-0.9.15-1_2.6.9_22.0.1.EL.i686.rpm
or kernel-smp-module-bttv-0.9.15-1_2.6.9_22.0.1.EL.i686.rpm )
-kernel-module-qc-usb-0.6.3 (
-ffmpeg-0.4.9-cvs20051119
-lot of perl-modules.......
just tape yum install kernel-module-bttv-0.9.15 :D

rpms and srpms here :
ftp://ftp.chaapai.homelinux.net/yum-sme ... mechaapai/

Nice job , Phil, I love you :D:D:D

Chaapai
oooops, i'm sorry but i speak english like as spanish cow...
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Hi Chaapaï, calm down a bit :lol:

Thanks for doing, hopefully it will be useful to a lot of people.

Cheers

Phil
guidouil
Posts: 6
Joined: Wed Aug 10, 2005 1:07 pm
Location: Paris
Contact:

Post by guidouil »

Hello Chaapaï, thx for your work, but I think I have a problem... (et oui ya toujours des lamers ;) )

here is what I get when I try to yum install zm-x10

Code: Select all

ftp://ftp.chaapai.homelinux.net/yum-smeserver/7.0beta8/smechaapai\/repodata/repomd.xml: [Errno 4] IOError: [Errno ftp error] 550 smechaapai\: No such file or directory
Trying other mirror.
Cannot open/read repomd.xml file for repository: contribchaapai
failure: repodata/repomd.xml from contribchaapai: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from contribchaapai: [Errno 256] No more mirrors to try.
please help stp

Edited / fixed :
ok I got it working it was because of the backslash ...
I just edited the /home/e-smith/db/yum_repositories and corrected the pass with the /$basesearch and make sure that nano did not add some lines to that and now everything work well :D thx Chaapaï and sorry for my noobnes ;)
wa4bro
Posts: 65
Joined: Mon Sep 12, 2005 12:39 am
Location: Roswell, GA. U.S.A.

Great Work Chaapai !!!!!!

Post by wa4bro »

This is actually what I got to work as a DB entry for SME
Just cut and paste after command prompt.

From the Command Prompt#
------ Cut and Paste Below this line ---------

db yum_repositories set Chaapai repository \
BaseURL ftp://ftp.chaapai.homelinux.net/yum-sme ... apai/i386/ \
EnableGroups 1 \
GPGCheck 0 \
Name 'SME Server - Chaapai contribs' \
status enabled

/sbin/e-smith/expand-template /etc/yum.conf

----------- END Cut and Paste ------------

This will add Chaapai 's YUM Repository to the Database for YUM in the SME Server.

After installing Chaapai's Repository go to the command prompt and type:

yum install kernel-module-bttv-0.9.15

(This adds the Kernel Module needed for BTTV as it is not included in the CentOS standard kernel release.)

Then Type:

yum install ZM

(This installs the lastest version of Zoneminder, creates the web directory, mysql database etc)

If you need to install QC usb drivers type:

yum install kernel-module-qc-usb

I suggest you go ahead and reboot your SME server then after restart
http://yourserver.???/zoneminder



Info on SME Server at http://contribs.org

Latest Beta Version 7b8 ISO image at http://distro.ibiblio.org/pub/linux/dis ... 0beta8.iso

SME 7 is Based on CentOS version 4.2 and is a complete Small Business Class Server with MTA mail client, webmail, SMB windows sharing server, gateway and is typically administered completely from a web interface along with console availability. ( NO XWindows).


**** WARNING **** SME is a standalone server. The install takes over the complete drive and installs in about 10 mins or less on most modern hardware. You can not share a drive with another OS.

It runs ZONEMINDER quite well too!


Enjoy and Many Thanks to Chaapai for his fantastic work in intergrating ZM for the SME server!

Dan
martymoose
Posts: 128
Joined: Tue Jul 12, 2005 9:59 am
Location: australia

Post by martymoose »

hi
whats the min specs for sme

also anyone get a canon pixma ip4000 printer working with sme
martymoose
Posts: 128
Joined: Tue Jul 12, 2005 9:59 am
Location: australia

Re: Great Work Chaapai !!!!!!

Post by martymoose »

wa4bro wrote:This is actually what I got to work as a DB entry for SME
Just cut and paste after command prompt.

From the Command Prompt#
------ Cut and Paste Below this line ---------

db yum_repositories set Chaapai repository \
BaseURL ftp://ftp.chaapai.homelinux.net/yum-sme ... apai/i386/ \
EnableGroups 1 \
GPGCheck 0 \
Name 'SME Server - Chaapai contribs' \
status enabled

/sbin/e-smith/expand-template /etc/yum.conf

----------- END Cut and Paste ------------

This will add Chaapai 's YUM Repository to the Database for YUM in the SME Server.

After installing Chaapai's Repository go to the command prompt and type:

yum install kernel-module-bttv-0.9.15

(This adds the Kernel Module needed for BTTV as it is not included in the CentOS standard kernel release.)

Then Type:

yum install ZM

(This installs the lastest version of Zoneminder, creates the web directory, mysql database etc)

If you need to install QC usb drivers type:

yum install kernel-module-qc-usb

I suggest you go ahead and reboot your SME server then after restart
http://yourserver.???/zoneminder



Info on SME Server at http://contribs.org

Latest Beta Version 7b8 ISO image at http://distro.ibiblio.org/pub/linux/dis ... 0beta8.iso

SME 7 is Based on CentOS version 4.2 and is a complete Small Business Class Server with MTA mail client, webmail, SMB windows sharing server, gateway and is typically administered completely from a web interface along with console availability. ( NO XWindows).


**** WARNING **** SME is a standalone server. The install takes over the complete drive and installs in about 10 mins or less on most modern hardware. You can not share a drive with another OS.

It runs ZONEMINDER quite well too!


Enjoy and Many Thanks to Chaapai for his fantastic work in intergrating ZM for the SME server!

Dan
this is what i got to work

[contribchaapai]
enabled=1
name=SME Server - Chaapai contribs
baseurl=ftp://ftp.chaapai.homelinux.net/yum-sme ... /$basearch
gpgcheck=0
enablegroups=0
martymoose
Posts: 128
Joined: Tue Jul 12, 2005 9:59 am
Location: australia

Post by martymoose »

mate great work

this what i was waiting for
User avatar
chaapaï
Posts: 19
Joined: Fri Aug 13, 2004 2:26 pm
Location: France

Post by chaapaï »

hello all !!
Sorry for my late, (i search new job... :roll:)
well, the backslash is in the command because i'm doing a "echo" command and for include "$" i need a "\" , $basearch is arch (i386).
You can also use the command by wa4bro (thanks)
But You can edit manually /home/e-smith/db/yum_repositories
and add/check line :

Code: Select all

smechaapai=repository|BaseURL|ftp://ftp.chaapai.homelinux.net/yum-smeserver/7.0beta8/smechaapai/$basearch|EnableGroups|yes|GPGCheck|no|Name|SME Server - Chaapai contribs|Visible|yes|status|enabled
(or add another yum link)
AND tape

Code: Select all

/sbin/e-smith/expand-template /etc/yum.conf 
for re-create /etc/yum.conf

My server ( http://www.chaapai.homelinux.net ) is a old duron 1000 with 640mo sdram133 ( 0 swap) with 2dd 40go raid 01 ata100 (last technologie server :D)
1 quickcam express "superglue" and a xguard running with 3 cams b/w
cpu usage is 15-20%
phpsysinfo: http://www.chaapai.homelinux.net/w_stats/index.php
And monitoring system(cpu dd ftp zoneminder usage) : (sorry for cpu-sys temp, but soltek sl-75kav motherboard) http://www.chaapai.homelinux.net/w_stat ... monitoring

So my old config was compaq deskpro pii400 with 256mo (max because old motherboard and new ram) ata33 (oucht!!!) and cpu-usage 60-70%, slow very slow with hdd access..
oooops, i'm sorry but i speak english like as spanish cow...
leprox
Posts: 13
Joined: Wed Jul 26, 2006 6:54 pm

problems...

Post by leprox »

i follow all steps but when y use yum u have this erros..

[root@backup db]# yum install zm-X10
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Setting up Install Process
Setting up repositories
smeaddons 100% |=========================| 951 B 00:00
smeos 100% |=========================| 951 B 00:00
smeupdates 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package zm-X10.i386 0:1.21.4-01.sme7 set to be updated
--> Running transaction check
--> Processing Dependency: perl(X10::ActiveHome) for package: zm-X10
--> Processing Dependency: perl-Astro-SunTime for package: zm-X10
--> Processing Dependency: perl-X10 for package: zm-X10
--> Processing Dependency: zm = 1.21.4 for package: zm-X10
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package perl-X10.noarch 0:0.03-1 set to be updated
---> Package zm.i386 0:1.21.4-01.sme7 set to be updated
---> Package perl-Astro-SunTime.noarch 0:0.01-1 set to be updated
--> Running transaction check
--> Processing Dependency: perl-Archive-Zip for package: zm
--> Processing Dependency: libavformat.so for package: zm
--> Processing Dependency: zm-lat_ibay = 1.21.4 for package: zm
--> Processing Dependency: perl(Time::ParseDate) for package: perl-X10
--> Processing Dependency: libmp3lame.so.0 for package: zm
--> Processing Dependency: perl(Device::SerialPort) for package: perl-X10
--> Processing Dependency: ffmpeg >= 0.4.9 for package: zm
--> Processing Dependency: libavutil.so for package: zm
--> Processing Dependency: perl-Compress-Zlib for package: zm
--> Processing Dependency: perl-Device-SerialPort for package: zm
--> Processing Dependency: perl(Time::ParseDate) for package: perl-Astro-SunTime
--> Processing Dependency: lame >= 3.96.1 for package: zm
--> Processing Dependency: perl-Time-modules for package: zm
--> Processing Dependency: perl(Device::SerialPort) for package: zm
--> Processing Dependency: libavcodec.so for package: zm
--> Processing Dependency: perl-MIME-Lite >= 3.01-2.2 for package: zm
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package perl-Compress-Zlib.i386 0:1.41-1.2.el4.rf set to be updated
---> Package perl-MIME-Lite.noarch 0:3.01-2.2.el4.rf set to be updated
---> Package perl-Time-modules.noarch 0:2003.1126-1 set to be updated
---> Package zm-lat_ibay.i386 0:1.21.4-01.sme7 set to be updated
---> Package ffmpeg.i386 0:0.4.9-cvs20051119 set to be updated
---> Package perl-Device-SerialPort.i386 0:1.002-1.2.el4.rf set to be updated
---> Package perl-Archive-Zip.noarch 0:1.16-1 set to be updated
---> Package lame.i386 0:3.96.1-el42 set to be updated
--> Running transaction check
--> Processing Dependency: libtheora.so.0 for package: ffmpeg
--> Processing Dependency: libvorbisenc.so.2 for package: ffmpeg
--> Processing Dependency: libfaac.so.0 for package: ffmpeg
--> Processing Dependency: libvorbis.so.0 for package: ffmpeg
--> Processing Dependency: libSDL-1.2.so.0 for package: ffmpeg
--> Processing Dependency: libX11.so.6 for package: ffmpeg
--> Processing Dependency: libogg.so.0 for package: ffmpeg
--> Processing Dependency: libxvidcore.so.4 for package: ffmpeg
--> Processing Dependency: libImlib2.so.1 for package: ffmpeg
--> Processing Dependency: libgsm.so.1 for package: ffmpeg
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package libtheora.i386 0:1.0alpha4-2 set to be updated
---> Package faac.i386 0:1.24-1.2.el42 set to be updated
---> Package imlib2.i386 0:1.2.1-1 set to be updated
---> Package xvidcore.i386 0:1.1.0-beta2.1.el42 set to be updated
---> Package gsm.i386 0:1.0.10-0.el42 set to be updated
--> Running transaction check
--> Processing Dependency: libX11.so.6 for package: imlib2
--> Processing Dependency: libvorbisenc.so.2 for package: ffmpeg
--> Processing Dependency: libvorbis.so.0 for package: ffmpeg
--> Processing Dependency: libSDL-1.2.so.0 for package: ffmpeg
--> Processing Dependency: libX11.so.6 for package: ffmpeg
--> Processing Dependency: libogg.so.0 for package: ffmpeg
--> Processing Dependency: libungif.so.4 for package: imlib2
--> Processing Dependency: libXext.so.6 for package: imlib2
--> Finished Dependency Resolution
Error: Missing Dependency: libvorbisenc.so.2 is needed by package ffmpeg
Error: Missing Dependency: libvorbis.so.0 is needed by package ffmpeg
Error: Missing Dependency: libSDL-1.2.so.0 is needed by package ffmpeg
Error: Missing Dependency: libX11.so.6 is needed by package ffmpeg
Error: Missing Dependency: libogg.so.0 is needed by package ffmpeg
Error: Missing Dependency: libX11.so.6 is needed by package imlib2
Error: Missing Dependency: libungif.so.4 is needed by package imlib2
Error: Missing Dependency: libXext.so.6 is needed by package imlib2
================================================================
No new rpms were installed. No additional commands are required.
================================================================
Post Reply