Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergkemper committed Feb 5, 2014
1 parent 02a1253 commit 2ab415c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 32 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTE.md
@@ -1,4 +1,4 @@
## How to contribute to Barbossa
## CONTRIBUTE

As a free software project, Barbossa is very open to your contributions. You don't need developer
skills to help, there are several non-coding ways to get involved in a project (code is welcome
Expand Down
44 changes: 13 additions & 31 deletions doc/install/INSTALL.md
Expand Up @@ -19,53 +19,35 @@ their system for development.

### Get the current version of barbossa from github

1. cd into your webservers root directory e.g. /var/www/htdocs
1. Change into your webservers root directory e.g. ```cd /var/www/htdocs```
2. Get the current version from github ```git clone https://github.com/fbergkemper/barbossa.git```
3. Change into the barbossa directory
4. Download composer.phar ```wget https://getcomposer.org/composer.phar```
5. Run the composer.phar, to download all the dependencies (Zend Framework 2, Zend Developers tools) into the vendor directory. ```./composer.phar install```

2. Get the current version from github.

```
git clone https://github.com/fbergkemper/barbossa.git
```

3. cd into the barbossa directory

4. Execute composer.phar, which will download all the dependencies (Zend Framework 2, Zend Developers tools) into the vendor directory.

```
./composer.phar self-update
./composer.phar install
```
### Configure Apache

See the example file [barbossa/install/apache/barbossa.conf](https://github.com/fbergkemper/barbossa/blob/master/install/apache/bareos.conf) .
See the example file [barbossa/install/apache/bareos.conf](https://github.com/fbergkemper/barbossa/blob/master/install/apache/bareos.conf) .

You might configure your Apache manually or copy the example configuration with wget from the git repo, e.g.

```
cd /etc/apache2/conf.d
wget https://raw2.github.com/fbergkemper/barbossa/master/install/apache/bareos.conf
```
```cd /etc/apache2/conf.d```
```wget https://raw2.github.com/fbergkemper/barbossa/master/install/apache/bareos.conf```

### Configure the database connection

1. Open the file barbossa/config/autoload/global.php and edit it to your needs. Currently only PostgreSQL has been tested.

2. Copy barbossa/config/autoload/local.php.dist to barbossa/config/autoload/local.php and edit the local.php file to your needs.

### Configuration to be able to run bconsole from barbossa

For testing and development the easiest way is to add the user under which apache is running to the bareos group, e.g.

```
usermod -aG bareos wwwrun
```
```usermod -aG bareos wwwrun```

Next, setup bconsole can be executed under Apache webserver.

```
chown root:bareos /usr/sbin/bconsole
chmod 750 /usr/sbin/bconsole
chown root:bareos /etc/bareos/bconsole.conf
chmod 740 /etc/bareos/bconsole.conf
```
```chown root:bareos /usr/sbin/bconsole```
```chmod 750 /usr/sbin/bconsole```
```chown root:bareos /etc/bareos/bconsole.conf```
```chmod 740 /etc/bareos/bconsole.conf```

0 comments on commit 2ab415c

Please sign in to comment.