Misc updates (#1030)

* add back mc in ubuntu

* omada 5.8.4
This commit is contained in:
tteckster 2023-02-07 00:00:13 -05:00 committed by GitHub
parent a79ecedb80
commit d3bceff8ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 11 additions and 5 deletions

View File

@ -79,6 +79,7 @@ msg_ok "Updated Container OS"
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y curl $STD apt-get install -y curl
$STD apt-get install -y sudo $STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y gnupg $STD apt-get install -y gnupg
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"

View File

@ -79,6 +79,7 @@ msg_ok "Updated Container OS"
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y curl $STD apt-get install -y curl
$STD apt-get install -y sudo $STD apt-get install -y sudo
$STD apt-get install -y mc
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
if [[ -z "$(grep -w "100000" /proc/self/uid_map)" ]]; then if [[ -z "$(grep -w "100000" /proc/self/uid_map)" ]]; then

View File

@ -79,6 +79,7 @@ msg_ok "Updated Container OS"
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y curl $STD apt-get install -y curl
$STD apt-get install -y sudo $STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y apt-transport-https $STD apt-get install -y apt-transport-https
$STD apt-get install -y software-properties-common $STD apt-get install -y software-properties-common
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"

View File

@ -79,6 +79,7 @@ msg_ok "Updated Container OS"
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y curl $STD apt-get install -y curl
$STD apt-get install -y sudo $STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y gnupg $STD apt-get install -y gnupg
$STD apt-get install -y openjdk-8-jre-headless $STD apt-get install -y openjdk-8-jre-headless
$STD apt-get install -y jsvc $STD apt-get install -y jsvc
@ -86,9 +87,9 @@ wget -qL https://repo.mongodb.org/apt/ubuntu/dists/bionic/mongodb-org/3.6/multiv
$STD dpkg -i mongodb-org-server_3.6.23_amd64.deb $STD dpkg -i mongodb-org-server_3.6.23_amd64.deb
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Omada Controller v5.7.4" msg_info "Installing Omada Controller v5.8.4"
wget -qL https://static.tp-link.com/upload/software/2022/202211/20221121/Omada_SDN_Controller_v5.7.4_Linux_x64.deb wget -qL https://static.tp-link.com/upload/software/2023/202301/20230130/Omada_SDN_Controller_v5.8.4_Linux_x64.tar.gz
$STD dpkg -i Omada_SDN_Controller_v5.7.4_Linux_x64.deb $STD dpkg -i Omada_SDN_Controller_v5.8.4_Linux_x64.deb
msg_ok "Installed Omada Controller" msg_ok "Installed Omada Controller"
echo "export TERM='xterm-256color'" >>/root/.bashrc echo "export TERM='xterm-256color'" >>/root/.bashrc
@ -110,7 +111,7 @@ fi
if [[ "${SSH_ROOT}" == "yes" ]]; then sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config; systemctl restart sshd; fi if [[ "${SSH_ROOT}" == "yes" ]]; then sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config; systemctl restart sshd; fi
msg_info "Cleaning up" msg_info "Cleaning up"
rm -rf Omada_SDN_Controller_v5.7.4_Linux_x64.deb mongodb-org-server_3.6.23_amd64.deb rm -rf Omada_SDN_Controller_v5.8.4_Linux_x64.deb mongodb-org-server_3.6.23_amd64.deb
$STD apt-get autoremove $STD apt-get autoremove
$STD apt-get autoclean $STD apt-get autoclean
msg_ok "Cleaned" msg_ok "Cleaned"

View File

@ -79,6 +79,7 @@ msg_ok "Updated Container OS"
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y curl $STD apt-get install -y curl
$STD apt-get install -y sudo $STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y gnupg $STD apt-get install -y gnupg
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"

View File

@ -86,7 +86,7 @@ if [ "$ubuntuversion" = "18" ] || [ "$ubuntuversion" -le "18" ]; then
fi fi
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y curl sudo git $STD apt-get install -y curl sudo git mc
$STD apt-get install -y make zip net-tools $STD apt-get install -y make zip net-tools
$STD apt-get install -y gcc g++ cmake $STD apt-get install -y gcc g++ cmake
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"

View File

@ -79,6 +79,7 @@ msg_ok "Updated Container OS"
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt-get install -y curl $STD apt-get install -y curl
$STD apt-get install -y sudo $STD apt-get install -y sudo
$STD apt-get install -y mc
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
echo "export TERM='xterm-256color'" >>/root/.bashrc echo "export TERM='xterm-256color'" >>/root/.bashrc