Add wget and openssh dependencies

This commit is contained in:
Sam
2025-01-02 12:33:33 +10:00
parent e9f30734a3
commit d729c3e272
201 changed files with 797 additions and 194 deletions
+16 -10
View File
@@ -21,7 +21,9 @@ $STD apt-get install -y \
lsb-release \
curl \
gnupg \
mc
mc \
openssh-server \
wget
msg_ok "Installed Dependencies"
RELEASE_REPO="mysql-8.0"
@@ -39,7 +41,9 @@ $STD apt-get update
export DEBIAN_FRONTEND=noninteractive
$STD apt-get install -y \
mysql-community-client \
mysql-community-server
mysql-community-server \
openssh-server \
wget
msg_ok "Installed MySQL"
msg_info "Configure MySQL Server"
@@ -54,14 +58,16 @@ read -r -p "Would you like to add PhpMyAdmin? <y/N> " prompt
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
msg_info "Installing phpMyAdmin"
$STD apt-get install -y \
apache2 \
php \
php-mysqli \
php-mbstring \
php-zip \
php-gd \
php-json \
php-curl
apache2 \
php \
php-mysqli \
php-mbstring \
php-zip \
php-gd \
php-json \
php-curl \
openssh-server \
wget
wget -q "https://files.phpmyadmin.net/phpMyAdmin/5.2.1/phpMyAdmin-5.2.1-all-languages.tar.gz"
mkdir -p /var/www/html/phpMyAdmin