Skip to content

Instantly share code, notes, and snippets.

@hoangsetup
Last active March 18, 2016 03:10
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 hoangsetup/905512d40a8f8d984b31 to your computer and use it in GitHub Desktop.
Save hoangsetup/905512d40a8f8d984b31 to your computer and use it in GitHub Desktop.

Vagrant setup

https://github.com/pigeontech/cptserver 1. git clone https://github.com/pigeontech/cptserver.git reconfig: config/config.yaml box: ubuntu/trusty32 box_url: https://atlas.hashicorp.com/ubuntu/boxes/trusty32/versions/14.04/providers/virtualbox.box

	mysql:
		port: 3306
		password: vagrant
		
	ssl:
		country: US
		state: Pennsylvania
		city: Pittsburgh
		company: Fake Company
		section: Information Technology
		domain: 127.0.0.1
		email: fake@example.com
		
	directory:
		- Options Indexes FollowSymLinks MultiViews
		- AllowOverride All
		- Order allow,deny
		- Allow from all
		
	vhosts:
		-
			ServerName: localhost
			ServerAlias: localhost.dev www.localhost.dev default default.dev www.default.dev
			DocumentRoot: /var/www/default
			ServerAdmin: webmaster@localhost
		-
			ServerName: dev
			ServerAlias: dev.dev www.dev.dev
			DocumentRoot: /var/www
			ServerAdmin: webmaster@localhost

issue: Some index files failed to download. They have been ignored, or old ones used instead. fix: sudo rm /var/lib/apt/lists/* -vf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment