First you need to install or already have installed Fedora Core 3.
You can select the the smallest install if you want to go headless (no Desktop) or select the desktop of your choice. You should also select apache, mysql, php, perl, etc... so that your not downloading so much (but alot of this will be updated anyway as there alot of newer versions).
UPDATE 2005-07-25
The quick method
You can use the repo config file on my webserver or add to your configuration.
To use the configutation on my webserver run YUM like so:
yum -c http://www.computerntelecom.com/download/zm-fc3.repo install zm
Thats it and will install every thing you need and you can ignore the rest of this post.
(You may need to install Fedora, ATRPMS, and my CTU gpg keys, see below)
Or if you want more control you can add the following
How to add the YUM Repos.
There are two parts to adding the repo in FC3.
Use what ever editor you prefer but for the example I use VI and assume that you know how to use it. An alternative editor might be nano in place of vi it has that dos editor feel.
UPDATE 2005-06-04
Insted of using the CTU-Base I have created CTU-Extra-RPMS that has all the packages that are not included in Fedora Core. Copy this in place of the base below but I left it available just in case I missed something. PM me if it don't work or it does work so I know. I haven't had a chance to install zm useing this method so if I missed putting a package in the extra-rpms repo let me know.
Updated 2005-11-23
Create a file named ctu-extras.repo in /etc/yum.repos.d
vi /etc/yum.repos.d/ctu-extras.repo
copy this text into the file.
Code: Select all
[ctu-Extra-RPMS]
name=CTU Core $releasever - $basearch - Extra-RPMS
#baseurl=ftp://download.computerntelecom.com/pub/linux/zoneminder/fedora/core/$releasever/Extra-RPMS/$basearch
mirrorlist=http://www.computerntelecom.com/download/mirrors/extra-rpms-fc$releasever
gpgkey=ftp://download.computerntelecom.com/pub/RPM-GPG-KEY-CTU
enabled=1
gpgcheck=1
next we will create the update repo.
vi /etc/yum.repos.d/zm-update.repo
and copy this text into it.
Code: Select all
[ctu-updates-released]
name=CTU Core $releasever - $basearch - Released Updates
#baseurl=ftp://download.computerntelecom.com/pub/linux/zoneminder/fedora/core/updates/$releasever/$basearch
mirrorlist=http://www.computerntelecom.com/download/mirrors/updates-released-fc$releasever
gpgkey=ftp://download.computerntelecom.com/pub/RPM-GPG-KEY-CTU
enabled=1
gpgcheck=1
Install GPG Keys
If you want my PGP-KEY you must run this as root (also required if gpgcheck is enabled. See note below). This sould happen automaticaly but just in case this is the way to install manualy.
rpm --import http://download.computerntelecom.com/pu ... PG-KEY-CTU
This is a good idea to do since it helps protect the file so you know that it has not been tampered with since I built it

Also her is atrpms key:
rpm --import http://atrpms.net/RPM-GPG-KEY.atrpms
Okay now for the hard part....
yum install zm
This will download and install all the packages that ZM requires.
All builds are compiled against whats in the FC3 Distro.
Once this compleates, edit the /etc/zm.conf to add the required info,
Start your mysqld database, and httpd.
run:
/usr/lib/zm/bin/zminit
For the user type root and press enter for the password, and your up and running.
Unless of course you added a password on the databases root user.
Updating the packages is very simple as well. If you have the enabled=1 in the ctu-update.repo:
yum update
will get you going.
Depending on how you have the other Fedora repos set (by default these are enabled) it will check the Fedora repos for updates and install them as well. You can also set the YUM service to run and it will check for updates nightly along with the Fedora updates and base repos (depending on if you have these enabled and by defualt they are).
This repo you should not need (ctu-base) but the other two repos you will (ctu-extra-rpms, ctu-updates). I have the info here just in case.
Create a file named zm.repo in /etc/yum.repos.d
vi /etc/yum.repos.d/zm.repo
copy this text into the file.
WARNING 2005-6-3 As is right now this will Brand ZM Logos if the fedora-logos package is downloaded. If this happens to you just revert back to your older fedora-logos package.
2005-6-13
I have put ctu-extras in place of the base repo so you should not need ctu-base.
Code: Select all
[ctu-base]
name=CTU Core $releasever - $basearch - Base
#baseurl=ftp://download.computerntelecom.com/pub/linux/zoneminder/fedora/core/$releasever/$basearch
mirrorlist=http://www.computerntelecom.com/download/mirrors/fedora-core-$releasever
gpgkey=ftp://download.computerntelecom.com/pub/RPM-GPG-KEY-CTU
enabled=0
gpgcheck=1
If you want to use ctu-base I suggest enabling it in the comand line and not in the file since if it was to be enabled in the file if you do an update it will use the CTU-base and you will find your self branded with ZoneMinder. So you don't want to do any updates from the ctu-base repo.
Note:
Here are some extra options. You can do them if you want to have a little more control.
Now if you notice the two last lines of each file have enabled and gpgcheck. Enabled set to one means that every time you run YUM it will check that repo. You can set this to zero and have YUM check that repo only when you want it to by calling the repo
yum --enablerepo=ctu-Extra-RPMS --enablerepo=ctu-updates-released install zm
If you have ctu-updates.repo enable=0 and you want to do a update, then you will have to enable it on the command line:
yum --enablerepo=ctu-updates-released update
Now pgpcheck set to one means that RPM checks the packages signature before installing. If the signature is good it will procede else, If it don't match or is missing it will not. It follows the same rules as enabled, set to one to turn it on or set to zero to disable it.
Cheers,
Cordel
PS I also found a home for the servers that will have a T1 on them so downloads will not be as bad once the move takes place. I will try to give advanced notice but the whole transition should not take more than an hour of down time.

Also if anyone wants to mirror any of the repos let me know and I can add the mirror to the mirror list.