Using the Webmin YUM repository

Linux specific questions/information are gathered here. The main thrust of topics are applied to Centos/RedHat(RH)/Debian/Ubuntu/Gentoo distributives

Using the Webmin YUM repository

Postby lik » Sun Jul 19, 2009 11:23 pm

Using the Webmin YUM repository

If you like to install and update Webmin via RPM, create the /etc/yum.repos.d/webmin.repo file containing :
Code: Select all
[Webmin]
name=Webmin Distribution Neutral
baseurl=http://download.webmin.com/download/yum
enabled=1

You should also fetch and install my GPG key with which the packages are signed, with the command :
Code: Select all
rpm --import http://www.webmin.com/jcameron-key.asc

Then we FIRST install SSLeay, or secure connection to webmin server won't be possible
Code: Select all
yum install perl-Net-SSLeay

Finally we install webmin :
Code: Select all
yum install webmin

All dependencies should be resolved automatically (if any).
lik
Founder
Founder
 
Posts: 497
Joined: Wed Dec 15, 2010 3:21 am

Using the Webmin DEB/APT repository

Postby lik » Tue Dec 01, 2009 7:31 am

Installing on Debian

If you are using the DEB version of webmin, first download the file and then run the command :
Code: Select all
dpkg --install webmin_1.490_all.deb
The install will be done automatically to /usr/share/webmin, the administration username set to root and the password to your current root password. You should now be able to login to Webmin at the URL http://localhost:10000/. Or if accessing it remotely, replace localhost with your system's IP address.

If Debian complains about missing dependencies, you can install them with the command :
Code: Select all
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl
If you are installing on Ubuntu and the apt-get command reports that some of the packages cannot be found, edit /etc/apt/sources.list and make sure the lines ending with universe are not commented out.

Some Debian-based distributions (Ubuntu in particular) don't allow logins by the root user by default. However, the user created at system installation time can use sudo to switch to root. Webmin will allow any user who has this sudo capability to login with full root privileges.

If you want to connect from a remote server and your system has a firewall installed, see this page for instructions on how to open up port 10000.

Using the Webmin APT repository

If you like to install and update Webmin via APT, edit the /etc/apt/sources.list file on your system and add the line :
Code: Select all
deb http://download.webmin.com/download/repository sarge contrib

You should also fetch and install my GPG key with which the repository is signed, with the commands :
Code: Select all
cd /root
wget http://www.webmin.com/jcameron-key.asc
apt-key add jcameron-key.asc

You will now be able to install with the commands :
Code: Select all
apt-get update
apt-get install webmin

All dependencies should be resolved automatically.
lik
Founder
Founder
 
Posts: 497
Joined: Wed Dec 15, 2010 3:21 am

Install Webmin on FreeBSD (pkg_add way)

Postby lik » Fri May 13, 2011 6:28 am

To install Webmin on FreeBSD one can use ports (/usr/ports/sysutils/webmin) OR pkg_add way:
Code: Select all
pkg_add -rv webmin

Execute initial configuration:
Code: Select all
/usr/local/lib/webmin/setup.sh

Enable it on boot:
Code: Select all
echo 'webmin_enable="YES"' >> /etc/rc.conf

Start Webmin:
Code: Select all
/usr/local/lib/webmin/setup.sh
lik
Founder
Founder
 
Posts: 497
Joined: Wed Dec 15, 2010 3:21 am


Return to Linux specific

 


  • Related topics
    Replies
    Views
    Last post
cron