Last active
November 29, 2018 12:15
-
-
Save thraizz/3742bfc63b06031b09a08f68b6e9ae5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DIST=CentOS_7 | |
RELEASE=experimental/nightly/ | |
URL=http://download.bareos.org/bareos/$RELEASE/$DIST | |
wget -O /etc/yum.repos.d/bareos.repo $URL/bareos.repo | |
yum -y install bareos bareos-database-postgresql bareos-webui bareos-storage-droplet postgresq-server | |
su postgres -c /usr/lib/bareos/scripts/create_bareos_database | |
su postgres -c /usr/lib/bareos/scripts/make_bareos_tables | |
su postgres -c /usr/lib/bareos/scripts/grant_bareos_privileges |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment