plainblack.com
Username Password
search
Bookmark and Share

    
Goto page «Previous Page   1 2    Next Page»

ubuntu packages

User mindspin
Date 3/27/2007 10:48 am
Views 16809
Rating -15    Rate [
|
]
Previous · Next
User Message
mindspin

Hi, I'd like to know who packed the ubuntu version of WebGUI. I'd like to see WebGUI in universe/multiverse. I would like to offer my help if needed...

 

mindspin 



Back to Top
Rate [
|
]
 
 
knowmad

Hoorah! I can offer no help but support the effort to see WebGUI in Ubuntu. This would make installation easier for a growing number of Linux users. If you undertake this initiative, I'd like to know how you plan to address upgrades since WebGUI is on a much faster release cycle than Ubuntu.

I suppose you can use the security system to push out point releases but there may be 2 or more minor releases within the six-month release window for Ubuntu. If possible, it'd be nice to have a way for users to install the initial packages via apt but then manage upgrades themselves.

 

William



Back to Top
Rate [
|
]
 
 
jmarsden

Did this attempt to get WebGUI packaged for Ubuntu and into universe go anywhere?

I'm looking at packaging it for myself... I'd rather not repeat work that has already been done, obviously!  My take on the upgrade issue would be to consider making new .debs available elsewhere, perhaps in a repository at plainblack.com?

One other issue that crops up right away is that using /data/WebGUI/ contravenes the well established FHS standard for the directory hierarchy.  My current thinking is to use /var/www/WebGUI/ instead.

More generally, getting WebGUI into the FreeBSD Ports Collection would be appropriate, and so on and so forth.  In general, getting WebGUI packaged in the way users of each OS and distribution expect, and so that it comes up "out of the box" without requiring the installer to type multiple commands into a root shell, would be a significant achievement and improvement; both the current approaches (WRE or a source tarball) feel very 1990s somehow.



Back to Top
Rate [
|
]
 
 
bernd

Did this attempt to get WebGUI packaged for Ubuntu and into universe go anywhere?

Not as far as I know. But there are going to be some Debian packages maintained by Ernesto. Check this thread for the current status. If you are lucky, they may install on Ubuntu as well. In any case, Debian packages will be a good starting point.

I'm looking at packaging it for myself... I'd rather not repeat work that has already been done, obviously!  My take on the upgrade issue would be to consider making new .debs available elsewhere, perhaps in a repository at plainblack.com?

What about putting them in a launchpad? That is were I got my OOo3 packages from ahead of the official release.

One other issue that crops up right away is that using /data/WebGUI/ contravenes the well established FHS standard for the directory hierarchy.  My current thinking is to use /var/www/WebGUI/ instead.

I am not so happy with /data/WebGUI/ either. However, /var/www/WebGUI neither seems to be proper, since the current WebGUI directory also contains code, documentation, and configuration files. You would have to take everything apart if you wanted to obey FHS.

Bernd

