UMS on CentOS 7

For help and support with Linux-specific issues
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
shouptech
Posts: 2
Joined: Tue Dec 02, 2014 7:14 am

UMS on CentOS 7

Post by shouptech » Tue Dec 02, 2014 7:16 am

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.

Vallimar
Posts: 36
Joined: Fri Oct 04, 2013 1:15 pm

Re: UMS on CentOS 7

Post by Vallimar » Tue Dec 02, 2014 2:00 pm

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.

shouptech
Posts: 2
Joined: Tue Dec 02, 2014 7:14 am

Re: UMS on CentOS 7

Post by shouptech » Wed Dec 03, 2014 1:46 am

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.

Post Reply