Computer pr0n

Installing murmurd 1.2.4

by on Jun.06, 2013, under How-to, Linux, Software

loclhst

This is a follow up to my previous post, Installing murmurd the mumble voice server.

These instructions were written for CentOS 5.x/6.x, and for my personal setup (per my previous instructions).

I wish to convey the thought that any instructions, system changes, or RPM packages should be performed or installed at your own will, and I shall not be held responsible for any damage or problems that arise from performing the below instructions!

Please note that the RPM below was compiled on CentOS 6.3 and is currently known to be able to be installed and working on CentOS 6.3 and CentOS 5.7.

If you are doing a new installation with my RPM, just install it and start it!  If you are upgrading from my previous installation instructions, look below for the upgrade instructions.

If you would like to view the spec file used to create the RPM, you can do so on my github account https://github.com/drdelaney/custom-rpm-spec

UPDATE!: You will need to have the Fedora EPEL yum repository installed for this to work correctly.
Install the package for your system from the site https://fedoraproject.org/wiki/EPEL

Install a new instance

Install the RPM

yum --nogpgcheck --enablerepo=epel install http://files.loclhst.com/mumble/1.2.4/mumble-server-1.2.4-DrD.i386.rpm

Note if this does not work, you may need to wget the file and install from the local filesystem

cd /tmp/; wget http://files.loclhst.com/mumble/1.2.4/mumble-server-1.2.4-DrD.i386.rpm
yum --nogpgcheck --enablerepo=epel install ./mumble-server-1.2.4-DrD.i386.rpm

Set superuser password

/usr/local/sbin/murmurd -ini /opt/mumble-server/mumble-server-default.ini -supw

Start the service

/etc/init.d/mumble-server start

 

Upgrading

Upgrading from my 1.2.3 instructions are simple and quick!

Stop the running server

/etc/init.d/mumble-server stop

Create backup structure

I strongly suggest making sure these are stored somewhere outside of tmp if you want to revert down the road

mkdir -p /tmp/mumble-server-backup-1.2.3/{sbin,logrotate,etc,db}

Backup the files

mv /usr/local/sbin/murmurd /tmp/mumble-server-backup-1.2.3/sbin/
mv /etc/mumble-server.ini /etc/rc.d/init.d/mumble-server /tmp/mumble-server-backup-1.2.3/etc/
mv /etc/logrotate.d/mumble-server /tmp/mumble-server-backup-1.2.3/logrotate/
mv /var/lib/mumble-server/mumble-server.sqlite /tmp/mumble-server-backup-1.2.3/db/

Restore files for new version

mkdir -p /opt/mumble-server/
cp /tmp/mumble-server-backup-1.2.3/db/mumble-server.sqlite /opt/mumble-server/mumble-server-123upgrade.sqlite
cp /tmp/mumble-server-backup-1.2.3/etc/mumble-server.ini /opt/mumble-server/mumble-server-123_old.ini
cat /opt/mumble-server/mumble-server-123_old.ini | sed \
  -e 's,^database=.*,database=/opt/mumble-server/mumble-server-123upgrade.sqlite,g' \
  > /opt/mumble-server/mumble-server-default.ini

Cleanup

rm -rf /var/lib/mumble-server
chown -R mumble-server:mumble-server /opt/mumble-server/

Install new version

Note some extra packages may be needed, and should be pulled in automatically.
If they are not, make sure you install the rpmforge repo

yum --nogpgcheck install http://files.loclhst.com/mumble/1.2.4/mumble-server-1.2.4-DrD.i386.rpm

Note if this does not work, you may need to wget the file and install from the local filesystem

cd /tmp/; wget http://files.loclhst.com/mumble/1.2.4/mumble-server-1.2.4-DrD.i386.rpm
yum --nogpgcheck --enablerepo=epel install ./mumble-server-1.2.4-DrD.i386.rpm

I would highly suggest to update your ini with the example (/opt/mumble-server/mumble-server.ini.example)

Otherwise, at this point, you should be able to start up and go!

/etc/init.d/mumble-server start

At this point, you should have the package installed and hopefully working.

Drop me a comment if you have any questions or problems and I can try to help!

:, , , , ,

16 Comments for this entry

  • HowIChrgeLazer

    Thanks for the guide! Worked like a charm.

  • Andy

    Good guide.
    Tried to follow thwe instructions but when it comes to installing the 1.2.4 I get the following errors:

    Error: Package: mumble-server-1.2.4-DrD.i386 (/mumble-server-1.2.4-DrD.i386)
    Requires: perl(Net::DBus)
    Error: Package: mumble-server-1.2.4-DrD.i386 (/mumble-server-1.2.4-DrD.i386)
    Requires: perl(CGI::Session)
    Error: Package: mumble-server-1.2.4-DrD.i386 (/mumble-server-1.2.4-DrD.i386)
    Requires: perl(Net::DNS)
    Error: Package: mumble-server-1.2.4-DrD.i386 (/mumble-server-1.2.4-DrD.i386)
    Requires: perl(CGI::Carp)
    Error: Package: mumble-server-1.2.4-DrD.i386 (/mumble-server-1.2.4-DrD.i386)
    Requires: perl(CGI)
    Error: Package: mumble-server-1.2.4-DrD.i386 (/mumble-server-1.2.4-DrD.i386)
    Requires: perl(Config::Simple)

    Running CentOS 6.4
    Currently have murmurd 1.2.3 running fine on the server.
    Any pointers to fix this?

  • RpR

    Hi,
    are there any 64 bit rpm’s?

  • Jathan

    Thank you very much for taking the time to do this. I was having no end of troubles trying to get murmur set up on my CentOS machine. While running the static binary wasn’t hard, I couldn’t for the life of me get any init scripts to work. You’ve made the process seamless. Thank you! ^_^

  • Jathan

    Just an FYI, when I installed this on my CentOS system I edited the ini to use MySQL instead of SQLite. The run level for mumble-server on my system was S50 which was under MySQL (S64). You might want to consider increasing the run level for users that choose to use MySQL. :)

  • ER

    Worked great, thank you! Fwiw I only encountered two issues. 1) needed to install Fedora EPEL as you mentioned. 2) needed to update the resolv.conf file so the first entry pointed to google’s dns (8.8.8.8). Yum was failing otherwise.

    I used your old guide last time and with a recent server move I used this current guide and again it worked great. THANK YOU!!

  • Donno

    Hello –

    I’m trying to install on my CentOS5 server. I’ve followed the directions to the letter, but I get an error when trying to run the install command.

    root@host build-mumble]# yum –nogpgcheck –enablerepo=epel install http://files.loclhst.com/mumble/1.2.4/mumble-server-1.2.4-DrD.i386.rpm
    Loaded plugins: fastestmirror

    Error getting repository data for epel, repository not found

    I then try to setup the EPEL package, but am told it is already installed.

    Any suggestions on what to try next?

    Thank you!

  • HowIChrgeLazer

    Hey @localhst

    Just wanted to say your SPECS file worked perfectly for building a 1.2.5 murmur RPM. Upgraded from 1.2.4 and it’s working. Obviously needed to make a few small edits to the file, but thank you for providing the source.

  • int

    Can you please publish updated instructions for 1.2.5?

Leave a Reply

 

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!