I realize this is a bit OT for this forum, but I'm in (hopefully) the final stages of getting ZM to work on a new installation of FC3 x86_64. I've overcome numerous problems and the last was that when I get to the step to say 'chkconfig --add zm' I get
If I do man chkconfig it's there.... if I do yum info chkconfig I find that I have version 1.3.11.1 installed. Any suggestions? I can't seem to find a way to force yum to reinstall it.
I've been at it all day, so perhaps when I'm fresh tomorrow I can figure it out, but I'd love to wake up to a good suggestion posted here!
I did try running ZM without this but it's not working. I think because not all of the various bits are started.
Thank you both for that. Is that the way it's supposed to be or do I need to do something to "register" some of those little programs so I can call them directly from the command line without the path?
Well Good News! My 64 bit system is working with ZM. I'm still tweaking some things but, not to pat myself on the back, I'm surprised that this little chkconfig question was the only thing I had to post about (thus far anyway).
I'm into computers generally, but really don't have much depth of knowledge about linux. I had to follow some detailed installation and configuration guides (cutting and pasting like a monkey) and mostly just have patience. But if I can do it, then it's not THAT hard.
I wish there were more of a step-by-step newbie guide to build a system and make this work. I kept a bit of an installation diary, which I may post here, but is not suitable as instructions to follow. I know it's great to be able to have a program like ZM that can be compiled on virtually any system and provide medium to high level instructions on how to do it, but it might be valuable to say to a newbie visiting the Zoneminder site, ok, here's how to do it. Buy generally this hardware, download this distro, install it this way, configure it this way, viola it will work.
Of course, that does invite people to try it who will expect "tech support" to an extreme degree. Anyway.. I'm rambling. Back to my configuration and optimization.
Is that the way it's supposed to be or do I need to do something to "register" some of those little programs so I can call them directly from the command line without the path?
This is a function of what directories are in your "path". You can find what is in your path by entering the command "echo $PATH". It will probably be different depending on whether you are logged in as a user or root.
The PATH variable is defined in /etc/bashrc. You can also add directories to it by an entry in .bashrc in your home directory. The entry should have the form:
PATH=$PATH:/some/dir:/some/other_dir
Changes will be effective the next time you open a shell.
Normally executables in /sbin and /usr/sbin must be run as root, so often those directories are not in a normal users path. You may like to add them though if you often use sudo and don't want to have to use the full path to the command.
Actually, Ross' post reminds me that there is a practically idiot-proof way to intstall zm and linux together, which is his LiveCD. I was using that before my hardware upgrade then decided I was ready to try and tackle a full install.
Thanks for that path info that you gave me there Ross. That's the kind of stuff that is pretty basic but I don't know. I should really get a book!