{"id":97,"date":"2014-12-06T00:00:00","date_gmt":"2014-12-05T15:00:00","guid":{"rendered":"https:\/\/jikoman.sin-cos.com\/blog\/?p=97"},"modified":"2014-12-06T00:00:00","modified_gmt":"2014-12-05T15:00:00","slug":"blog-post_6","status":"publish","type":"post","link":"https:\/\/jikoman.sin-cos.com\/blog\/2014\/12\/blog-post_6\/","title":{"rendered":"\u81ea\u5b85\u30b5\u30fc\u30d0\u66f4\u65b0\uff01\uff08\uff19\uff09webmin"},"content":{"rendered":"<p>\u3084\u3063\u3071\u308a\u4fbf\u5229\u306awebmin\u3092\u5165\u308c\u3066\u304a\u304f\u3002<br \/>\n\u307e\u305a\u3001yum\u3092\u4f7f\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff06\u66f4\u65b0\u3092\u3057\u305f\u3044\u306e\u3067\u3001\u6b21\u306e\u30da\u30fc\u30b8\u306e\u6307\u793a\u306b\u5f93\u3044\u4f5c\u696d\u3092\u9032\u3081\u308b\u3002<br \/>\n<a href=\"http:\/\/www.webmin.com\/rpm.html\">http:\/\/www.webmin.com\/rpm.html<\/a><br \/>\n\u300cUsing the Webmin YUM repository\u300d\u306e\u90e8\u5206\u3092\u884c\u3046\u3002<\/p>\n<div>\nyum\u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u306e\u8a2d\u5b9a\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30a8\u30c7\u30a3\u30bf\u3092\u958b\u3044\u3066\u3001<\/div>\n<p>$ sudo vi \/etc\/yum.repos.d\/webmin.repo<\/p>\n<div>\n\u6b21\u306e\u5185\u5bb9\u3092\u30b3\u30d4\u30da\u3059\u308b\u3002<\/p>\n<p>[Webmin]<br \/>\nname=Webmin Distribution Neutral<br \/>\n#baseurl=http:\/\/download.webmin.com\/download\/yum<br \/>\nmirrorlist=http:\/\/download.webmin.com\/download\/yum\/mirrorlist<br \/>\nenabled=1<br \/>\n\u6b21\u306b\u516c\u958b\u9375\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>$ wget http:\/\/www.webmin.com\/jcameron-key.asc<br \/>\n$ sudo rpm &#8211;import jcameron-key.asc<br \/>\n\u3067\u3082\u3001\u3061\u3087\u3063\u3068\u554f\u984c\u3002<\/p>\n<p>$ yum list installed | grep wget<br \/>\n\u3046\u3093\u3002\u4f55\u3082\u8868\u793a\u3055\u308c\u306a\u3044\u3002wget\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5fc5\u8981\u3002<\/p>\n<p>$ sudo yum install wget<br \/>\n\u3067\u3082\u3001\u6b21\u306e\u4e00\u884c\u3067\u3082\u3044\u3051\u308b\u307f\u305f\u3044\u3002<\/p>\n<p>$ sudo rpm &#8211;import http:\/\/www.webmin.com\/jcameron-key.asc<br \/>\n\u5f8c\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001<\/p>\n<p>$ sudo yum&nbsp;-y&nbsp;install webmin<br \/>\n\u81ea\u52d5\u8d77\u52d5\u306b\u8a2d\u5b9a\u3057\u3066\u3001<\/p>\n<p>$ sudo chkconfig webmin on<br \/>\n\u8d77\u52d5\uff01<\/p>\n<p>$ sudo service webmin start<br \/>\n\u3055\u3066\u3001\u6b21\u306bFirewall\u306e\u8a2d\u5b9a<br \/>\n\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067\u72b6\u6cc1\u8868\u793a\u3057\u3001<\/p>\n<p>$ sudo firewall-cmd &#8211;list-all<br \/>\npublic (default, active)<br \/>\n&nbsp; interfaces: eth0<br \/>\n&nbsp; sources:<br \/>\n&nbsp; services: dhcpv6-client ssh<br \/>\n&nbsp; ports:<br \/>\n&nbsp; masquerade: no<br \/>\n&nbsp; forward-ports:<br \/>\n&nbsp; icmp-blocks:<br \/>\n&nbsp; rich rules:&nbsp;<\/p>\n<div>\n\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30dd\u30fc\u30c8\u3092\u958b\u3044\u3066\u3001<\/div>\n<p>$ sudo firewall-cmd &#8211;add-port=10000\/tcp<br \/>\n\u518d\u3073\u30c1\u30a7\u30c3\u30af\uff01<\/p>\n<p>$ sudo firewall-cmd &#8211;list-all<br \/>\npublic (default, active)<br \/>\n&nbsp; interfaces: eth0<br \/>\n&nbsp; sources:<br \/>\n&nbsp; services: dhcpv6-client ssh<br \/>\n<b>&nbsp; ports: 10000\/tcp<\/b>&nbsp; masquerade: no<br \/>\n&nbsp; forward-ports:<br \/>\n&nbsp; icmp-blocks:<br \/>\n&nbsp; rich rules:&nbsp;<\/p>\n<div>\n\u306a\u308b\u307b\u3069\u3002\u3061\u3087\u3063\u3068\u5909\u308f\u3063\u305f\u3002<\/div>\n<p>\n\u3053\u308c\u3067\u4ed6\u306ePC\u304b\u3089\u3001\u3064\u304e\u306eURL\u3067webmin\u306b\u63a5\u7d9a\u3067\u304d\u308b\u306f\u305a\u3002<br \/>\nhttp:\/\/[\u30b5\u30fc\u30d0\u30fc]:10000\/<br \/>\n\u6700\u521d\u306fwebmin\u30e6\u30fc\u30b6\u30fc\u304c\u3001root\u3057\u304b\u306a\u3044\u305f\u3081\u3001<br \/>\nUsername\u300croot\u300d\u3001Password\u300croot\u30d1\u30b9\u30ef\u30fc\u30c9\u300d\u3067\u30ed\u30b0\u30a4\u30f3\u3002<\/p>\n<p>\u305f\u3060\u3001Port\u304c\u6a19\u6e96\u306e10000\u3060\u3068\u3001\u30af\u30e9\u30c3\u30ad\u30f3\u30b0\u3055\u308c\u3084\u3059\u3044\u306e\u3067\u3001<br \/>\nwebmin\u3067\u3001[Webmin] &#8211; [Webmin Configuration] &#8211; [Ports and Addresses]\u3092\u958b\u3044\u3066\u3001<br \/>\n[Listen on IPs and ports] \u300c9999\u300d\u2190\u4efb\u610f\u306e\u30dd\u30fc\u30c8\u756a\u53f7<br \/>\n[Open new ports on firewall?]\u2190\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u3082\u53cd\u6620\u3055\u308c\u306a\u3044\u3063\u307d\u3044\u3002<br \/>\n[Listen for broadcasts on UDP port] \u300cDon&#8217;t listen\u300d\u3092\u9078\u629e\u3002<\/p>\n<p>CUI\u304b\u3089\u30b3\u30de\u30f3\u30c9\u3067\u540c\u3058\u3053\u3068\u3092\u3059\u308b\u3068\u3001<\/p>\n<div class=\"p1\">\n<p>$ sudo vi \/etc\/webmin\/miniserv.conf\n<\/p><\/div>\n<div class=\"p1\">\n\u3067\u3001\u30a8\u30c7\u30a3\u30bf\u30fc\u3092\u958b\u3044\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u66f4\u3059\u3079\u3057\uff01<\/div>\n<div class=\"p1\">\n<p>port=9999<br \/>\nlisten=\n<\/div>\n<p>\u53cd\u6620\u3055\u305b\u308b\u305f\u3081\u306b\u306f\u518d\u8d77\u52d5\u3002<\/p>\n<p>$ sudo service webmin restart<br \/>\nPort\u3092\u5909\u3048\u305f\u3089\u3001Firewall\u306e\u8a2d\u5b9a\u3082\u5909\u66f4\u3057\u306a\u3044\u3068\u3001\u3044\u3051\u307e\u305b\u3093\u306d\u301c\u3002<\/p>\n<div class=\"p1\">\n<p>$ sudo firewall-cmd&nbsp;&#8211;permanent&nbsp;&#8211;add-port=9999\/tcp\n<\/p><\/div>\n<p>\u3067\u3001\u6c38\u4e45\u306b\u30dd\u30fc\u30c8\u8ffd\u52a0\u3002<\/p>\n<div class=\"p1\">\n<p>$ sudo systemctl restart firewalld<br \/>\n\u3067\u3001Firewall\u518d\u8d77\u52d5\u3002<br \/>\n\u300c&#8211;permanent\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u305f\u5834\u5408\u306f\u3001\u3053\u308c\u3092\u884c\u308f\u306a\u3044\u3068\u53cd\u6620\u3055\u308c\u306a\u3044\u3002<br \/>\n\u9006\u306b\u3001\u4ed8\u3051\u306a\u3044\u3068\u3001\u518d\u8d77\u52d5\u3057\u305f\u3089\u5909\u66f4\u304c\u5143\u306b\u623b\u3063\u3061\u3083\u3046\u3002<\/div>\n<p>\n\u5909\u66f4\u5f8c\u306ePort\u3067\u3001webmin\u306b\u30a2\u30af\u30bb\u30b9\u3002<br \/>\nhttp:\/\/[\u30b5\u30fc\u30d0\u30fc]:9999\/<\/p>\n<div>\n<br \/>\nWebmin\u306e\u81ea\u52d5\u66f4\u65b0\u3092\u8a2d\u5b9a\u3002<\/div>\n<p>[Webmin] &#8211; [Webmin Configuration] &#8211; [Upgrade Webmin] &#8211; [Scheduled update]<br \/>\n\u3067\u3001\u6b21\u306e\u3088\u3046\u306b\u5909\u66f4\u3002<br \/>\n[Scheduled updating currently enabled] \u300cYes\u300d<br \/>\n[Only report when an update is done] \u300cChecked\u300d<br \/>\n[Email update report to] \u300croot\u300d<\/p>\n<p>\u3042\u3068\u306f\u3001webmin\u3068\u306e\u901a\u4fe1\u3092\u6697\u53f7\u5316\u3057\u305f\u3044\uff01<br \/>\n[Webmin] &#8211; [Webmin Configuration] &#8211; [SSL Encryption]<br \/>\n\u3093\uff1f\u4f55\u304b\u8db3\u308a\u306a\u3044\uff1f<br \/>\n\u3067\u3001[download and install]\u3092\u30af\u30ea\u30c3\u30af<\/p>\n<p>\u8a2d\u5b9a\u9805\u76ee\u304c\u51fa\u3066\u304d\u305f\u3089\u3001<br \/>\n[Enable SSL if available?] Yes<br \/>\n[Redirect non-SSL requests to SSL mode?] Yes<\/p>\n<p>\u4ee5\u4e0a\uff01<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u3084\u3063\u3071\u308a\u4fbf\u5229\u306awebmin\u3092\u5165\u308c\u3066\u304a\u304f\u3002 \u307e\u305a\u3001yum\u3092\u4f7f\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff06\u66f4\u65b0\u3092\u3057\u305f\u3044\u306e\u3067\u3001\u6b21\u306e\u30da\u30fc\u30b8\u306e\u6307\u793a\u306b\u5f93\u3044\u4f5c\u696d\u3092\u9032\u3081\u308b\u3002 http:\/\/www.webmin.com\/rpm.html \u300cUsing the We [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[130],"tags":[],"class_list":["post-97","post","type-post","status-publish","format-standard","hentry","category-130"],"_links":{"self":[{"href":"https:\/\/jikoman.sin-cos.com\/blog\/wp-json\/wp\/v2\/posts\/97","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jikoman.sin-cos.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jikoman.sin-cos.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jikoman.sin-cos.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jikoman.sin-cos.com\/blog\/wp-json\/wp\/v2\/comments?post=97"}],"version-history":[{"count":0,"href":"https:\/\/jikoman.sin-cos.com\/blog\/wp-json\/wp\/v2\/posts\/97\/revisions"}],"wp:attachment":[{"href":"https:\/\/jikoman.sin-cos.com\/blog\/wp-json\/wp\/v2\/media?parent=97"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jikoman.sin-cos.com\/blog\/wp-json\/wp\/v2\/categories?post=97"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jikoman.sin-cos.com\/blog\/wp-json\/wp\/v2\/tags?post=97"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}