Webmin: [hsy75]感觉是很强大的linux的工具:
Basic:
Webmin is a web-based interface for system administration for Unix.
Using any browser that supports tables and forms (and Java for the File
Manager module), you can setup user accounts, Apache, DNS, file sharing
and so on.
Webmin consists of a simple web server, and a number of CGI programs
which directly update system files like /etc/inetd.conf and
/etc/passwd. The web server and all CGI programs are written in
Perl version 5, and use no non-standard Perl modules.
ref:http://www.webmin.com/intro.html
Install:
1
download the Webmin rpm
file from Webmin Web sites
2 # rpm –ivh webmin-1.5X0-1.noarch.rpm
【hsy75】有时候执行出错,你需要再下载一次,直接进文件夹安装:firefox for linux的下载目录如下:/home/【UserName】/Download
在这里再执行一遍安装rpm:
warning: webmin-1.550-1.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 11f63c51
Preparing... ########################################### [100%]
Operating system is Redhat Linux
1:webmin ########################################### [100%]
Webmin install complete. You can now login to http://localhost.localdomain:10000/ 【HSY75案】这里:localhost.localdomain 是指你当前的本地机器的IP地址as root with your root password.
How to use:
1 配置和修改
打开 https://XX.XX.XX.XX:10000/ 使用root 身份登陆后,
1.1 先用ifconfig 命令查看当前机器IP地址:
【hsy75案】[hsy75@localhost ~]$ ifconfigeth1 Link encap:Ethernet HWaddr 00:0C:29:9F:16:8F inet addr:172.16.151.195 Bcast:172.16.151.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fe9f:168f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:51922 errors:0 dropped:0 overruns:0 frame.:0 TX packets:8551 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:22964658 (21.9 MiB) TX bytes:705609 (689.0 KiB) Interrupt:19 Base address:0x20a4
1.2 在firefox中输入:
http://172.16.151.195:10000/然后,用root的用户名和密码就可以登录配置页了。
【hsy75案】下面是登录首页显示系统信息:
System hostname localhost.localdomain
Operating system Redhat Linux Fedora 11
Webmin version 1.550
Time on system Mon May 23 19:15:11 2011
Kernel and CPU Linux 2.6.29.4-167.fc11.i686.PAE on i686
Processor information Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz, 1 cores
System uptime 17 hours, 37 minutes
Running processes 144
CPU load averages 0.00 (1 min) 0.01 (5 mins) 0.00 (15 mins)
CPU usage 0% user, 3% kernel, 0% IO, 97% idle
Real memory 498.66 MB total, 218.80 MB used
Virtual memory 1.97 GB total, 11.71 MB used
Local disk space 24.75 GB total, 4.71 GB used
Package updates 475 package updates are available
ref:http://www.linkwan.com/gb/tech/htm/870.htm
Webmin 来配置: samba:
相关命令:
1 yum:
REF:
ref:http://www.webmin.com/intro.htmlref: http://www.linkwan.com/gb/tech/htm/870.htmref: http://www.onlyblog.com/blog2/qingye/9380.html