One of the challenges from managing the Windows environment to managing your Linux environment is that you need to learn to take advantage of new tools. As an administrator, you want to understand the details of the operating system to maximize its effectiveness. However, when you are still in the learning phase, you need to complete the specific work.
To speed up your progress on Linux, we'll install a program called Webmin. As Webmin.com said: "Webmin is a Web-based Unix system management interface. With any browser that supports forms and forms (and the Java required by the File Manager module), you can set up user accounts, Apache, DNS, file shares, and so on. Webmin includes a simple Web server and many CGI programs that can directly modify system files, such as/etc/inetd.conf and/etc/passwd. The WEB server and all CGI programs are written in Perl 5 and do not use any non-standard Perl modules. ”
Webmin can actually run on all Unix-like platforms, including Linux, AIX, HPUX, Solaris, OS X, and so on. It has a Web front end that can accomplish many of the management tasks in Linux. It can be run locally or remotely in any graphical browser. Webmin uses SSL to ensure security and prevent interception. When you learn Linux management, Webmin will save you a lot of time. Webmin can also help you with tedious tasks that are not automatically performed. The Webmin is extensible. The author provides a development wizard, and some third-party modules have appeared. You can also design your own modules so that the Webmin can always be adjusted to your needs.
Installing Webmin
The first step to using Webmin is to install. Webmin is included in a handful of distributions, but downloading from the Webmin site is simple.
When writing this article, the latest version of Webmin is 1.90. Depending on the Linux distribution you are using, the correct installation methods are different. If you are using Red Hat Linux or one of the Unitedlinux releases (SuSE, Turbo, Connectiva, or caldear), the easiest way to do this is to use the RPM installation method. If you are using a different distribution, then you need to read the documentation for your release and Webmin installation instructions to choose the best way to install it. Below we assume that the installation is done in RPM mode.
First check to see if Webmin is already installed on your system. In the text terminal, enter:
Install packages
RPM-UVH webmin-1.090-1.noarch.rpm
A progress bar with a # tag is output when a lengthy update is made.
RPM NoarchYou will notice that Webmin is listed as a "Noarch" package. Because RPM is a binary file, they are usually compiled for a particular architecture, such as I386 or PPC. Installing packages on the wrong architecture can result in incorrect results. Because Webmin is written in Perl, and Perl is architecture-Independent, Webmin is identified as "Noarch".
When Webmin is installed, it is enabled by default. However, this installation does not have SSL enabled. SSL requires the installation of a Perl module called Net::ssleay. If this module is not installed, the Webmin is safe only when it is running from the local console. At the end of this article, we will briefly introduce the safe use of Webmin.
practical Extraction and Reporting Language (Perl)Perl is a multi-platform interpretive programming language that emerged in the 1987. It can be used on a variety of platforms, including Windows, with sophisticated scripting capabilities. Perl's strengths lie in text processing, which is widely used in Web CGI programming. Perl can be extended by adding modules, which are actually libraries of functions and are written in Perl. Most modules, in fact including Perl itself, can be freely obtained with the permission of the artistic License.
using Webmin
Use your favorite Web browser to access the Webmin. Both the file browser and the TELNET/SSH client are applet-based and require Java Runtime environment to be installed on your browser. These two tools are convenient, but not indispensable. All the remaining modules have no special requirements.
Point your browser to port 10000 of the system to start using Webmin. In the local system's browser, you should enter Http://localhost.localdomain:10000/. The first thing you'll see is a login screen.
Webmin users are separate from the operating system's users. This allows you to set up a managed user without a regular Unix authentication mechanism through Webmin. However, if you want some users to be able to use Webmin, you can add them to the Webmin user list and let Webmin authenticate them with the Unix tool instead of using Wemin's internal authentication mechanism. You can control each user's access to the Webmin module. For example, Helpdesk employees can only use the password feature, while other employees can access all modules.
After the installation is complete, the root user is automatically created with the password as the root password of the system. Webmin is based on log logging, so in a multi-administrator environment, you might want to create a group of administrators with root privileges and create users for each person who uses the system. You must be logged in as root for the first time.
Webmin Form
The first screen you see will be the Webmin Configuration section. Here you can configure the Webmin user, configure the module, and view the activity log. The icons at the top can be toggled between different module forms in Webmin. All modules are configurable, and you can reorganize them to suit your needs.
Users can also use the Webmin
System
Servers
Figure 2. Webmin Server Screen
NetworkingForms provide tools that can be used to configure network hardware and perform complex network controls, such as firewalls. All the tools are going to modify the standard configuration file, so any work you do in Webmin can be done by the corresponding console tool.
HardwareForms are used to configure physical devices, primarily printers and storage devices. Of particular concern is the logical volume management (Logical Volume MANAGEMENT,LVM) tool, which helps you visually manage dynamic volumes on your Linux system.
ClusterThe tools in the form are used to manage the cluster system. The cluster here refers to a set of related systems whose configuration needs to be synchronized. The system can synchronize the configuration of user, group, package and so on during system fault detection. These tools can help you build a thermal error recovery system and other systems that need to be synchronized. Clustering is an advanced topic that may require you to install packages that do not have your own Linux distributions.
OthersThere are a variety of tools in the form that you might find useful. The "Ssh/telnet Login" and "File Manager" tools require applet support and can only be run if the JRE is installed on your browser. The Perl Modules tool lets you follow the development of the Perl module, which connects directly to CPAN on the Internet. The "File Manager" tool provides a browser-like view of the server's file system, and if you are working remotely, you can move and copy files without the memory of your workstation. The Ssh/telnet Login tool is a remote shell console that allows you to access the console via your browser.
Concluding remarks
Webmin is a browser-based management application written in Perl. Webmin is extensible and can be used in other Unix-like operating systems, in addition to Linux. After the installation is complete, you can enter Webmin on a local or remote browser via a specific port, usually 10000. It has a point-and-click interface to complete a variety of Linux management tasks, including user management, network firewalls, and network device configuration.
Webmin is free to install and use, and it's a good tool for managing Linux environments If you used to be a graphical management tool for Windows. The Webmin tool is the front end of a console-based tool, so the configuration effect is consistent with both tools, and they all manage tasks reliably.
Above is