|
|
@ -22,7 +22,7 @@ msg_ok "Installed Dependencies" |
|
|
|
msg_info "Installing OpenObserve" |
|
|
|
msg_info "Installing OpenObserve" |
|
|
|
mkdir -p /opt/openserve/data |
|
|
|
mkdir -p /opt/openserve/data |
|
|
|
LATEST=$(curl -sL https://api.github.com/repos/openobserve/openobserve/releases/latest | grep '"tag_name":' | cut -d'"' -f4) |
|
|
|
LATEST=$(curl -sL https://api.github.com/repos/openobserve/openobserve/releases/latest | grep '"tag_name":' | cut -d'"' -f4) |
|
|
|
$STD tar zxvf <(curl -fsSL https://github.com/openobserve/openobserve/releases/download/$LATEST/openobserve-${LATEST}-linux-amd64.tar.gz) -C /opt/openobserve |
|
|
|
tar zxvf <(curl -fsSL https://github.com/openobserve/openobserve/releases/download/$LATEST/openobserve-${LATEST}-linux-amd64.tar.gz) -C /opt/openobserve &>/dev/null |
|
|
|
|
|
|
|
|
|
|
|
cat <<EOF >/opt/openobserve/data/.env |
|
|
|
cat <<EOF >/opt/openobserve/data/.env |
|
|
|
ZO_ROOT_USER_EMAIL = "admin@example.com" |
|
|
|
ZO_ROOT_USER_EMAIL = "admin@example.com" |
|
|
|