Skip to content

Instantly share code, notes, and snippets.

@ngsw
Created January 31, 2012 20:59
Show Gist options
  • Save ngsw/1712873 to your computer and use it in GitHub Desktop.
Save ngsw/1712873 to your computer and use it in GitHub Desktop.
# yum install nginx
# cp -a /etc/init.d/nginx /bkup/path/to/
# yum remove nginx
# cp -a /bkup/path/to/nginx{,.yum-org}
# vim /bkup/path/to/nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment