CentOS 7 Headless
Posted: Wed Sep 02, 2015 4:14 pm
I'm working on evaluating Xeoma for a surveillance server here, using CentOS 7 on a Xen virtual machine. I figured I'd put some notes here - others who may be in the same boat are encouraged to contribute. The website claims 'CentOS 6 or higher' but it's not quite that simple.
I'm running in 'Free' mode at the moment as I don't have a 4-hour block of time to dedicate to evaluation at this point. From what I can make of the docs, for a headless server I'll need to have 'remote' mode which means I'll need a 'lite' license at least. I have no problem paying for a license for good software. Once this gets running it seems pretty decent - getting it running required a bunch of debugging with strace, though.
So far I have, for install:
I'm not sure why ldconfig on EL7 doesn't make unversioned .so links, but it doesn't, so the linker will fail with the default binary. Just as an aside, this is the point where I'd fix the Makefile in an open source project and issue a pull request.
I have /usr/local/Xeoma mounted as a separate partition for storing images. It's disappointing that it's chmod 777 as I'd like to secure this, even though it's a dedicated VM.
Still TODO if I want to deploy this typically:
1) configure a dedicated user for xeoma and fix permissions
2) build a systemd service file
3) build a monit config to keep it running (had it stop once - not sure why yet)
4) put TLS in front of it, per http://felenasoft.com/forum/viewtopic.php?f=8&t=581&p=1459&hilit=localhost#p1459
5) figure out how to get it to bind to 0.0.0.0:8090 instead of 127.0.0.1:8090, so I can do the X11 client on another machine. I don't know why it's having a problem finding Xauthority, but I'd just as soon have no X on the surveillance server.
6) make an RPM or puppet module to deploy it consistently.
7) setup rsync/sshfs or maybe seafile for offsite backup of images, over secure transport
I'd really love if Felenasoft had a repo I could just use with all of the above, of course. It's clear that much work has been put into this product - just need that last 5% to make it easy.
I'm running in 'Free' mode at the moment as I don't have a 4-hour block of time to dedicate to evaluation at this point. From what I can make of the docs, for a headless server I'll need to have 'remote' mode which means I'll need a 'lite' license at least. I have no problem paying for a license for good software. Once this gets running it seems pretty decent - getting it running required a bunch of debugging with strace, though.
So far I have, for install:
- Code: Select All Code
tar -zxvf xeoma_beta_linux64.tgz
sudo ./xeoma.app -install -coreauto
sudo yum -y install xorg-x11-xauth mesa-libGLU mesa-dri-drivers
sudo ln -s /usr/lib64/libX11.so.6 /usr/lib64/libX11.so
sudo /sbin/chkconfig XeomaCoreService on
sudo /sbin/service XeomaCoreService start
XAUTHORITY=$HOME/.Xauthority ./xeoma.app
I'm not sure why ldconfig on EL7 doesn't make unversioned .so links, but it doesn't, so the linker will fail with the default binary. Just as an aside, this is the point where I'd fix the Makefile in an open source project and issue a pull request.
I have /usr/local/Xeoma mounted as a separate partition for storing images. It's disappointing that it's chmod 777 as I'd like to secure this, even though it's a dedicated VM.
Still TODO if I want to deploy this typically:
1) configure a dedicated user for xeoma and fix permissions
2) build a systemd service file
3) build a monit config to keep it running (had it stop once - not sure why yet)
4) put TLS in front of it, per http://felenasoft.com/forum/viewtopic.php?f=8&t=581&p=1459&hilit=localhost#p1459
5) figure out how to get it to bind to 0.0.0.0:8090 instead of 127.0.0.1:8090, so I can do the X11 client on another machine. I don't know why it's having a problem finding Xauthority, but I'd just as soon have no X on the surveillance server.
6) make an RPM or puppet module to deploy it consistently.
7) setup rsync/sshfs or maybe seafile for offsite backup of images, over secure transport
I'd really love if Felenasoft had a repo I could just use with all of the above, of course. It's clear that much work has been put into this product - just need that last 5% to make it easy.