FreeBSD 11 webmin install
# 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 по умолчанию, если не меняли, во время установки
И немного картинок
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
Что дальше делать?
Скорее всего версия perl5 не соответствует требованиям.
УдалитьТак и есть, поэтому на 10 и ниже нельзя обновлять порты. Без обновления все работает, а вебмин потом сам обновится без ругательств.
Удалить