
glibc 업데이트를 위한 쿡북. CVE-2015-0235(GHOST)
glibc 업데이트를 위한 cookbook입니다. CVE-2015-0235(GHOST)
Chef Solo를 사용하여 glibc를 업데이트합니다.
주의: 이 cookbook은 재부팅이 필요합니다.
지원 플랫폼: Ubuntu 및 CentOS.
bundle install
{
"run_list": [
"recipe[security_check_glibc]", # set exploit code and compile
"recipe[security_update_glibc]" # node reboot after glibc update
]
}
$ mv spec/webapp spec/YourServer
$ rake spec LOGIN_USER=loginuser PASS=userpassword
$ bundle exec knife solo bootstrap YourServer
VirtualBox 설치
Vagrant 설치
부트스트래핑
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