Virtualmin on Debian

30 Nov

Will fail during intsall.

If Debian 9:
apt-get install ca-certificates net-tools qemu-guest-agent wget openssh-tools

If Debian 10:
apt-get install net-tools qemu-guest-agent wget openssh-tools
* Debian 10 will enforce MYSQL strict!

When prompted to enter the network name; create a new window CTRL + ALT+ F2 (where F2 is a new instance).
Then do:

ifup

In ESXi this was:
ifup ens192

But you can check by doing:
ip link show

Then switch back to instance #1:
CTRL + ALT+ F1

Type ens192 and the install will complete successfully.

apt-get install apt-transport-https lsb-release
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
echo “deb https://packages.sury.org/php/ $(lsb_release -sc) main” > /etc/apt/sources.list.d/php.list

apt-get update
apt-get install php5.6 php5.6-mysql php5.6-cgi php5.6-cli php5.6-bz2 php5.6-cgi php5.6-curl php5.6-fpm php5.6-gd php5.6-imap php5.6-json php5.6-mbstring php5.6-mysql php5.6-odbc php5.6-pspell php5.6-soap php5.6-sqlite3 php5.6-xml php5.6-xmlrpc php5.6-zip php5.6-cgi php5.6-snmp php5.6-xsl php5.6-opcache php5.6-intl php5.6-curl

change max packet size to import larger databases.
delete the user created during linux install

recheck configuration. “>PHP versions have changed to 5.6, 7.3, 7.3 since last check. Regenerating any missing php.ini files.”

Then add additional ip
create sites as required.

Leave a Reply

Your email address will not be published.