https://github.com/kylefarris/box
builds base.box for Vagrant -- CentOS 6.5 64-bit LAMP
https://github.com/kylefarris/box
Last synced: 5 months ago
JSON representation
builds base.box for Vagrant -- CentOS 6.5 64-bit LAMP
- Host: GitHub
- URL: https://github.com/kylefarris/box
- Owner: kylefarris
- Created: 2014-07-17T23:54:45.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-07-18T00:05:47.000Z (almost 12 years ago)
- Last Synced: 2025-03-25T22:36:41.422Z (about 1 year ago)
- Homepage:
- Size: 128 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
box
====
**CentOS 6.5 64-bit LAMP** virtual machine ideal for local development
* **Remi** and **EPEL** repositories for **Yum**
* **NFS**, **Sendmail**, **Git**
* **Apache** 2 w/ **mod_ssl**, **MySQL** 5
* **PHP** 5 w/ extensions **mysql** **gd** **xml** **mbstring** **mcrypt**
* **NodeJS**, **NPM**, **rubygems**, **Composer**, **Laravel** 4
* **Sass**, **clean-css**, **uglify-js**
----
Connectivity to VM's services, **from Host OS**:
* add to */etc/hosts* -- `192.168.200.2 local`
* NFS-sync'd folder created by Vagrant -- `~/sync`
* database -- `mysql -h192.168.200.2 -uroot -pvagrant`
* as an alternate to 80 and 443, port 8081 is "open" for TCP requests
----
To add an Apache **VirtualHost**:
* add to */etc/hosts* -- `192.168.200.2 example.local`
* `vagrant ssh` or `ssh root@local`
* add *VirtualHost* definition -- `/etc/httpd/conf.d/example.local.conf`
* `sudo service httpd restart`
----
This VM is packaged as `base.box`
To use it, open **Terminal**, `cd box` then: `vagrant up`
----
The *deflate* "output filter" for Apache has been enabled for all requests except common image formats.
The timezone for PHP has been set to *America/New_York* and *zlib.output_compression* has been turned *On*.
The **screen** utility may be used to spawn **NodeJS** applications in a `vagrant ssh` session.
Similarly, the **artisan** tool for **Laravel** may be used in a terminal session.
The **Sass** "gem" has been installed on the VM as an alterative to executing it on the Host OS.
The **NodeJS** packages **clean-css** and **uglify-js** are installed globally
and may be executed as `cleancss` and `uglifyjs` to minify *.css* and *.js* files, respectively.
For more information, see:
[GoalSmashers/clean-css](https://github.com/GoalSmashers/clean-css)
and [mishoo/UglifyJS2](https://github.com/mishoo/UglifyJS2)