1、从官方网下载 webmin
2、cd opt目录下,并将文件上传到该目录下
3、tar –xzvf webmin-1.490.tar.gz解压
4、进入 webmin-1.490、
5、运行 ./setup.sh
***********************************************************************
* Welcome to the Webmin setup script, version 1.490 *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.
Installing Webmin in /opt/webmin-1.490 ...
***********************************************************************
Webmin uses separate directories for configuration files and log files.
Unless you want to run multiple versions of Webmin at the same time
you can just accept the defaults.
Config file directory [/etc/webmin]:
Log file directory [/var/webmin]:
***********************************************************************
Webmin is written entirely in Perl. Please enter the full path to the
Perl 5 interpreter on your system.
Full path to perl (default /usr/bin/perl):
Testing Perl ...
Perl seems to be installed ok
***********************************************************************
Operating system name: CentOS Linux
Operating system version: 5.2
***********************************************************************
Webmin uses its own password protected web server to provide access
to the administration programs. The setup script needs to know :
- What port to run the web server on. There must not be another
web server already using this port.
- The login name required to access the web server.
- The password required to access the web server.
- If the webserver should use SSL (if your system supports it).
- Whether to start webmin at boot time.
Web server port (default 10000):
Login name (default admin): root
Login password:
Password again:
Use SSL (y/n): y
Start Webmin at boot time (y/n): y
***********************************************************************
Creating web server config files..
..done
Creating access control file..
..done
Inserting path to perl into scripts..
..done
Creating start and stop scripts..
..done
Copying config files..
..done
Configuring Webmin to start at boot time..
Created init script /etc/rc.d/init.d/webmin
..done
Creating uninstall script /etc/webmin/uninstall.sh ..
..done
Changing ownership and permissions ..
..done
Running postinstall scripts ..
..done
Attempting to start Webmin mini web server..
Starting Webmin server in /opt/webmin-1.490
Pre-loaded WebminCore
..done
***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to
https://power:10000/
and login with the name and password you entered previously.
Because Webmin uses SSL for encryption only, the certificate
it uses is not signed by one of the recognized CAs such as
Verisign. When you first connect to the Webmin server, your
browser will ask you if you want to accept the certificate
presented, as it does not recognize the CA. Say yes.
安装成功
6、安装成功后,用https://ip:10000/如果访问不了,就关闭你的防火墙
1) 重启后生效:
开启: chkconfig iptables on
关闭: chkconfig iptables off
2) 即时生效,重启后失效:
开启: service iptables start
关闭: service iptables stop
7、webmin的启动和停止
webmin安装后以服务的形式运行(默认服务端口为:10000),启动和停止和其他服务类似。 。
启动:service webmin start
停止:service webmin stop
重启:service webmin restart
在webmin的安装目录下有一个名为webmin-init的可执行程序,启动和关闭服务程序就靠它了。
启动服务程序命令:webmin-init start;
关闭服务程序命令:webmin-init stop。
8、webmin 管理员口令的更改
例:将webmin管理员root的口令更改为222222
changepass.pl /etc/webmin root 222222 (changepass.pl 位于解压的目录,复制到任何地方调用即可)
其中 /etc/webmin是配置文档的路径,即安装时定义的位置.
分享到:
相关推荐
jenkins-win32-1.490.part1.rar
Git 2.31.1 安装步骤.mht
AltiumDesignerSummer9Build_9.0.0.17654安装与破解方法
git安装教程.rargit安装教程.rargit安装教程.rargit安装教程.rargit安装教程.rargit安装教程.rargit安装教程.rargit安装教程.rargit安装教程.rargit安装教程.rargit安装教程.rargit安装教程.rargit安装教程.rargit...
visualstudio安装教程visualstudio安装教程.txtvisualstudio安装教程.txtvisualstudio安装教程.txtvisualstudio安装教程.txtvisualstudio安装教程.txtvisualstudio安装教程.txtvisualstudio安装教程.txtvisualstudio...
libncurses.so.5是linux系统运行的用到的一个文件,如果在运行的时候提示“libncurses.so.5缺失”,可以下载libncurses....libncurses.so.5安装方法 在命令行中输入: sudo apt-get install libncurses5-dev make m
1. 下载Tidy2.dll文件。这个文件通常作为压缩包提供,如您提供的文件列表所示,这里只有一个名为"Tidy2.dll"的文件。 2. 解压文件。如果你下载的是压缩包,你需要使用解压工具(如WinRAR或7-Zip)打开并提取出Tidy2....
Phone.WearOS.SHM.MOD.1.1.1.181安装到手机.apk
redis-desktop-manager-2019.2.0.exe安装版 redis-desktop-manager-2019.2.0.exe安装版 redis-desktop-manager-2019.2.0.exe安装版 redis-desktop-manager-2019.2.0.exe安装版
apk.1安装程序(通用)
get-pip.py 安装pip
node-v16.16.0-linux-x64.tar.gz jenkins.war(Jenkins-2.346.1,jdk8) jdk-11.0.19_linux-x64_bin.tar.gz jenkins-2.359-1.1.noarch.rpm redis-6.2.12.tar.gz
EMS.QuickPDF.v1.1.For.Delphi.CBC56.CR安装教程.doc
解压缩后会有两个文件:mysql-8.0.18-1.el7.x86_64.rpm-bundle.tar和mysql8安装说明.txt 1、安装 rpm -i 需要安装的包文件名 举例如下: rpm -i example.rpm 安装 example.rpm 包; rpm -iv example.rpm 安装 ...
docker-ce-17.03.2.ce-1.el7.centos.x86_64 Centos7 离线安装包和依赖包、 audit-libs-python-2.7.6-3.el7.x86_64.rpm checkpolicy-2.5-4.el7.x86_64.rpm docker-ce-17.03.2.ce-1.el7.centos.x86_64.rpm docker-ce-...
在完全无互联网连接的情况下,离线安装nginx。 nginx版本号:nginx-1.20.1-2.el7.x86_64 食用方法: 1.解压 2.进入解压目录 3.rpm安装全部 4.安装完成
最近在搭建pxc集群时发现缺少这个包在百度一直找不到合适的,从谷歌下载了下载,欢迎使用qpress-11-1.el7
libaio.so.1-64位下的centos安装mysql时候的依赖包,一般都是32位的比较多、这个版本是64位的包,请放心下载。
2. 检查包是否安装上 rpm -qa rlwrap 3. 修改配置文件 vi .bash_profile 增加:alias sqlplus='rlwrap sqlplus' alias rman='rlwrap rman' alias lsnrctl='rlwrap lsnrctl' 4. 生效: source .bash_profile
2. rpm -ivh mysql-connector-java-8.0.26-1.el7.noarch进行安装 3.安装完成后会在 /usr/share/java下会有mysql-connector-java.jar 4.按你的实际需求,将此mysql-connector-java.jar文件复制到你需要的地方,一班是...