Post new topic  Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Wed Sep 16, 2009 4:42 pm 
Offline
Frag. Not post.
User avatar

Joined: Wed Jul 19, 2006 1:33 pm
Posts: 2578
Location: Bronx, NY
Here's another of my tutorials but it is not finished. Only the first part of the tutorial is done the second part i will have ready in my forum in a few days.

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.

/addons
/lib
/scripts
/upload
/changelog.txt
/heat.pl
/INSTALL.TXT
/license.txt
/nightly_build.txt
/pslang.pl
/stats.cfg
/stats.pl

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.

Mysql settings...

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.

Image

Inside MySQL Databases you are going to create the database that's going to make the stats work on your webspace.

Image

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...

Image

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.

Quote:
$dbname = 'noobserver_dbpsng';
$dbuser = 'noobserver_dbpsng';
$dbpass = 'Y5J|RPU*}1}*';
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.

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.

Example...

STATS.yourdomainnameclan.com

or in a folder called stats.

Example...

yourdomainnameclan.com/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.

Installing Psychostats...

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"

Image

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.

[img width=600 height=382]http://noobgamers.com/files/psychostats/analyzingsystem.jpg[/img]

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.

Image

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.

Image

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.

Image

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.

Image
Image

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.

Image

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.

Image

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.

Image

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!.

Image

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.

Image

Now login with your login name / password to make additional settings to psychostats.

The original can be found here: http://noobgamers.com/forum/tutorials/2951-how-install-psychostats.html

_________________
Image

Top
   
 Post subject:
PostPosted: Thu Sep 17, 2009 9:05 pm 
Offline
GameServers Staff
User avatar

Joined: Mon Nov 14, 2005 12:12 pm
Posts: 1470
Location: New Jersey
I look forward to seeing the rest of this as it is a popular request. excellent post.

Top
   
 Post subject:
PostPosted: Mon Sep 21, 2009 5:15 pm 
Offline
GameServers Staff

Joined: Sun Apr 10, 2005 3:12 pm
Posts: 4271
Sticking this in the website section as it is a popular request, that we unfortunately do not support so hopefully this will help out a lot of people!

_________________
Solutions to many common issues can be found within your members area here: https://my.gameservers.com/support/faq.php

Image

Top
   
 Post subject:
PostPosted: Mon Sep 21, 2009 5:20 pm 
Offline
Frag. Not post.
User avatar

Joined: Wed Jul 19, 2006 1:33 pm
Posts: 2578
Location: Bronx, NY
Thanks Shinobi!

I have already finished part 2 and i'm going to start writing a part 3 soon.

_________________
Image

Top
   
 Post subject:
PostPosted: Tue Sep 22, 2009 2:52 pm 
Offline
GameServers.com Forum Newb

Joined: Tue Sep 22, 2009 2:06 pm
Posts: 1
can you please explain what this mean & where & how ???????

((((((((((((((Uploading files to web host account... ))))))))))))))))


& i don't understand this part ?????

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.

Example...

STATS.yourdomainnameclan.com

or in a folder called stats.

Example...

yourdomainnameclan.com/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.

Installing Psychostats...

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"

thank you

Top
   
 Post subject:
PostPosted: Tue Sep 22, 2009 3:05 pm 
Offline
Frag. Not post.
User avatar

Joined: Wed Jul 19, 2006 1:33 pm
Posts: 2578
Location: Bronx, NY
It just means where you want to install psychostats. Either to the root of the domain name which is domain.com or to a folder called "stats" inside the root folder domain.com/stats You can also install psychostats on a subdomain name like stats.domain.com

Hope that helps.

Part 2 of the tutorial is available at my forum.

I am also updating the mysql settings with the new cpanel look.

I am also working on part 3 of the tutorial setting up the log files.

_________________
Image

Top
   
PostPosted: Wed Dec 16, 2009 3:20 pm 
Offline
No Longer a Newb

Joined: Tue Dec 15, 2009 8:54 pm
Posts: 10
ok i have a problem i have mysql setup except for the last step ACCESS HOSTS what do i put in the box
i have no clue what to do. and i,m talkin about the next box under step 3 of your mysql setup

Top
   
PostPosted: Wed Dec 16, 2009 3:39 pm 
Offline
Frag. Not post.
User avatar

Joined: Wed Jul 19, 2006 1:33 pm
Posts: 2578
Location: Bronx, NY
You do not need to put anything there.

_________________
Image

Top
   
PostPosted: Sat Apr 27, 2013 9:53 pm 
Offline
No Longer a Newb

Joined: Sat Apr 27, 2013 6:08 pm
Posts: 25
Thanks op.

_________________
My referral link Image

Top
   
PostPosted: Sun Jun 23, 2013 9:31 am 
Offline
No Longer a Newb
User avatar

Joined: Wed May 22, 2013 7:13 am
Posts: 19
Nice guide actually still works! Thanks.

Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 10 posts ] 


Who is online

Users browsing this forum: Exabot [Bot] and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


© GameServers.com, All rights reserved. High Quality Teamspeak, Ventrilo & Gameserver Hosting at Cheap Prices!