Webmin на FreeBSD

Webmin — это web-интерфейс для удобного администрирования

Unix систем. Используя любой баузер, Вы можете настраивать

аккаунты юзеров, сервер Apache, DNS, файловый сервер и многое другое.

  1. Для начала стоит обновить порты( если вы еще этого не сделали), чтоб иметь последнюю версию (на момент написания статьи – webmin-1.510).
    cd /usr/ports && make update
  2. Устанавливаем собственноWebmin:
    cd /usr/ports/sysutils/webmin
    make install clean

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

    ===> 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
  3. Конфигурация Webmin.Любым редактором (я mc-шный пользую) редактируем файл /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
  4. Запуск Webmin.Сразу после установки запустим Webmin
    /usr/local/etc/rc.d/webmin start

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

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

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

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