/new-ubuntu-laravel

Install PHP8.1 - NGINX - MYSQL - FIREWALL - PHP_EXTENSIONS - SSL - REDIRECT www to non www

Primary LanguageShell

About

install Important softwares on fresh Ubuntu instance

  • PREPAIRE Installing
  • REMOVING APACHE
  • Installing PHP 8.2
  • Installing NGINX
  • OPEN NGINX PORTS
  • Installing PHP EXTENSIONS
  • INCREASING FPM UPLOAD VALUES
  • Installing NPM
  • Installing CERTBOT (SSL GENERATOR)
  • CREATING NGINX FILE FOR example.com
  • GENERATING SSL CERTIFICATE FOR example.com
  • Finalize Installing
  • Installing MySQL
  • Pushing Cronjobs

How to Use

wget -q https://raw.githubusercontent.com/peter-tharwat/new-ubuntu-laravel/master/script.sh -O script.sh ; sudo chmod +x script.sh ; ./script.sh -d example.com
# Replace example.com with your domain

https://raw.githubusercontent.com/peter-tharwat/new-ubuntu-laravel/master/screenshot.png

How To Debug LIVE

tail -f script_log.log

Made With Love By PeterAyoub