Raised This Month: $51 Target: $400
 12% 

How to install sourcebans


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NightLinks
Member
Join Date: Nov 2004
Location: Bronx, NY
Old 06-21-2009 , 20:05   How to install sourcebans
Reply With Quote #1

Here's how to install sourcebans on your web space hosting account. You need to download the latest full package of sourcebans from the http://sourcebans.net/ website. Once you download the latest full package you need to unzip the files and have them ready for uploading to your webspace hosting account.

Creating the database...

First we are going to create the database for sourcebans. Login to your website control panel [Cpanel] and look for a 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 sourcebans work on your webspace.



To create the database is going to take 3 steps.

1. You need to give your 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 are going to need it later on in the installation process...



Your MySQL Account Maintenance should look like the picture above.

You have now finished with the MySQL Database installation part of source bans.

Config.cfg file...

You need to edit the config.php.template file to have the info that you used for the mysql database. Go to the web_upload folder of sourcebans and open config.php.template with wordpad.

Quote:
define('DB_HOST', 'localhost'); // The host/ip to your SQL server
define('DB_USER', 'root'); // The username to connect with
define('DB_PASS', 'Password'); // The password
define('DB_NAME', 'sourcebans'); // Database name
Only edit the parts that are in BOLD with the info that you used to make the sourcebans database. Everything else can stay the same unless you need to change something go ahead. Once you are done rename the config.php.template file to config.cfg

Installing Sourcebans...

Now you need to decide where you would like to upload the source bans files. Do you want to upload it to a website or just have source bans as the website like i have at steam id Ban List? If you are planning to have a sourcebans as a website or already have a website in place then i would suggest installing source bans on a directory called "bans".

Connect to your webspace hosting account trough FTP and create a new folder called "bans" inside of the "public_html" directory. Now upload all the files that are inside of the web_upload folder to the "bans" folder you created in inside of the "public_html" directory.

Now that all the files are uploaded to the "bans" folder. You need to open your favorite internet browser.

Code:
http://www.yourdomainname.com/bans/install/
The rest of the tutorial can be found here: http://noobgamers.com/forum/tutorial...r-website.html

THERE'S A LIMIT ON IMAGES THAT DOES NOT LET ME ADD MORE THAN 4 IMAGES IN THE FORUMS.
__________________

Last edited by NightLinks; 09-23-2010 at 10:01.
NightLinks is offline
Send a message via AIM to NightLinks
Dragonshadow
BANNED
Join Date: Jun 2008
Old 06-21-2009 , 22:01   Re: How to install sourcebans
Reply With Quote #2

Nice, you should edit your post though, steps to create mysql DBs will vary from host to host...
Dragonshadow is offline
NightLinks
Member
Join Date: Nov 2004
Location: Bronx, NY
Old 06-22-2009 , 10:22   Re: How to install sourcebans
Reply With Quote #3

Thank YOU!

That is true but most shared hosting use cpanel as their default control panel.

Those cpanel pictures were taken when i was using cpanel but now i am on vps hosting using lxadmin control panel.
__________________

Last edited by NightLinks; 06-22-2009 at 10:24.
NightLinks is offline
Send a message via AIM to NightLinks
ashiq02
BANNED
Join Date: Jul 2009
Old 07-29-2009 , 16:35   Re: How to install sourcebans
Reply With Quote #4

I'm a douchebag.

Last edited by Roach; 07-30-2009 at 16:17.
ashiq02 is offline
Sexual Harassment Panda
Veteran Member
Join Date: Dec 2008
Location: San Diego, CA
Old 07-29-2009 , 19:17   Re: How to install sourcebans
Reply With Quote #5

I seriously doubt you'll be able to do sourcebans with a host like that, just fyi.
__________________
Sexual Harassment Panda is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:27.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode