Walk through Ubuntu 22.04 and Bareos 23

144 views
Skip to first unread message

Jason Chard

unread,
Dec 18, 2023, 8:06:30 PM12/18/23
to bareos-users
Sorry, every time i post in groups or forums i feel like a newbie.
However, i've spend 3 days trying to install Bareos on Ubuntu 22.04 and am not successful.
I've reverted my VM back to template 6 times.
I've created documentation each time i run through.
I run into the same errors. If i start to try to work around the errors i end up doing 6-8 hours of going down rabbit holes only to get to a point where i stop and think it can't be this hard!
So, has anyone created a walk though for a successful install on Unbuntu 22.04 and Bareos 23.
Here are my notes if anyone is interested or in the future if anyone has the same issues.

Go to the correct version directory

   https://download.bareos.org/current/xUbuntu_22.04/

find

   add_bareos_repositories.sh

in the list and then copy the link

   https://download.bareos.org/current/xUbuntu_22.04/add_bareos_repositories.sh

Open Putty client (login to Ubuntu)

   wget https://download.bareos.org/current/xUbuntu_22.04/add_bareos_repositories.sh

Add the repo

   sudo bash add_bareos_repositories.sh

Now that it is added update

   sudo apt-get update

If we stay on script, it seems it assumes PostGreSQL is installed, so we will install them both from an instructional page.

sudo apt install bareos postgresql bareos-database-postgresql

mail server will be

   YOUR_MAIL_SERVER

Follow the next instructions to create admin user

  https://computingforgeeks.com/how-to-install-bareos-on-ubuntu/

And it all falls apart, the user doesn't have the roles, but if i try to work around it just gets worse... so, once again, if anyone has a walk through, with Ubuntu 22.04 and Bareos 23 clean install, please shoot me the URL, i'd really appreciate it.

emme

unread,
Dec 19, 2023, 3:58:50 AM12/19/23
to bareos-users
try this, are my notes on install:


**************************
* INSTALL
**************************
[https://docs.bareos.org/IntroductionAndTutorial/InstallingBareos.html#install-on-debian-based-linux-distributions]

wget https://download.bareos.org/current/xUbuntu_22.04/add_bareos_repositories.sh
chmod +x add_bareos_repositories.sh
sudo ./add_bareos_repositories.sh

sudo apt update
sudo apt install postgresql
(select local only as email server)

sudo apt install bareos
(Configure database for bareos-database-common with dbconfig-common?: "yes")

sudo systemctl start bareos-dir
sudo systemctl start bareos-fd
sudo systemctl start bareos-sd

sudo apt install bareos-webui

sudo a2enmod proxy_fcgi setenvif
sudo a2enconf php8.1-fpm
sudo systemctl reload apache2

(create user)
sudo bconsole
(give commands)
-reload
-configure add console name=admin password=secret profile=webui-admin tlsenable=false
-exit

Frank Kohler

unread,
Dec 19, 2023, 4:09:18 AM12/19/23
to bareos...@googlegroups.com

We've published a video a while ago which shows install from scratch:
https://www.youtube.com/@BareosBackup

HTH;
Frank

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/69f1c6a5-7e29-4fb0-bed8-ccf391d78757n%40googlegroups.com.
-- 
Frank Kohler
Bareos GmbH & Co. KG           
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: Stephan Dühr, J. Steffens, P. Storz
Reply all
Reply to author
Forward
0 new messages