Pagina de start a forumului MpK.MyForum.ro  
FAQ Cautare
Membri Grupuri
Profil Mesaje private
Inregistrare Autentificare
Tutorial Instalare Psychostats(LinuX)
Creaza un subiect nou   Raspunde la subiect    Pagina de start a forumului MpK.MyForum.ro Tutoriale
Subiectul anterior :: Subiectul urmator  
Autor Mesaj
Smokey
Administrator
Administrator
Smokey

Data inscrierii: 22/Iul/2008
Mesaje: 70

MesajTrimis: 22/07/2008 13:56    Titlul subiectului: Tutorial Instalare Psychostats(LinuX) Raspunde cu citat (quote)

Am venit cu tutorialul pentru linux deoarece nu mai lucrez prea mult pe windows Very Happy .Voi revernii si cu Tutorialul pentru Windows:D
Download Psychostats (692.15 KB)
Code:
wget http://www.psychostats.com/getfile/psychostats2.3.3.tar.gz

Dezarhivati...oriunde...
Code:
tar xfvz psychostats2.3.3.tar.gz

Ok..acum mergem in directoru dezarhivat
Code:
cd psychostats2.3.3/psychostats2.3.3/

Si.....incepem instalareaaaaaa
Code:
chmod +x install.pl
./install.pl

Acum trebuie sa facem setarile de baza:
Quote:
Web server host: localhost [127.0.0.1]

Do you want to change your settings? [y,N]: N
Quote:
>>> 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

Quote:
DB Username []: (user care are acces la baza de date mysql)
ex:
DB Username []:nino

Quote:
DB Password []:(parola userului)

Quote:
DB Hostname [localhost]:localhost

Quote:
DB Name []:(numele bazei de date)

Quote:
DB Table prefix [pstats_]: (dati Enter)

Quote:
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

Press enter to continue with next step
Quote:
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/

Quote:
MODTYPE []:cstrike

Quote:
UNIQUEID []:name

Quote:
DECAY.SKILL [0%]: (dati Enter)

Quote:
DECAY.MINSKILL [1000]: (dati Enter)

Quote:
SERVERNAME []: (puneti un nume gen "Powered by .." sau ce o fi)
ex:
SERVERNAME []:Powered by eScape

Quote:
SERVERIP []: (IP serverului urmat de port..NU BAGATI DNS-uri ca nu le citeste!!!)
ex:
SERVERIP []:80.97.**.***:27015

Quote:
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/

Quote:
'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/

Quote:
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..
Quote:
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:
Quote:
./install.pl -resetdb -profiles

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



acum rulati din nou
Quote:
./stats.pl

si nu o sa va mai apara eroare...

Hai sa facem si un admin...nu?
Quote:
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

Gata ... Sper sa va mearga Very Happy
Vezi profilul utilizatorului Trimite mesaj privat
Afiseaza mesajele pentru a le previzualiza:   
Creaza un subiect nou   Raspunde la subiect    Pagina de start a forumului MpK.MyForum.ro Tutoriale Ora este GMT + 2 ore
Pagina 1 din 1

 
Mergi direct la:  
Nu puteti crea un subiect nou in acest forum
Nu puteti raspunde in subiectele acestui forum
Nu puteti modifica mesajele proprii din acest forum
Nu puteti sterge mesajele proprii din acest forum
Nu puteti vota in chestionarele din acest forum
ezHyperShadow template - a boo design Original ezHyperShadow theme by boo ©2004 www.ez-life.net
Powered by phpBB © 2001, 2002 phpBB Group
Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro