Community Forums Today's Posts     Member List     Archive    
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2011
    Posts
    5

    Linux server quick and easy install and start script

    I have come up with a very simple script for people who just wish to have a TeamSpeak 3 server up and running in minutes without hassle, also great for people who are unfamiliar with Linux.

    This automated script should have a server up and running within seconds. I will also update this script on the fly as new server versions are released. This script will only install current/stable server releases. This script can be run as any user that has access permissions, this does not have to be (and should not be) root.

    This script has been tested on Debian 6, CentOS 4.x 5.x and Ubuntu 10.x 11.x, but should compatible with most distros.

    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Open an SSH connection to your server and issue the following commands, one at a time:

    x86 (32bit) Server Version:

    Code:
    wget http://www.tsdns.eu/scripts/ts-install-x86.sh
    
    chmod +x ts-install-x86.sh
    
    ./ts-install-x86.sh
    amd64 (64bit) Server Version:

    Code:
    wget http://www.tsdns.eu/scripts/ts-install-amd64.sh
    
    chmod +x ts-install-amd64.sh
    
    ./ts-install-amd64.sh
    If you are unsure of your system architecture (x86/amd64), use the following command to check:

    Code:
    uname -a
    If you are still unsure of your architecture, use the x86 version.

    After running this script, your TeamSpeak server should be up and running, This script is only for performing a clean server installation, please remove any old server installations before using this script. This script will not perform server updates, however I am currently working on another simple script for this.

    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Here is the script code:

    x86:

    Code:
    #!/bin/sh
    # TeamSpeak easy installation and startup script
    
    cd $HOME
    wget http://teamspeak.gameserver.gamed.de/ts3/releases/beta-30/teamspeak3-server_linux-x86-3.0.0-beta30.tar.gz
    tar -xvf teamspeak3-server_linux-x86-3.0.0-beta30.tar.gz
    rm -f teamspeak3-server_linux-x86-3.0.0-beta30.tar.gz
    mv teamspeak3-server_linux-x86 teamspeak
    cd teamspeak
    chmod +x ts3server_startscript.sh ts3server_linux_x86
    clear
    $HOME/teamspeak/./ts3server_startscript.sh start
    echo "Retrieving server status..."
    $HOME/teamspeak/./ts3server_startscript.sh status
    exit 0
    done
    amd64:

    Code:
    #!/bin/sh
    # TeamSpeak easy installation and startup script
    
    cd $HOME
    wget http://teamspeak.gameserver.gamed.de/ts3/releases/beta-30/teamspeak3-server_linux-amd64-3.0.0-beta30.tar.gz
    tar -xvf teamspeak3-server_linux-amd64-3.0.0-beta30.tar.gz
    rm -f teamspeak3-server_linux-amd64-3.0.0-beta30.tar.gz
    mv teamspeak3-server_linux-amd64 teamspeak
    cd teamspeak
    chmod +x ts3server_startscript.sh ts3server_linux_amd64
    clear
    $HOME/teamspeak/./ts3server_startscript.sh start
    echo "Retrieving server status..."
    $HOME/teamspeak/./ts3server_startscript.sh status
    exit 0
    done
    Last edited by Arandas; 18-05-2011 at 01:31.

  2. #2
    Join Date
    May 2011
    Posts
    2
    Thank you! This script is extremely helpful!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Linux Install Bash script!
    By killerkeks in forum Linux / FreeBSD
    Replies: 3
    Last Post: 12-01-2011, 07:09
  2. Replies: 0
    Last Post: 03-01-2011, 13:05
  3. Nice And Easy Linux Start Script
    By The009 in forum Linux / FreeBSD
    Replies: 11
    Last Post: 04-02-2010, 17:22
  4. Easy question...quick answer =)
    By Semendemen in forum [TeamSpeak 2] Server Support
    Replies: 2
    Last Post: 16-04-2006, 08:23
  5. Linux install quick questions
    By Bigman in forum [TeamSpeak 2] Server Support
    Replies: 1
    Last Post: 17-05-2003, 20:25

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •