点击这里给我发消息 点击这里给我发消息
首页 > 行业资讯 > Windows>详细内容

FreeBSD安装Webmin教程

添加时间:2013-12-19
    相关阅读: 系统
    本文讲述如何在FreeBSD系统中安装Webmin,教程如下:

一、升级ports

#portsnap fetch update

二、执行Webmin命令

# cd /usr/ports/sysutils/webmin
# make install clean

三、配置Webmin服务

# vi /etc/rc.conf

把下面的内容添加到rc.conf文件中

webmin_enable=”YES”

保存并关闭文件。

或者运行

#echo "webmin_enable=\"YES\"" >> /etc/rc.conf

效果与上面的方法一样。

四、安装并设置Webmin

# cd /usr/local/lib/webmin/
# ./setup.sh

在屏幕上会出现下面内容:

***********************************************************************

*            Welcome to the Webmin setup script, version 1.570        *

***********************************************************************

Webmin is a web-based interface that allows Unix-like operating

systems and common Unix services to be easily administered.

Installing Webmin in /usr/local/lib/webmin …

***********************************************************************

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.

Log file directory [/var/log/webmin]: (默认设置直接按Enter回车键即可) ***********************************************************************

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): (默认设置直接按Enter回车键即可) Testing Perl …

Perl seems to be installed ok

***********************************************************************

Operating system name:    FreeBSD

Operating system version: 8.0

***********************************************************************

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): (默认设置直接按Enter回车键即可) Login name (default admin): (默认设置直接按Enter回车键即可) Login password: (输入密码) Password again: (再次输入密码) Use SSL (y/n):  (是否使用SSL方式登录Webmin,输入y或者n) ***********************************************************************

Creating web server config files..

..done

Creating access control file..

..done

Creating start and stop scripts..

..done

Copying config files..

..done

Changing ownership and permissions ..

..done

Running postinstall scripts ..

PID file /var/log/webmin/miniserv.pid does not exist

: Permission denied

syslog-ng: not found

: Permission denied

..done

Enabling background status collection ..

PID file /var/log/webmin/miniserv.pid does not exist

..done

五、启动Webmin服务

# /usr/local/etc.rc.d/webmin start

六、打开浏览器,输入

https://服务器IP地址:10000

出现Webmin登录界面。

至此,成功安装Webmin。

 

咨询热线:020-85648757 85648755 85648616 0755-27912581 客服:020-85648756 0755-27912581 业务传真:020-32579052
广州市网景网络科技有限公司 Copyright◎2003-2008 Veelink.com. All Rights Reserved.
广州商务地址:广东省广州市黄埔大道中203号(海景园区)海景花园C栋501室
= 深圳商务地址:深圳市宝源路华丰宝源大厦606
研发中心:广东广州市天河软件园海景园区 粤ICP备05103322号 工商注册