mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-11 18:29:17 +00:00
remove comments
This commit is contained in:
parent
17b23ba04b
commit
2ff64bdc37
@ -5,7 +5,6 @@
|
|||||||
# License: MIT
|
# License: MIT
|
||||||
# Source: https://zoneminder.readthedocs.io/en/latest/installationguide/ubuntu.html#ubuntu-22-04-jammy
|
# Source: https://zoneminder.readthedocs.io/en/latest/installationguide/ubuntu.html#ubuntu-22-04-jammy
|
||||||
|
|
||||||
# Import Functions und Setup
|
|
||||||
source /dev/stdin <<< "$FUNCTIONS_FILE_PATH"
|
source /dev/stdin <<< "$FUNCTIONS_FILE_PATH"
|
||||||
color
|
color
|
||||||
verb_ip6
|
verb_ip6
|
||||||
@ -14,8 +13,6 @@ setting_up_container
|
|||||||
network_check
|
network_check
|
||||||
update_os
|
update_os
|
||||||
|
|
||||||
# Installing Dependencies with the 3 core dependencies (curl;sudo;mc)
|
|
||||||
# plus any additional packages you need
|
|
||||||
msg_info "Installing Dependencies"
|
msg_info "Installing Dependencies"
|
||||||
$STD apt-get install -y \
|
$STD apt-get install -y \
|
||||||
curl \
|
curl \
|
||||||
@ -26,8 +23,6 @@ $STD apt-get install -y \
|
|||||||
libapache2-mod-php
|
libapache2-mod-php
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
# create a random password for root
|
|
||||||
# create a random password for the 'zmuser'
|
|
||||||
msg_info "Pre-seeding dbconfig-common for ZoneMinder"
|
msg_info "Pre-seeding dbconfig-common for ZoneMinder"
|
||||||
|
|
||||||
ROOT_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)
|
ROOT_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)
|
||||||
@ -51,7 +46,6 @@ echo "zoneminder zoneminder/app-password-confirm password $ZMPASS"| debconf-set-
|
|||||||
} >> ~/zoneminder.creds
|
} >> ~/zoneminder.creds
|
||||||
msg_ok "dbconfig pre-seeding complete"
|
msg_ok "dbconfig pre-seeding complete"
|
||||||
|
|
||||||
# Enable the ZoneMinder PPA (iconnor/zoneminder-1.36) and install
|
|
||||||
msg_info "Enabling ZoneMinder PPA and installing ZoneMinder"
|
msg_info "Enabling ZoneMinder PPA and installing ZoneMinder"
|
||||||
$STD apt install -y software-properties-common
|
$STD apt install -y software-properties-common
|
||||||
$STD add-apt-repository ppa:iconnor/zoneminder-1.36 -y
|
$STD add-apt-repository ppa:iconnor/zoneminder-1.36 -y
|
||||||
@ -59,7 +53,6 @@ $STD apt update
|
|||||||
$STD apt-get install -y zoneminder
|
$STD apt-get install -y zoneminder
|
||||||
msg_ok "ZoneMinder installed"
|
msg_ok "ZoneMinder installed"
|
||||||
|
|
||||||
# Enable Apache modules & ZoneMinder service
|
|
||||||
msg_info "Configuring Apache and ZoneMinder"
|
msg_info "Configuring Apache and ZoneMinder"
|
||||||
a2enmod rewrite
|
a2enmod rewrite
|
||||||
a2enconf zoneminder
|
a2enconf zoneminder
|
||||||
@ -68,7 +61,6 @@ systemctl enable zoneminder
|
|||||||
systemctl start zoneminder
|
systemctl start zoneminder
|
||||||
msg_ok "Apache and ZoneMinder configured and running"
|
msg_ok "Apache and ZoneMinder configured and running"
|
||||||
|
|
||||||
# Cleanup
|
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
$STD apt-get -y autoremove
|
$STD apt-get -y autoremove
|
||||||
$STD apt-get -y autoclean
|
$STD apt-get -y autoclean
|
||||||
|
Loading…
Reference in New Issue
Block a user