You should already be in the vagrant server with vagrant ssh.
sudo su
apt-get update
apt-get upgrade -y
exit # root
exit # exit vagrant (to reboot)
| # cookbooks/fail2ban/attributes/default.rb | |
| # This is an attribute file snippet | |
| default[:fail2ban][:dir] = "/etc/fail2ban/" | |
| default[:fail2ban][:action_path] = "cookbooks/fail2ban/files/default/action" | |
| default[:fail2ban][:filters_path] = "cookbooks/fail2ban/files/default/filters" |
| { | |
| "run_list": [ | |
| ], | |
| "automatic": { | |
| "ipaddress": "104.131.218.153" | |
| } | |
| } |
| gem install gollum | |
| Fetching: charlock_holmes-0.7.3.gem (100%) | |
| Building native extensions. This could take a while... | |
| ERROR: Error installing gollum: | |
| ERROR: Failed to build gem native extension. | |
| /Users/deploy/.rbenv/versions/1.9.3-p484/bin/ruby extconf.rb | |
| checking for main() in -licui18n... no | |
| checking for main() in -licui18n... no |
| #!/bin/bash | |
| # | |
| # DESCRIPTION: | |
| # | |
| # Set the bash prompt according to: | |
| # * the ruby version | |
| # * the branch/status of the current git repository | |
| # * the branch of the current subversion repository | |
| # * the return value of the previous command | |
| # |
#Mac OS X
| http://www.howtoforge.com/installing-nginx-with-php5-and-php-fpm-and-mysql-support-lemp-on-ubuntu-12.04-lts | |
| mkdir -p ~/code/personal/vagrant-php | |
| cd ~/code/personal/vagrant-php | |
| download vagrant | |
| http://downloads.vagrantup.com/ | |
| install vagrant latest version |
| 1. do a `gem env` to get your paths: | |
| RubyGems Environment: | |
| - RUBYGEMS VERSION: 1.8.23 | |
| - RUBY VERSION: 1.9.3 (2013-02-22 patchlevel 392) [x86_64-darwin12.2.0] | |
| - INSTALLATION DIRECTORY: /Users/deploy/.rbenv/versions/1.9.3-p392-railsexpress/lib/ruby/gems/1.9.1 | |
| - RUBY EXECUTABLE: /Users/deploy/.rbenv/versions/1.9.3-p392-railsexpress/bin/ruby | |
| - EXECUTABLE DIRECTORY: /Users/deploy/.rbenv/versions/1.9.3-p392-railsexpress/bin | |
| - RUBYGEMS PLATFORMS: | |
| - ruby |
| FIXME: | |
| WARNING: Nokogiri was built against LibXML version 2.7.3, but has dynamically loaded 2.9.0 | |
| or | |
| libxml_ruby.bundle: dlsym(0x10fde1900, Init_libxml_ruby): symbol not found | |
| gem uninstall nokogiri libxml-ruby | |
| brew update | |
| brew uninstall libxml2 |