Date: Sat, 8 Jan 2005 00:07:32 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 383 ************************************************** Friday 07 January 2005 Number 383 ************************************************** Subjects for today 1 Webmin : John Poltorak 2 Re: Webmin : Dave Yeo" 3 Re: Webmin : John Poltorak 4 Re: Webmin : Dave Yeo" 5 Re: Webmin : John Poltorak **= Email 1 ==========================** Date: Thu, 6 Jan 2005 16:03:45 +0000 From: John Poltorak Subject: Webmin I've just included Webmin in UX2BS, so if you want to give it a try run ux2_fresh and then you should be able to run 'build webmin'. If you have made any local changes to your own build.table, be sure to keep a copy of those changes in case they get clobbered. I'd be very interested to know how well this works as I how to use webmin extensively in the future and it may even become a mechanism for software distribution and installation. All feedback welcomed. -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Thu, 06 Jan 2005 08:24:30 -0800 From: "Dave Yeo" Subject: Re: Webmin On Thu, 6 Jan 2005 16:03:45 +0000, John Poltorak wrote: > >I've just included Webmin in UX2BS, so if you want to give it a try run >ux2_fresh and then you should be able to run 'build webmin'. > >If you have made any local changes to your own build.table, be sure to >keep a copy of those changes in case they get clobbered. > >I'd be very interested to know how well this works as I how to use webmin >extensively in the future and it may even become a mechanism for software >distribution and installation. > >All feedback welcomed. Just installed it. Using the defaults I got a few errors like tar: Could not create file webmin-1.170/cron/config-suse-linux-8.2-*: No such file or directory tar: Could not create file webmin-1.170/cron/config-debian-linux-2.1-*: No such file or directory these are likely symlinks and not important, then Config file directory [/etc/webmin]: Log file directory [/var/webmin]: mkdir: cannot make directory `/var/webmin': No such file or directory ERROR: Failed to create directory /var/webmin Suggest that you create /var when installing ux2bs. Haven't actually tried it yet, not sure how to start it up and must go to work now Dave _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Thu, 6 Jan 2005 17:27:51 +0000 From: John Poltorak Subject: Re: Webmin On Thu, Jan 06, 2005 at 04:03:45PM +0000, John Poltorak wrote: > > I've just included Webmin in UX2BS, so if you want to give it a try run > ux2_fresh and then you should be able to run 'build webmin'. > > If you have made any local changes to your own build.table, be sure to > keep a copy of those changes in case they get clobbered. > > I'd be very interested to know how well this works as I how to use webmin > extensively in the future and it may even become a mechanism for software > distribution and installation. > > All feedback welcomed. I should have mentioned that as part of the installation process, it is necessary to configure webmin. This is currently an interactive process where you need confirm or overide default values one of which is /var/webmin. The /var directory hasn't been created by UX2BS at this point so you will need to create that manually. Also you need to specify the full pathname of perl - /usr/bin/perl.exe (don't forget the extension). If the configuration fails, just run:- sh setup.sh /usr/local/webmin in the same session until you get it right. It should start up the web server at the end of the process so then you just need to point your browser at http://127.0.0.1:10000 to connect to it from the same machine or use the appropriate IP address if elsewhere. -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Thu, 06 Jan 2005 20:24:42 -0800 From: "Dave Yeo" Subject: Re: Webmin On Thu, 6 Jan 2005 17:27:51 +0000, John Poltorak wrote: > >I should have mentioned that as part of the installation process, it is >necessary to configure webmin. This is currently an interactive process >where you need confirm or overide default values one of which is >/var/webmin. The /var directory hasn't been created by UX2BS at this point >so you will need to create that manually. Also you need to specify the >full pathname of perl - /usr/bin/perl.exe (don't forget the extension). > >If the configuration fails, just run:- > >sh setup.sh /usr/local/webmin > >in the same session until you get it right. It should start up the web >server at the end of the process so then you just need to point your >browser at http://127.0.0.1:10000 to connect to it from the same machine >or use the appropriate IP address if elsewhere. Didn't automatically start here. And in the cmd shell that I ran build webmin if I enter sh /usr/local/webmin I get a permission denied error. Running sh setup.sh /usr/local/webmin gives me a no such file error. Running build webmin (after creating appropriate directories) does much better. Complians a little bit about chown not in perl then later stty not found. Then ssl perl module not found (be nice to have ssl) and it starts the miniwebserver. Seems to work fine, need to look around. Also need a firewall I guess.(Wasn't running any services here before) Dave _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Fri, 7 Jan 2005 09:55:17 +0000 From: John Poltorak Subject: Re: Webmin On Thu, Jan 06, 2005 at 08:24:42PM -0800, Dave Yeo wrote: > On Thu, 6 Jan 2005 17:27:51 +0000, John Poltorak wrote: > >If the configuration fails, just run:- > > > >sh setup.sh /usr/local/webmin > > > >in the same session until you get it right. It should start up the web > >server at the end of the process so then you just need to point your > >browser at http://127.0.0.1:10000 to connect to it from the same machine > >or use the appropriate IP address if elsewhere. > > Didn't automatically start here. And in the cmd shell that I ran build webmin if I enter sh > /usr/local/webmin I get a permission denied error. Running sh setup.sh > /usr/local/webmin gives me a no such file error. > Running build webmin (after creating appropriate directories) does much better. > Complians a little bit about chown not in perl then later stty not found. The installation is still a little rough and ready at this stage and a few things need tidying up but my priority was providing a means of getting Webmin built and installed fairly easily. I think it's a great tool but needs a bit of development so that it is more usable on OS/2. I'm not sure what to do about the lack of stty - I thought we had one in one of the GNU utils... The lack of chown in Perl suggests a change might be needed when building Perl - I thought it had been included at some point. What I would like to do is fully automate the build, and apparently this can be done by setting the required variables. You can see which they are in setup.sh, and AFAICT they are var_dir, config_dir, perl, port, login, password. I tried setting these in build_webmin.cmd but it had no effect. That may be because the variable names would have been set to uppercase... Not sure how to set them to lowercase... > Then ssl perl module not found (be nice to have ssl) and it starts the miniwebserver. Is SSL something which needs to be built or do you install it? I'm not too well up on Perl. > Seems to work fine, need to look around. Also need a firewall I guess.(Wasn't running > any services here before) That's a good point which I hadn't thought of. You can change the address that Webmin listens on to 127.0.0.1 if you go to Webmin Configuration -> Port and Addresses That should make you a bit more protected. As for maintaining a firewall, it would be nice if Webmin could be used for firewall configuration - the full version does come with modules for some firewall program which may well be adaptable for OS/2's built in firewall. Incidentally, if you want to try out the full version of Webmin instead of the minimal version, just uncomment the line above the webmin entry in build.table and run 'build webmin' again. Also, copy webmin-1.170-minimal.diff to webmin-1.170.diff or you would get the patches applied. You could use a different config_dir, var_dir and port to have both running for comparison purposes. The full version has a lot has a lot of redundancy for the OS/2 user at this stage but shows what it is capable of. I'd like to start off with the minimal version and add modules as an when they become available under OS/2. Hopefully the CPAN module can be made usable without too much effort. > Dave -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs