Google Plus

Howto- Install Webmin in FreeBSD

Written by Mel Kham on . Posted in Frequently Asked Questions, Unix Tutorials

Question: How to install Webmin in FreeBSD 8.x en 9.x ?

Answer:  Before to begin, you need to install Perl,  do that using the command

# cd /usr/ports/lang/perl5.10 # make;make install;make clean

Install   Webmin

FreeBSD# cd /usr/ports/sysutils/webmin
 FreeBSD# make install clean

Output

Ports system will fetch and build webmin for you. After that’s done. You’ll need to run the webmin setup.sh script, like shown below:

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

***********************************************************************
* Welcome to the Webmin setup script, version 1.5xx *
***********************************************************************
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]: /press Enter here to accept default/

***********************************************************************
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): /press Enter here to accept default/

Testing Perl …
Perl seems to be installed ok

***********************************************************************
Operating system name: FreeBSD
Operating system version: 8.x

***********************************************************************
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): /press Enter here to accept default, or type your own choice/
Login name (default admin): /press Enter here to accept default/
Login password: /set your password here/
Password again: /retype your password here/
Use SSL (y/n): y /type y here to use SSL for the web interface, otherwise, type n here/
***********************************************************************
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 ..
..done

Script is now completed. You start webmin by running the following command:

 FreeBSD# /usr/local/etc/webmin/start

If this command reports no errors, you can point your browser to

 https://your_host_name:10000
For questions please refer to our Q/A forum at : http://ask.unixmen.com

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

SK

|

Yes we can. What kind of help you need? We are doing outsourcing and technical support for Linux and Open source worldwide. To know more about the details visit here.

ClintB

|

After install as above, run shell script /opt/Citrix/ICAClient/wfica.sh manually and note lib errors still occur. I had the x64 motif loaded but had to manually install the x86 too. Got that from http://rpmfind.net/linux/rpm2html/search.php?query=libXm.so.4 Even after that, I still had to do a “yum install alsa-lib.i686 alsa-lib.x86_64″ to resolve any additional libasound.so.2 errors. Once those two lib issues were resolved, Citix Web Interface launched apps fine by telling browser to open launch.ica using /opt/Citrix/ICAClient/wfica.sh. Good luck Ernesto!

AD

|

I need some Help on Linux,can you guide me ?

Edson Carlos

|

In debian no found. I need link download install in linux debian

jacky can

|

You can actually unzip your secret archive by leaving out the -t option, instead using:

unzip newPhoto.jpg

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .