This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package "nginx" do | |
action :install | |
end | |
template "/etc/nginx/nginx.conf" do | |
owner "root" | |
group "root" | |
mode 0644 | |
notifies :reload, "service[nginx]", :delayed | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# centos6の場合 | |
$ ifconfig | |
# centos7の場合 | |
$ ip a |
NewerOlder