Skip to content

Instantly share code, notes, and snippets.

@sl-digital
Created November 10, 2015 23:26
Show Gist options
  • Save sl-digital/c988bf855cf20714dbdb to your computer and use it in GitHub Desktop.
Save sl-digital/c988bf855cf20714dbdb to your computer and use it in GitHub Desktop.
#MySQL Setup
forward port 3306 to 33060
Change binding from 127.0.0.1 to 0.0.0.0
select user,host from mysql.user where user='root';
create user 'root'@'10.0.2.2' identified by 'yourpassword';
grant all privileges on *.* to 'root'@'10.0.2.2' with grant option;
flush privileges;
sudo service mysql restart
#Apache Setup
share ./webroot => /var/www/html
disable SELinux security
check permissions
sudo service httpd restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment