К основному контенту

webmin freebsd 11 install


FreeBSD 11 webmin install 

Попробуем установить webmin.


 # portsnap fetch update


Поставим пакет заранее:
 
/usr/ports/security/p5-Net-SSLeay

И начнём!

# whereis webmin
webmin: /usr/ports/sysutils/webmin

# cd  /usr/ports/sysutils/webmin

# make install clean

webmin-1.840.tar.gz  27 MB

Installing webmin-1.840...

After installing Webmin for the first time you should perform the following
steps as root:

* Configure Webmin by running /usr/local/lib/webmin/setup.sh

* Add webmin_enable="YES" to your /etc/rc.conf

* Start Webmin for the first time by running /usr/local/etc/rc.d/webmin start

The parameters requested by setup.sh may then be changed from within Webmin
itself.

***********************************************************************
*            Welcome to the Webmin setup script, version 1.840        *
***********************************************************************
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]:


***********************************************************************
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/local/bin/perl):


 Testing Perl ...
Perl seems to be installed ok

***********************************************************************
Operating system name:    FreeBSD
Operating system version: 11.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):

 Login name (default admin):
 Login password:
Password again:
The Perl SSLeay library is not installed. SSL not available.
***********************************************************************
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 ..



Правим:
# ee /etc/rc.conf
Дописываем
 webmin_enable="YES"

и запускаем первый раз так:

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

и заходим через браузер по адресу машины с портом 10000 по умолчанию, если не меняли, во время установки

И немного картинок















Комментарии

  1. root@srv:/usr/ports/sysutils/webmin# make install clean ===> webmin-1.930 Invalid perl5 version 5.24.
    *** Error code 1

    Stop.
    make: stopped in /usr/ports/sysutils/webmin

    Что дальше делать?

    ОтветитьУдалить
    Ответы
    1. Скорее всего версия perl5 не соответствует требованиям.

      Удалить
    2. Так и есть, поэтому на 10 и ниже нельзя обновлять порты. Без обновления все работает, а вебмин потом сам обновится без ругательств.

      Удалить

Отправить комментарий

Популярные сообщения из этого блога

Настройка принтера HP Laserjet 1020 в ubuntu (kubuntu).

1. Скачиваем необходимый драйвер с официального сайта. $ wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz --2010-01-03 11:19:24-- http://foo2zjs.rkkda.com/foo2zjs.tar.gz Преобразование адреса foo2zjs.rkkda.com... 74.208.41.246 Устанавливается соединение с foo2zjs.rkkda.com|74.208.41.246|:80... соединились. Запрос HTTP послан, ожидание ответа... 200 OK Длина: 1588047 (1,5M) [application/x-tar] Сохраняется в каталог: `foo2zjs.tar.gz'. 100%[============================================================================>] 1 588 047 43,0K/s в 55s 2010-01-03 11:20:19 (28,1 KB/s) - `foo2zjs.tar.gz' сохранён [1588047/1588047] 2. Распаковываем полученный архив: tar zxf foo2zjs.tar.gz cd foo2zjs 3. Теперь компилируем и инсталируем. Файл INSTALL содержит много информации и инструкций. Рекомендуется прочитать. $ make # # Dependencies... # # ... OK! ...

rtorrent

#.rtorrent.rc scgi_port = localhost:5000 min_peers = 10 max_peers = 50 max_uploads = 10 download_rate = 2000K upload_rate = 500K directory = /home/torrents/torrents/ session = /home/torrents/torrents/.rtsession schedule = watch_directory,60,60,load_start=/home/torrents/torrents/watch/*.torrent port_range = 7899-7899 port_random = no check_hash = yes peer_exchange = yes

Unix Toolbox

System Running kernel and system information # uname -a # Get the kernel version (and BSD version) # lsb_release -a # Full release info of any LSB distribution # cat /etc/SuSE-release # Get SuSE version # cat /etc/debian_version # Get Debian version Use /etc/DISTR-release with DISTR= lsb (Ubuntu), redhat, gentoo, mandrake, sun (Solaris), and so on. # uptime # Show how long the system has been running + load # hostname # system's host name # hostname -i # Display the IP address of the host. # man hier # Description of the file system hierarchy # last reboot # Show system reboot history Hardware Informations Kernel detected hardware # dmesg # Detected hardware and boot messages # lsdev # information about installed hardware # dd if=/d...