Status

  • six-rsync (core library with minimal functionality), version > 0.4.3.
  • six-updater (arma-aware updater application), version > 0.17.1.
  • six-updater-web (the web gui), version > 0.10.2.

Upcoming apt-get like behaviour

 

Prerequisites

  • Ruby (at least 1.9.3 recommended! You can use RVM for easy (and optional non-root) install of Ruby), with Rubygems
  • p7zip (7z binary)
  • md5sum
  • rsync

 Universal example:

Download and install RVM, with it install the latest Ruby 1.9.3, see https://rvm.io/ for details

Download and install rsync and p7zip, refer to your distribution documentation for info.

Debian example:

apt-get install ruby1.9 rubygems1.9 p7zip rsync

Ubuntu example:

apt-get install ruby1.9.1-full p7zip-full rsync

 

(You might have to link /usr/bin/ruby -> /usr/bin/ruby1.9   (same for gem and rake. 1.9 could be 1.9.1, 1.8, etc)  for your convienence)

 

Installation & Usage

  • gem install six-updater
    • This also installs six-rsync
  • Save a six-updater.yml in ~/six-updater/six-updater.yml   (or anywhere else)
  • six-updater --help
    
    • six-rsync --help

Please also see +Commandline.

 

Run "gem update" to keep gems up2date

 

Six-updater-web

Running from source (Recommended)

Requires git (http://www.git-scm.com)

Once:

git clone git://git.dev-heaven.net/six-updater-web.git
cd six-updater-web
cp config/database.yml.sample config/database.yml
gem install bundler
bundle install

 

If you want to run with settings stored in ~/six-updater (equal to gem): (still from within six-updater-web directory)

ruby init.rb

 

Or, if you want to run with settings inside six-updater-web directory: (still from within six-updater-web directory)

Once:

rake db:create RAILS_ENV=production
rake db:migrate RAILS_ENV=production
rake goldberg:migrate RAILS_ENV=production
rake db:schema:dump RAILS_ENV=production
rake sync:system RAILS_ENV=production

And to run:

ruby script/server -e production

(use --help  for more info)

 

To update to the latest six-updater-web-source, run:

git pull

 

 

Running from Gem

  • gem install six-updater-web sqlite3-ruby
    • This also installs six-rsync and six-updater
  • six-updater-web --help

 

 

Switching to per user-gem

  • as root:
gem uninstall six-updater-web

(six-updater, six-rsync, and all other six-updater-web dependencies can remain installed in the main ruby gems library)

  • as user:
    • In the commands below, please exchange 1.9.1 with the Ruby version on your system (ruby --version) e.g 1.8
    • Prepare the environment
export PREFIX=$HOME/gem && export GEM_HOME=$PREFIX/lib/ruby/gems/1.9.1 && export RUBYLIB=$PREFIX/lib/ruby:$PREFIX/lib/site_ruby/1.9.1
  •  
    • Install the application
gem install six-updater-web
  •  
    • Run the application 
~/lib/ruby/gems/1.9.1/bin/six-updater-web

 

 

Alternative solutions

 

The following alternative options are available, and can be automated fairly easily on any linux scripting language:

 

Upload local preset by (s)FTP or rSync

Updater_2_2_Upload_preset_to_server_by_FTP_or_rSync

 

Manual

  1. Manually transfer 7z's or archives of your choosing
  2. Unpack and setup the modfolders. Incase official distributions, don't forget to unpack the *.gz files under @MOD\.pack\**\*to @MOD\**\*
  3. Run the server with -mod=@cba;@ace;@acex;@acex_ru;@acex_usnavy
 

rSync on server

About rSync

  1. Grab six-updater.yml from a working client
  2. Write down the mirrors from the modfolders you'd like to sync
  3. Use rsync in similair way as this: rsync --times -O --no-whole-file -r --delete --progress -h --exclude=.rsync rsync://somemirror/rel/cba/./.pack/ /home/arma/arma2/@CBA/.rsync/.pack
  4. Extract the .gz files, and use the output files in the modfolders
 

rSync on server - scripted

Linux rSync script by Dr.Pulp

 

Acknowledgment

 


 

 

Personal Blog

 

Six Updater News moved to:

http://www.six-updater.net

 

 

Wheeled by Wagn v. 1.10.7