Home » Forum

Forum

 
You must be logged in to post


Register? | Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

iourt server + b3 + echelon

UserPost

00:32
3 Giugno 2009


astars

New Member

posts 0

0

#########################################################

## ##

## Installazione ioUrbanTerror Server ##

## Installazione BigBrotherBot (b3) ##

## Installazione Echelon ##

## ##

## OS: GNU/Debian ##

## ##

#########################################################

La seguente guida non è dettagliata al 100%, per ulteriori informazioni potete contattarmi tramite email o MSN.

1) Installazione e configurazione ioUrbanTerror Server

root@debian:~# adduser iourts

NOTA: seguire le indicazioni a video e completare l'account.

root@debian:~# su – iourts

iourts@debian:~$ wget ftp://ftp.snt.utwente.nl/pub/games/urbanterror/UrbanTerror_41_FULL.zip

iourts@debian:~$ unzip UrbanTerror_41_FULL.zip

iourts@debian:~$ cd UrbanTerror

iourts@debian:~$ ls

ioUrTded.i386 ioUrbanTerror Source.url ioUrbanTerror.exe ioUrbanTerror.x86_64 ioUrbanTerror_Logitech_Game_Recognition.reg ioUrbanTerror_id-readme.txt

ioUrTded.exe ioUrTded.x86_64 ioUrbanTerror.app ioUrbanTerror.i386 ioUrbanTerror_COPYING.txt ioUrbanTerror_README.txt q3ut4

NOTA: questo è quello che dovreste vedere (output sopra).

iourts@debian:~$ cp /home/iourts/UrbanTerror/q3ut4/server.cfg /home/iourts/UrbanTerror/

iourts@debian:~$ pico server.cfg

NOTA: modificare il file di configurazione del server a piacimento (comando sopra).

iourts@debian:~$ cp server.cfg q3ut4/

Nota: fare una copia identica del file all'interno della cartella q3ut4 (comando sopra).

iourts@debian:~$ pico startserver.sh

NOTA: Incollare lo script qui sotto e salvare il file.

#Script

#!/bin/bash

while true

do

/home/iourts/UrbanTerror/ioUrTded.i386 +set fs_game q3ut4 +set dedicated 2 +set net_IP INDIRIZZOIP +set net_port PORTA +set com_hunkmegs 128 +set ttycon 0 +sets +exec server.cfg

echo "server crashed on `date`" > last_crash.txt

done

# screen -m -d sh startserver.sh (comando per lanciare il server).

#Fine Script

NOTA: +set net_IP INDIRIZZOIP +set net_port PORTA; inserire IP e PORTA del server (script sopra).

iourts@debian:~$ chmod +x startserver.sh

iourts@debian:~$ screen -m -d sh startserver.sh

2) Installazione e configurazione BigBrotherBot (b3)

Requisiti:

a. Python => 2.3

b. MySQL-python

c. MySQL

d. Python Elementtree package

e. setuptools

f. mercurial + mysqldb o python-mysqldb

g. utente del bot b3

h. utente db e db sql

i. b3bot

l. B3UrT-v2.0.2

m. PowerAdminUrt 1.4.0+

——————————

a) Installazione Python:

root@debian:~# apt-get install python

b) Installazione Mysql-pyton:

root@debian:~# apt-get install python-mysqldb

c) Installazione mysql:

root@debian:~# apt-get install mysql-server-5.0 mysql-client-5.0

d) Installazione Elementtree:

root@debian:~# wget http://effbot.org/media/downloads/elementtree-1.2.7-20070827-preview.zip

root@debian:~# unzip elementtree-1.2.7-20070827-preview.zip

root@debian:~# cd elementtree-1.2.7-20070827-preview

root@debian:~# python setup.py install

e) Installazione setuptools:

root@debian:~# wget http://peak.telecommunity.com/dist/ez_setup.py

root@debian:~# python ez_setup.py

f) Installazione mercurial e mysqldb o python-mysqldb:

root@debian:~# apt-get install mercurial mysqldb

g) Creare l'utente dove risiederà  il bot:

root@debian:~# adduser b3shell

Nota: seguire a video e completare la creazione dell'account.

h) Creare il database mysql e l'utente che lo userà :

root@debian:~# mysql -u root -p

NOTA: usare la password inserita in fase d'installazione di mysql (punto c).

mysql> CREATE DATABASE b3db;

mysql> CREATE USER 'b3user'@'localhost' IDENTIFIED BY 'LaPa5sCh3VuOI';

mysql> GRANT ALL PRIVILEGES ON b3db.* TO 'b3user'@'localhost';

mysql> quit;

root@debian:~# mysql -u root -p b3db < /path/to/sql/mio_sql.sql

h.1) Controllare il db dell'utente:

root@debian:~# mysql -u b3user -p b3db

NOTA: I tre punti successivi verranno scritti in seguito, per il momento ci sono i link alle guide ufficiali.

i) Installazione Bigbrotherbot:

http://wiki.github.com/BigBrotherBot/big-brother-bot/installation

Leggere la guida.

l) Installazione B3UrT-v2.0.2:

http://www.bigbrotherbot.com/forums/index.php?topic=190.0

Leggere la guida nel pacchetto.

m) Installazione plugin PowerAdminURT

Scaricare il pacchetto da questo link: http://xlr8or.snt.utwente.nl/hg/poweradminurt?ca=tip;type=zip

Leggere la guida nel pacchetto o a questo link: http://xlr8or.snt.utwente.nl/hg/poweradminurt?f=b5fdfdf043b2;file=readme-poweradminurt.txt;style=gitweb

3) Installazione e configurazione Echelon

Requisiti:

a. php 5

b. Apache2

c. echelon

a) Installazione php5

root@debian:~# apt-get install php5 php5-common php5-dev php5-mysql

b) Installazione apache2

root@debian:~# apt-get install apache2 apache2-mpm-prefork libapache2-mod-php5

b.1) Attivare il modulo php5

root@debian:~# a2enmod php5

b.2) Riavvio di Apache2

root@debian:~# /etc/init.d/apache2 force-reload

c) Installazione di echelon

Scaricare Echelon da questo link: http://xlr8or.snt.utwente.nl/hg/echelon?ca=tip;type=zip

Per installarlo seguire la guida dentro il pacchetto o a questo link: http://xlr8or.snt.utwente.nl/hg/echelon?f=c85502b3e5b6;file=README.TXT;style=gitweb

#EOF

Email: admin@astars.org

MSN: ast4rs@hotmail.com



About the Urban Terror Italia Forum

Most Users Ever Online: 28

Currently Online: Kabal
7 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 5
Forums: 15
Topics: 1331
Posts: 25508

Membership:

There are 1407 Members

There are 4 Admins
There are 9 Moderators

Top Posters:

I3uffaloSoldier – 512
Kabal – 473
Seven – 391
G!GH3N – 333
Godkiller – 312
Paradox – 233

Recent New Members: wolverin, diavol90, agarel, piskell0return, Serial]{iller

Administrators: [Parantido] (1014 Posts), Pechnet (461 Posts), quentin (162 Posts), Sf4tt (59 Posts)

Moderators: [Parantido] (1014 Posts), Pechnet (461 Posts), quentin (162 Posts), Sf4tt (59 Posts), PHANTO]V[AS (802 Posts), Yosku (526 Posts), RiddicK (131 Posts), Parantido (13 Posts), skarabeo (6 Posts)