2 echo "XAMPP is now installed below the /opt/lampp directory"
3 echo "To start, stop or restart XAMPP simply call the command:"
4 echo " lampp {start, stop, restart} or xampp {start, stop, restart}"
5 echo "Then you can check that everything really works, Just enter the following URL at your web browser:"
6 echo " http://localhost"
10 /opt/lampp/lampp stop >/dev/null 2>&1
15 /opt/lampp/lampp stop >/dev/null 2>&1
16 cp -r /opt/lampp/htdocs /opt/lampp/htdocs_backup
17 echo "Your htdocs folder were backed up to /opt/lampp/htdocs_backup"
21 rm -rf /opt/lampp/{etc,var}