some remarks on webmin
Gertjan Vinkesteijn
fed19 at xs4all.nl
Tue Apr 13 22:35:22 UTC 2004
Webmin is a pretty neat program to do system management and cd burning.
However as you ask for webmin at freshmeat.net you initially don't get
it. Go to their homepage (in India) and download it from there.
Under 1.91 one cannot use the rpm package, it reconiges Fedora 1 and
Fedora 2 only, so download the tarball and make the following change:
[gertjan at gershwin webmin-1.140]$ diff -C 1 os_list.txt*
*** os_list.txt 2004-04-14 00:04:52.092762450 +0200
--- os_list.txt.orig 2004-04-06 01:24:06.000000000 +0200
***************
*** 27,30 ****
Redhat Linux Fedora 1 redhat-linux 10.0
$etc_issue =~ /red\s*hat.*\s10(\.0)?\s/i || `cat /etc/redhat-release
/etc/fedora-release 2>/dev/null` =~ /red\s*hat.*\s10(\.0)?\s/i || `cat
/etc/redhat-release /etc/fedora-release 2>/dev/null` =~ /Fedora.*\s1\s/i
! Redhat Linux Fedora 1.91 redhat-linux 11.0
$etc_issue =~ /red\s*hat.*\s10(\.0)?\s/i || `cat /etc/redhat-release
/etc/fedora-release 2>/dev/null` =~ /red\s*hat.*\s10(\.0)?\s/i || `cat
/etc/redhat-release /etc/fedora-release 2>/dev/null` =~ /Fedora.*\s1\s/i
! Redhat Linux Fedora 2 redhat-linux 12.0
`cat /etc/redhat-release /etc/fedora-release 2>/dev/null` =~
/Fedora.*\s2\s/i
Redhat Linux 2.1AS redhat-linux 7.3 `cat
/etc/redhat-release 2>/dev/null` =~ /(Advanced\s+Server.*2\.1)|(AS.*2\.1)/i
--- 27,29 ----
Redhat Linux Fedora 1 redhat-linux 10.0
$etc_issue =~ /red\s*hat.*\s10(\.0)?\s/i || `cat /etc/redhat-release
/etc/fedora-release 2>/dev/null` =~ /red\s*hat.*\s10(\.0)?\s/i || `cat
/etc/redhat-release /etc/fedora-release 2>/dev/null` =~ /Fedora.*\s1\s/i
! Redhat Linux Fedora 2 redhat-linux 11.0
`cat /etc/redhat-release /etc/fedora-release 2>/dev/null` =~
/Fedora.*\s2\s/i
Redhat Linux
Then there is the issue that they use /tmp/.webmin directory to store
the complete iso first, so that is asking for trouble, do the following:
*** web-lib.pl 2004-04-14 00:09:13.410948315 +0200
--- web-lib.pl.orig 2004-04-14 00:09:02.758693571 +0200
***************
*** 132,134 ****
{
! local $tmp_base = $gconfig{'tempdir'} || "/sda1/tmp/.webmin";
local $tmp_dir = -d $remote_user_info[7] && !$gconfig{'nohometemp'} ?
--- 132,134 ----
{
! local $tmp_base = $gconfig{'tempdir'} || "/tmp/.webmin";
local $tmp_dir = -d $remote_user_info[7] && !$gconfig{'nohometemp'} ?
I did choose /sda1/tmp but you can put anything there of course.
Before you run ./setup.sh as being su-user check if Net::SSLeay is in
your Perl distribution, not standard in Fedora 1.91. Thus (there are
easier methods to do this)
# perl -MCPAN -eshell
> install Bundle::CPAN
// this will ineractively init /root/.cpan
> install Net::SSLeay
// this will test at the end some banks and such, and will not succeed
// no sweat, go to /root/.cpan/build/Net_SSLeay.pm-1.25
# make install
// goto your webmin-1.40 directory and type
# ./setup.sh
--
Vink
More information about the users
mailing list