In this tutorial i am going to show you how to install psychostats on a linux shared web hosting account without using ssh ( Secure Shell ). Your shared hosting account must have mysql, must be able to run .php scripts and perl.
First you need to download the latest psychostats package from the psychostats website.
[url="http://%22http://www.psychostats.com/%22"]PsychoStats :: Comprehensive Gaming Statistics for Half-Life, Counter Strike, Team Fortress and more[/url]
On the right handside click to download PsychoStats vX.X - psychostats-nightly.tar.gz ( The X's represent the number for the latest psychostats package that is currently out now ) that's in the orange box called Newest Downloads. Now save the download to your desktop. Before unzipping the ps .tar.gz package create a folder on your desktop then name it "psychostats files" and unzip the files to the new folder.
The tar.gz file containts the following files/folders.
I always like to start an installation by setting up the Mysql database first because i like generating a good password from the built in password generator that's in mysql databases.
You are going to create the database for psychostats. Login to your website control panel [Cpanel] and look for an icon that looks like the picture below called MySQL Databases.
Inside MySQL Databases you are going to create the database that's going to make the stats work on your webspace.
To create the database it's going to take 3 steps.
1. You need to give the database a name.
2. You need to create a user name and a password for the database.
3. You need to add a user to the database by clicking on the button.
NOTE: Write this stuff down because you're going to need it later on in the installation process...
Your MySQL Account Maintenance should look like the picture above.
You have now finished creating the MySQL Database part of psychostats.
Editing the config.php file...
Double click on the upload folder and look for the config.cfg file open it with wordpad. You need to edit the config.php file to have the info that you are going to use for the mysql database. For my test install i used the settings below.
Only edit the parts that are in BOLD with the info that you used to create the stats database. Everything else can stay the same unless you need to change something go ahead. Once you are done save the config.php file.$dbname = 'noobserver_dbpsng';
$dbuser = 'noobserver_dbpsng';
$dbpass = 'Y5J|RPU*}1}*';
Uploading files to web host account...
Assuming that you already have a top level domain name godaddy.com with a website already running. You need to know where you would like to have the stats first. Either to a sub domain or use your top level domain name.
or in a folder called stats.
For my test install of psychostats i created a folder called stats and will use "noobserver.com/STATS" as my example.
You need to connect to your web hosting account ftp server to upload the files/folders to the folder you created.
You need to upload all the content that inside the upload folder.
At this point you should have all the files/folders uploaded to the web host ftp server to the folder you created.
You need to point your web browser to the stats installation folder. In my test install i use "http://noobserver.com/stats/install/index.php"
After pointing your web browser to the stats /install/index.php you are going to see the psycho stats installer welcome screen. Once you are reading the open source license gpl click the install button to begin the installation of psycho stats and continue to analying system.
In the analyzing system page the installation script is checking to see if everything is ok to install the stats page in your web hosting account. If the requirements are not met you will need to contact your web host support and ask them if they can upgrade the require modules.
If everything is ok click on the next button to continue to database setup.
In the database setup screen you need to enter the info that you created in mysql databases. All you need for this part is the dabase name, username, password. Everything else can stay the same. In some cases you might have to change host to the domain name, ip number of where you are installing psycho stats.
Before you continue with the installation click on the test button to see if the database info you entered is correct and does not give you any errors. If you see the message "Your dabase settings have been verified!" then is ok to press the next button to continue to initialize database.
In the initialize database screen you need to select for what game server you want to use ps with. In my test install i did an install for counter-strike:source so i selected counter strike as my gamemod. Once you are done selecting the gamemod for your game server click the Initialize Database button to install the database in mysql database of your web hosting account.
Once the initialization of the database is done "Your dabase has been initialized with default values" you can click the next button to continue to create admin.
In the create admin screen you need to create an admin account that will have access to the control panel of paychostats. You can create as many administrators as you like ( but i don't recommend it ).
Once you are done creating an admin account you can click on the next button to continue to setup theme.
In the create setup theme screen you need to install the default skin of ps. If you get a green checkmark that says "The compile directory is writable!" then you can go ahead and click the next button to install the default theme.
NOTE: If you get an x in red letters that means the directory that the /ps_themes_compiled is not writable. You need to make the directory writable first in order to continue.
Once you are done with compiling of the theme click on the next button to continue to saving setup.
In the saving setup screen you need to save your database settings to the config file that's in your stats website. Since you already added the database info to the config.cfg file above. You should see a green checkmark saying "Your database configuration is upto date and does not need to be saved." If you did not do the database part like i mentioned in the "Editing the config.php file..." section of this tutorial. You can copy the settings manually and enter them in the config.cfg file.
Once you are done click the next button to continue to done!.
Congratulations you have just installed psychostats successfully on your web hosting account.
NOTE: After you are done delete the /install folder from the ftp server.
Now click on the Finish and goto ACP button to continue to the admin control panel page.
Now login with your login name / password to make additional settings to psychostats.
The original can be found here: http://noobgamers.com/forum/tutorials/2 ... stats.html