Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kaakaa/pptgallery_vagrant
- Owner: kaakaa
- Created: 2013-12-14T06:36:13.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-22T15:47:43.000Z (almost 11 years ago)
- Last Synced: 2024-04-14T18:21:34.254Z (9 months ago)
- Language: Ruby
- Size: 191 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.rbecho "iptables_rule 'http'" >> cookbooks/iptables/recipes/default.rb
```Lastly vagrant up.
```
vagrant up
```