To install webmin, follow the following steps.
1. Download the tarball, webmin.x.x.x.tar.gz
2. unzip it, tar -zxvf webmin.x.x.x.tar.gz
3. cd webmin.x.x.x
4. Run the following command and provide necessary informations
./setup.sh /usr/local/webmin
If you want to uninstall, then...
/etc/webmin/uninstall.sh
Thats all. Enjoy
Installing webmin in freeBSD
To install webmin, update your ports, enter:
# portsnap fetch update
Install webmin from /usr/ports/sysutils/webmin, enter:
# cd /usr/ports/sysutils/webmin
# make install clean
Configure webmin
Now, webmin is installed. Start webmin on startup, enter:
# vi /etc/rc.conf
Append following line:
webmin_enable="YES"
You need to run /usr/local/lib/webmin/setup.sh script in order to setup the various config
files, enter:
# /usr/local/lib/webmin/setup.sh
https://your-domain.com:10000/
Changing your webmin passwords
It’s not unusual that, as your FreeBSD server is so stable, you end not knowing what your password was.
Under other systems the location of webmin is clear and most of the documentation will point you to /usr/libexec/webmin or something like that, in FreeBSD, by default (and after some updates) webmin is installed under
/usr/local/lib/webmin-1.300
Where 1.300 is the running version
And it’s configuration file is located at:
/usr/local/etc/webmin
So, to change the password of let’s say user foo to bar you’ll have to type:
/usr/local/lib/webmin-1.300/changepass.pl /usr/local/etc/webmin foo bar
No comments:
Post a Comment