Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Mack-akp/fc447fc0141f44de9a5421e1e3ee90a0 to your computer and use it in GitHub Desktop.
Save Mack-akp/fc447fc0141f44de9a5421e1e3ee90a0 to your computer and use it in GitHub Desktop.

Revisions

  1. @lineharo lineharo created this gist Apr 25, 2020.
    28 changes: 28 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,28 @@
    sudo apt-get update

    sudo apt-get install -y vim git curl wget unzip zip gcc build-essential make

    sudo apt-get install software-properties-common

    curl -O http://vestacp.com/pub/vst-install.sh

    bash vst-install.sh --nginx yes --apache yes --phpfpm no --named yes --remi yes --vsftpd yes --proftpd no --iptables yes --fail2ban yes --quota no --exim yes --dovecot yes --spamassassin no --clamav no --softaculous no --mysql yes --postgresql no


    sudo add-apt-repository ppa:ondrej/php

    sudo apt install php7.4-fpm php7.4 php7.4-cli php7.4-common

    apt install php7.4-opcache php7.4-curl php7.4-mbstring php7.4-mysql php7.4-zip php7.4-xml php7.4-imap php7.4-intl php-http php-imagick php-mailparse php-memcache php-memcached php-yaml php-psr php7.4-gd php7.4-json

    apt update && apt upgrade

    sudo service nginx restart

    sudo update-alternatives --set php /usr/bin/php7.4

    sudo a2dismod php7.2

    sudo a2enmod php7.4

    sudo systemctl restart apache2