Установка WebMin FreeBSD

| 25.10.2013

УстанавливаемWebmin:

# cd /usr/ports/sysutils/webmin

# make config-recursive && make install && make clean && rehash

В конце видим:

Installing rc.d startup script(s)

Registering installation for webmin-1.510

Cleaning for p5-Authen-PAM-0.16_1

Cleaning for webmin-1.510

Конфигурация Webmin.

Любым редактором (я ee пользую) редактируем файл /etc/rc.conf, добавляем в конец

webmin_enable="YES"

Для установки всех необходимых конфигов и т.д.

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

Отвечаем на следующие вопросы:

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

* Welcome to the Webmin setup script, version 1.510 *

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

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: 7.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): [y]

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

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 ..

syslog-ng: not found

..done

 Запуск Webmin.

Сразу после установки запустим Webmin

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

 Для доступа к Webmin-у браузере набираем

 https://your-domain.com:10000/

 Должно работать! 🙂

 

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *

9 − 3 =

Подтвердите, что Вы не бот — выберите человечка с поднятой рукой: