LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » Archive » LxAdmin » InstallApp And Permalink » New Installapp - please clarify
New Installapp - please clarify [message #42991] Sat, 25 October 2008 17:41 Go to next message
drank is currently offline drank  Bulgaria
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 Go to previous messageGo to next message
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 Go to previous messageGo to next message
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 #42994 is a reply to message #42992] Sat, 25 October 2008 17:51 Go to previous messageGo to next message
drank is currently offline drank  Bulgaria
Messages: 1324
Registered: June 2007
Senior Master
Thanks. 2 questions:

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?

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?

thank you.


Dragomir Denev
DGM
www.dgm.bg
Re: New Installapp - please clarify [message #42996 is a reply to message #42994] Sat, 25 October 2008 17:54 Go to previous messageGo to next message
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 #43001 is a reply to message #42996] Sat, 25 October 2008 18:01 Go to previous messageGo to next message
drank is currently offline drank  Bulgaria
Messages: 1324
Registered: June 2007
Senior Master
Lxhelp wrote on Sun, 26 October 2008 00:54

Read my other post.

which post? please post a link

Quote:

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.

well, actually it's not the same. previously in the installapp we were to have tar.gz files in order the remote lxadmin to install them. now I see that the installsoft folder contains extracted versions of the software.
Please post a guide on how to setup the new installapp. You nowhere announced the use of /script/installapp-update. I know that you hate to post release notes but do not leave us in the dark

Thank you.


Dragomir Denev
DGM
www.dgm.bg
Re: New Installapp - please clarify [message #43003 is a reply to message #42994] Sat, 25 October 2008 18:03 Go to previous messageGo to next message
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 #43006 is a reply to message #43003] Sat, 25 October 2008 18:13 Go to previous messageGo to next message
drank is currently offline drank  Bulgaria
Messages: 1324
Registered: June 2007
Senior Master
Lxhelp wrote on Sun, 26 October 2008 01:03

I will provide a command called installapp-archive-update which will automatically update all the remote applications.


I don't understand. Do you mean that the applications installed by clients will be updated? This is not good.

or

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?

Doesn't make sense to me.

Thank you.


Dragomir Denev
DGM
www.dgm.bg
Re: New Installapp - please clarify [message #43007 is a reply to message #43006] Sat, 25 October 2008 18:25 Go to previous messageGo to next message
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 Go to previous messageGo to next message
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 #43013 is a reply to message #43012] Sat, 25 October 2008 19:22 Go to previous messageGo to next message
drank is currently offline drank  Bulgaria
Messages: 1324
Registered: June 2007
Senior Master
Thank you, it works now. Can I safely delete the old installapp dir on the remote server?

Dragomir Denev
DGM
www.dgm.bg
Re: New Installapp - please clarify [message #43257 is a reply to message #43007] Mon, 27 October 2008 15:11 Go to previous messageGo to next message
LxCenter_Danny is currently offline LxCenter_Danny  Netherlands
Messages: 2068
Registered: July 2007
Location: Netherlands
Grandmaster
LxCenter Core Team Member
LxCenter Representative

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 Razz

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) Smile

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 Go to previous messageGo to next message
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 Go to previous messageGo to next message
LxCenter_Danny is currently offline LxCenter_Danny  Netherlands
Messages: 2068
Registered: July 2007
Location: Netherlands
Grandmaster
LxCenter Core Team Member
LxCenter Representative

Lxhelp wrote on Mon, 27 October 2008 20:19

Quote:


> if i may break in Razz

> 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. Smile



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 Smile

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 #43320 is a reply to message #43304] Tue, 28 October 2008 04:32 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
You can directly download from: http://download.lxlabs.com/download/installapp/


On Tue, Oct 28, 2008 at 07:04:55AM -0000, Danny wrote:
>
>
>
> 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?
>
>
> --
> Main website: http://www.nettuning.nl
>


Re: New Installapp - please clarify [message #43382 is a reply to message #43320] Tue, 28 October 2008 11:46 Go to previous messageGo to next message
LxCenter_Danny is currently offline LxCenter_Danny  Netherlands
Messages: 2068
Registered: July 2007
Location: Netherlands
Grandmaster
LxCenter Core Team Member
LxCenter Representative

Lxhelp wrote on Tue, 28 October 2008 09:32

You can directly download from: http://download.lxlabs.com/download/installapp/


On Tue, Oct 28, 2008 at 07:04:55AM -0000, Danny wrote:
> - 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.



Thats something i can work out Smile

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?




LxCenter - System Operations
Re: New Installapp - please clarify [message #43386 is a reply to message #43382] Tue, 28 October 2008 11:52 Go to previous messageGo to next message
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 #44049 is a reply to message #42991] Fri, 31 October 2008 22:58 Go to previous messageGo to next message
Kurogane is currently offline Kurogane  El Salvador
Messages: 307
Registered: November 2007
Senior Member
So, in summary how i can setup a remote installapp as client not server?
Re: New Installapp - please clarify [message #44053 is a reply to message #44049] Sat, 01 November 2008 00:46 Go to previous messageGo to next message
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 #44058 is a reply to message #42991] Sat, 01 November 2008 02:01 Go to previous messageGo to next message
Kurogane is currently offline Kurogane  El Salvador
Messages: 307
Registered: November 2007
Senior Member
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 #44059 is a reply to message #44058] Sat, 01 November 2008 02:05 Go to previous messageGo to next message
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 #44060 is a reply to message #42991] Sat, 01 November 2008 02:11 Go to previous messageGo to next message
Kurogane is currently offline Kurogane  El Salvador
Messages: 307
Registered: November 2007
Senior Member
If you say this one

http://forum.lxlabs.com/index.php?t=msg&th=7431&star t=0&

I really did but give me a error or there are somethign wrong?

ln -sf /home/lxadmin/httpd/remote-installapp http://remote-url/


and of course give me this error " ln: target `http://remote-url/' is not a directory: No such file or directory" or what i need to put in "path-to-the-web-directory"
Re: New Installapp - please clarify [message #44061 is a reply to message #44060] Sat, 01 November 2008 03:47 Go to previous messageGo to next message
LxCenter_Danny is currently offline LxCenter_Danny  Netherlands
Messages: 2068
Registered: July 2007
Location: Netherlands
Grandmaster
LxCenter Core Team Member
LxCenter Representative

Kurogane wrote on Sat, 01 November 2008 07:11

If you say this one

http://forum.lxlabs.com/index.php?t=msg&th=7431&star t=0&

I really did but give me a error or there are somethign wrong?

ln -sf /home/lxadmin/httpd/remote-installapp http://remote-url/


and of course give me this error " ln: target `http://remote-url/' is not a directory: No such file or directory" or what i need to put in "path-to-the-web-directory"


"path-to-the-web-directory" = a dir that is served by a webserver.

Example:
http://mysite.com/installapp

That site is served at /var/www/somedir/installapp

So you do:
ln -sf /home/lxadmin/httpd/remote-installapp /var/www/somedir/installapp



ln = SymLink dir to dir or file to file





LxCenter - System Operations
Re: New Installapp - please clarify [message #44179 is a reply to message #42991] Sat, 01 November 2008 15:40 Go to previous messageGo to next message
Kurogane is currently offline Kurogane  El Salvador
Messages: 307
Registered: November 2007
Senior Member
and the little problem is i don't owned the remote server so that why i can't assing a dir path or as i suppose call the remote installapp? really i don't understand.
Re: New Installapp - please clarify [message #44748 is a reply to message #42991] Wed, 05 November 2008 00:17 Go to previous messageGo to next message
Kurogane is currently offline Kurogane  El Salvador
Messages: 307
Registered: November 2007
Senior Member
Well i install a remote server with this.. now how i can enable in the main server?
Re: New Installapp - please clarify [message #44749 is a reply to message #44748] Wed, 05 November 2008 00:20 Go to previous messageGo to next message
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 #44753 is a reply to message #42991] Wed, 05 November 2008 00:55 Go to previous messageGo to next message
Kurogane is currently offline Kurogane  El Salvador
Messages: 307
Registered: November 2007
Senior Member
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.
Re: New Installapp - please clarify [message #44754 is a reply to message #44753] Wed, 05 November 2008 00:58 Go to previous message
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.
>


Previous Topic:oscommerce / zencart: internal server error
Next Topic:suggestion for new installap feature
Goto Forum:
  


Current Time: Sat May 25 13:33:09 EDT 2013

Total time taken to generate the page: 0.01530 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software