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
chmod +x six
ln -s /opt/6admin/six /usr/local/bin/six

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
chmod +x six
ln -s /opt/6admin/six /usr/local/bin/six

export DEBIAN_FRONTEND=dialog

Allow script execution even being root
Allow script execution even being root