
cookbook for update glibc. CVE-2015-0235(GHOST)
Cookbook für das Update von glibc. CVE-2015-0235 (GHOST)
Update von glibc mittels Chef Solo.
Achtung: Dieses Cookbook erfordert einen Neustart.
Plattformen sind Ubuntu und CentOS.
bundle install
{
"run_list": [
"recipe[security_check_glibc]", # Exploit-Code setzen und kompilieren
"recipe[security_update_glibc]" # Neustart nach glibc-Update
]
}
$ mv spec/webapp spec/YourServer
$ rake spec LOGIN_USER=loginuser PASS=userpassword
$ bundle exec knife solo bootstrap YourServer
VirtualBox installieren
Vagrant installieren
Bootstrapping
vagrant up
vagrant ssh-config >> ~/.ssh/config
$ vim ~/.ssh/config
- Host default
+ Host webapp
$ rake spec LOGIN_USER=vagrant PASS=vagrant
$ bundle exec knife solo bootstrap webapp