{"id":1473,"date":"2012-11-28T10:37:25","date_gmt":"2012-11-28T01:37:25","guid":{"rendered":"http:\/\/auctionpro.co.kr\/?p=1473"},"modified":"2022-06-23T11:03:40","modified_gmt":"2022-06-23T02:03:40","slug":"linux-%ea%b4%80%eb%a6%ac%ed%94%84%eb%a1%9c%ea%b7%b8%eb%9e%a8-webmin-%ec%84%a4%ec%b9%98","status":"publish","type":"post","link":"https:\/\/www.auctionpro.co.kr\/?p=1473","title":{"rendered":"Linux \uad00\ub9ac\ud504\ub85c\uadf8\ub7a8 webmin \uc124\uce58 (CentOS)"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">There is talk of a security vulnerability. *\ubcf4\uc548\uc5d0 \ucde8\uc57d\ud558\ub2e4\ub294 \uc598\uae30\uac00 \uc788\uc74c<\/h3>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-right is-layout-flex wp-container-core-buttons-is-layout-89b4c9e9 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link\" href=\"https:\/\/www.auctionpro.co.kr\/?p=4037\">Ubuntu Webmin \uc124\uce58\ub85c \uac00\uae30<\/a><\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">1.As I said, if we like to receive future updates we need to add and enable Webmin repository,<br>do to this create a file called \/etc\/yum.repos.d\/webmin.repo and add the following lines to it as a root user.<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \"># vi \/etc\/yum.repos.d\/webmin.repo\n[Webmin]\nname=Webmin Distribution Neutral\n#baseurl=http:\/\/download.webmin.com\/download\/yum\nmirrorlist=http:\/\/download.webmin.com\/download\/yum\/mirrorlist\nenabled=1<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">2.Next, import and install GPG Key for installing signed packages for Webmin. We use Wget command to fetch<br>the key and then import it using rpm import command.<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">sudo rpm --import http:\/\/www.webmin.com\/jcameron-key.asc<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">3.Installing Webmin<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \"># yum install webmin<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">4.Starting Webmin<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \"># systemctl start webmin\n# systemctl stop webmin\n# systemctl status webmin<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">5.Accessing Webmin (firewall or iptables) <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By default Webmin runs on port 10000, so we need to open port on our firewall to access it.<br>The easiest way to open the port on firewall is using iptables rules. Just add the following rule to your existing firewall.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">In case iptables<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \"># iptables -A INPUT -p tcp -m tcp \u2013dport 10000 -j ACCEPT<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">6.iptables restart<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \"># systemctl restart iptables<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">7.URL https:\/\/localhost:10000\/<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"theme:amity nums:false lang:vim decode:true \">ERROR \u2014 DOCUMENT FOLLOWS\nThis web server is running in SSL mode. Try the URL https:\/\/localhost.localdomain:10000\/ instead.<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">8.hosts file setting (Windows)<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">192.168.0.1  localhost.localdomain <\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">9.IP access (if you need)<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \"># vi \/etc\/webmin\/miniserv.conf\nallow=192.168.1.0\/24  #add\nsystemctl restart webmin<\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2012\/11\/Webmin.png\"><img loading=\"lazy\" decoding=\"async\" width=\"333\" height=\"369\" src=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2012\/11\/Webmin.png\" alt=\"\" class=\"wp-image-7705\" srcset=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2012\/11\/Webmin.png 333w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2012\/11\/Webmin-271x300.png 271w\" sizes=\"auto, (max-width: 333px) 100vw, 333px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/06\/Webmin02.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"539\" src=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/06\/Webmin02-1024x539.png\" alt=\"\" class=\"wp-image-7704\" srcset=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/06\/Webmin02-1024x539.png 1024w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/06\/Webmin02-300x158.png 300w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/06\/Webmin02-768x404.png 768w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/06\/Webmin02.png 1445w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>There is talk of a security vulnerability. *\ubcf4\uc548\uc5d0 \ucde8\uc57d\ud558\ub2e4\ub294 \uc598\uae30\uac00 \uc788\uc74c 1.As I said, if we like to receive future updates we need to add <a class=\"mh-excerpt-more\" href=\"https:\/\/www.auctionpro.co.kr\/?p=1473\" title=\"Linux \uad00\ub9ac\ud504\ub85c\uadf8\ub7a8 webmin \uc124\uce58 (CentOS)\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[11],"tags":[],"class_list":["post-1473","post","type-post","status-publish","format-standard","hentry","category-centos"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/1473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1473"}],"version-history":[{"count":0,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/1473\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1473"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1473"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}