Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kaakaa/pptgallery_vagrant

Construction CentOS server by Vagrant for deploy PPTGallery
https://github.com/kaakaa/pptgallery_vagrant

Last synced: 23 days ago
JSON representation

Construction CentOS server by Vagrant for deploy PPTGallery

Awesome Lists containing this project

README

        

PPTGallery_vagrant
==================

This is Vagrantfile and provisioning cookbooks for [kaakaa/PPTGallery](https://github.com/kaakaa/PPTGallery "kaakaa/PPTGallery").

USAGE
-----

This depends on [opscode-cookbooks/iptables](https://github.com/opscode-cookbooks/iptables "opscode-cookbooks/iptables").

So after cloning this, you must exec cloning git submodule.

```
git submodule init
git submodule update
```

And then add iptables setting in iptables cookbooks for port using foreman.

```
touch cookbooks/iptables/templates/default/http.rb
echo "-A FWR -m tcp -p tcp --dport 5000 -j ACCEPT" >> cookbooks/iptables/templates/default/http.rb
echo "-A FWR -m tcp -p tcp --sport 5000 -j ACCEPT" >> cookbooks/iptables/templates/default/http.rb

echo "iptables_rule 'http'" >> cookbooks/iptables/recipes/default.rb
```

Lastly vagrant up.
```
vagrant up
```