You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
composer global require cpriego/valet-linux --with-all-dependencies
Add composer bin and npm bin and yarn bin to path
echo'export PATH=$PATH:/home/$USER/.local/bin'| tee -a ~/.zshrc \
&&echo'export PATH=$PATH:/home/$USER/.yarn/bin'| tee -a ~/.zshrc \
&&echo'export PATH=$PATH:/home/$USER/.config/composer/vendor/bin'| tee -a ~/.zshrc \
&&source~/.zshrc
valet install
mkdir -p ~/Sites &&cd~/Sites && valet park
Cleanup
sudo apt remove apache2 -y && sudo apt autoremove
Set root password for mysql
mysqladmin --user=root password ""
Allow Root - no password access on localhost for database
sudo mysql -u root -e "grant all on *.* to 'root'@'localhost' identified by '';"