GitHub

From OpenBroadcaster
Jump to: navigation, search

Setup through GIT only needs to be done once "git status" shows updates as needed.

Installing OpenBroadcaster Server

When finished installing and you can login with Admin privileges, check for updates and missing dependencies with "https://IP_of_your_server/updates.php"

Old School Manual Install

  1. creating DataBase,
  2. create database User
  3. importing sql script to populate database
  4. renaming "config.sample.php" to "config.php"
  5. editing "config.php"

Installation Script

Assuming your DNS is configured, you should be able adjust ob.apache.conf to your system and copy it to the appropriate spot for your machine, restart apache, and browse to //Your_IP/ to access your server. Login in with username admin and the password you set for the OpenBroadcaster Admin user.

Configure Email

Setup outgoing mail service using __exim4__ :

1. Open a `Terminal Emulation` console. 1. Run the command `sudo apt-get update; sudo apt-get install exim4`. 1. Run the command `sudo dpkg-reconfigure exim4-config`. 1. Choose 'Smarthost with no local mail', accept the defaults up to smarthost, enter a valid mail server (you'll need a mail account there) as the outgoing smarthost, then accept the defaults to the end. The Mail Transfer Agent will restart. 1. Edit the exim4 password file `sudo nano /etc/exim4/passwd.client` and enter a valid outgoing email account, using the format "target.mail.server.example:login:password".

__Sample Email__ From: noreply@openbroadcaster.com Subject: OpenBroadcaster 4.2 Player Warning This is a warning that Player "CALLSIGN 106.7 FM" has not connected for "schedule" in the last hour. Please take steps to ensure this device is functioning properly.

Installing OpenBroadcaster Player

Open Terminal and from your home directory run:

mkdir /usr/share/obplayer

Then go to this directory

cd /usr/share/obplayer

In the empty target/installation directory run

sudo git clone https://github.com/openbroadcaster/obplayer.git ./

Default for Master Branch

Optionally install

sudo git clone -b develop https://github.com/openbroadcaster/obplayer.git ./

Example using -b (develop branch)

Enter user name and password from GitHub user account

If you are using 2FA (2 Factor Authentication) you'll need to have a key setup on target machine and run

git clone git@github.com:openbroadcaster/obplayer.git or :git clone -b develop git@github.com:openbroadcaster/obplayer.git

OBPlayer is now setup with latest code ready to use

Running OBPlayer for first time

From the install directory ie. /usr/share/obplayer run:

bash obplayer_check

or

bash obplayer_loop -d

Using -d (debug) displays useful start up info

Update OBPlayer with new code

From target\installation directory e.g. /usr/share/obplayer

sudo git pull origin

For default branch that was originally installed

"git pull origin develop" will specify develop code

"git pull origin master" will specify master branch code.

Enter Name and Password from GitHub account

Updates will be shown and downloaded

Installing OpenBroadcaster Server and Player - Same Machine

Create dir

/usr/share/openbroadcaster/server /usr/share/openbroadcaster/player1 /usr/share/openbroadcaster/player2

Cleanly organizes server and player installs on the same computer