Compare commits

..

6 Commits

Author SHA1 Message Date
tteckster 9520eebb34
Update grocy-install.sh
Debian 12 compatible
2023-06-17 22:51:19 -04:00
tteckster 86c04bfe22
Update homeassistant-core-install.sh
moved to install.func
2023-06-17 19:22:15 -04:00
tteckster a66326f613
Update CHANGELOG.md 2023-06-17 19:01:38 -04:00
tteckster 59110997d5
Update install.func
Tweak for Debian 12
2023-06-17 18:30:05 -04:00
tteckster 28f5363737
Update omada-install.sh
Debian 12 compatible
2023-06-17 18:23:50 -04:00
tteckster 9ef8a4ae4f
Update unifi-install.sh
Debian 12 compatible
2023-06-17 18:22:23 -04:00
6 changed files with 24 additions and 6 deletions

View File

@ -4,6 +4,14 @@
- All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
## 2023-06-17
### Changed
- **UniFi Network Application LXC**
- Now distribution agnostic.
- **Omada Controller LXC**
- Now distribution agnostic.
## 2023-06-16
### Changed

View File

@ -17,14 +17,13 @@ msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y apache2
$STD apt-get install -y apt-transport-https
$STD apt-get install -y lsb-release
msg_ok "Installed Dependencies"
msg_info "Installing PHP 8.1"
VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)"
curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg
sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
echo -e "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $VERSION main" >/etc/apt/sources.list.d/php.list
$STD apt-get update
$STD apt-get install -y php8.1
$STD apt-get install -y libapache2-mod-php8.1

View File

@ -38,7 +38,6 @@ if [[ "$PCT_OSVERSION" == "12" ]]; then
liblapack3 \
liblapack-dev \
libatlas-base-dev
$STD systemctl disable systemd-networkd-wait-online.service
msg_ok "Installed Dependencies"
else
msg_info "Installing Dependencies, Bullseye (Patience)"

View File

@ -30,6 +30,8 @@ $STD apt-get -y install zulu8-jdk
msg_ok "Installed Azul Zulu"
msg_info "Installing MongoDB"
wget -qL http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb
$STD dpkg -i libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb
wget -qL https://repo.mongodb.org/apt/ubuntu/dists/bionic/mongodb-org/3.6/multiverse/binary-amd64/mongodb-org-server_3.6.23_amd64.deb
$STD dpkg -i mongodb-org-server_3.6.23_amd64.deb
msg_ok "Installed MongoDB"
@ -43,7 +45,7 @@ motd_ssh
customize
msg_info "Cleaning up"
rm -f Omada_SDN_Controller_v5.9.31_Linux_x64.deb mongodb-org-server_3.6.23_amd64.deb zulu-repo_1.0.0-3_all.deb
rm -f Omada_SDN_Controller_v5.9.31_Linux_x64.deb mongodb-org-server_3.6.23_amd64.deb zulu-repo_1.0.0-3_all.deb libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb
$STD apt-get autoremove
$STD apt-get autoclean
msg_ok "Cleaned"

View File

@ -20,12 +20,19 @@ $STD apt-get install -y mc
$STD apt-get install -y apt-transport-https
msg_ok "Installed Dependencies"
if [[ "$PCT_OSVERSION" == "12" ]]; then
echo -e "deb http://ftp.debian.org/debian bullseye main" >/etc/apt/sources.list.d/openjdk-11-jre-headless.list
$STD apt-get update
fi
msg_info "Installing OpenJDK"
$STD apt-get install -y openjdk-11-jre-headless
$STD apt-mark hold openjdk-11-*
msg_ok "Installed OpenJDK"
msg_info "Installing MongoDB"
wget -qL http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb
$STD dpkg -i libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb
wget -qL https://repo.mongodb.org/apt/ubuntu/dists/bionic/mongodb-org/3.6/multiverse/binary-amd64/mongodb-org-server_3.6.23_amd64.deb
$STD dpkg -i mongodb-org-server_3.6.23_amd64.deb
msg_ok "Installed MongoDB"
@ -41,7 +48,7 @@ motd_ssh
customize
msg_info "Cleaning up"
rm -rf mongodb-org-server_3.6.23_amd64.deb
rm -rf mongodb-org-server_3.6.23_amd64.deb libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb
$STD apt-get autoremove
$STD apt-get autoclean
msg_ok "Cleaned"

View File

@ -124,6 +124,9 @@ motd_ssh() {
sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config
systemctl restart sshd
fi
if [[ "$PCT_OSVERSION" == "12" ]]; then
$STD systemctl disable systemd-networkd-wait-online.service
fi
}
# This function customizes the container by modifying the getty service and enabling auto-login for the root user