Xampp configuration @ local Ubuntu 18.04
File to edit:
/opt/lampp/etc/extra/httpd-vhosts.conf
sudo /opt/lampp/lampp restart
sudo /opt/lampp/manager-linux-x64.run
alias xampp='sudo /opt/lampp/manager-linux-x64.run'
So now I just need to type xampp in the terminal and the program will start after I type my password.