<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://robowiki.net/w/index.php?action=history&amp;feed=atom&amp;title=RoboRumble%2FHost_your_own_Roborumble_server</id>
	<title>RoboRumble/Host your own Roborumble server - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://robowiki.net/w/index.php?action=history&amp;feed=atom&amp;title=RoboRumble%2FHost_your_own_Roborumble_server"/>
	<link rel="alternate" type="text/html" href="http://robowiki.net/w/index.php?title=RoboRumble/Host_your_own_Roborumble_server&amp;action=history"/>
	<updated>2026-05-02T05:57:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>http://robowiki.net/w/index.php?title=RoboRumble/Host_your_own_Roborumble_server&amp;diff=20381&amp;oldid=prev</id>
		<title>Nat: /* Configure server */ MyPhpAdmin &gt; phpMyAdmin; the source is wrong, too.</title>
		<link rel="alternate" type="text/html" href="http://robowiki.net/w/index.php?title=RoboRumble/Host_your_own_Roborumble_server&amp;diff=20381&amp;oldid=prev"/>
		<updated>2011-07-19T13:31:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Configure server: &lt;/span&gt; MyPhpAdmin &amp;gt; phpMyAdmin; the source is wrong, too.&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 13:31, 19 July 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l36&quot; &gt;Line 36:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 36:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;MyPhpAdmin&lt;/del&gt;'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;phpMyAdmin&lt;/ins&gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Create database-&amp;gt;roborumble, Import script [http://darkcanuck.net/svn/rumbleserver/trunk/schema/schema.sql schema/schema.sql]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Create database-&amp;gt;roborumble, Import script [http://darkcanuck.net/svn/rumbleserver/trunk/schema/schema.sql schema/schema.sql]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff::1.12:old-20380:rev-20381 --&gt;
&lt;/table&gt;</summary>
		<author><name>Nat</name></author>
		
	</entry>
	<entry>
		<id>http://robowiki.net/w/index.php?title=RoboRumble/Host_your_own_Roborumble_server&amp;diff=20380&amp;oldid=prev</id>
		<title>FlemmingLarsen: This is an article describing how to host your own RoboRumble server. The article was originally posted by Pavel Savara on his blog.</title>
		<link rel="alternate" type="text/html" href="http://robowiki.net/w/index.php?title=RoboRumble/Host_your_own_Roborumble_server&amp;diff=20380&amp;oldid=prev"/>
		<updated>2011-07-19T11:38:22Z</updated>

		<summary type="html">&lt;p&gt;This is an article describing how to host your own RoboRumble server. The article was originally posted by Pavel Savara on his blog.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This is an article describing how to host your own RoboRumble server.&lt;br /&gt;
The article was originally posted by Pavel Savara on his&lt;br /&gt;
[http://zamboch.blogspot.com/2011/07/host-your-own-roborumble-server.html blog here].&lt;br /&gt;
&lt;br /&gt;
== Host your own Roborumble server ==&lt;br /&gt;
&lt;br /&gt;
There are several reasons why you might want to run your own Roborumble server.&lt;br /&gt;
Maybe you would like to run small local contest at your school or workplace.&lt;br /&gt;
Or maybe you are testing your new shiny robot. Or may you want to collect some battle data, like myself. &lt;br /&gt;
&lt;br /&gt;
The [http://darkcanuck.net/rumble/Rankings?game=roborumble current Roborumble server] is created and maintained by [[User:Darkcanuck|Darkcanuck]].&lt;br /&gt;
Luckily he shares the [http://darkcanuck.net/svn/rumbleserver/trunk/ RumbleServer sources] via subversion.&lt;br /&gt;
It is implemented in PHP and MySQL. &lt;br /&gt;
&lt;br /&gt;
Because I'm not PHP+MySQL expert, easiest solution for me was to download [http://www.turnkeylinux.org/lampstack ready-made LAMP] virtual machine and configure it.&lt;br /&gt;
I know you are busy ;-), so I published my virtual appliance, you could just start using it.&lt;br /&gt;
You can [http://ane-kolin.cz/zamboch/turnkey-roborumble.2011-07-18.zip.torrent download] it and run it in VMWare Player.&lt;br /&gt;
Password is '''robocode''', you should change it as soon. Or you could follow the guide below. &lt;br /&gt;
&lt;br /&gt;
=== Configure server ===&lt;br /&gt;
&lt;br /&gt;
Once you have [http://www.turnkeylinux.org/lampstack LAMP stack] up and running you need few things:&lt;br /&gt;
* Install subversion client &lt;br /&gt;
* Get PHP sources &lt;br /&gt;
* Configure RumbleServer &lt;br /&gt;
* Turn on URL rewriting mod in Apache &lt;br /&gt;
* Configure MySQL database and grant permissions &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The appliance has could be configured from web admin.&lt;br /&gt;
You can access it on &amp;lt;nowiki&amp;gt;https://192.168.1.12/&amp;lt;/nowiki&amp;gt; where 192.168.1.12 is the IP address assigned to the virtual machine by your DHCP server.&lt;br /&gt;
I will use 192.168.1.12 which was assigned to me in rest of the article. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Webmin''' -&amp;gt; Global configuration -&amp;gt; Configure Apache Modules -&amp;gt; rewrite: switch ON&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''MyPhpAdmin'''&lt;br /&gt;
&lt;br /&gt;
Create database-&amp;gt;roborumble, Import script [http://darkcanuck.net/svn/rumbleserver/trunk/schema/schema.sql schema/schema.sql]&lt;br /&gt;
&lt;br /&gt;
Priviledges -&amp;gt; add new user -&amp;gt;&lt;br /&gt;
:name -&amp;gt; rumbleuser&lt;br /&gt;
:pass -&amp;gt; rumblepass&lt;br /&gt;
:Database for user -&amp;gt; None&lt;br /&gt;
:Global privileges -&amp;gt; Select+Update+Insert+Delete&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''On root shell''' do something like this:&lt;br /&gt;
 apt-get install subversion&lt;br /&gt;
 cd /var/www/&lt;br /&gt;
 mkdir rumble&lt;br /&gt;
 cd rumble&lt;br /&gt;
 svn co &amp;lt;nowiki&amp;gt;http://darkcanuck.net/svn/rumbleserver/trunk/&amp;lt;/nowiki&amp;gt; .&lt;br /&gt;
 chmod g+w templates_c/&lt;br /&gt;
 chown :www-data templates_c/&lt;br /&gt;
 cat &amp;gt; participants.txt&lt;br /&gt;
 ''[paste participants.txt file and press Ctrl-D]''&lt;br /&gt;
 cd config&lt;br /&gt;
 cp config.php-sample config.php&lt;br /&gt;
&lt;br /&gt;
=== Participants ===&lt;br /&gt;
Are defined as list of robots and their .jar files.&lt;br /&gt;
Big competition is driven by [http://robowiki.net/wiki/RoboRumble/Participants?action=raw this file].&lt;br /&gt;
We could simplify our own list like [http://ane-kolin.cz/zamboch/participants.txt this].&lt;br /&gt;
We host the file on the appliance in folder /var/www/.&lt;br /&gt;
So create you own shortlist and update it there. Note there are starting and ending tags.&lt;br /&gt;
 ----&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 jk.mega.DrussGT 2.0.4,&amp;lt;nowiki&amp;gt;http://www.minifly.rchomepage.com/robocode/jk.mega.DrussGT_2.0.4.jar&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 voidious.Diamond 1.5.34b,&amp;lt;nowiki&amp;gt;http://www.dijitari.com/void/robocode/voidious.Diamond_1.5.34b.jar&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 ----&lt;br /&gt;
&lt;br /&gt;
=== Configure client ===&lt;br /&gt;
Download and install [https://sourceforge.net/projects/robocode/files/robocode/1.7.3.0/robocode-1.7.3.0-setup.jar/download Robocode 1.7.3].&lt;br /&gt;
&lt;br /&gt;
Edit c:\robocode\roborumble\roborumble.txt&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
:PARTICIPANTSURL=&amp;lt;nowiki&amp;gt;http://192.168.1.12/participants.txt&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
:UPDATEBOTSURL=&amp;lt;nowiki&amp;gt;http://192.168.1.12/rumble/RemoveOldParticipant&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
:RESULTSURL=&amp;lt;nowiki&amp;gt;http://192.168.1.12/rumble/UploadedResults&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
:RATINGS.URL=&amp;lt;nowiki&amp;gt;http://192.168.1.12/rumble/RatingsFile&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
:ITERATE=YES&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
start c:\robocode\roborumble.bat &lt;br /&gt;
&lt;br /&gt;
=== Purge data ===&lt;br /&gt;
If you need to purge the data from the '''roborumble''' database and start from scratch just delete rows using MyPhpAdmin.&lt;br /&gt;
&lt;br /&gt;
 delete from battle_results;&lt;br /&gt;
 delete from game_pairings;&lt;br /&gt;
 delete from bot_data;&lt;br /&gt;
 delete from participants;&lt;br /&gt;
 delete from upload_stats;&lt;br /&gt;
 delete from upload_users;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Oh, and once you are done with your local competition, don't forget to redirect back to the&lt;br /&gt;
[http://darkcanuck.net/rumble/index.html official RoboRumble server] and contribute your CPU power!&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://ane-kolin.cz/zamboch/turnkey-roborumble.2011-07-18.zip.torrent Download turnkey-roborumble.2011-07-18.zip.torrent]&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;br /&gt;
[[Category:RoboRumble]]&lt;br /&gt;
[[Category:Competitions]]&lt;/div&gt;</summary>
		<author><name>FlemmingLarsen</name></author>
		
	</entry>
</feed>