Page 1 of 1

UMS on CentOS 7

Posted: Tue Dec 02, 2014 7:16 am
by shouptech
Greetings all,

If anyone is looking for a guide to get UMS setup on CentOS 7 in a headless environment, I've written a post with the steps to do so: http://mikeshoup.com/2014/11/30/univers ... -centos-7/

I welcome input and any questions if anyone has any trouble.

Re: UMS on CentOS 7

Posted: Tue Dec 02, 2014 2:00 pm
by Vallimar
You may wish to mention that 9001 is optional as that is the web interface and that can be manually disabled
by adding "web_enable = false" to UMS.conf.

Secondly, user created service files belong in /etc/systemd/system not /usr/lib/systemd/system. You should
also mention that "systemctl daemon-reload" should be executed anytime you manually add/remove/modify
a systemd unit file.

It might be a good idea to specify 'Group=ums' in the service file also.

Lastly, an alternative to having /etc/sysconfig/ums with a single, unlikely to change variable, is to replace
the 'EnvironmentFile=/etc/sysconfig/ums' line in the service file with something like this instead: Environment=UMS_PROFILE="/etc/ums/UMS.conf". I'm not sure why you also pass it to UMS.sh as the script doesn't reference it.

Re: UMS on CentOS 7

Posted: Wed Dec 03, 2014 1:46 am
by shouptech
Thanks Vallimar for the advice. I'm still learning the ins and outs of systemd (only just recently having installed CentOS 7 on a box) and am appreciative of corrections to my mistakes. I've made the changes to the blog post.