Skip to content

Instantly share code, notes, and snippets.

@mfcodeworks
Last active January 17, 2020 08:41
Show Gist options
  • Save mfcodeworks/05222b74de401320289a4e92d88180c9 to your computer and use it in GitHub Desktop.
Save mfcodeworks/05222b74de401320289a4e92d88180c9 to your computer and use it in GitHub Desktop.
sudo apt update
sudo apt upgrade -y
sudo apt dist-upgrade -y
sudo apt install nginx redis-server curl dirmngr apt-transport-https lsb-release ca-certificates -y
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt -y install nodejs
sudo apt -y install gcc g++ make
sudo ufw allow 'Nginx HTTP'
sudo apt install mariadb-server -y
sudo mysql_secure_installation
sudo add-apt-repository universe
sudo apt install php-fpm php-mysql -y
sudo apt install php-common php-mbstring php-soap php-xml php-intl php-json php-mysql php-cli php-zip php-curl -y
sudo curl -s https://getcomposer.org/installer | php
sudo ln -s ./composer.phar /usr/bin/composer
composer global require laravel/installer
sudo add-apt-repository ppa:certbot/certbot
sudo apt install python-certbot-nginx -y
sudo apt install supervisor -y
sudo systemctl enable supervisor
sudo systemctl enable redis-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment