| New Installapp - please clarify [message #42991] |
Sat, 25 October 2008 17:41  |
drank  Messages: 1324 Registered: June 2007 |
Senior Master |
|
|
Dear LxHelp,
Gathering the crumbs from the forum I finally come to a conclusion that you had completely redesigned the installapp architecture. Could you please post a guide and delete the old one? Is the old approach still working, do we have to setup installapp URLs in hypervm and so on. It is very unclear right now. Thank you.
Dragomir Denev
DGM
www.dgm.bg
|
|
|
| Re: New Installapp - please clarify [message #42992 is a reply to message #42991] |
Sat, 25 October 2008 17:47   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
If you are using local, then there is nothing to do. The remote one has not been updated yet.
If you are using local, then do this:
/script/installapp-update
And it will update all the packages.
On Sat, Oct 25, 2008 at 09:41:53PM -0000, Dragomir Denev wrote:
>
>
> Dear LxHelp,
>
> Gathering the crumbs from the forum I finally come to a conclusion that you had completely redesigned the installapp architecture. Could you please post a guide and delete the old one? Is the old approach still working, do we have to setup installapp URLs in hypervm and so on. It is very unclear right now. Thank you.
|
|
|
| Re: New Installapp - please clarify [message #42993 is a reply to message #42991] |
Sat, 25 October 2008 17:49   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
If you are using remote installapp, then the best way is to have lxadmin installed on the server anyway, then, link the domain's installapp to /home/lxadmin/httpd/installsoft/ directory.
After that you can keep the remote installapp updated by running /script/installapp-update on the remote server.
On Sat, Oct 25, 2008 at 09:41:53PM -0000, Dragomir Denev wrote:
>
>
> Dear LxHelp,
>
|
|
|
|
| Re: New Installapp - please clarify [message #42996 is a reply to message #42994] |
Sat, 25 October 2008 17:54   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
| Quote: |
> 1. When will the centralized version be ready. I have several clients that are setup to use the central installapp server. I assume it will not work with the new approach, right?
|
Read my other post.
| Quote: |
>
> 2. Could you still announce the new design. There is only one post that says you changed it and it is not in the announcement area?
|
The design is the same. We are merely adding more features, fixing all the bugs in different scripts, and adding an update and backup manager, which will allow you to update and take snapshot of installed scripts.
|
|
|
|
| Re: New Installapp - please clarify [message #43003 is a reply to message #42994] |
Sat, 25 October 2008 18:03   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
| Quote: |
>
> 1. When will the centralized version be ready. I have several clients that are setup to use the central installapp server. I assume it will not work with the new approach, right?
|
You will need to install lxadmin in the server where you store the centralized install applications. I will provide a command called installapp-archive-update which will automatically update all the remote applications.
thanks.
|
|
|
|
| Re: New Installapp - please clarify [message #43007 is a reply to message #43006] |
Sat, 25 October 2008 18:25   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
The steps for remote installapp is like this:
-> On the remote server, install lxadmin.
-> create a directory called /home/lxadmin/httpd/remote-installapp
-> rm -rf /home/lxadmin/httpd/installappdata/
-> ln -sf /home/lxadmin/httpd/remote-installapp path-to-the-web-directory
-> /script/installapp-update
The above script will download all zip files and put them in /home/lxadmin/httpd/remote-installapp directory, which will be linked to the web-directory accessible from client.
On Sat, Oct 25, 2008 at 10:13:18PM -0000, Dragomir Denev wrote:
>
>
| Quote: |
> I don't understand. Do you mean that the applications installed by clients will be updated? This is not good.
|
We will provide an option for customers to upgrade their applications via lxadmin. But nothing is automatic.
| Quote: |
> Do you mean the application packages will be updated on the remote lxadmin servers? In this case where is the centralization? Isn't it supposed to keep the packages on a central server?
|
You have to install lxadmin on the central installapp server too. It is simply that even maintaining remote-installapp needs a complex script, and you need the framework there too.
|
|
|
| Re: New Installapp - please clarify [message #43012 is a reply to message #43006] |
Sat, 25 October 2008 19:17   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
These are the steps to create a centralized installap repository:
-> Install lxadmin.
-> Create a directory called /home/lxadmin/httpd/remote-installapp
-> ln -sf /home/lxadmin/httpd/remote-installapp path-to-the-web-directory
-> /script/installapp-update
The above script will download all zip files and put them in /home/lxadmin/httpd/remote-installapp directory, which will be linked to the web-directory accessible from client.
The above steps has to be done on the remote server which is going to host the applications.
|
|
|
|
| Re: New Installapp - please clarify [message #43257 is a reply to message #43007] |
Mon, 27 October 2008 15:11   |
|
| Lxhelp wrote on Sun, 26 October 2008 00:25 | The steps for remote installapp is like this:
-> On the remote server, install lxadmin.
-> create a directory called /home/lxadmin/httpd/remote-installapp
-> rm -rf /home/lxadmin/httpd/installappdata/
-> ln -sf /home/lxadmin/httpd/remote-installapp path-to-the-web-directory
-> /script/installapp-update
The above script will download all zip files and put them in /home/lxadmin/httpd/remote-installapp directory, which will be linked to the web-directory accessible from client.
On Sat, Oct 25, 2008 at 10:13:18PM -0000, Dragomir Denev wrote:
>
>
| Quote: |
> I don't understand. Do you mean that the applications installed by clients will be updated? This is not good.
|
We will provide an option for customers to upgrade their applications via lxadmin. But nothing is automatic.
| Quote: |
> Do you mean the application packages will be updated on the remote lxadmin servers? In this case where is the centralization? Isn't it supposed to keep the packages on a central server?
|
You have to install lxadmin on the central installapp server too. It is simply that even maintaining remote-installapp needs a complex script, and you need the framework there too.
|
Hi,
if i may break in 
I do have also centralised URL.
But this is on the Hardware node itself where i run Apache (withoud mods, just pure html).
My script i used:
[root@themis html]# tail getinstallapp
wget http://download.lxlabs.com/download/installapp-provider-curr ent.tar.gz
The dir:
[root@themis html]# ls -l
total 272776
-rw-r--r-- 1 root root 76 Feb 6 2008 getinstallapp
-rw-r--r-- 1 root root 992 Jul 31 2007 index.html
drwxr-xr-x 2 root root 4096 Jan 23 2008 installapp
-rw-r--r-- 1 root root 278944169 Jan 24 2008 installapp-provider-current.tar.gz
-rw-r--r-- 1 root root 79257 Jul 31 2007 themis.jpg
[root@themis html]#
So i can not install lxadmin on the hardwarenode, and i do not go install a new VPS for just lxadmin installapp centralized server. Waste of VPS usage (and extra money for the license) 
So if you can generate a installapp-provider-current.tar.gz
as in the old way or something else...
Thank you.

LxCenter - System Operations
|
|
|
| Re: New Installapp - please clarify [message #43261 is a reply to message #43257] |
Mon, 27 October 2008 15:19   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
| Quote: |
> if i may break in :p
>
> -rw-r--r-- 1 root root 76 Feb 6 2008 getinstallapp
> -rw-r--r-- 1 root root 992 Jul 31 2007 index.html
> drwxr-xr-x 2 root root 4096 Jan 23 2008 installapp
> -rw-r--r-- 1 root root 278944169 Jan 24 2008 installapp-provider-current.tar.gz
> -rw-r--r-- 1 root root 79257 Jul 31 2007 themis.jpg
> [mailto:root@themis html]#
>
> So i can not install lxadmin on the hardwarenode, and i do not go install a new VPS for just lxadmin installapp centralized server. Waste of VPS usage (and extra money for the license) :)
>
> So if you can generate a installapp-provider-current.tar.gz
> as in the old way or something else...
|
That's not possible at all. Simple tar file is IMPOSSIBLE to manage. There is absolutely no way we can update each application the way we do now with a large tar file.
You can always install zip file on a vps with lxadmin, and then manually copy the zip files to your hardware node.
As such, we do provide an EASY way to manage the central repo, but if you want to do the hard way, that's up to you. :-)
|
|
|
| Re: New Installapp - please clarify [message #43304 is a reply to message #43261] |
Tue, 28 October 2008 03:04   |
|
| Lxhelp wrote on Mon, 27 October 2008 20:19 |
| Quote: |
> if i may break in 
> So if you can generate a installapp-provider-current.tar.gz
> as in the old way or something else...
|
That's not possible at all. Simple tar file is IMPOSSIBLE to manage. There is absolutely no way we can update each application the way we do now with a large tar file.
You can always install zip file on a vps with lxadmin, and then manually copy the zip files to your hardware node.
As such, we do provide an EASY way to manage the central repo, but if you want to do the hard way, that's up to you.
|
But you ask me to use a lxadmin VM.
I have 2 choices:
1: Setup a lxadmin VM, for only centralized installapp url.
- Waste of License, Waste of hardwarenode resources.
2: Breakin into a customers's VM with lxadmin and copy some data to hardwarenode to www dir.
- Thats not what i ever going to do. I dont touch customer data, unless they ask for it.
Do you understand the issue now?
The way it is now as introduced, is not a EASY way for some system operators.
Its now a HARD way 
My suggestion (instead of a current.gz):
- Setup a rsync server.
- If we do a rsync (once 24 h) we get all new apps into the www dir on the hardwarenode. And no (useless) lxadmin VM is needed.
Is that a better idea?

LxCenter - System Operations
|
|
|
|
|
| Re: New Installapp - please clarify [message #43386 is a reply to message #43382] |
Tue, 28 October 2008 11:52   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
| Quote: |
> Last question, can you modify the /script/installapp-update in HiB, when a centralized URL is used, that it dont download from lxlabs, but from the centralized url?
>
|
If you have centralized url, then /script/installapp-update will not do anything. Otherwise, it defeats the entire thing.
Update to the latest version, then rm -rf /home/lxadmin/httpd/installsoft/ directory, and then if you run /script/installapp-update, nothing will be downloaded.
|
|
|
|
| Re: New Installapp - please clarify [message #44053 is a reply to message #44049] |
Sat, 01 November 2008 00:46   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
I don't understand. Remote installapp is by definition server.
The only thing is that you have to have lxadmin installed, so that you can update the remote repo using the same command.
On Sat, Nov 01, 2008 at 02:58:52AM -0000, Kurogane wrote:
>
>
> So, in summary how i can setup a remote installapp as client not server?
>
|
|
|
|
| Re: New Installapp - please clarify [message #44059 is a reply to message #44058] |
Sat, 01 November 2008 02:05   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
There are instructions in the announcement forum on how to configure remote installapp.
On Sat, Nov 01, 2008 at 06:01:30AM -0000, Kurogane wrote:
>
>
> Yes i know is a server but, i don't want to store the file in my server if not take "remote" server, so i ask again how i can config that?
>
|
|
|
|
|
|
|
| Re: New Installapp - please clarify [message #44749 is a reply to message #44748] |
Wed, 05 November 2008 00:20   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
echo the url into /usr/local/lxlabs/lxadmin/etc/remote_installapp
The url should be in such a way that url/app.zip should exist.
On Wed, Nov 05, 2008 at 05:17:14AM -0000, Kurogane wrote:
>
>
> Well i install a remote server with this.. now how i can enable in the main server?
>
|
|
|
|
| Re: New Installapp - please clarify [message #44754 is a reply to message #44753] |
Wed, 05 November 2008 00:58  |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
Just run /script/installapp-update on the remote server.
Yes, apps are currently older versions. I have a team specifically working on updating them. We will have it all fixed by this week or next.
thanks.
On Wed, Nov 05, 2008 at 05:55:42AM -0000, Kurogane wrote:
>
>
> I enable this and i can install the script but the files still old, example mybb is on v 1.2 and the last one is 1.4, also what is the actual version of InstallAp becuase mine is 5.0.4572.
>
|
|
|