--- TrAfIcAnT*s ArEnA ---
Doriti să reactionati la acest mesaj? Creati un cont în câteva clickuri sau conectati-vă pentru a continua.

--- TrAfIcAnT*s ArEnA ---

Traffics.idle.ro CeL MaI TaRe FoRum construit Vreodata
 
AcasaAcasa  Trafficant*s ArTrafficant*s Ar  Ultimele imaginiUltimele imagini  CăutareCăutare  ÎnregistrareÎnregistrare  Conectare  

 

 Instalare Psychostats (LINUX)

In jos 
AutorMesaj
Snoppy
::..Grafician..::
::..Grafician..::
Snoppy


Mesaje : 114
Data de înscriere : 19/04/2008

Instalare Psychostats (LINUX) Empty
MesajSubiect: Instalare Psychostats (LINUX)   Instalare Psychostats (LINUX) Icon_minitimeDum Apr 20, 2008 8:36 am

Tutorial Instalare Psychostats (LINUX) Instalare Psychostats (LINUX) Icon_quote
Psychostats este un generator de statistici pentru diferite jocuri. In acest caz pentru un server Cstrike facut pe Linux.

Psychostats aduna statisticile din logurile serverului care apoi le stocheaza intr-o baza de date Mysql.

Deci in primu' rand pentru a instala Psychostats este nevoie de o baza de date Mysql.

Bun....deci sa incepem cu instalarea...



Download Psychostats (692.15 KB)

<table class="quote-table" align="center" cellpadding="0" cellspacing="0" width="90%"><tr> <td class="quote-corner" height="19" width="19">Instalare Psychostats (LINUX) Quote_header</td>
<td class="quote-header" align="left" width="100%">Citat:</td>
</tr>
<tr> <td class="quote-left">Instalare Psychostats (LINUX) Spacer</td>
<td class="quote-text">wget http://www.psychostats.com/getfile/psychostats2.3.3.tar.gz</td>
</tr>
</table>


Dezarhivati...oriunde...

<table class="quote-table" align="center" cellpadding="0" cellspacing="0" width="90%"><tr> <td class="quote-corner" height="19" width="19">Instalare Psychostats (LINUX) Quote_header</td>
<td class="quote-header" align="left" width="100%">Citat:</td>
</tr>
<tr> <td class="quote-left">Instalare Psychostats (LINUX) Spacer</td>
<td class="quote-text">tar xfvz psychostats2.3.3.tar.gz</td>
</tr>
</table>


Ok..acum mergem in directoru dezarhivat

<table class="quote-table" align="center" cellpadding="0" cellspacing="0" width="90%"><tr> <td class="quote-corner" height="19" width="19">Instalare Psychostats (LINUX) Quote_header</td>
<td class="quote-header" align="left" width="100%">Citat:</td>
</tr>
<tr> <td class="quote-left">Instalare Psychostats (LINUX) Spacer</td>
<td class="quote-text">cd psychostats2.3.3/psychostats2.3.3/</td>
</tr>
</table>


Si.....incepem instalareaaaaaa Instalare Psychostats (LINUX) Smile1

<table class="quote-table" align="center" cellpadding="0" cellspacing="0" width="90%"><tr> <td class="quote-corner" height="19" width="19">Instalare Psychostats (LINUX) Quote_header</td>
<td class="quote-header" align="left" width="100%">Citat:</td>
</tr>
<tr> <td class="quote-left">Instalare Psychostats (LINUX) Spacer</td>
<td class="quote-text">chmod +x install.pl

./install.pl</td>
</tr>
</table>


Acum trebuie sa facem setarile de baza:



<table class="quote-table" align="center" cellpadding="0" cellspacing="0" width="90%"><tr> <td class="quote-corner" height="19" width="19">Instalare Psychostats (LINUX) Quote_header</td>
<td class="quote-header" align="left" width="100%">Citat:</td>
</tr>
<tr> <td class="quote-left">Instalare Psychostats (LINUX) Spacer</td>
<td class="quote-text">Web server host: localhost [127.0.0.1]



Do you want to change your settings? [y,N]: N </td>
</tr>
</table>


<table class="quote-table" align="center" cellpadding="0" cellspacing="0" width="90%"><tr> <td class="quote-corner" height="19" width="19">Instalare Psychostats (LINUX) Quote_header</td>
<td class="quote-header" align="left" width="100%">Citat:</td>
</tr>
<tr> <td class="quote-left">Instalare Psychostats (LINUX) Spacer</td>
<td class="quote-text">>>> STEP: Verifying required perl modules ...

Searching for required perl modules ...

x = module installed

[x] DBI v1.48

[x] DBD::mysql v3.0002

[x] Data::Dumper v2.121_04

All required perl modules are installed! Congratulations!



