In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

You are here: Big Brother Bot ForumSupport ForumsInstallation Support (Moderator: MordyT)Install on whm/cpanel server?
Pages: [1] 2   Go Down
  Print  
Author Topic: Install on whm/cpanel server?  (Read 2654 times) Bookmark and Share
Jr. Member
**
OS: --No B3 installed--
Type: --No B3 installed--
Gameservers: BFBC2
Posts: 42
Offline Offline
« on: January 19, 2011, 02:11:02 PM »

Hi folks.

Im a co-admin of Battlefield game clan, we run a Battlefield Bad Company 2 server currently and we find ourselves needing a centralised web panel.

I currently have my own webserver running centos 5, latest release php, mysql and apache, and I can fulfil any other requirements I might require.

The server resides in a major providers datacenter in the US.

This limits what I can use for a BFBC2 web panel.

My question is this, can I install B3 onto my whm/cpanel server without any major conflicts?

If anyone has done this could you comment on your experiences.
Logged

[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #1 on: January 21, 2011, 08:19:38 AM »

I know some use it on tcadmin (http://wiki.bigbrotherbot.net/doku.php/usage:tcadmin), but I haven't seen your combi just yet.

If you find any useful info, it would be nice to see it added to our wiki.
Logged

Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: alterIW
Posts: 652
Offline Offline
WWW
« Reply #2 on: January 21, 2011, 08:22:23 AM »

You need to be able to execute a program. If you don't have remote desktop access, you will not be able to use B3.
Logged
Jr. Member
**
OS: --No B3 installed--
Type: --No B3 installed--
Gameservers: BFBC2
Posts: 42
Offline Offline
« Reply #3 on: January 21, 2011, 08:28:34 AM »

I know some use it on tcadmin (http://wiki.bigbrotherbot.net/doku.php/usage:tcadmin), but I haven't seen your combi just yet.

If you find any useful info, it would be nice to see it added to our wiki.

Thanks for responding.

Im willing to give it a go if you think there will be no clashes, Im suprised with so many users theres been no one reporting on doing it with this setup before, thats what made me cautious.

The server runs whm/cpanel of cpanel.net

Its basically a centos5 x64 OS with apache 2.2, php 5.3.4, mysql 5.0.91-community and so on.

Other than the control panel its a fairly standard secure linux webserver.


Grosskopf, surely you are referring to a windows server version? Linux servers dont usually support RDP to my knowlege, and dont usually have VNC capability either as they dont often have X-Windows installed as its an unecessary overhead.

I am sole owner and admin of my server, I have full root capability for shell etc.


Based on that, do you think its worth a try xlr8or?

(wasnt xlr8r a graphics benchmark by madonion way back? Smiley http://www.youtube.com/watch?v=vIdBJW2Uen8 )
« Last Edit: January 21, 2011, 08:31:01 AM by epiacum » Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #4 on: January 21, 2011, 08:48:22 AM »

On centos there are some considerations regarding python that you should know of: http://wiki.bigbrotherbot.net/doku.php/support:faq#b3_doesn_t_support_python_24_and_i_m_on_centos_now_what

I don't see why you cannot give it a go. It is sure worth a try. I'm not familiar with whm/cpanel, but I'm sure these ppl have coded a proper product.

Keep us posted and hopefully you are able to provide us a nice tutorial for our wiki soon Wink

(I've been using this nickname since the 90's, not even sure where I got it from anymore, it's that long ago  Huh But good to see that they named a benchmark after me, although they forgot the 'o'  Roll Eyes )
Logged

Jr. Member
**
OS: --No B3 installed--
Type: --No B3 installed--
Gameservers: BFBC2
Posts: 42
Offline Offline
« Reply #5 on: January 21, 2011, 08:57:45 AM »

Hopefully there will be no major issue to write about Smiley

Im actually completig a server migration to this new box, just about finished.

I still have to read a bit and understand how its all done regarding getting B3 installed etc.

I dont know if Python is on the box by default, prob not. Shouldnt be hard to get it on with right version, I do as much admin as I can but server is fully managed by a brilliant company, so I can easily fall back on them if needed and know it will get done as I need.

So let me see.

Python 2.6, I fulfill all other requirements.

Install B3 etc.

Set up to remote admin BC2 Server.

I assume there may be ports to open?

Is there a link to a CentOS or similar linux guide?
Logged
Jr. Member
**
OS: --No B3 installed--
Type: --No B3 installed--
Gameservers: BFBC2
Posts: 42
Offline Offline
« Reply #6 on: January 21, 2011, 09:03:37 AM »

spok too soon, python is part of cpanel setup, its version 2.4.3

Ill need to look at upgrading

Cpanel and whm apparently utilise python somewhat and its unwise to mess with the system version, however it may be ok to have a parrallel install to a different location.

Might run this by my server support first.

In the meantime, can I just make an enquiry, if its not domain specific just how exactly do I access or communicate with B3 bot?
« Last Edit: January 21, 2011, 09:22:18 AM by epiacum » Logged
Jr. Member
**
OS: --No B3 installed--
Type: --No B3 installed--
Gameservers: BFBC2
Posts: 42
Offline Offline
« Reply #7 on: January 21, 2011, 11:28:27 AM »

Ive talked to my server support, they say they python 2.4.3 is too deeply embedded into cpanel to be safe to alter or upgrade, however a parrallel install of python 2.6.x is possible, as long as its possible to configure B3 to run using the python 2.6.x version then it should be ok.

Is it possible to configure which installed python version is used?
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #8 on: January 22, 2011, 02:04:56 AM »

I gues that if you use a command line like this it should work just fine:

Code:
/path-to-python2.6/python ./b3_run.py -c /home/b3/conf/b3.xml
Logged

Jr. Member
**
OS: --No B3 installed--
Type: --No B3 installed--
Gameservers: BFBC2
Posts: 42
Offline Offline
« Reply #9 on: January 22, 2011, 05:20:28 AM »

Thanks, I got to trying to run it up and discovered mysql-python wasnt added, thats sorted now so I'll have another go today.

If I have some success I'll need to look at putting the command to start B3 into the server so it starts on boot, not sure where to put that yet.
Logged
Jr. Member
**
OS: --No B3 installed--
Type: --No B3 installed--
Gameservers: BFBC2
Posts: 42
Offline Offline
« Reply #10 on: January 22, 2011, 07:59:07 AM »

Neat.

Im getting there. Im sure I'll have some more questions later.

So far Ive got b3 bot running with a parallel copy of python2.6 and starting with server boot.

For my system I put the line :

/my path to /python2.6 /my path to b3 python files//b3_run.py -r -c /my path to conf dir/b3.xml

For my server I used this line in :

/etc/rc.d/rc.local (this is different for different linux distros)

Ive put the b3 configuration folder in the private root of our clan site so admins with ftp permission can access it. (had to chown folder and files to website account ownership for ftp copy & delete purposes - doesnt seem to bother script)

Ive put the extplugins folder in the private root of our clan site (copied to new location, deleted original and made a symlink) so admins with ftp permission can access it. (had to chown folder and files to website account ownership for ftp copy & delete purposes - doesnt seem to bother script)

Ive targeted the logs folder to a location in our clan site structure so admins can access logs

Ive targeted the autodoc output to a location in our site structure that lets clan people access the command list

Ive been through the configs and left most things default. I want to enable punkbuster plugin, does the path to pbbans.dat relate to the local server for b3 or the path on the remote gameserver?

Will the script understand Pacific/Auckland as a timezone? - Had to use NST for now, script didnt like it.

Also, Ive installed and set up echelon, very nice it is too.

Ive got 3 questions about echelon.

1. when I click chat logs I get an error the table does not exist in database - v1.1.0 - adding chatlogger plugin sorted this out.

2.  $PBactive = "1"; in b3connect.php - is that the right way to turn on punkbuster support

3. It looks like its no longer necessary to follow the step in instructions to edit wwwvalidate.php as those are the entries now located in inc_config.php

Now to tackle xlrstats!  Grin
« Last Edit: January 23, 2011, 07:21:18 PM by epiacum » Logged
Jr. Member
**
OS: --No B3 installed--
Type: --No B3 installed--
Gameservers: BFBC2
Posts: 42
Offline Offline
« Reply #11 on: January 22, 2011, 10:55:25 AM »

Ok, Im now trying to install xlrstats,

I get the following errors on pageview :


Code:
Warning: include(dynamic/award_idents.php) [function.include]: failed to open stream: No such file or directory in /home/safnet/public_html/stats/index.php on line 199

Warning: include(dynamic/award_idents.php) [function.include]: failed to open stream: No such file or directory in /home/safnet/public_html/stats/index.php on line 199

Warning: include() [function.include]: Failed opening 'dynamic/award_idents.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/safnet/public_html/stats/index.php on line 199

Warning: Cannot modify header information - headers already sent by (output started at /home/safnet/index.php:199) in /home/safnet/public_html/stats/func-globallogic.php on line 1480


Im running suphp and directory permissions must remain 755, could this be the cause?


Turns out I hadnt set path to b3 status.xml file properly and I had to run the cron url link.
« Last Edit: January 30, 2011, 01:57:42 PM by epiacum » Logged
Jr. Member
**
OS: --No B3 installed--
Type: --No B3 installed--
Gameservers: BFBC2
Posts: 42
Offline Offline
« Reply #12 on: January 22, 2011, 03:05:20 PM »

Ok now got echelon, xlrstats and b3 up and some plugins installed.

Still need some assistance on previous questions.

Got another.

The priority and ordering of plugin lines, mine seems to work but I have a feeling its not ideally structured, heres how it looks right now :

Code:
                <plugin config="@conf/plugin_censor.xml" name="censor" />
                <plugin config="@conf/plugin_spamcontrol.xml" name="spamcontrol" />
                <plugin config="@conf/plugin_admin.xml" name="admin" />
                <plugin config="@conf/plugin_tk.xml" name="tk" />
                <plugin config="@conf/plugin_stats.xml" name="stats" />
                <plugin config="@conf/plugin_pingwatch.xml" name="pingwatch" />
                <plugin config="@conf/plugin_adv.xml" name="adv" />
                <plugin config="@conf/plugin_status.xml" name="status" />
                <plugin name="spree" priority="9" config="@b3/extplugins/conf/plugin_spree.xml"/>
                <plugin name="geowelcome" priority="13" config="@b3/extplugins/conf/geowelcome.xml"/>
                <plugin name="ctime" config="@b3/extplugins/conf/plugin_ctime.xml"/>
                <plugin name="duel" />
                <plugin name="countryfilter" priority="12"
config="@b3/extplugins/conf/countryfilter.xml"/>
                <plugin name="banlist" priority="17" config="@b3/extplugins/conf/banlist.xml"/>
                <plugin name="chatlogger" priority="18"
config="@b3/extplugins/conf/plugin_chatlogger.xml"/>
                <plugin name="bfbc2mixedgames" config="@b3/extplugins/conf/bfbc2mixedgames.xml"/>
                <plugin name="firstkill" config="@b3/extplugins/conf/firstkill.xml"/>
                <plugin name="pingkicker" priority="5"
config="@b3/extplugins/conf/plugin_pingkicker.xml"/>
                <plugin name="spawnstats" priority="23" config="@b3/extplugins/conf/spawnstats.xml"/>
                <plugin name="tagprotect" config="@b3/extplugins/conf/tagprotect.xml"/>
                <plugin name="topkiller" priority="8"
config="@b3/extplugins/conf/plugin_topkiller.xml"/>

Any advice?
Logged
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #13 on: January 23, 2011, 01:26:02 PM »

I was looking into your original query btw not to long ago. I recommend useing cod-control, seems to fit the bill.
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Jr. Member
**
OS: --No B3 installed--
Type: --No B3 installed--
Gameservers: BFBC2
Posts: 42
Offline Offline
« Reply #14 on: January 26, 2011, 03:51:11 AM »

I was looking into your original query btw not to long ago. I recommend useing cod-control, seems to fit the bill.

Not sure what you mean.

Sorry to bump this but I could really do with some assistance with the aforementioned issues.
Logged
Tags:
Pages: [1] 2   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal