New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Bubba web admin - build on Gentoo (release)

Discuss development on Bubba
Post Reply
Gordon
Posts: 1461
Joined: 10 Aug 2011, 03:18

Bubba web admin - build on Gentoo (release)

Post by Gordon »

It's taken longer than suspected, but there were still some (minor) changes and testing to do. And of course I did find some pitfalls and incompatibilities with upgraded libraries (which btw won't harm already installed packages but will prevent building some of them).

What's New?
  • Missing cron jobs have been added for bubba-backup and bubba-notify. Do note however that there are no jobs defined for bubba-notify - you will need to create these yourself if you want to use this.
  • Bubba-easyfind became very troublesome to operate as Perl started to disagree very strongly with the self signed certificate of the Easyfind server and would not accept settings to ignore that. It has been replaced by an extended version of MouettE's easyfind-client that allows (web)app interaction and has been configured to serve as a plugin replacement so you can use it exactly the same way as the original bubba-easyfind.
  • The bubba package version numbering has changed. It no longer references the version of the original Excito release but that of gentoo-on-b3. If you run the beta version of the bubba web admin this will show as a downgrade. There is no need to worry about that.
  • The bubba package now includes a full set of default config files for all controlled packages and a script to install them, some useful sysctl entries and startup scripts to control the LED colour (blue when started from hard drive/purple when shutting down). It also includes logic to disable IPv6; this is because the web admin really only controls IPv4 settings and you may get unexpected results or find services to be unreachable if IPv6 is left on.
    Note: this package cannot coexist with b3-init-scripts from the gentoo-b3 overlay (which wants to set the LED colour to green::programming)
  • An installer package was added as part of the development to create a Live USB containing a full Bubba operating system. The included install script leans heavily on the original scripts by sakaki but there are some major differences: auto-select partitioning method ('dos' or 'gpt') and create a separate home partition.
Installing
The easiest method is to use the Live USB but if you already have an existing Gentoo installation on your B3 you'll likely prefer the manual way. Since there is (and most likely never will be) a B2 Live USB this is also the method for B2 users to use.

Again you have an option here to install the full interface, including all controlled services Samba, FTP, AFP, DLNA, LMS, Up & Downloads, Printing and e-Mail (DAAP and Tor: see below) or individual elements. You may also fine tune your installation by investigating and setting USE flags for several components, such as disable torrent support in filetransferdaemon (Up & Downloads). Run emerge with '--ask --verbose' ('-av' shorthand) to view USE flags before accepting them.
  1. If you want B3 hardware support only, install bubba-buttond (allows your B3 to shutdown gracefully using the button on the rear) and sysvinit (requires ACCEPT_KEYWORDS=**; provides normal shutdown and poweroff commands to your B3 and correct logging of those events).
  2. If you want Logitech Media Server, install logitechmediaserver-bin (B3 only) or logitechmediaserver. The latter will pull in a rather huge number of additional Perl modules and consequently take a lot longer to install.
  3. Install bubba if you just want the web admin interface to control the packages you already have installed.
  4. Install @bubba3 (Bubba|2 : @bubba2) if you want the full interface and package support.

    Notes:
    • DAAP is not included in @bubba2 because it requires Java to install and I have not been able to find a version that is likely to work with ppc.
    • Tor is not included in either set because it requires USE="-bindist" which does not meet the requirements for the Live USB.
Extra's
The overlay also contains ebuilds for Domoticz, a home automation project, and some support files for external hardware (Telldus stick, Evohome). These are not part of any set. I suggest you use a cross-dev machine if you like to try Domoticz - building the package will take several hours when done on the B3 (even with distcc).

Best,
Gordon
Post Reply