#!/bin/bash if test "`id -u`" -ne 0 then echo "You need to start XAMPP as root!" exit fi chown nobody -R var/mysql chmod 777 tmp ./lampp start