Disable apache service
sudo update-rc.d apache2 disable
Include homestead binaries in the search path
export PATH=$PATH:~/.composer/vendor/bin
Update the homestead
homestead update
Start the homestead VM
homestead up
Halt the homestead VM
homestead halt
Ssh on a custom port
ssh -l vagrant -p 8022 127.0.0.1
Connect to a MySQL
mysql -h 127.0.0.1 -u root -p
MySQL dump database
mysqldump -u needfixmycar -p needfixmycar | gzip > /var/www/needfixmycar.sql.gz
firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --reload
chcon -Rv --type=httpd_sys_content_t ./html