Skip to content

Instantly share code, notes, and snippets.

@surrealroad
Last active December 30, 2015 11:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save surrealroad/7822715 to your computer and use it in GitHub Desktop.
Save surrealroad/7822715 to your computer and use it in GitHub Desktop.
How to create a LAMP using Parallels Desktop 9
1. File > New…
2. Download Ubuntu Free
3. Set parallels user password
4. Install Parallels Tools / Restart
5. `sudo apt-get update`
6. `sudo apt-get install apache2`
7. `sudo apt-get install mysql-server`
8. `sudo apt-get install php5 libapache2-mod-php5`
9. Test browsing to http://localhost or http://parallels-ip-address
10. `sudo apt-get install openssh-server`
Also:
* Make sure netowrking for virtual machine is bridged to allow access from another machine by IP
* Probably disable lock/screen auto-off
* See also this note (http://stackoverflow.com/questions/11932687/how-to-update-ubuntu-12-04-through-squid-proxy-server-at-my-university) about making apt-get run through a proxy server (and also note that usernames must be urlencoded)
Install WordPress:
(note: apt-get method causes all sorts of issues)
1. `wget http://wordpress.org/latest.tar.gz`
2. `tar -xzvf latest.tar.gz`
3. `sudo mv wordpress /var/www/`
Note that this will only allow browsing via localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment