Script to install nginx and php on ubuntu
Name |
Version |
php |
^8.3 |
nginx |
latest |
composer |
latest |
nodejs |
latest |
MySQL |
latest |
redis |
latest |
bash <(curl -s https://raw.githubusercontent.com/PyaeSoneAungRgn/unp/main/install.sh)
ssh-keygen -f ~/.ssh/id_rsa -t rsa -N ''
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
Laravel folder permission
sudo chgrp -R www-data storage bootstrap/cache
sudo chmod -R ug+rwx storage bootstrap/cache
opcache.enable=1
opcache.validate_timestamps=0
opcache.save_comments=0