webmin 的安装

2024-04-24 13:08
文章标签 安装 webmin

本文主要是介绍webmin 的安装,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

经常来逛CU,在这里学习到了不少东西!还得感谢各位前辈,大虾的帮助。今天上午闲来无事,想写点东东!所以准备把我等菜鸟在学习FreeBSD过程中一些好的好的心得写下来,以供交流!今天我们一起来学习一下用WebMin来管理FreeBSD,实现GUI远程操作管理。
功能:可以用浏览器来管理FreeBSD系统,一个字“爽”。
安装需求:PREL 5.0以上。
安装环境:FreeBSD+Apache2.0+PHP5.0+MYQL
安装示范版本:WebMin-1.260
软件下载:
http://nchc.dl.sourceforge.net/s ... webmin-1.260.tar.gz
一、安装过程:
1.将下载来的webmin-1.260.tar.gz上传到/home/user/app目录里,以 tar zxvf webmin-1.260.tar.tar 解开压缩。(最好不要把webmin-1.260.tar.gz放在/tmp目录,如果到时WebMin哪天起动不了了,不要来找我哟!^_^)
2.解开压缩后,我们是不是发现app目录下面是不是多出来webmin-1.260对我们要的就是它啦!文件名这么长,太麻烦了,好吧!那我们先改名方便第一嘛!mv  webmin-1.260  webmin改好了我们就可以用cd  webmin访问了,进入目录后执行./setup.sh.
4.接下来只要逐一回答问题就可以完成安装手续了,框线内有颜色的部份setup.sh问的问题,中文部份是我的说明。通常采用缺省值就可以,需要修改的地方我会提出建议。
***********************************************************************
* Welcome to the Webmin setup script, version 1.260 *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.
Installing Webmin in /root/webmin-1.260 ...
***********************************************************************
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]: /usr./local/webmin安装目录(我这里是放在了/usr/local/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): ###prel 安装目录
Testing Perl ...
Perl seems to be installed ok
***********************************************************************
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.
- The hostname of this system that the web server should use.
- If the webserver should use SSL (if your system supports it).
- Whether to start webmin at boot time.
Web server port (default 10000):1024###设置访问端口,缺省值是10000
个人建议改一下,主要是为了系统安全起见,设1024以上,也不要和其它的端口号相同

Web server port (default 10000):
Login name (default admin): ### 管理员帐号,个人建议不要要缺省值,改一下为好!

Login password: ### 密码 Password again: ###确认密码
Web server hostname (default linux): ###主机名称The Perl SSLeay library is not installed. SSL not available.
Start Webmin at boot time (y/n): y ###问你系统启动时要不要执行WEBMIN当然的要了,所以选Y
Creating web server 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 (那一天要把webmin 删除就需要运行./uninstall.sh了,呵呵/)

***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to
http://localhost:1024
and login with the name and password you entered previously.
到这里就算OK了。如果中间不出错的话。
下面我们就登录界面:
http://IP:port

这篇关于webmin 的安装的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/931843

相关文章

Python FastAPI入门安装使用

《PythonFastAPI入门安装使用》FastAPI是一个现代、快速的PythonWeb框架,用于构建API,它基于Python3.6+的类型提示特性,使得代码更加简洁且易于绶护,这篇文章主要介... 目录第一节:FastAPI入门一、FastAPI框架介绍什么是ASGI服务(WSGI)二、FastAP

2025最新版Python3.13.1安装使用指南(超详细)

《2025最新版Python3.13.1安装使用指南(超详细)》Python编程语言自诞生以来,已经成为全球最受欢迎的编程语言之一,它简单易学易用,以标准库和功能强大且广泛外挂的扩展库,为用户提供包罗... 目录2025最新版python 3.13.1安装使用指南1. 2025年Python语言最新排名2.

Python依赖库的几种离线安装方法总结

《Python依赖库的几种离线安装方法总结》:本文主要介绍如何在Python中使用pip工具进行依赖库的安装和管理,包括如何导出和导入依赖包列表、如何下载和安装单个或多个库包及其依赖,以及如何指定... 目录前言一、如何copy一个python环境二、如何下载一个包及其依赖并安装三、如何导出requirem

Windows环境下安装达梦数据库的完整步骤

《Windows环境下安装达梦数据库的完整步骤》达梦数据库的安装大致分为Windows和Linux版本,本文将以dm8企业版Windows_64位环境为例,为大家介绍一下达梦数据库的具体安装步骤吧... 目录环境介绍1 下载解压安装包2 根据安装手册安装2.1 选择语言 时区2.2 安装向导2.3 接受协议

IDEA与JDK、Maven安装配置完整步骤解析

《IDEA与JDK、Maven安装配置完整步骤解析》:本文主要介绍如何安装和配置IDE(IntelliJIDEA),包括IDE的安装步骤、JDK的下载与配置、Maven的安装与配置,以及如何在I... 目录1. IDE安装步骤2.配置操作步骤3. JDK配置下载JDK配置JDK环境变量4. Maven配置下

jdk21下载、安装详细教程(Windows、Linux、macOS)

《jdk21下载、安装详细教程(Windows、Linux、macOS)》本文介绍了OpenJDK21的下载地址和安装步骤,包括Windows、Linux和macOS平台,下载后解压并设置环境变量,最... 目录1、官网2、下载openjdk3、安装4、验证1、官网官网地址:OpenJDK下载地址:Ar

Ubuntu 22.04 服务器安装部署(nginx+postgresql)

《Ubuntu22.04服务器安装部署(nginx+postgresql)》Ubuntu22.04LTS是迄今为止最好的Ubuntu版本之一,很多linux的应用服务器都是选择的这个版本... 目录是什么让 Ubuntu 22.04 LTS 变得安全?更新了安全包linux 内核改进一、部署环境二、安装系统

从零教你安装pytorch并在pycharm中使用

《从零教你安装pytorch并在pycharm中使用》本文详细介绍了如何使用Anaconda包管理工具创建虚拟环境,并安装CUDA加速平台和PyTorch库,同时在PyCharm中配置和使用PyTor... 目录背景介绍安装Anaconda安装CUDA安装pytorch报错解决——fbgemm.dll连接p

mac安装nvm(node.js)多版本管理实践步骤

《mac安装nvm(node.js)多版本管理实践步骤》:本文主要介绍mac安装nvm(node.js)多版本管理的相关资料,NVM是一个用于管理多个Node.js版本的命令行工具,它允许开发者在... 目录NVM功能简介MAC安装实践一、下载nvm二、安装nvm三、安装node.js总结NVM功能简介N

python安装whl包并解决依赖关系的实现

《python安装whl包并解决依赖关系的实现》本文主要介绍了python安装whl包并解决依赖关系的实现,文中通过图文示例介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面... 目录一、什么是whl文件?二、我们为什么需要使用whl文件来安装python库?三、我们应该去哪儿下