mirror of
https://github.com/jambonz/jambonz-infrastructure.git
synced 2025-12-19 09:07:44 +00:00
* initial changes for proxmox support * proxmox packer updates * terraform template for Proxmox jambonz-mini * update jambonz-mini to 0.8.3-3
17 lines
512 B
Bash
17 lines
512 B
Bash
#!/bin/bash
|
|
|
|
if [ "$1" == "yes" ]; then
|
|
|
|
sudo apt-get install -y apt-transport-https
|
|
curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -
|
|
echo "deb https://repos.influxdata.com/debian buster stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
|
|
sudo apt-get update
|
|
sudo apt-get install -y influxdb
|
|
sudo chmod a+x /usr/lib/influxdb/scripts/influxd-systemd-start.sh
|
|
sudo systemctl enable influxdb
|
|
sudo systemctl start influxdb
|
|
|
|
sudo systemctl status influxdb.service
|
|
sudo journalctl -xe
|
|
|
|
fi |