Clanwarz Loader

New Clients 50% off first month with Discount Code: save50now - Returning Clients 25% off first month with Discount Code: save25now


 

How To Update Tcadmin and Install The Steam Alternate Linux Update Tool


Clanwarz.com - Pay Invoices


Linux And Steam Steam Alternate Linux Update Tool Made Simple

Tcadmin has the ability to use the Steam Alternate Tool created by our good friends at Didrole.com. We use it here at Clanwarz.com as 90 percent of our Network is on a very secure Unix Platform. We use Linux / Unix as we believe in open and free source.

If you have a script you would like to contribute and have us add to our Tcadmin scripting area, please feel free to contact us by registering and opening a support ticket when you can. We will post the script here and hopefully it will help other game admins

Keep in mind there are many ways to perform an action in Linux and Linux Scripting. The script below will show you one easy way to update Tcadmin and install the Alternate Steam Update Tool. Hope this helps anyone who is having trouble. Enjoy!


Download Latest TCAdmin - Updating Made Simple


The latest version of TCAdmin as of May 28, 2014 is 2.0.86.1.

Let us also relocate the Tools directory which resides in the Monitor folder. Doing this will give us a new Tool directory and also save the old one.

cd /home/tcadmin/Monitor
mv Tools Tools-Old
chmod 0700 updatetool
./updatetool 2.0.86.1
			

Install The Steam Alternate Linux


The latest version of Didrole's Update Tool as of May 28, 2014 is 0.4 which gives us the binary UpdateTool-0.4.tar.bz2

You will need a few commands already working in your operating system such as wget bunzip and your favorite editor. Open an editor and copy and paste the following into a script and name it what you like. Make sure the paths for TCAdmin are correctly set inside the script.

  
#!/bin/sh
#
# Tcadmin Steam Update Script - May 28, 2014

#-- http://didrole.com/UpdateTool
alternate_tool_version="UpdateTool-0.4.tar.bz2"
alternate_tool_download_url="http://didrole.com/UpdateTool/${alternate_tool_version}"

#-- TCAdmin Paths
tcadmin_user="tcadmin"
tcadmin_dir="/home/tcadmin"
tcadmin_monitor_dir="/home/tcadmin/Monitor"
tcadmin_monitor_tools_steamcmd_dir="/home/tcadmin/Monitor/Tools/SteamCmd"

#-- Tcadmin/Monitor directory check
if [ ! -d $tcadmin_monitor_dir ]; then echo "Your TCA Monitor Dir - $tcadmin_monitor_dir - Is Missing ..."; exit; fi

#-- Change directories to TCAdmin - Turn TCAdmin off
cd $tcadmin_monitor_dir
./monitor-service stop && sleep 2; ./serviceman-service stop && sleep 2
killall mono && sleep 2

#-- Tcadmin/Monitor/Tools/Steamcmd directory check
if [ ! -d $tcadmin_monitor_tools_steamcmd_dir ]; then
   mkdir -p $tcadmin_monitor_tools_steamcmd_dir && cd $tcadmin_monitor_tools_steamcmd_dir
 else
   rm -rf $tcadmin_monitor_tools_steamcmd_dir/* && cd $tcadmin_monitor_tools_steamcmd_dir
fi

#-- Download alternate steam tool 
wget $alternate_tool_download_url
if [ ! -e *.bz2 ] ; then echo "The File Did Not Download. Please Check Your Download Link. Exiting ..."; exit; fi

#-- Decompress - remove file - copy scripts to TCAdmin format
bunzip2 UpdateTool-0.4.tar.bz2 && tar xvf UpdateTool-0.4.tar; rm -f UpdateTool-0.4.tar
cp -a UpdateTool.sh steamcmd.sh ; cp -a UpdateTool.sh steam.sh

#-- Recursively change ownership of TCAdmin - restart TCAdmin
/bin/chown --recursive ${tcadmin_user}:${tcadmin_user} $tcadmin_dir
cd $tcadmin_monitor_dir
./monitor-service start
sleep 2
./serviceman-service start
			

After the script is on your server and the TCAdmin paths are set correctly, chmod the script and execute it

chmod 0700 tcadmin-steam-update.sh
sh tcadmin-steam-update.sh
			

The Clanwarz Guarantee


All Clanwarz services come equipped with Custom made Control Panels with features you will only find here at Clanwarz. Most services will be setup within seconds in the location closest to you.

When ordering your new Clanwarz Service, be sure to take advantage of any domain management specials we have to offer as an addon. Remember domain records are setup instantly and easily with our Domain Wizards. Dedicated Ip Addresses are also available along with Dedicated Admin time for custom server setups and walk throughs.

Every Service rented at Clanwarz comes with a Money Back Guarantee so please order with confidence.


Publisher: Clanwarz, Inc.
Website: www.clanwarz.com
Date:



Also Read