Discussion:
[bareos-users] Install bareos-webui ubuntu 16.0.4
Eric Browning
2018-07-19 19:58:25 UTC
Permalink
I have followed all of the getting started instructions up to the point of installing webui. I added the bareos repository, ran apt-get update, and then apt-get install bareos-webui and it reports back "Unable to locate package bareos-webui". I'm very frustrated by the lack of clear instructions.

During the apt update it also barfs out http://download.bareos.org/bareos/release/17.2/xUbuntu_16.04 xenial/main amd64 Packages
404 Not Found which is the only one it doesn't like.
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'thraizz' via bareos-users
2018-07-19 20:14:21 UTC
Permalink
Post by Eric Browning
I have followed all of the getting started instructions up to the point of installing webui. I added the bareos repository, ran apt-get update, and then apt-get install bareos-webui and it reports back "Unable to locate package bareos-webui". I'm very frustrated by the lack of clear instructions.
During the apt update it also barfs out http://download.bareos.org/bareos/release/17.2/xUbuntu_16.04 xenial/main amd64 Packages
404 Not Found which is the only one it doesn't like.
Please run 'sudo cat /etc/apt/sources.list.d/bareos.list' and post what it prints.
It should be 'deb http://download.bareos.org/bareos/release/17.2/xUbuntu_16.04 /'. Check if it has the slash at end of line.
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Eric Browning
2018-07-19 20:34:06 UTC
Permalink
Ahh that was it, thank you. It was missing the / at the end.
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Eric Browning
2018-07-19 20:56:49 UTC
Permalink
Post by Eric Browning
Ahh that was it, thank you. It was missing the / at the end.
ok I got it working but for some reason the bareos version is 14.2.6 not 17.2 when setting up webui in bconsole I got "Interactive configuration not implemented" . How do I update to 17.2, apt says the bareos packages have been "kept back".
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Eric Browning
2018-07-20 16:28:49 UTC
Permalink
Nevermind. I blew it all out and started over making install notes as I went.
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Rick Sutphin
2018-07-20 16:42:54 UTC
Permalink
If it helps, here are the notes I took when I installed BareOS on a
Ubuntu 16.04 LXC container.


- created container lxc launch ubuntu:xenial bareos
- disable cloud-init configuration of eth0 comment out the following from
  /etc/network/interfaces.d/50-cloud-init.cfg
     # auto eth0
     # iface eth0 inet static

- assigned IP address by adding the following to /etc/network/interfaces

      auto eth0
      iface eth0 inet static
          address xx.xx.xx.xx
         netmask xx.xx.xx.xx
         network xx.xx.xx.xx
      broadcast xx.xx.xx.xx
      gateway xx.xx.xx.xx
      dns-nameserver xx.xx.xx.xx

- update apt-get update && apt-get upgrade

- apt-get install mariadb-server mariadb-common mariadb-client
- ran mysql_secure_installation
- set mariadb bareos user password
- apt-get install php php-cli php-common

- add bareos apt repo /etc/apt/sources.list.d/bareos.list
  deb http://download.bareos.org/bareos/release/latest/xUbuntu_16.04/

- add bareos key
  wget -q http://download.bareos.org/bareos/release/latest/xUbuntu_16.04/
  Release.key -O- | apt-key add -

- apt-get update && apt-get upgrade
- installed bareos apt-get install bareos bareos-database-mysql
- installed bareos-webui apt-get install bareos-webui

- added bareos-webui virtual site to apache
  /etc/apache2/sites-available/bareos-webui.conf
  (https://github.com/bareos/bareos-webui/blob/master/install/
   apache/bareos-webui.conf)

- a2ensite bareos-webui.conf
- apt-get install libapache2-mod-php
- edit /etc/bareos/bareos-dir.d/console/admin.conf to change admin password
- chown bareos:bareos /etc/bareos/bareos-dir.d/console/admin.conf
- bconsole reload

- add clients via bconsole
    configure add client name=NAME address=ADDRESS password=PASSWORD

- install winbareos-16.2.4-postvista-nn-bit-r14.1.exe on desktop clients
- WinXP clients edit config files
    \Users\Documents And Settings\All Users\bareos\

- add Bareos fileset for Win 7-10 , WinXP & Linux workstations
    * /etc/bareos/bareos-dir.d/fileset/WinUserData.conf
    * /etc/bareos/bareos-dir.d/fileset/WinXPUserData.conf
    * /etc/bareos/bareos-dir.d/fileset/LinuxWorkstation.conf

- add Bareos JobDef for Win 7-10, WinXP & Linux workstations
    * /etc/bareos/bareos-dir.d/jobdefs/WinJob.conf
    * /etc/bareos/bareos-dir.d/jobdefs/WinXPJob.conf
    * /etc/bareos/bareos-dir.d/jobdefs/LinuxWSJob.conf
Nevermind. I blew it all out and started over making install notes as
I went.
--
Rick Sutphin
Project Manager

Tel: 850.575.3977
Fax: 850.575.3908
Cell: 850.251.2345

Delta Technologies, Inc.
P.O. Box 2301
Tallahasse, FL 32316

Licenses: EF-20000414, ES-0000212 & LVU-40502
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Rick Sutphin
2018-07-20 18:46:04 UTC
Permalink
I used the stock device config that came with bareos. The underlying
storage is a ZFS RAID array.

Assuming you are on Linux or some other *nix, the physical storage
shouldn't matter - you just mount your array somewhere in the file
system and point the bareos-sd at it. If you mount array the array in
the stock location, you don't even need to change the config.

 Another nice benefit of the *nix philosophy that everything is a file :)

/etc/bareos/bareos-sd.d

Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /var/lib/bareos/storage
  LabelMedia = yes;                   # lets Bareos label unlabeled media
  Random Access = yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
  Description = "File device. A connecting Director must have the same
Name and MediaType."
}
That helps some, my notes are very similar.  I'm wading (more like
drowning) in the documentation looking for a clear method for setting
up my raid device as a storage medium for backups, it's only listing
tape drives.  Currently looking at how Bacula does it with
https://blog.bacula.org/whitepapers/CommunityDiskBackup.pdf which
seems tedious in setting up multiple devices all symlinked back to the
original disk not sure it's relevant anymore with a big fast raid in
2018 unless there is some issue with bareos itself and how it writes
to disks.
If it helps, here are the notes I took when I installed BareOS on a
Ubuntu 16.04 LXC container.
- created container lxc launch ubuntu:xenial bareos
- disable cloud-init configuration of eth0 comment out the
following from
   /etc/network/interfaces.d/50-cloud-init.cfg
      # auto eth0
      # iface eth0 inet static
- assigned IP address by adding the following to
/etc/network/interfaces
       auto eth0
       iface eth0 inet static
           address xx.xx.xx.xx
          netmask xx.xx.xx.xx
          network xx.xx.xx.xx
       broadcast xx.xx.xx.xx
       gateway xx.xx.xx.xx
       dns-nameserver xx.xx.xx.xx
- update apt-get update && apt-get upgrade
- apt-get install mariadb-server mariadb-common mariadb-client
- ran mysql_secure_installation
- set mariadb bareos user password
- apt-get install php php-cli php-common
- add bareos apt repo /etc/apt/sources.list.d/bareos.list
   deb http://download.bareos.org/bareos/release/latest/xUbuntu_16.04/
- add bareos key
   wget -q
http://download.bareos.org/bareos/release/latest/xUbuntu_16.04/
   Release.key -O- | apt-key add -
- apt-get update && apt-get upgrade
- installed bareos apt-get install bareos bareos-database-mysql
- installed bareos-webui apt-get install bareos-webui
- added bareos-webui virtual site to apache
   /etc/apache2/sites-available/bareos-webui.conf
   (https://github.com/bareos/bareos-webui/blob/master/install/
    apache/bareos-webui.conf)
- a2ensite bareos-webui.conf
- apt-get install libapache2-mod-php
- edit /etc/bareos/bareos-dir.d/console/admin.conf to change admin password
- chown bareos:bareos /etc/bareos/bareos-dir.d/console/admin.conf
- bconsole reload
- add clients via bconsole
     configure add client name=NAME address=ADDRESS password=PASSWORD
- install winbareos-16.2.4-postvista-nn-bit-r14.1.exe on desktop clients
- WinXP clients edit config files
     \Users\Documents And Settings\All Users\bareos\
- add Bareos fileset for Win 7-10 , WinXP & Linux workstations
     * /etc/bareos/bareos-dir.d/fileset/WinUserData.conf
     * /etc/bareos/bareos-dir.d/fileset/WinXPUserData.conf
     * /etc/bareos/bareos-dir.d/fileset/LinuxWorkstation.conf
- add Bareos JobDef for Win 7-10, WinXP & Linux workstations
     * /etc/bareos/bareos-dir.d/jobdefs/WinJob.conf
     * /etc/bareos/bareos-dir.d/jobdefs/WinXPJob.conf
     * /etc/bareos/bareos-dir.d/jobdefs/LinuxWSJob.conf
Nevermind. I blew it all out and started over making install
notes as
I went.
--
Rick Sutphin
Project Manager
Tel:  850.575.3977
Fax:  850.575.3908
Cell: 850.251.2345
Delta Technologies, Inc.
P.O. Box 2301
Tallahasse, FL 32316
Licenses: EF-20000414, ES-0000212 & LVU-40502
--
You received this message because you are subscribed to the Google
Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it,
For more options, visit https://groups.google.com/d/optout.
--
Eric Browning
Systems Administrator
801-984-7623
Skaggs Catholic Center
Juan Diego Catholic High School
Saint John the Baptist Middle
Saint John the Baptist Elementary
--
Rick Sutphin
Project Manager

Tel: 850.575.3977
Fax: 850.575.3908
Cell: 850.251.2345

Delta Technologies, Inc.
P.O. Box 2301
Tallahasse, FL 32316

Licenses: EF-20000414, ES-0000212 & LVU-40502
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Eric Browning
2018-07-20 19:38:21 UTC
Permalink
I guess that works, I just changed the path to my mounted raid volume and it seems to be working thanks!
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Rick Sutphin
2018-07-20 20:20:06 UTC
Permalink
Post by Eric Browning
I guess that works, I just changed the path to my mounted raid volume and it seems to be working thanks!
Assuming Linux, add the RAID volume to your fstab so that it will mount
automatically at boot.
--
Rick Sutphin
Project Manager

Tel: 850.575.3977
Fax: 850.575.3908
Cell: 850.251.2345

Delta Technologies, Inc.
P.O. Box 2301
Tallahasse, FL 32316

Licenses: EF-20000414, ES-0000212 & LVU-40502
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...