Two Server Setup

From PsychoWiki

Jump to: navigation, search


Contents

[edit] Game and FTP Server

[edit] FTP

All you have to do here is setup a username and password for the FTP server and allow the FTP server to access your logs. Note you have to install a FTP server if you don't already have one. For linux use vsftp and for Windows use the FTP server in IIS.

Note, if you are running the game server on a cable/dsl connection behind a router, you will need to port foward ports 20 and 21 to the server.

[edit] Web and DataBase Server

[edit] Install Psycho Stats

In this setup place BOTH the web(upload) data into your web space and also upload the stats.pl and all its required files(lib folder and stats.cfg). Just run though the normal installation.

[edit] Gathering Stats

Now first try to run stats.pl before we enter it into cron/task scheduler. You want to work all the bugs out before setting it to run automatically. If the program runs fine with no errors just set it to run automatically and your done.

If it is having trouble downloading the logs, try from the web server to connect manually to see if maybe you have a wrong username and or password stored. If that does not resolve the issue move onto checking the log source and any other errors stats.pl throws at you.