[NOTE: There is a security vulnerability that you should patch as soon as possible or upgrade to the latest version of Webmin. Details.]
You're probably thinking, "Oh great, another tool to learn," but Webmin is different. It's a web-based Linux management tool that streamlines your Linux management tasks to a few clicks, dropdowns, and prompted fill-in-the-blank fields, which untangles the web of complexity associated with common applications such as Apache, Perl, and Sendmail. Webmin enables you to manage your Linux system's hardware and software, native and third-party applications, Webmin itself, and even log in with a web-based text terminal for those command-line purists.
My favorite thing about Webmin is that I don't have to learn every minute detail of an application to be able to administer it. And setting up and configuring databases, such as MySQL, is a snap.
It's easy to love Webmin because of its ease of installation, its well-organized layout, its extensive list of supported applications, and its support for more than 80 Linux distributions. I install it on every Linux system I manage and have for more than 20 years. My favorite thing about Webmin is that I don't have to learn every minute detail of an application to be able to administer it. And setting up and configuring databases, such as MySQL, is a snap. In fact, it's my favorite method of working with MySQL. And that's a testament to Webmin's beauty and power because I'm somewhat of a command-line bigot.
Installing Webmin
If you're a purist, you can download the tarball from webmin.com, but doing so doesn't give you that much extra control over options. You can choose where to place a few files, but save yourself the effort on RHEL, CentOS, and Fedora by installing the RPM:
$ wget https://www.webmin.com/download/rpm/webmin-current.rpm
$ sudo rpm -Uvh webmin-1.XXX-x.noarch.rpm
If your system doesn't have Perl, then you'll have to satisfy that dependency before installing Webmin. You might also have to install the Encode::Detect
Perl module before installing Webmin:
$ sudo yum install perl-Encode-Detect
Once installed, the installation script directs you to your new Webmin instance at http://<servername>:10000
. Log in with your system's root password.
You can change the port, username, and password on the Webmin Configuration option (discussed later). Please do make these changes to the username and password.
Navigating Webmin
Webmin, by default, starts you out with the so-called "Authentic" theme, with the navigation frame on the left side of the page:
I much prefer the "Old Webmin Theme," but switching to it breaks the current version, which is 1.920 as of this writing.
Webmin not only provides system administrators with an abundant list of management tools, but it also comes with its own internal configuration and management options:
Selecting one of these links opens a number of editable options. For example, below I selected the Webmin Configuration option. As you can see, there are several Webmin behavioral and configuration options available:
Rather than showing screenshots of every selection from Webmin, I'll let you discover them on your own, but there is one worth taking a closer look at for this overview: Others. Believe it or not, this group of applets is one that I spend a lot of time in. Below, I've selected File Manager from the list to illustrate the depth and richness of these utilities. The volunteer developers have done an excellent job in creating tools that are useful to busy system administrators:
Other notable applets on the Others page are Command Shell, Perl Modules, System and Server Status, Text Login, and Upload and Download. The Command Shell option appears as a root login prompt in the upper left of your screen when selected, containing an interactive shell and not a single command at a time service.
With Perl Modules, you can install Perl modules from CPAN from multiple sources: CPAN itself, local files, URLs, and uploaded files. You can also see a list of your currently installed modules, and optionally install a list of suggested modules with a single click.
The System and Server page provides you with a snapshot of the current status of installed services. There is a drop-down from which you can select a new service to monitor on this screen.
Text Login is a valuable option that provides you with an interactive console terminal login screen. You must have Python installed for this feature to function properly. Also, you might have to create a symbolic link from python to your python executable because the configuration looks for python rather than python2. This is what I did:
$ sudo ln -s /usr/bin/python2 /usr/bin/python
This command satisfies the dependency for the applet.
Finally, the Upload and Download page is valuable for remote uploading and downloading files without access to a secure FTP (SFTP) or secure copy (SCP) client.
NOTE: If you use Webmin with a Linux server that can be accessed from the internet, please protect this powerful resource by enabling SSL on the Webmin Configuration page, and also enabling multi-factor authentication if possible.
Telling a twice-told tale of Webmin success
One of the best testaments to Webmin's power and capabilities is a true story from almost 20 years ago. I had a friend who needed to configure Sendmail on about two dozen Linux systems for a client. He had no clue about Sendmail, so he called me. Rather than trying to walk him through configuring Sendmail over the phone, I walked him through installing Webmin on his first server and directed him to the Sendmail applet. There was a long pause on the phone when he looked at the configuration options and how easy it was going to be. I thought I'd lost the connection when he finally spoke and said, "Oh man, this is a lifesaver. Thank you so much. I have to go." He bought me a very expensive dinner the next time he came to town.
Summing up
I won't tell you that Webmin is the ultimate system administration application, or that it solves every problem, but I will tell you that having it is far better than not having it. Webmin has saved me countless hours over the past 20 or so years. As with any application that gives you this much power, you have to take the time to secure it. Use multi-factor authentication, SSL, SELinux, a VPN, and caution, because Webmin gives you root-level access to everything. Remember that with great power comes great ability.
[Want to try out Red Hat Enterprise Linux? Download it now for free.]
저자 소개
Ken has used Red Hat Linux since 1996 and has written ebooks, whitepapers, actual books, thousands of exam review questions, and hundreds of articles on open source and other topics. Ken also has 20+ years of experience as an enterprise sysadmin with Unix, Linux, Windows, and Virtualization.
Follow him on Twitter: @kenhess for a continuous feed of Sysadmin topics, film, and random rants.
In the evening after Ken replaces his red hat with his foil hat, he writes and makes films with varying degrees of success and acceptance. He is an award-winning filmmaker who constantly tries to convince everyone of his Renaissance Man status, also with varying degrees of success and acceptance.
채널별 검색
오토메이션
기술, 팀, 인프라를 위한 IT 자동화 최신 동향
인공지능
고객이 어디서나 AI 워크로드를 실행할 수 있도록 지원하는 플랫폼 업데이트
오픈 하이브리드 클라우드
하이브리드 클라우드로 더욱 유연한 미래를 구축하는 방법을 알아보세요
보안
환경과 기술 전반에 걸쳐 리스크를 감소하는 방법에 대한 최신 정보
엣지 컴퓨팅
엣지에서의 운영을 단순화하는 플랫폼 업데이트
인프라
세계적으로 인정받은 기업용 Linux 플랫폼에 대한 최신 정보
애플리케이션
복잡한 애플리케이션에 대한 솔루션 더 보기
오리지널 쇼
엔터프라이즈 기술 분야의 제작자와 리더가 전하는 흥미로운 스토리
제품
- Red Hat Enterprise Linux
- Red Hat OpenShift Enterprise
- Red Hat Ansible Automation Platform
- 클라우드 서비스
- 모든 제품 보기
툴
체험, 구매 & 영업
커뮤니케이션
Red Hat 소개
Red Hat은 Linux, 클라우드, 컨테이너, 쿠버네티스 등을 포함한 글로벌 엔터프라이즈 오픈소스 솔루션 공급업체입니다. Red Hat은 코어 데이터센터에서 네트워크 엣지에 이르기까지 다양한 플랫폼과 환경에서 기업의 업무 편의성을 높여 주는 강화된 기능의 솔루션을 제공합니다.