「RANCID と gitweb で作るコンフィグ履歴管理システム」の版間の差分
提供:hkatou_Lab
1,358行目: | 1,358行目: | ||
# cp -p /etc/httpd/conf.d/gitweb.conf /etc/httpd/conf.d/gitweb.conf.`date "+%Y%m%d-%H%M%S"` | # cp -p /etc/httpd/conf.d/gitweb.conf /etc/httpd/conf.d/gitweb.conf.`date "+%Y%m%d-%H%M%S"` | ||
# vi /etc/httpd/conf.d/gitweb.conf | # vi /etc/httpd/conf.d/gitweb.conf | ||
# diff -c /etc/httpd/conf.d/gitweb.conf.`date "+%Y%m%d-%H`* /etc | # diff -c /etc/httpd/conf.d/gitweb.conf.`date "+%Y%m%d-%H`* /etc/httpd/conf.d/gitweb.conf | ||
</syntaxhighlight><syntaxhighlight lang="diff"> | </syntaxhighlight><syntaxhighlight lang="diff"> | ||
/httpd/conf.d/gitweb.conf | /httpd/conf.d/gitweb.conf |