Press enter to continue with next step</td>
</tr>
</table>


<table class="quote-table" align="center" cellpadding="0" cellspacing="0" width="90%"><tr> <td class="quote-corner" height="19" width="19">Instalare Psychostats (LINUX) Quote_header</td>
<td class="quote-header" align="left" width="100%">Citat:</td>
</tr>
<tr> <td class="quote-left">Instalare Psychostats (LINUX) Spacer</td>
<td class="quote-text">DB Username []: (user care are acces la baza de date mysql)

ex:

DB Username []:nino</td>
</tr>
</table>


<table class="quote-table" align="center" cellpadding="0" cellspacing="0" width="90%"><tr> <td class="quote-corner" height="19" width="19">Instalare Psychostats (LINUX) Quote_header</td>
<td class="quote-header" align="left" width="100%">Citat:</td>
</tr>
<tr> <td class="quote-left">Instalare Psychostats (LINUX) Spacer</td>
<td class="quote-text">DB Password []:(parola userului)</td>
</tr>
</table>


<table class="quote-table" align="center" cellpadding="0" cellspacing="0" width="90%"><tr> <td class="quote-corner" height="19" width="19">Instalare Psychostats (LINUX) Quote_header</td>
<td class="quote-header" align="left" width="100%">Citat:</td>
</tr>
<tr> <td class="quote-left">Instalare Psychostats (LINUX) Spacer</td>
<td class="quote-text">DB Hostname [localhost]:localhost</td>
</tr>
</table>


<table class="quote-table" align="center" cellpadding="0" cellspacing="0" width="90%"><tr> <td class="quote-corner" height="19" width="19">Instalare Psychostats (LINUX) Quote_header</td>
<td class="quote-header" align="left" width="100%">Citat:</td>
</tr>
<tr> <td class="quote-left">Instalare Psychostats (LINUX) Spacer</td>
<td class="quote-text">DB Name []:(numele bazei de date) </td>
</tr>
</table>


<table class="quote-table" align="center" cellpadding="0" cellspacing="0" width="90%"><tr> <td class="quote-corner" height="19" width="19">Instalare Psychostats (LINUX) Quote_header</td>
<td class="quote-header" align="left" width="100%">Citat:</td>
</tr>
<tr> <td class="quote-left">Instalare Psychostats (LINUX) Spacer</td>
<td class="quote-text">DB Table prefix [pstats_]: (dati Enter) </td>
</tr>
</table>


<table class="quote-table" align="center" cellpadding="0" cellspacing="0" width="90%"><tr> <td class="quote-corner" height="19" width="19">Instalare Psychostats (LINUX) Quote_header</td>
<td class="quote-header" align="left" width="100%">Citat:</td>
</tr>
<tr> <td class="quote-left">Instalare Psychostats (LINUX) Spacer</td>
<td class="quote-text">DB Compression [0]: (dati Enter) </td>
</tr>
</table>


<table class="quote-table" align="center" cellpadding="0" cellspacing="0" width="90%"><tr> <td class="quote-corner" height="19" width="19">Instalare Psychostats (LINUX) Quote_header</td>
<td class="quote-header" align="left" width="100%">Citat:</td>
</tr>
<tr> <td class="quote-left">Instalare Psychostats (LINUX) Spacer</td>
<td class="quote-text">If a table already exists with the same name in the 'pstats' database should

it be deleted and replaced with a new empty table? (any data in the original

table will be lost). Player and Clan profiles will not be deleted unless you

specified the -profiles [player,clan] command line option.

Delete existing tables first? [y,N]: y </td>
</tr>
</table>

Sus In jos
https://trafficants.forumgratuit.ro
Snoppy
::..Grafician..::
::..Grafician..::
Snoppy


Mesaje : 114
Data de înscriere : 19/04/2008

Instalare Psychostats (LINUX) Empty
MesajSubiect: Re: Instalare Psychostats (LINUX)   Instalare Psychostats (LINUX) Icon_minitimeDum Apr 20, 2008 8:37 am

Press enter to continue with next step

Instalare Psychostats (LINUX) Quote_header Citat:
Instalare Psychostats (LINUX) Spacer Current log sources (enter a blank line to stop).

An asterix '*' in front of the directory means the directory does not exist!

LOGSOURCE 1: (aici puneti calea directorului cu loguri)

ex:

LOGSOURCE 1:/cs/hlds/cstrike/logs/


Instalare Psychostats (LINUX) Quote_header Citat:
Instalare Psychostats (LINUX) Spacer MODTYPE []:cstrike


Instalare Psychostats (LINUX) Quote_header Citat:
Instalare Psychostats (LINUX) Spacer UNIQUEID []:name


Instalare Psychostats (LINUX) Quote_header Citat:
Instalare Psychostats (LINUX) Spacer DECAY.SKILL [0%]: (dati Enter)


Instalare Psychostats (LINUX) Quote_header Citat:
Instalare Psychostats (LINUX) Spacer DECAY.MINSKILL [1000]: (dati Enter)


Instalare Psychostats (LINUX) Quote_header Citat:
Instalare Psychostats (LINUX) Spacer SERVERNAME []: (puneti un nume gen "Powered by .." sau ce o fi)

ex:

SERVERNAME []:Powered by eScape


Instalare Psychostats (LINUX) Quote_header Citat:
Instalare Psychostats (LINUX) Spacer SERVERIP []: (IP serverului urmat de port..NU BAGATI DNS-uri ca nu le citeste!!!)

ex:

SERVERIP []:80.97.**.***:27015


Instalare Psychostats (LINUX) Quote_header Citat:
Instalare Psychostats (LINUX) Spacer Very Important: You must provide a valid directory that the website files for

PsychoStats will be copied or uploaded to. This directory should be within

your web server directory tree.

'statsroot' specifies the directory where your PsychoStats website files will

be located.

THEME.STATSROOT []: (directorul in care vor sta toate fisierele
Psychostats.. verficati setarile din Apache...sau ce web server aveti!)

ex:

THEME.STATSROOT []:/var/www/htdocs/stats/


Instalare Psychostats (LINUX) Quote_header Citat:
Instalare Psychostats (LINUX) Spacer 'statsurl' is an absolute URL pointing to the location of your stats on your

website. You do NOT put http://domain.com in front of this option. This will

usually resemble the statsroot option you entered above but w/o the phyiscal

directory path in front of it. Often only leaving the last directory name.

Example: If statsroot = '/var/www/stats/', then statsurl would be '/stats/'.

THEME.STATSURL [/stats/]: (pp ca ati inteles ce trebuie sa faceti aici)

ex:

THEME.STATSURL [/stats/]:/stats/


Instalare Psychostats (LINUX) Quote_header Citat:
Instalare Psychostats (LINUX) Spacer Available themes: psweb

Choose your theme [psweb]:psweb


De aici incepe instalarea de fisiere Psychostats....

Cam astea ar fi setarile.. Rolling Eyes



Acum sa "umplem" baza de date cu statisticile jucatorilor de pe server..



Instalare Psychostats (LINUX) Quote_header Citat:
Instalare Psychostats (LINUX) Spacer chmod +x stats.pl

./stats.pl


Aici s-ar putea sa fie o mica problema...un bug de la ei...si anume
o sa inceapa sa va apara multe errori de genu : Table
'psstats.pstats_plr_profile' doesn't exist



Rezolvare:

Instalare Psychostats (LINUX) Quote_header Citat:
Instalare Psychostats (LINUX) Spacer ./install.pl -resetdb -profiles



iar cand va intreaba daca vreti sa stergeti tabelele din baza de date dati " Y"





acum rulati din nou
Instalare Psychostats (LINUX) Quote_header Citat:
Instalare Psychostats (LINUX) Spacer ./stats.pl


si nu o sa va mai apara eroare...



Hai sa facem si un admin...nu?

Instalare Psychostats (LINUX) Quote_header Citat:
Instalare Psychostats (LINUX) Spacer chmod +x psadmin.pl

chmod +x pspass.pl

acum

./psadmin.pl <identity> [accesslevel]

ex:

./psadmin.pl spitfir33 10

next punem si o parola pe acest user

./pspass.pl name -password password

ex:

./pspass.pl spitfir33 -password sexxybalamuc

am pus si parola.... gata...puteti sa va logati pe site;) si sa administrati tabelele cat si baza de date




din experianta mea.... am observat ca daca faceti 2 admini....o sa
aveti probleme cu listele playerilor.... adica mie imi apareau de doua
ori acelasi jucator,acelasi stats, se dublau toate datele..... si am
citit pe site-ul lor ca trebuie facut doar un singur admin..... acum
incercati si voi... poate la voi merge cine stie Instalare Psychostats (LINUX) Smile1 Twisted Evil
Sus In jos
https://trafficants.forumgratuit.ro
 
Instalare Psychostats (LINUX)
Sus 
Pagina 1 din 1
 Subiecte similare
-
» Tutorial Instalare Log Daemon v1.0.0.6(LogD) Linux/Windows
» Tutorial Instalare Server Counter-Strike 1.6 Linux
» Tutorial Instalare ChickenMod
» Tutorial Instalare ATAC (win)
» Tutorial Instalare HLStats (Windows)

Permisiunile acestui forum:Nu puteti raspunde la subiectele acestui forum
--- TrAfIcAnT*s ArEnA --- :: _-- Discutii --_ :: Plugin-uri-
Mergi direct la: