Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
Ubuntu 20.04 Update Re-enable oxidized + Tweak nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewPiroli committed Feb 18, 2021
1 parent d82266a commit 3221ed4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion files/ubuntu/librenms.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
server {
listen 80;
server_name librenms.example.com;
root /opt/librenms/html;
index index.php;

Expand Down
3 changes: 2 additions & 1 deletion scripts/ubuntu/librenms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ sed -i '/INSTALL=true/d' /opt/librenms/.env
# This does all the heavy lifting for the DB!
sudo -u librenms /usr/bin/lnms --force -n migrate

sudo -u librenms /usr/bin/lsnm -n config:set update_channel release
sudo -u librenms /usr/bin/lnms -n config:set update_channel release
sudo -u librenms /usr/bin/lnms -n config:set service_poller_workers 4

sudo bash -c 'cat <<EOF > /etc/snmp/snmpd.conf
rocommunity public 127.0.0.1
Expand Down
2 changes: 0 additions & 2 deletions scripts/ubuntu/oxidized.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ if [[ "$OXIDIZED" == false ]]; then
echo "Oxidized support disabled"
exit 0
fi
#TODO
exit 0
sudo add-apt-repository universe
sudo apt install -y ruby ruby-dev libsqlite3-dev libssl-dev pkg-config cmake libssh2-1-dev libicu-dev zlib1g-dev
sudo gem install oxidized
Expand Down

0 comments on commit 3221ed4

Please sign in to comment.