This file is built for root user not others. To modify for others users , simply add 'sudo' as prefix of every command Issues and Security: This file is built for only single use. You are also free to use at your own risk.
nano script.sh
- Ctrl +X
- Y
- Enter
chmod +x script.sh
./script.sh
> SSH Key Generate > php > install composer > nginx > permission to folders > clone repository > generate ssh-key > assign laravel permission(for laravel permission use laravel.sh repeating 1-6 step )