Cheat sheet for installing any script on Laravel/Symfony For Ubuntu 20-24
Featured Replies
This topic is now closed to further replies.
A better way to browse. Learn more.
A full-screen app on your home screen with push notifications, badges and more.
I’ve written this for Ubuntu 22, but it should work with the other 20+ versions as well. Replace php7.4 with your own version, such as php8.1, if necessary.
Run the following commands:
install MySQL:
install Node and PM2:
Copy the script to cd /var/www/html
install phpMyAdmin
Let’s configure NGINX
Paste everything below. Be sure to specify your domain (already linked to the server)
END!!! Next, save via nano (in the terminal). If you’ve had trouble – simply download the file, update it, save it and upload it back to the server.
Essential:
The basic installation is complete. If you need SSL
Start the bot (if using Roulette, usually in cd /var/www/html/storage/bot or cd /var/www/html/server)
Don’t forget to specify the paths to the certificates in the bot; they are located here: /etc/letsencrypt/live/