thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
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 ]

Author Topic: [Tutorial Video] Install B3 on a Linux VPS - Phase One, Two & Three  (Read 18231 times)

Offline MordyT

  • Moderator
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Hello all,
I have created a video of how to install B3 on a Linux VPS. This is just Phase One of the instructions, so please leave feedback which I hope to incorporate in Phase Two.

Clicky Here for a video walkthrough of Phase 1
Don't forget to watch in HD...

My VPS Provider: Link

Commands:
sudo apt-get install python2.6
sudo apt-get install mysql-server
sudo apt-get install phpmyadmin
sudo apt-get install python-mysqldb

Clicky Here for a video walkthrough of Phase 2
Don't forget to watch in HD...

Clicky Here for a video walkthrough of Phase 3
Don't forget to watch in HD...
« Last Edit: December 01, 2010, 06:17:27 AM by MordyT »
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline grosbedo

  • Former Dev. (senate)
  • Sr. Member
  • *****
  • Posts: 258
Re: [VIDEO] [How To] [Phase One] Install B3 on a Linux VPS
« Reply #1 on: November 01, 2010, 04:44:30 PM »
Nice ! But sound is too low :(

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: [VIDEO] [How To] [Phase One] Install B3 on a Linux VPS
« Reply #2 on: November 01, 2010, 10:22:21 PM »
Great Job!

Offline Freelander

  • XLRstats dev.
  • Dev. Team
  • Hero Member
  • *
  • Posts: 1000
Re: [VIDEO] [How To] [Phase One] Install B3 on a Linux VPS
« Reply #3 on: November 02, 2010, 12:33:19 AM »
Very good job MordyT!

Offline MordyT

  • Moderator
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: [VIDEO] [How To] [Phase One] Install B3 on a Linux VPS
« Reply #4 on: November 02, 2010, 02:50:42 AM »
Thanks guys! I do appreciate it. Phase 2 is almost complete, trying to keep it clear and concise. Will try to boost the audio as well...
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline MordyT

  • Moderator
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: [Tutorial Video] Install B3 on a Linux VPS - Phase One
« Reply #5 on: November 28, 2010, 09:00:35 PM »
Phase 2 Online. Sorry for the long delay since the last one, I was trying (and failing) to make my audio louder. I might need a better mic.

Anyways, feedback is always welcomed. If you have any idea on how to boost the volume, I would love to hear it.
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: [Tutorial Video] Install B3 on a Linux VPS - Phase One & Two
« Reply #6 on: November 29, 2010, 09:10:15 PM »
Again, great job Mordy!

Offline MordyT

  • Moderator
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: [Tutorial Video] Install B3 on a Linux VPS - Phase One, Two & Three
« Reply #7 on: December 01, 2010, 06:18:24 AM »
And Phase Three is up. I may make an additional video on how to use a FTP client , screen, etc, but as far as the video, I think I am done.
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline TmR

  • Full Member
  • ***
  • Posts: 94
Re: [Tutorial Video] Install B3 on a Linux VPS - Phase One, Two & Three
« Reply #8 on: February 26, 2011, 12:14:47 PM »
excellent! i got this one working in no-time ;)
Only thing i am wondering is, what if my VPS would crash. Is there a simpel way to automate it's startup?

Offline MordyT

  • Moderator
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: [Tutorial Video] Install B3 on a Linux VPS - Phase One, Two & Three
« Reply #9 on: February 27, 2011, 03:03:33 AM »
Google Monit, it can do exactly what you want...
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline TmR

  • Full Member
  • ***
  • Posts: 94
Re: [Tutorial Video] Install B3 on a Linux VPS - Phase One, Two & Three
« Reply #10 on: March 03, 2011, 08:12:27 PM »
Very nice one! Helped me a lot!
Now, the only thing i still can't figure out is:
How do i add this to the startup of my "server".
My roomate seems to be experimenting with linux/Ubuntu, so how can i make
sure , that when he reboots my machine, the b3 bot(s, since i use 3) auto start.
-EDIT-
Through webmin, i created a file in /etc/init.d called: b3_frank (executable)
in it, is this:
Code: c++ [Select]
#!/bin/sh
# B3 Bot server Angel

case "#!/bin/sh
# B3 Bot server Angel

case "$1" in
'start')
/home/tijmen/b3bot_frank/b3_run.py -c /home/tijmen/b3bot_frank/b3/conf/b3_frank.xml
;;
'stop')
;;
*)
echo "Usage: $0 { start | stop }"
;;
esac
exit 0
" in
'start')
/home/tijmen/b3bot_frank/b3_run.py -c /home/tijmen/b3bot_frank/b3/conf/b3_frank.xml
;;
'stop')
;;
*)
echo "Usage: $0 { start | stop }"
;;
esac
exit 0

It sort of works, but the other 2 bots wont start, untill i kill this one. And the "b3_frank stop" doesnt work since it's empty...
« Last Edit: March 03, 2011, 08:19:55 PM by TmR »

Offline MordyT

  • Moderator
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Very nice one! Helped me a lot!
Now, the only thing i still can't figure out is:
How do i add this to the startup of my "server".
My roomate seems to be experimenting with linux/Ubuntu, so how can i make
sure , that when he reboots my machine, the b3 bot(s, since i use 3) auto start.
-EDIT-
Through webmin, i created a file in /etc/init.d called: b3_frank (executable)
in it, is this:
Code: c++ [Select]
#!/bin/sh
# B3 Bot server Angel

case "#!/bin/sh
# B3 Bot server Angel

case "$1" in
'start')
/home/tijmen/b3bot_frank/b3_run.py -c /home/tijmen/b3bot_frank/b3/conf/b3_frank.xml
;;
'stop')
;;
*)
echo "Usage: $0 { start | stop }"
;;
esac
exit 0
" in
'start')
/home/tijmen/b3bot_frank/b3_run.py -c /home/tijmen/b3bot_frank/b3/conf/b3_frank.xml
;;
'stop')
;;
*)
echo "Usage: $0 { start | stop }"
;;
esac
exit 0

It sort of works, but the other 2 bots wont start, untill i kill this one. And the "b3_frank stop" doesnt work since it's empty...
There is a bash start stop script in the configuration forum here. Will help you a lot..
*Via my HTC EvO 4G*
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline TmR

  • Full Member
  • ***
  • Posts: 94

Offline Djurres

  • Jr. Member
  • **
  • Posts: 31
Re: [Tutorial Video] Install B3 on a Linux VPS - Phase One, Two & Three
« Reply #13 on: May 03, 2011, 03:41:20 PM »
hi Mordy,

It's a very nice tutorial, but i keep on struggelin, cant get it runnin,

Maybe you could help me?
Thanks in advance!

Offline MordyT

  • Moderator
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: [Tutorial Video] Install B3 on a Linux VPS - Phase One, Two & Three
« Reply #14 on: May 03, 2011, 08:42:07 PM »
What are you stuck on?
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

 


Rate this page +1 at Google Search