Computer pr0n

Hacked By Shade

by on Jan.09, 2012, under How-to, Linux, Software

loclhst

Hacked By Shade

Hacked By Shade

 

GreetZ : Prosox & Sxtz

Hacked By Shade <3

:, , , , ,

26 Comments for this entry

  • Ivan

    Oh! Thank you!
    I’ve searched for so long, i knew there must be a way to install mumble server on CentOS 6!

    thanks again, awesome tut!

  • Ivan

    By the way,
    is there a proper way to config iptables for this?

    what im thinking is, instead of just plane old
    here’s a port, -j ACCEPT.

    in terms of QoS and Voice kinda thinking,
    should we somehow optimize the ESTABLISHED connections?
    or what not.
    im not really sure exactly what im talking about.. but something along those lines?

    eh?
    lol

    thanks

    • loclhst
      loclhst

      Usually when you add QoS, you will want to keep it enabled from connection to connection. IE the server all the way down to your pc. In most cases, that cannot be done, and IMO does not matter. Unless you are in a high mixed-data traffic environment, you should not need to enable QoS in the first place. In my tests and uses, I have never really needed anything more that the standard iptables -j ACCEPT rules for the specified ports.

  • Jose

    [jp@kellersp mumble-rpm]# rpm2cpio ../mumble-server-1.2.4-0.20120422.1-mdv2012.0.x86_64.rpm | lzma -dc | cpio -imv –make-directories
    lzma: (stdin): File format not recognized
    cpio: premature end of archive
    [jp@kellersp mumble-rpm]# ls

    Can’t seem to figure out this one…

    😀

  • Jason

    I know this is an old post, but I wanted to let you know that the link for the mumble-server is in fact dead. Your mirror is working however, and I wanted to drop a line and say thanks for putting this up!

  • David D.

    I appreciate this web information, setting up a site for my clan just became much easier

  • John

    Lifesaver. Seriously. Great explanation too. Thank you!

  • Andy

    Thanks for the script!

  • Shaun

    Tried both the
    rpm2cpio ../mumble-server-1.2.4-0.20120422.1-mdv2012.0.x86_64.rpm | lzma -dc | cpio -imv –make-directories

    and

    rpm2cpio ../mumble-server-1.2.4-0.20120422.1-mdv2012.0.x86_64.rpm | xzcat | cpio -imv –make-directories

    Both give me the
    lzma: (stdin): File format not recognized
    or
    xzcat: (stdin): File format not recognized

    On CentOS 6 using the files from your site as well.

    • Shaun

      Nevermind.. just figured out I can’t read.. you can delete my previous comment

      rpm2cpio ../mumble-server-1.2.3-1-mdv2011.0.x86_64.rpm | cpio -imv –make-directories

      worked as you stated.

  • Derek

    Your shell script doesn’t work anymore… 🙁 Any chance of getting an updated version?

  • Al

    Thanks for this. Thought I’d comment on the issues I faced with the script in case anybody else comes across this and has similar issues.

    1) the second rpm link no longer works but there’s another provided, so I used that.
    2) “centos 6 doesnt need lzma for some reason, it be smrt” – I’m on CentOS 5.6 but it thought I was on CentOS 6 and was giving errors with the rpm2cpio command. I just commented out the if statement so it would just run the second command…

  • Nicky

    <3 After editing in the new dl links you provided in the comments this worked like a charm on centOS 6.3.

    Thank you much!

  • Jared

    Original post is broken. Copy+paste into build_mumble-1.2.3.sh

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    #!/bin/bash
    # $Id: build_mumble-1.2.3.sh,v 1.7 2012/01/11 02:50:27 drdelaney Exp $
    # build_mumble-1.2.3.sh – Download and install the mumble server, murmurd for RHEL 5.x based systems.
    # Copyright (c) 2012 Dan Delaney (drdelaney@loclhst.com)
    #
    # This program is free software; you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation; either version 2 of the License, or
    # (at your option) any later version.
    #
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU General Public License for more details.
    #
    # You should have received a copy of the GNU General Public License along
    # with this program; if not, write to the Free Software Foundation, Inc.,
    # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

    export PATH=”/bin:/usr/bin:/usr/sbin”

    # install deps
    yum -y install lzma cpio

    # tmp
    rm -rf /tmp/build-mumble
    mkdir -p /tmp/build-mumble
    cd /tmp/build-mumble

    # get static files and mandriva 64bit build
    wget http://downloads.sourceforge.net/project/mumble/Mumble/1.2.3/murmur-static_x86-1.2.3.tar.bz2
    wget http://files.loclhst.com/mumble/1.2.3/mumble-server-1.2.3-1-mdv2011.0.x86_64.rpm
    # if these ever go away, mirrors are avalible by my persoal server via
    # http://files.loclhst.com/mumble/1.2.3/{murmur-static_x86-1.2.3.tar.bz2,mumble-server-1.2.3-1-mdv2011.0.x86_64.rpm}
    # note this may be taken down if abused!

    # extract it all
    tar xjvf murmur-static_x86-1.2.3.tar.bz2
    mkdir mumble-rpm
    cd mumble-rpm

    # centos 6 doesnt need lzma for some reason, it be smrt
    grep 6 /etc/redhat-release >/dev/null 2>&1
    if [ $? = 0 ]; then
    rpm2cpio ../mumble-server-1.2.3-1-mdv2011.0.x86_64.rpm | cpio -imv –make-directories
    else
    rpm2cpio ../mumble-server-1.2.3-1-mdv2011.0.x86_64.rpm | lzma -dc | cpio -imv –make-directories
    fi

    # copy files
    cp -u ../murmur-static_x86-1.2.3/murmur.x86 /usr/local/sbin/murmurd
    if [ ! -f /etc/mumble-server.ini ]; then cp -u etc/mumble-server.ini /etc; fi
    if [ -d /etc/logrotate.d ]; then cp -u etc/logrotate.d/mumble-server /etc/logrotate.d/; fi
    if [ -d /etc/dbus-1/system.d ]; then cp -u etc/dbus-1/system.d/mumble-server.conf /etc/dbus-1/system.d/; fi
    sed -e ‘s/gprintf/printf/g’ -e ‘s,^DAEMON=.*,DAEMON=/usr/local/sbin/murmurd,g’ etc/rc.d/init.d/mumble-server > /etc/rc.d/init.d/mumble-server
    chmod a+x /etc/rc.d/init.d/mumble-server

    # add groups, dirs
    groupadd -g 4000 mumble-server
    useradd -g 4000 -G mumble-server -s /sbin/nologin -d /var/run/mumble-server -M mumble-server
    mkdir -p /var/lib/mumble-server /var/log/mumble-server /var/run/mumble-server
    chown -R mumble-server:mumble-server /var/log/mumble-server /var/lib/mumble-server /var/run/mumble-server

    # notice to end users
    cat <<EOL

    !!!!!!!!!!!
    !!WARNING!! Make sure to update /etc/mumble-server.ini
    !!!!!!!!!!!
    !!WARNING!! Make sure to set/update your SuperUser password after starting the service with:
    !!!!!!!!!!!
    !!WARNING!! /usr/local/sbin/murmurd -ini /etc/mumble-server.ini -readsupw
    !!!!!!!!!!!

    NOTE:
    To start the service use:
    service mumble-server start

    To add to boot, use:
    chkconfig –add mumble-server
    chkconfig –level 35 mumble-server on

    EOL

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

  • zd

    How do I do the above? The pasting into “Copy+paste into build_mumble-1.2.3.sh” part to clarify.

    Thanks!

  • zd

    Also, I get this error when chkconfig after running the script. What should I do?

    # chkconfig –add mumble-server
    error reading information on service mumble-server: Cannot allocate memory

  • Kareem Pishdadi

    The first error I got was from the code from the actual page which was an lzma file format not recognized. Now I did the code you posted I get this error:
    [root@kareem mumble-rpm]# rpm2cpio ../mumble-server-1.2.4-0.20120422.1-mdv2012.0.x86_64.rpm | xzcat | cpio -imv .make-directories
    rpm2cpio: ../mumble-server-1.2.4-0.20120422.1-mdv2012.0.x86_64.rpm: No such file or directory
    xzcat: (stdin): File format not recognized
    cpio: premature end of archive
    [root@kareem mumble-rpm]#

  • Kareem Pishdadi

    Error? First got an lzma error on the code I got from the page and now I get this from the code you put down.. Any help?

    [root@kareem mumble-rpm]# rpm2cpio ../mumble-server-1.2.4-0.20120422.1-mdv2012.0.x86_64.rpm | xzcat | cpio -imv .make-directories
    rpm2cpio: ../mumble-server-1.2.4-0.20120422.1-mdv2012.0.x86_64.rpm: No such file or directory
    xzcat: (stdin): File format not recognized
    cpio: premature end of archive
    [root@kareem mumble-rpm]#

    • loclhst
      loclhst

      thank you for the update. as of the writing of this post, there was no official or pre-maded rpm.

      I was planning on doing a rpm bundle when 1.2.4 stable was released.

      your instructions are much simpler =)

  • Stonewalljck

    After months of use my mumble server shut down and I am getting these errors when trying to restart

    Any one have any ideas?

    Shutting down mumble-server: [FAILED]
    rm: cannot remove `/var/lock/subsys/mumble-server’: Read-only file system
    rm: cannot remove `/var/run/mumble-server/mumble-server.pid’: Read-only file system

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!