FreeBSD

Установка и настройка Webmin

ADVERTISEMENT

Webmin — это web-интерфейс для удобного администрирования Unix систем. Используя любой баузер, Вы можете настраивать аккаунты юзеров, сервер Apache, DNS, файловый сервер и многое другое.

ADVERTISEMENT
  • Для начала стоит обновить порты
# cd /usr/ports && make update
  • Устанавливаем Webmin:
# cd /usr/ports/sysutils/webmin && make install clean
  • В конце видим:
===> Registering installation for webmin-1.600
===> Cleaning for p5-IO-Tty-1.10
===> Cleaning for p5-Authen-PAM-0.16_1
===> Cleaning for webmin-1.600
  • Конфигурация Webmin.
# echo 'webmin_enable="YES"' >> /etc/rc.conf
  • Для установки всех необходимых конфигов и т.д.
# /usr/local/lib/webmin/setup.sh
  • Надо будет ответить на несколько вопросов:
***********************************************************************
* Welcome to the Webmin setup script, version 1.600 *
***********************************************************************
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: 9.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
# /usr/local/etc/rc.d/webmin start
  • Для доступа к Webmin-у браузере набираем
https://your-domain.com:10000/

ADVERTISEMENT
Подписаться
Уведомить о
guest

2 Comments
Новые
Старые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии