Setting up new Debian 9 Turnkey Lamp with php 7.2 notes

Notes for setting up a new lamp php 7.2 dev environment:

  • Download Turnkey Lamp ISO
  • Setup new VM in VMWare. Use iso to create.
  • Install php 7.2
#!/bin/bash
# To add this repository please do:

if [ "$(whoami)" != "root" ]; then
    SUDO=sudo
fi

${SUDO} apt-get -y install apt-transport-https lsb-release ca-certificates
${SUDO} curl -ssL -o /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
${SUDO} sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
${SUDO} apt-get update
apt update
apt install php7.2
a2dismod php5 php7.0
a2enmod php7.2
service apache2 restart
apt-get update
apt-get install samba
apt-get install webmin-samba

https://www.turnkeylinux.org/forum/support/wed-20181219-0858/search-appliancehttps://www.turnkeylinux.org/forum/support/wed-20181219-0858/search-appliance

https://www.turnkeylinux.org/forum/support/thu-20170928-1202/how-upgrade-php-56-7-tkl-wordpress

https://www.turnkeylinux.org/forum/support/fri-20180126-1724/newbie-upgrade-php-56-70

https://www.turnkeylinux.org/forum/support/20100330/add-samba-server-turnkey-joomla


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.