--
Klettern in Magdeburg
(http://www.klettern-md.de)



Back to Top
Rate [
|
]
 
 
jmarsden

Not as far as I know. But there are going to be some Debian packages maintained by Ernesto. Check this thread for the current status.

Thanks, these install on Ubuntu (after some minor issues with missing dependencies in Ubuntu Intrepid).  I have emailed Ernesto, and I found his repository by searching the forums here.

What about putting them in a launchpad? That is were I got my OOo3 packages from ahead of the official release.

Yes my versions (I updated Ernesto's package to 7.5.37 and made a couple of changes to further automate the install process) are in my PPA on launchpad now.  http://launchpad.net/~jmarsden/+archive

I am not so happy with /data/WebGUI/ either. However, /var/www/WebGUI neither seems to be proper, ...

Ernesto is using /usr/share/webgui and seems to have the OK from Debian people for that, so that's fine with me :)

I am now down to the following steps to install a default webgui on a fresh installation of Ubuntu 8.10 Intrepid:

 

echo "deb http://ppa.launchpad.net/jmarsden/ubuntu intrepid main" |sudo tee /etc/apt/sources.d/jmarsden.list

sudo apt-get update # So it sees my PPA

sudo apt-get install webgui # The actual install

sudo /usr/share/webgui/sbin/setup-webgui-database # Set up the default db

sudo ln -s /etc/webgui/apache.config /etc/apache2/conf.d/webgui # Link the default web site

sudo service apache2 restart

sudo service webgui restart

 

That's all, after that I can browse to http://localhost and off we go Smile

 

This is pretty nice already, just 7 lines.  #1 and #2 would disappear if the package gets into Jaunty.  #4 and #5 may be got rid of using debconf and dbconfig, given some work on the package maintainer scripts, as could #6 and #7!

 

A WebGUI install that just needs the end user to install the webgui package (could be done using Synaptic or Add/Remove Programs... so no command line stuff needed at all!) would be an interesting goal to pursue.  It looks doable to me.

--
Jonathan Marsden


Back to Top
Rate [
|
]
 
 
bernd
Yes my versions (I updated Ernesto's package to 7.5.37 and made a couple of changes to further automate the install process) are in my PPA on launchpad now.  http://launchpad.net/~jmarsden/+archive

Nice work! I am probably going to have a look at these soon. Have you tried whether they run on JeOS? I am thinking about creating a new appliance using standard ubuntu packages.

This is pretty nice already, just 7 lines.  #1 and #2 would disappear if the package gets into Jaunty. 

Did you apply for inclusion into Jaunty? I learned that you need to get in touch with a MOTU? Would be really great if that happened.

#4 and #5 may be got rid of using debconf and dbconfig, given some work on the package maintainer scripts, as could #6 and #7!

A much better way would probably be to package script tools from the wre separately and make the wreconsole available for setup and configuration. Check this thread for a recent discussion. The poll on this matter is still ongoing.

Back to Top
Rate [
|
]
 
 
jmarsden

Have you tried whether they run on JeOS? I am thinking about creating a new appliance using standard ubuntu packages.

Not yet, but they should be fine.  I'll try that out, maybe later tonight.

Did you apply for inclusion into Jaunty? I learned that you need to get in touch with a MOTU? Would be really great if that happened.

When they are more ready, I will.  I'm slowly on my way to becoming a MOTU myself, BTW... so I know a few MOTUs on IRC I could ask for help when I get to that point.  I'd like to coordinate with Ernesto as far as possible, so that ideally the same package goes into both Debian and Ubuntu -- or if not, that the differences are as small as possible.

A much better way would probably be to package script tools from the wre separately and make the wreconsole available for setup and configuration. Check this thread for a recent discussion. The poll on this matter is still ongoing.

Interesting... whether it is "better" to use the tools that are standard in Debian and Ubuntu, or the tools that are standard in WebGUI, needs a bit of thought.

--
Jonathan Marsden


Back to Top
Rate [
|
]
 
 
bernd
Jonathan,

> Interesting... whether it is "better" to use the tools that are
>  standard in Debian and Ubuntu, or the tools that are standard in
>  WebGUI, needs a bit of thought.

I did not want to suggest not to use debconf at all. I rather think that
initial setup, purging and updates should indeed be handled by debconf.
But you could use the tool scripts that are already part of wre. There
is

wreservice.pl for starting/stopping services
webguiupdate.pl for managing updates
addsite.pl for creating new sites
removesite.pl for removing sites

and a few others of which some, however, will be of little value
outside the. Evidently, they are all written in perl and can be used on
the command line. The only exception is wreconsole.pl, which is a
browser-based application. It is a front-end for adding / removing
sites, starting / stopping services, controlling backups, etc. When
called for the first time it also does some initial configuration.
Whether it relies on other scripts for this purpose I do not know.



Back to Top
Rate [
|
]
 
 
jmarsden

wreservice.pl for starting/stopping services

webguiupdate.pl for managing updates

addsite.pl for creating new sites

removesite.pl for removing sites

The last two seem likely to be handy, at least.  I wonder why they are not in the source tarball?  I'll take a look when I have a chance.

Meanwhile I just put an updated .deb for Intrepid on my PPA, now based on 7.5.38 and with wg-galleryImport fixed and the newest few update scripts patched.

--
Jonathan Marsden


Back to Top
Rate [
|
]
 
 
bernd
Jonathan,

I have my appliance ready with webgui ubuntu packages installed. Seems
to work perfectly. But is it possible that mod_proxy is no longer
configured by default? It is probably in the wre configuration for a
good reason. If you like, I can prepare a sample configuration for
inclusion into the package.

Bernd



Back to Top
Rate [
|
]
 
 
     Goto page «Previous Page   1 2    Next Page»



© 2019 Plain Black Corporation | All Rights Reserved