Last active
September 9, 2023 15:19
-
-
Save jsyzdek/0df3c664d311a62e21d0ea20b688cc57 to your computer and use it in GitHub Desktop.
common packages to install for Laravel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt install composer mysql-server -y | |
sudo apt install php7.4 php7.4-cli php7.4-common php7.4-mysql php7.4-xml php7.4-xmlrpc | |
php7.4-curl php7.4-gd php7.4-imagick php7.4-cli php7.4-dev php7.4-imap php7.4-mbstring | |
php7.4-opcache php7.4-soap php7.4-zip php7.4-intl php7.4-fpm php7.4-json | |
php7.4-bcmath -y | |
sudo mysql_secure_installation | |
#remember that now, root user requires sudo to log in: | |
sudo mysql -uroot -p | |
#>>>>>>>>>>>>>>>>>> | |
create user 'user'@'localhost' identified by 'pass'; | |
GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment