export DEBIAN_FRONTEND=noninteractive

# Make sur that all the packages are up to date
apt update
apt upgrade -y

# Installing required packages
apt install -y git curl php7.0-cli php7.0-mbstring php7.0-xml zip
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer

# Installing 6admin
cd /opt
git clone https://github.com/6admin/6admin.git
cd 6admin

composer install --no-plugins --no-scripts

sudo export DEBIAN_FRONTEND=dialog
export DEBIAN_FRONTEND=noninteractive

# Make sur that all the packages are up to date
apt update
apt upgrade -y

# Installing required packages
apt install -y git curl php7.0-cli php7.0-mbstring php7.0-xml zip
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer

# Installing 6admin
cd /opt
git clone https://github.com/6admin/6admin.git
cd 6admin

composer install --no-plugins --no-scripts

export DEBIAN_FRONTEND=dialog
Remove a useless sudo ...
Remove a useless sudo ...

