You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Stephen Cottham <St...@robertbird.com.au> on 2012/08/02 19:28:34 UTC

Latest Installer - Debian & Ubuntu (For Testing and Comments)

Hi All,

 

Find attached the latest Installer, now has a menu for Debian and Ubuntu
Installs and an Upgrade option.

 

This is for testing and comments, PHP has been removed as shown by Jakub
in favour of the much simpler two liner and happy for anyone to suggest
better more efficient changes.

 

Debian runs thru ok at this stage as does the Upgrade, the Ubuntu still
needs some user intervention thru the install process which I'll work on
later (maybe use expect )

 

I'll incorporate Jakubs improvements once I get his latest contribution,
from his last script looks like he will be adding error detection and
detection of number of cores to speed up compilation and general
clean-up etc.. - and anything else he adds (or anyone else wants to add)
in the mean-time.

 

I'll add the SVN folder "scripts" tomorrow as suggested by Sebastian to
keep this stuff in one location.

 

Best Regards

 

 


Stephen Cottham
Group IT Manager (Associate)

Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 (AUS)
Phone: +44207 592 8000 (UK)
Fax: +6173 319 2799
 
Mobile:  +61400 756 963 (AUS)
Mobile: +447900 918 616 (UK)
Web: www.robertbird.com


This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses. 

Disclaimer added by CodeTwo Exchange Rules	
http://www.codetwo.com	


Re: Input problems during remote control with space and enter keys

Posted by Andrew Sengul <an...@contrastco.com>.
Hi Maxim,

After doing some Flash debugging I've uncovered what looks like a reason
for the remote input failures when space or enter are pressed. Below is
a portion of the debug log during a screen sharing session with remote
keyboard input.

It appears that when space (code 32) or enter (code 13) are pressed, a
new OpenMeetings meeting object is initialized, judging by the
parameters of the initialized object. The question is, then, how to
prevent this from happening?

The OM documentation doesn't mention the use of space or enter to launch
a new session. Do you or anyone know what .lzx source file the keycodes
would be specified in so I can disable them? Thanks,

Andrew

onkeydown  70
downkeys  «Array(1)#41| [70]» 1
onkeyup  70
tObject ::  «Object#45| {action: 'onkeyup', k: 70}» true false
onkeydown  16
downkeys  «Array(1)#41| [16]» 1
onkeyup  16
tObject ::  «Object#46| {action: 'onkeyup', k: 16}» true false
onkeydown  16
downkeys  «Array(1)#41| [16]» 1
onkeyup  16
tObject ::  «Object#47| {action: 'onkeyup', k: 16}» true false
onkeydown  32
downkeys  «Array(1)#41| [32]» 1
this.initObject  «Object#39| {allowRecording: true, …, broadCastID: -2,
canDraw: false, canGiveAudio: false, canRemote: false, canShare: false,
chatUserRoomId: null, connectedSince: Sat Aug 4 12:15:43 GMT-0700 2012,
externalUserId: null, externalUserType: null, firstname: 'Electronic',
flvRecordingId: null, flvRecordingMetaDataId: null, formatedDate: null,
interviewPodId: null, isAVClient: false, isBroadcasting: false,
isChatNotification: false, isMod: false, isRecording: false,
isScreenClient: true, isSuperModerator: false, …, lastLogin: null,
lastname: 'Name', mail: null, micMuted: false, official_code: null,
organization_id: 1, picture_uri: null, publicSID:
'f81939f3d735f3cd951239715c7c0e70', room_id: 8, roomClientId: null,
roomEnter: null, roomRecordingName: null, scope: '8',
screenPublishStarted: false, …, startRecording: false, startStreaming:
true, streamid: '42', streamPublishName:
'22a39439eed2b5670cbe6cbb3390d30b', …, user_id: 5, usercolor: null,
userip: '0.0.0.0', …, userport: 39191, userpos: null, VHeight: 367,
VWidth: 1265, VX: 614, VY: 270, zombieCheckFlag: false}»
STOP:  play «flash.net::NetStream#48| [object NetStream]»
onkeyup  32
tObject ::  «Object#49| {action: 'onkeyup', k: 32}» true false
onstop this._y.to  0
newZoom  89
setSliderValue  89
onkeydown  32
downkeys  «Array(1)#41| [32]» 1
this.initObject  «Object#39| {allowRecording: true, …, broadCastID: -2,
canDraw: false, canGiveAudio: false, canRemote: false, canShare: false,
chatUserRoomId: null, connectedSince: Sat Aug 4 12:15:43 GMT-0700 2012,
externalUserId: null, externalUserType: null, firstname: 'Electronic',
flvRecordingId: null, flvRecordingMetaDataId: null, formatedDate: null,
interviewPodId: null, isAVClient: false, isBroadcasting: false,
isChatNotification: false, isMod: false, isRecording: false,
isScreenClient: true, isSuperModerator: false, …, lastLogin: null,
lastname: 'Name', mail: null, micMuted: false, official_code: null,
organization_id: 1, picture_uri: null, publicSID:
'f81939f3d735f3cd951239715c7c0e70', room_id: 8, roomClientId: null,
roomEnter: null, roomRecordingName: null, scope: '8',
screenPublishStarted: false, …, startRecording: false, startStreaming:
true, streamid: '42', streamPublishName:
'22a39439eed2b5670cbe6cbb3390d30b', …, user_id: 5, usercolor: null,
userip: '0.0.0.0', …, userport: 39191, userpos: null, VHeight: 367,
VWidth: 1265, VX: 614, VY: 270, zombieCheckFlag: false}»
STOP:  play «flash.net::NetStream#50| [object NetStream]»
onkeyup  32
tObject ::  «Object#51| {action: 'onkeyup', k: 32}» true false
onstop this._y.to  0
newZoom  89
setSliderValue  89
onkeydown  32
downkeys  «Array(1)#41| [32]» 1
this.initObject  «Object#39| {allowRecording: true, …, broadCastID: -2,
canDraw: false, canGiveAudio: false, canRemote: false, canShare: false,
chatUserRoomId: null, connectedSince: Sat Aug 4 12:15:43 GMT-0700 2012,
externalUserId: null, externalUserType: null, firstname: 'Electronic',
flvRecordingId: null, flvRecordingMetaDataId: null, formatedDate: null,
interviewPodId: null, isAVClient: false, isBroadcasting: false,
isChatNotification: false, isMod: false, isRecording: false,
isScreenClient: true, isSuperModerator: false, …, lastLogin: null,
lastname: 'Name', mail: null, micMuted: false, official_code: null,
organization_id: 1, picture_uri: null, publicSID:
'f81939f3d735f3cd951239715c7c0e70', room_id: 8, roomClientId: null,
roomEnter: null, roomRecordingName: null, scope: '8',
screenPublishStarted: false, …, startRecording: false, startStreaming:
true, streamid: '42', streamPublishName:
'22a39439eed2b5670cbe6cbb3390d30b', …, user_id: 5, usercolor: null,
userip: '0.0.0.0', …, userport: 39191, userpos: null, VHeight: 367,
VWidth: 1265, VX: 614, VY: 270, zombieCheckFlag: false}»
STOP:  play «flash.net::NetStream#52| [object NetStream]»
onkeyup  32
onkeydown  13
downkeys  «Array(1)#41| [13]» 1
this.initObject  «Object#39| {allowRecording: true, …, broadCastID: -2,
canDraw: false, canGiveAudio: false, canRemote: false, canShare: false,
chatUserRoomId: null, connectedSince: Sat Aug 4 12:15:43 GMT-0700 2012,
externalUserId: null, externalUserType: null, firstname: 'Electronic',
flvRecordingId: null, flvRecordingMetaDataId: null, formatedDate: null,
interviewPodId: null, isAVClient: false, isBroadcasting: false,
isChatNotification: false, isMod: false, isRecording: false,
isScreenClient: true, isSuperModerator: false, …, lastLogin: null,
lastname: 'Name', mail: null, micMuted: false, official_code: null,
organization_id: 1, picture_uri: null, publicSID:
'f81939f3d735f3cd951239715c7c0e70', room_id: 8, roomClientId: null,
roomEnter: null, roomRecordingName: null, scope: '8',
screenPublishStarted: false, …, startRecording: false, startStreaming:
true, streamid: '42', streamPublishName:
'22a39439eed2b5670cbe6cbb3390d30b', …, user_id: 5, usercolor: null,
userip: '0.0.0.0', …, userport: 39191, userpos: null, VHeight: 367,
VWidth: 1265, VX: 614, VY: 270, zombieCheckFlag: false}»
STOP:  play «flash.net::NetStream#58| [object NetStream]»
onkeyup  13

On 08/04/2012 02:17 AM, Maxim Solodovnik wrote:
> Hello Andrew,
> 
> I saw couple reports regarding keys are function weird.
> But unfortunately I have no time to work on this :(
> 
> The problems with this are:
> 1) Keys presses need to be transferred from Flash to Java and back
> 2) same keys has different codes on different OSes
> 
> "included the flash.external.ExternalInterface library"
> This might not work since screen component is SWF8 and AFAIK does not
> support includes
> you can add
> if($debug) Debug.write("keydown:", k); to the correspondent handler in
> the code
> then go to url:
> http://localhost:5080/openmeetings/?swf=maindebug.as3.swf10.swf
> 
> and see the codes in OpenLaszlo debug console
> 
> for java applet you can also add debug info to the log
> of run applet in debugger
> 
> 
> On Sat, Aug 4, 2012 at 7:40 AM, Andrew Sengul <andrew@contrastco.com
> <ma...@contrastco.com>> wrote:
> 
>     Hi Maxim,
> 
>     Thanks for the message, is this a known problem with other people, or am
>     I the only one experiencing it? I've been doing some tests modifying the
>     source file but so far I haven't been able to figure out what causes the
>     problem or get any debug data to display in my browser.
> 
>     I have included the flash.external.ExternalInterface library in the
>     screenSharingDialog.lzx file and added this line to the keydown and
>     keyup event handlers:
> 
>     ExternalInterface.call( "console.log" , k);
> 
>     But I'm not getting anything to display in Firebug.
> 
>     Is there a good way I can collect debug data from the Flash application?
>     That would help me diagnose the problem. I've tried console-logging the
>     Java application that is run by the person sharing their screen, but it
>     doesn't indicate anything abnormal when the remote user presses
>     spacebar, so I think the problem is with the Flash part of the
>     application.
> 
>     Thanks,
> 
>     Andrew
> 
>     On 08/02/2012 10:17 PM, Maxim Solodovnik wrote:
>     > Thanks for your investigation, I'll try to handle this (if will have
>     > enough time)
>     > Or you can propose the patch :)
>     >
>     > On Fri, Aug 3, 2012 at 12:03 PM, Andrew Sengul
>     <andrew@contrastco.com <ma...@contrastco.com>
>     > <mailto:andrew@contrastco.com <ma...@contrastco.com>>> wrote:
>     >
>     >     Hi everyone,
>     >
>     >     I posted about this a while ago and have since found some more
>     about
>     >     input handling with the OpenMeetings remote control. Basically, my
>     >     problem is that when a user is remotely controlling another user's
>     >     screen through OpenMeetings, if the remote-controlling user
>     presses the
>     >     spacebar or enter key, keyboard input to the remote screen stops
>     >     working. The mouse will still work, but no keys pressed will
>     register on
>     >     the other user's computer.
>     >
>     >     It looks like screen remote control within the Flash
>     application is
>     >     handled by the OpenLaszlo file
>     >    
>     singlewebapp/WebContent/swf10/screensharing/screenSharingDialog.lzx, and
>     >     there are a number of rules to address discrepancies in
>     keycodes between
>     >     systems, but there appear to be no specific rules in that file
>     governing
>     >     the spacebar or enter key. I can see that events fire when a
>     key is
>     >     pressed (keydown) and released (keyup), so my guess at what's
>     going
>     >     wrong is that there's something about the keyup event that
>     causes it to
>     >     react badly to the use of the space and enter keys so that it
>     shuts down
>     >     the keycode processing system entirely. Does anyone who's
>     familiar with
>     >     the screenSharingDialog.lzx file know what could be happening?
>     >
>     >     Also, has anyone else had problems with the spacebar and enter key
>     >     stopping keyboard input while remote-controlling another
>     user's screen?
>     >     If something on my system is causing this, I'd really like to
>     know what
>     >     it is. Any help is appreciated, thanks,
>     >
>     >     Andrew
>     >
>     >
>     >
>     >
>     > --
>     > WBR
>     > Maxim aka solomax
> 
> 
> 
> 
> -- 
> WBR
> Maxim aka solomax

Re: Input problems during remote control with space and enter keys

Posted by Maxim Solodovnik <so...@gmail.com>.
Hello Andrew,

I saw couple reports regarding keys are function weird.
But unfortunately I have no time to work on this :(

The problems with this are:
1) Keys presses need to be transferred from Flash to Java and back
2) same keys has different codes on different OSes

"included the flash.external.ExternalInterface library"
This might not work since screen component is SWF8 and AFAIK does not
support includes
you can add
if($debug) Debug.write("keydown:", k); to the correspondent handler in the
code
then go to url:
http://localhost:5080/openmeetings/?swf=maindebug.as3.swf10.swf

and see the codes in OpenLaszlo debug console

for java applet you can also add debug info to the log
of run applet in debugger


On Sat, Aug 4, 2012 at 7:40 AM, Andrew Sengul <an...@contrastco.com> wrote:

> Hi Maxim,
>
> Thanks for the message, is this a known problem with other people, or am
> I the only one experiencing it? I've been doing some tests modifying the
> source file but so far I haven't been able to figure out what causes the
> problem or get any debug data to display in my browser.
>
> I have included the flash.external.ExternalInterface library in the
> screenSharingDialog.lzx file and added this line to the keydown and
> keyup event handlers:
>
> ExternalInterface.call( "console.log" , k);
>
> But I'm not getting anything to display in Firebug.
>
> Is there a good way I can collect debug data from the Flash application?
> That would help me diagnose the problem. I've tried console-logging the
> Java application that is run by the person sharing their screen, but it
> doesn't indicate anything abnormal when the remote user presses
> spacebar, so I think the problem is with the Flash part of the application.
>
> Thanks,
>
> Andrew
>
> On 08/02/2012 10:17 PM, Maxim Solodovnik wrote:
> > Thanks for your investigation, I'll try to handle this (if will have
> > enough time)
> > Or you can propose the patch :)
> >
> > On Fri, Aug 3, 2012 at 12:03 PM, Andrew Sengul <andrew@contrastco.com
> > <ma...@contrastco.com>> wrote:
> >
> >     Hi everyone,
> >
> >     I posted about this a while ago and have since found some more about
> >     input handling with the OpenMeetings remote control. Basically, my
> >     problem is that when a user is remotely controlling another user's
> >     screen through OpenMeetings, if the remote-controlling user presses
> the
> >     spacebar or enter key, keyboard input to the remote screen stops
> >     working. The mouse will still work, but no keys pressed will
> register on
> >     the other user's computer.
> >
> >     It looks like screen remote control within the Flash application is
> >     handled by the OpenLaszlo file
> >     singlewebapp/WebContent/swf10/screensharing/screenSharingDialog.lzx,
> and
> >     there are a number of rules to address discrepancies in keycodes
> between
> >     systems, but there appear to be no specific rules in that file
> governing
> >     the spacebar or enter key. I can see that events fire when a key is
> >     pressed (keydown) and released (keyup), so my guess at what's going
> >     wrong is that there's something about the keyup event that causes it
> to
> >     react badly to the use of the space and enter keys so that it shuts
> down
> >     the keycode processing system entirely. Does anyone who's familiar
> with
> >     the screenSharingDialog.lzx file know what could be happening?
> >
> >     Also, has anyone else had problems with the spacebar and enter key
> >     stopping keyboard input while remote-controlling another user's
> screen?
> >     If something on my system is causing this, I'd really like to know
> what
> >     it is. Any help is appreciated, thanks,
> >
> >     Andrew
> >
> >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Re: Input problems during remote control with space and enter keys

Posted by Andrew Sengul <an...@contrastco.com>.
Hi Maxim,

Thanks for the message, is this a known problem with other people, or am
I the only one experiencing it? I've been doing some tests modifying the
source file but so far I haven't been able to figure out what causes the
problem or get any debug data to display in my browser.

I have included the flash.external.ExternalInterface library in the
screenSharingDialog.lzx file and added this line to the keydown and
keyup event handlers:

ExternalInterface.call( "console.log" , k);

But I'm not getting anything to display in Firebug.

Is there a good way I can collect debug data from the Flash application?
That would help me diagnose the problem. I've tried console-logging the
Java application that is run by the person sharing their screen, but it
doesn't indicate anything abnormal when the remote user presses
spacebar, so I think the problem is with the Flash part of the application.

Thanks,

Andrew

On 08/02/2012 10:17 PM, Maxim Solodovnik wrote:
> Thanks for your investigation, I'll try to handle this (if will have
> enough time)
> Or you can propose the patch :)
> 
> On Fri, Aug 3, 2012 at 12:03 PM, Andrew Sengul <andrew@contrastco.com
> <ma...@contrastco.com>> wrote:
> 
>     Hi everyone,
> 
>     I posted about this a while ago and have since found some more about
>     input handling with the OpenMeetings remote control. Basically, my
>     problem is that when a user is remotely controlling another user's
>     screen through OpenMeetings, if the remote-controlling user presses the
>     spacebar or enter key, keyboard input to the remote screen stops
>     working. The mouse will still work, but no keys pressed will register on
>     the other user's computer.
> 
>     It looks like screen remote control within the Flash application is
>     handled by the OpenLaszlo file
>     singlewebapp/WebContent/swf10/screensharing/screenSharingDialog.lzx, and
>     there are a number of rules to address discrepancies in keycodes between
>     systems, but there appear to be no specific rules in that file governing
>     the spacebar or enter key. I can see that events fire when a key is
>     pressed (keydown) and released (keyup), so my guess at what's going
>     wrong is that there's something about the keyup event that causes it to
>     react badly to the use of the space and enter keys so that it shuts down
>     the keycode processing system entirely. Does anyone who's familiar with
>     the screenSharingDialog.lzx file know what could be happening?
> 
>     Also, has anyone else had problems with the spacebar and enter key
>     stopping keyboard input while remote-controlling another user's screen?
>     If something on my system is causing this, I'd really like to know what
>     it is. Any help is appreciated, thanks,
> 
>     Andrew
> 
> 
> 
> 
> -- 
> WBR
> Maxim aka solomax

Re: Input problems during remote control with space and enter keys

Posted by Maxim Solodovnik <so...@gmail.com>.
Thanks for your investigation, I'll try to handle this (if will have enough
time)
Or you can propose the patch :)

On Fri, Aug 3, 2012 at 12:03 PM, Andrew Sengul <an...@contrastco.com>wrote:

> Hi everyone,
>
> I posted about this a while ago and have since found some more about
> input handling with the OpenMeetings remote control. Basically, my
> problem is that when a user is remotely controlling another user's
> screen through OpenMeetings, if the remote-controlling user presses the
> spacebar or enter key, keyboard input to the remote screen stops
> working. The mouse will still work, but no keys pressed will register on
> the other user's computer.
>
> It looks like screen remote control within the Flash application is
> handled by the OpenLaszlo file
> singlewebapp/WebContent/swf10/screensharing/screenSharingDialog.lzx, and
> there are a number of rules to address discrepancies in keycodes between
> systems, but there appear to be no specific rules in that file governing
> the spacebar or enter key. I can see that events fire when a key is
> pressed (keydown) and released (keyup), so my guess at what's going
> wrong is that there's something about the keyup event that causes it to
> react badly to the use of the space and enter keys so that it shuts down
> the keycode processing system entirely. Does anyone who's familiar with
> the screenSharingDialog.lzx file know what could be happening?
>
> Also, has anyone else had problems with the spacebar and enter key
> stopping keyboard input while remote-controlling another user's screen?
> If something on my system is causing this, I'd really like to know what
> it is. Any help is appreciated, thanks,
>
> Andrew
>



-- 
WBR
Maxim aka solomax

Input problems during remote control with space and enter keys

Posted by Andrew Sengul <an...@contrastco.com>.
Hi everyone,

I posted about this a while ago and have since found some more about
input handling with the OpenMeetings remote control. Basically, my
problem is that when a user is remotely controlling another user's
screen through OpenMeetings, if the remote-controlling user presses the
spacebar or enter key, keyboard input to the remote screen stops
working. The mouse will still work, but no keys pressed will register on
the other user's computer.

It looks like screen remote control within the Flash application is
handled by the OpenLaszlo file
singlewebapp/WebContent/swf10/screensharing/screenSharingDialog.lzx, and
there are a number of rules to address discrepancies in keycodes between
systems, but there appear to be no specific rules in that file governing
the spacebar or enter key. I can see that events fire when a key is
pressed (keydown) and released (keyup), so my guess at what's going
wrong is that there's something about the keyup event that causes it to
react badly to the use of the space and enter keys so that it shuts down
the keycode processing system entirely. Does anyone who's familiar with
the screenSharingDialog.lzx file know what could be happening?

Also, has anyone else had problems with the spacebar and enter key
stopping keyboard input while remote-controlling another user's screen?
If something on my system is causing this, I'd really like to know what
it is. Any help is appreciated, thanks,

Andrew

Re: Latest Installer - Debian & Ubuntu (For Testing and Comments)

Posted by Dimitri Yioulos <dy...@onpointfc.com>.
I think that this is where the use of the "alternatives" program would prove 
useful.  In debian or ubuntu, I believe the command 
is "update-alternatives --config java"

HTH

Dimitri


On Thursday 02 August 2012 6:15:57 pm George Kirkham wrote:
> Hi,
>
>
>
> I had problems when I “5) install openoffice.org instead of all its parts”
> because installing full OpenOffice altered the java package to OpenJRE and
> I was unable to use sun java.
>
>
>
> Thanks,
>
>
>
> George Kirkham
>
>
>
>
>
>
>
> From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
> Sent: Friday, 3 August 2012 3:48 AM
> To: openmeetings-user@incubator.apache.org
> Subject: RE: Latest Installer - Debian & Ubuntu (For Testing and Comments)
>
>
>
> Thanks Maxim,
>
>
>
> Don’t apologies mate all good comments J  - I’ll add them in.
>
>
>
> Cheers
>
>
>
> From: Maxim Solodovnik [mailto:solomax666@gmail.com]
> Sent: 02 August 2012 18:43
> To: openmeetings-user@incubator.apache.org
> Subject: Re: Latest Installer - Debian & Ubuntu (For Testing and Comments)
>
>
>
> I would improve the following:
>
> 1) add check if script is running as root
>
> 2) add variable so one can easily change /usr/adm to /opt :)
>
> 3) Add debian/ubuntu autodetect
>
> 4) add keytool to alternatives
>
> 5) install openoffice.org instead of all its parts
>
> 6) install swftools as deb package based on architecture
>
> 7) move all users/passwords to variables
>
> 8) move downloading and unarchiving of jodconverter to the correspondent
> section of the script
>
> 9) remove ant/checkout/compile and replace it with downloading of OM binary
> 10) replace manual persistence.xml patching and web installer with command
> line admin (1 line command to select correct DB and install)
>
> 11) I would create functions for common actions like mysql installation
> etc.
>
>
> sorry for so much corrections :)))
>
> On Fri, Aug 3, 2012 at 12:28 AM, Stephen Cottham
> <St...@robertbird.com.au> wrote:
>
> Hi All,
>
>
>
> Find attached the latest Installer, now has a menu for Debian and Ubuntu
> Installs and an Upgrade option.
>
>
>
> This is for testing and comments, PHP has been removed as shown by Jakub in
> favour of the much simpler two liner and happy for anyone to suggest better
> more efficient changes.
>
>
>
> Debian runs thru ok at this stage as does the Upgrade, the Ubuntu still
> needs some user intervention thru the install process which I’ll work on
> later (maybe use expect )
>
>
>
> I’ll incorporate Jakubs improvements once I get his latest contribution,
> from his last script looks like he will be adding error detection and
> detection of number of cores to speed up compilation and general clean-up
> etc.. – and anything else he adds (or anyone else wants to add) in the
> mean-time.
>
>
>
> I’ll add the SVN folder “scripts” tomorrow as suggested by Sebastian to
> keep this stuff in one location.
>
>
>
> Best Regards
>
>
>
>
>
> Stephen Cottham
> Group IT Manager (Associate)
>
> Robert Bird Group
> Level 5, 333 Ann St
> Brisbane, Queensland, 4000, Australia
>
> Phone: +6173 319 2777 (AUS)
>
> Phone: +44207 592 8000 (UK)
>
> Fax: +6173 319 2799
>
>
>
> Mobile:  +61400 756 963 (AUS)
>
> Mobile:  +447900 918 616 (UK)
>
> Web: www.robertbird.com <http://www.robertbird.com/>
>
>   <http://www.robertbird.com.au/>
>
> This email and any attachments are confidential and may contain legally
> privileged information or copyright material. Unless expressly stated,
> confidentiality and/or legal privilege is not intended to be waived by the
> sending of this email. The contents of this email, including any
> attachments, are intended solely for the use of the individual or entity to
> whom they are addressed. If you are not an intended recipient, please
> contact us immediately by return email and then delete both messages. You
> may not otherwise read, forward, copy, use or disclose this email or any
> attachments. Any views expressed in this email are those of the individual
> sender except where the sender expressly, and with authority, states
> otherwise. It is your responsibility to check any attachments for viruses
> or defects before opening or sending them on. None of the sender or its
> related entities accepts any liability for any consequential damage
> resulting from this email containing computer viruses.
>
>
>
>
> Disclaimer added by CodeTwo Exchange Rules
> www.codetwo.com
>
>
>
>
>
>
>
>
>
> --
> WBR
> Maxim aka solomax



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


RE: Latest Installer - Debian & Ubuntu (For Testing and Comments)

Posted by George Kirkham <gk...@co2crc.com.au>.
Thanks Maxim, “Sun Java need to installed after office”,  yes, this is what I found out, with the order of installing Sun Java 6,  it must be installed after OpenOffice.

 

Thanks,

 

George Kirkham

 

 

 

From: Maxim Solodovnik [mailto:solomax666@gmail.com] 
Sent: Friday, 3 August 2012 10:58 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: Latest Installer - Debian & Ubuntu (For Testing and Comments)

 

Sun Java need to installed after office.
After adding it to alternative it is not altered back

On Aug 3, 2012 5:16 AM, "George Kirkham" <gk...@co2crc.com.au> wrote:

Hi,

 

I had problems when I “5) install openoffice.org instead of all its parts” because installing full OpenOffice altered the java package to OpenJRE and I was unable to use sun java.

 

Thanks,

 

George Kirkham

 

 

 

From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au] 
Sent: Friday, 3 August 2012 3:48 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: Latest Installer - Debian & Ubuntu (For Testing and Comments)

 

Thanks Maxim,

 

Don’t apologies mate all good comments J  - I’ll add them in.

 

Cheers 

 

From: Maxim Solodovnik [mailto:solomax666@gmail.com] 
Sent: 02 August 2012 18:43
To: openmeetings-user@incubator.apache.org
Subject: Re: Latest Installer - Debian & Ubuntu (For Testing and Comments)

 

I would improve the following:

1) add check if script is running as root

2) add variable so one can easily change /usr/adm to /opt :)

3) Add debian/ubuntu autodetect

4) add keytool to alternatives

5) install openoffice.org instead of all its parts

6) install swftools as deb package based on architecture

7) move all users/passwords to variables

8) move downloading and unarchiving of jodconverter to the correspondent section of the script

9) remove ant/checkout/compile and replace it with downloading of OM binary
10) replace manual persistence.xml patching and web installer with command line admin (1 line command to select correct DB and install)

11) I would create functions for common actions like mysql installation etc.


sorry for so much corrections :)))

On Fri, Aug 3, 2012 at 12:28 AM, Stephen Cottham <St...@robertbird.com.au> wrote:

Hi All,

 

Find attached the latest Installer, now has a menu for Debian and Ubuntu Installs and an Upgrade option.

 

This is for testing and comments, PHP has been removed as shown by Jakub in favour of the much simpler two liner and happy for anyone to suggest better more efficient changes.

 

Debian runs thru ok at this stage as does the Upgrade, the Ubuntu still needs some user intervention thru the install process which I’ll work on later (maybe use expect )

 

I’ll incorporate Jakubs improvements once I get his latest contribution, from his last script looks like he will be adding error detection and detection of number of cores to speed up compilation and general clean-up etc.. – and anything else he adds (or anyone else wants to add) in the mean-time.

 

I’ll add the SVN folder “scripts” tomorrow as suggested by Sebastian to keep this stuff in one location.

 

Best Regards

 

 

Stephen Cottham
Group IT Manager (Associate)

Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia

Phone: +6173 319 2777 (AUS)

Phone: +44207 592 8000 (UK)

Fax: +6173 319 2799

 

Mobile:  +61400 756 963 (AUS)

Mobile:  +447900 918 616 (UK)

Web: www.robertbird.com <http://www.robertbird.com/> 

  <http://www.robertbird.com.au/> 

This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses. 

 


Disclaimer added by CodeTwo Exchange Rules
www.codetwo.com

 





 

-- 
WBR
Maxim aka solomax


RE: Latest Installer - Debian & Ubuntu (For Testing and Comments)

Posted by Maxim Solodovnik <so...@gmail.com>.
Sun Java need to installed after office.
After adding it to alternative it is not altered back
On Aug 3, 2012 5:16 AM, "George Kirkham" <gk...@co2crc.com.au> wrote:

> Hi,****
>
> ** **
>
> I had problems when I “5) install openoffice.org instead of all its parts”
> because installing full OpenOffice altered the java package to OpenJRE and
> I was unable to use sun java.****
>
> ** **
>
> Thanks,****
>
> ** **
>
> George Kirkham****
>
> ** **
>
> ** **
>
> ** **
>
> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
> *Sent:* Friday, 3 August 2012 3:48 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* RE: Latest Installer - Debian & Ubuntu (For Testing and
> Comments)****
>
> ** **
>
> Thanks Maxim,****
>
> ** **
>
> Don’t apologies mate all good comments J  - I’ll add them in.****
>
> ** **
>
> Cheers ****
>
> ** **
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com<so...@gmail.com>]
>
> *Sent:* 02 August 2012 18:43
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: Latest Installer - Debian & Ubuntu (For Testing and
> Comments)****
>
> ** **
>
> I would improve the following:****
>
> 1) add check if script is running as root****
>
> 2) add variable so one can easily change /usr/adm to /opt :)****
>
> 3) Add debian/ubuntu autodetect****
>
> 4) add keytool to alternatives****
>
> 5) install openoffice.org instead of all its parts****
>
> 6) install swftools as deb package based on architecture****
>
> 7) move all users/passwords to variables****
>
> 8) move downloading and unarchiving of jodconverter to the correspondent
> section of the script****
>
> 9) remove ant/checkout/compile and replace it with downloading of OM binary
> 10) replace manual persistence.xml patching and web installer with command
> line admin (1 line command to select correct DB and install)****
>
> 11) I would create functions for common actions like mysql installation
> etc.
>
>
> sorry for so much corrections :)))****
>
> On Fri, Aug 3, 2012 at 12:28 AM, Stephen Cottham <
> Stephen.Cottham@robertbird.com.au> wrote:****
>
> Hi All,****
>
>  ****
>
> Find attached the latest Installer, now has a menu for Debian and Ubuntu
> Installs and an Upgrade option.****
>
>  ****
>
> This is for testing and comments, PHP has been removed as shown by Jakub
> in favour of the much simpler two liner and happy for anyone to suggest
> better more efficient changes.****
>
>  ****
>
> Debian runs thru ok at this stage as does the Upgrade, the Ubuntu still
> needs some user intervention thru the install process which I’ll work on
> later (maybe use expect )****
>
>  ****
>
> I’ll incorporate Jakubs improvements once I get his latest contribution,
> from his last script looks like he will be adding error detection and
> detection of number of cores to speed up compilation and general clean-up
> etc.. – and anything else he adds (or anyone else wants to add) in the
> mean-time.****
>
>  ****
>
> I’ll add the SVN folder “scripts” tomorrow as suggested by Sebastian to
> keep this stuff in one location.****
>
>  ****
>
> Best Regards****
>
>  ****
>
>  ****
>
> *Stephen Cottham**
> *Group IT Manager (Associate)
>
> Robert Bird Group
> Level 5, 333 Ann St
> Brisbane, Queensland, 4000, Australia****
>
> *Phone: +6173 319 2777 (AUS)*****
>
> *Phone: +44207 592 8000 (UK)*****
>
> *Fax: +6173 319 2799*****
>
>  ****
>
> *Mobile:  +61400 756 963 (AUS)*****
>
> *Mobile:  +447900 918 616 (UK)*****
>
> *Web: **www.robertbird.com* <http://www.robertbird.com/>****
>
> <http://www.robertbird.com.au/>
>
> This email and any attachments are confidential and may contain legally
> privileged information or copyright material. Unless expressly stated,
> confidentiality and/or legal privilege is not intended to be waived by the
> sending of this email. The contents of this email, including any
> attachments, are intended solely for the use of the individual or entity to
> whom they are addressed. If you are not an intended recipient, please
> contact us immediately by return email and then delete both messages. You
> may not otherwise read, forward, copy, use or disclose this email or any
> attachments. Any views expressed in this email are those of the individual
> sender except where the sender expressly, and with authority, states
> otherwise. It is your responsibility to check any attachments for viruses
> or defects before opening or sending them on. None of the sender or its
> related entities accepts any liability for any consequential damage
> resulting from this email containing computer viruses. ****
>
> ****
>
>
> Disclaimer added by *CodeTwo Exchange Rules*
> www.codetwo.com****
>
> ** **
>
>
>
> ****
>
> ** **
>
> --
> WBR
> Maxim aka solomax****
>

RE: Latest Installer - Debian & Ubuntu (For Testing and Comments)

Posted by George Kirkham <gk...@co2crc.com.au>.
Hi,

 

I had problems when I “5) install openoffice.org instead of all its parts” because installing full OpenOffice altered the java package to OpenJRE and I was unable to use sun java.

 

Thanks,

 

George Kirkham

 

 

 

From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au] 
Sent: Friday, 3 August 2012 3:48 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: Latest Installer - Debian & Ubuntu (For Testing and Comments)

 

Thanks Maxim,

 

Don’t apologies mate all good comments J  - I’ll add them in.

 

Cheers 

 

From: Maxim Solodovnik [mailto:solomax666@gmail.com] 
Sent: 02 August 2012 18:43
To: openmeetings-user@incubator.apache.org
Subject: Re: Latest Installer - Debian & Ubuntu (For Testing and Comments)

 

I would improve the following:

1) add check if script is running as root

2) add variable so one can easily change /usr/adm to /opt :)

3) Add debian/ubuntu autodetect

4) add keytool to alternatives

5) install openoffice.org instead of all its parts

6) install swftools as deb package based on architecture

7) move all users/passwords to variables

8) move downloading and unarchiving of jodconverter to the correspondent section of the script

9) remove ant/checkout/compile and replace it with downloading of OM binary
10) replace manual persistence.xml patching and web installer with command line admin (1 line command to select correct DB and install)

11) I would create functions for common actions like mysql installation etc.


sorry for so much corrections :)))

On Fri, Aug 3, 2012 at 12:28 AM, Stephen Cottham <St...@robertbird.com.au> wrote:

Hi All,

 

Find attached the latest Installer, now has a menu for Debian and Ubuntu Installs and an Upgrade option.

 

This is for testing and comments, PHP has been removed as shown by Jakub in favour of the much simpler two liner and happy for anyone to suggest better more efficient changes.

 

Debian runs thru ok at this stage as does the Upgrade, the Ubuntu still needs some user intervention thru the install process which I’ll work on later (maybe use expect )

 

I’ll incorporate Jakubs improvements once I get his latest contribution, from his last script looks like he will be adding error detection and detection of number of cores to speed up compilation and general clean-up etc.. – and anything else he adds (or anyone else wants to add) in the mean-time.

 

I’ll add the SVN folder “scripts” tomorrow as suggested by Sebastian to keep this stuff in one location.

 

Best Regards

 

 

Stephen Cottham
Group IT Manager (Associate)

Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia

Phone: +6173 319 2777 (AUS)

Phone: +44207 592 8000 (UK)

Fax: +6173 319 2799

 

Mobile:  +61400 756 963 (AUS)

Mobile:  +447900 918 616 (UK)

Web: www.robertbird.com <http://www.robertbird.com/> 

  <http://www.robertbird.com.au/> 

This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses. 

 


Disclaimer added by CodeTwo Exchange Rules
www.codetwo.com

 





 

-- 
WBR
Maxim aka solomax


RE: Latest Installer - Debian & Ubuntu (For Testing and Comments)

Posted by Stephen Cottham <St...@robertbird.com.au>.
Thanks Maxim,

 

Don’t apologies mate all good comments J  - I’ll add them in.

 

Cheers 

 

From: Maxim Solodovnik [mailto:solomax666@gmail.com] 
Sent: 02 August 2012 18:43
To: openmeetings-user@incubator.apache.org
Subject: Re: Latest Installer - Debian & Ubuntu (For Testing and Comments)

 

I would improve the following:

1) add check if script is running as root

2) add variable so one can easily change /usr/adm to /opt :)

3) Add debian/ubuntu autodetect

4) add keytool to alternatives

5) install openoffice.org instead of all its parts

6) install swftools as deb package based on architecture

7) move all users/passwords to variables

8) move downloading and unarchiving of jodconverter to the correspondent section of the script

9) remove ant/checkout/compile and replace it with downloading of OM binary
10) replace manual persistence.xml patching and web installer with command line admin (1 line command to select correct DB and install)

11) I would create functions for common actions like mysql installation etc.


sorry for so much corrections :)))

On Fri, Aug 3, 2012 at 12:28 AM, Stephen Cottham <St...@robertbird.com.au> wrote:

Hi All,

 

Find attached the latest Installer, now has a menu for Debian and Ubuntu Installs and an Upgrade option.

 

This is for testing and comments, PHP has been removed as shown by Jakub in favour of the much simpler two liner and happy for anyone to suggest better more efficient changes.

 

Debian runs thru ok at this stage as does the Upgrade, the Ubuntu still needs some user intervention thru the install process which I’ll work on later (maybe use expect )

 

I’ll incorporate Jakubs improvements once I get his latest contribution, from his last script looks like he will be adding error detection and detection of number of cores to speed up compilation and general clean-up etc.. – and anything else he adds (or anyone else wants to add) in the mean-time.

 

I’ll add the SVN folder “scripts” tomorrow as suggested by Sebastian to keep this stuff in one location.

 

Best Regards

 

 

Stephen Cottham
Group IT Manager (Associate)

Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia

Phone: +6173 319 2777 (AUS)

Phone: +44207 592 8000 (UK)

Fax: +6173 319 2799

 

Mobile:  +61400 756 963 (AUS)

Mobile:  +447900 918 616 (UK)

Web: www.robertbird.com <http://www.robertbird.com/> 

  <http://www.robertbird.com.au/> 

This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses. 

 


Disclaimer added by CodeTwo Exchange Rules
www.codetwo.com

 





 

-- 
WBR
Maxim aka solomax


Stephen Cottham
Group IT Manager (Associate)

Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 (AUS)
Phone: +44207 592 8000 (UK)
Fax: +6173 319 2799
 
Mobile:  +61400 756 963 (AUS)
Mobile: +447900 918 616 (UK)
Web: www.robertbird.com


This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses. 

Disclaimer added by CodeTwo Exchange Rules	
http://www.codetwo.com	


Re: Latest Installer - Debian & Ubuntu (For Testing and Comments)

Posted by Maxim Solodovnik <so...@gmail.com>.
I would improve the following:
1) add check if script is running as root
2) add variable so one can easily change /usr/adm to /opt :)
3) Add debian/ubuntu autodetect
4) add keytool to alternatives
5) install openoffice.org instead of all its parts
6) install swftools as deb package based on architecture
7) move all users/passwords to variables
8) move downloading and unarchiving of jodconverter to the correspondent
section of the script
9) remove ant/checkout/compile and replace it with downloading of OM binary
10) replace manual persistence.xml patching and web installer with command
line admin (1 line command to select correct DB and install)
11) I would create functions for common actions like mysql installation etc.


sorry for so much corrections :)))

On Fri, Aug 3, 2012 at 12:28 AM, Stephen Cottham <
Stephen.Cottham@robertbird.com.au> wrote:

> Hi All,****
>
> ** **
>
> Find attached the latest Installer, now has a menu for Debian and Ubuntu
> Installs and an Upgrade option.****
>
> ** **
>
> This is for testing and comments, PHP has been removed as shown by Jakub
> in favour of the much simpler two liner and happy for anyone to suggest
> better more efficient changes.****
>
> ** **
>
> Debian runs thru ok at this stage as does the Upgrade, the Ubuntu still
> needs some user intervention thru the install process which I’ll work on
> later (maybe use expect )****
>
> ** **
>
> I’ll incorporate Jakubs improvements once I get his latest contribution,
> from his last script looks like he will be adding error detection and
> detection of number of cores to speed up compilation and general clean-up
> etc.. – and anything else he adds (or anyone else wants to add) in the
> mean-time.****
>
> ** **
>
> I’ll add the SVN folder “scripts” tomorrow as suggested by Sebastian to
> keep this stuff in one location.****
>
> ** **
>
> Best Regards****
>
> ** **
>
> ** **
>
> *Stephen Cottham**
> *Group IT Manager (Associate)
>
> Robert Bird Group
> Level 5, 333 Ann St
> Brisbane, Queensland, 4000, Australia****
>
> *Phone: +6173 319 2777 (AUS)*
>
> *Phone: +44207 592 8000 (UK)*****
>
> *Fax: +6173 319 2799*
>
> ******
>
> *Mobile:  +61400 756 963 (AUS)*
>
> *Mobile:  +447900 918 616 (UK)*
>
> *Web: **www.robertbird.com* <http://www.robertbird.com/>****
>
> ********************************************************************<http://www.robertbird.com.au/><http://www.robertbird.com.au/>
>
> This email and any attachments are confidential and may contain legally
> privileged information or copyright material. Unless expressly stated,
> confidentiality and/or legal privilege is not intended to be waived by the
> sending of this email. The contents of this email, including any
> attachments, are intended solely for the use of the individual or entity to
> whom they are addressed. If you are not an intended recipient, please
> contact us immediately by return email and then delete both messages. You
> may not otherwise read, forward, copy, use or disclose this email or any
> attachments. Any views expressed in this email are those of the individual
> sender except where the sender expressly, and with authority, states
> otherwise. It is your responsibility to check any attachments for viruses
> or defects before opening or sending them on. None of the sender or its
> related entities accepts any liability for any consequential damage
> resulting from this email containing computer viruses.
>
>
> Disclaimer added by *CodeTwo Exchange Rules*
> www.codetwo.com
>
>


-- 
WBR
Maxim aka solomax

RE: Latest Installer - Debian & Ubuntu (For Testing and Comments)

Posted by Stephen Cottham <St...@robertbird.com.au>.
Nice one Jakub, thanks for that.

Have a good trip.

Stephen Cottham
Group IT Manager (Associate)

Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 (AUS)
Phone: +44207 592 8000 (UK)
Fax: +6173 319 2799
 
Mobile:  +61400 756 963 (AUS)
Mobile: +447900 918 616 (UK)
Web: www.robertbird.com


This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses. 

Disclaimer added by CodeTwo Exchange Rules	
http://www.codetwo.com	

-----Original Message-----
From: Jakub Skory [mailto:kuba@ukw.edu.pl] 
Sent: 03 August 2012 10:55
To: openmeetings-user@incubator.apache.org
Subject: Re: Latest Installer - Debian & Ubuntu (For Testing and Comments)

On Fri, Aug 03, 2012 at 06:00:41PM +1000, Stephen Cottham wrote:
>> For the same reason I advise against using 'clear' between install 
>> steps - it makes scrolling and copy&paste difficult.
> The clear command I used to make it easier to follow on screen for the 
> end user, we can write this information (minus the clear) to a log 
> file for them to access any errors instead of trying to copy and paste 
> from screen.
It's good idea to dump stdout of all commands to file, and print only user-friendly messages. Log file always can be watched by tail -f foo.log by nerds such as I am. :)
 
>> Now I merging Stephen's changes with my version of script and I'll 
>> post it here ASAP.
>> I'm sorry for such a delay, but we have shitload of work here, in 
>> university IT center. Tomorrow I'm going to holidays. I'll be back on 
>> 13th august.
> If you don’t have time to merge I can do this later today from your 
> other script, either way let me know.
In attachement there is my last version of script. Please, take from it what you find useful. For the moment where compilation of OM begins it is tested and work OK. I did not managed to compile OM because of insufficient RAM (i have only 1GB). Now I'm trying with swap, but it is horribly slow. 
When I'm back from holidays I'll take a look at JIRA and submit my changes directly to it. I'm going to wonderful place, where there is no Internet and no computers.

Please take a special look on 'checkinstall' part.
--
Jakub Skory, <kuba(at)ukw(dot)edu(dot)pl> System Operator IT Center:
_______________________________________________________________________
tel:             +48 52 3257 649,  +48 52 3257 647
fax:             +48 52 3257 646,  +48 52 3257 647
working hours:    08a.m. - 04p.m.
mail:             di(at)ukw(dot)edu(dot)pl
web:              http://di.ukw.edu.pl/
postal address:   M. Kopernika 1 (room 8/9), 85-074, Bydgoszcz.
_______________________________________________________________________
Kazimierz Wielki University,
J. K. Chodkiewicza 30,
85-064, Bydgoszcz, Poland.
_______________________________________________________________________


Re: Latest Installer - Debian & Ubuntu (For Testing and Comments)

Posted by Jakub Skory <ku...@ukw.edu.pl>.
On Fri, Aug 03, 2012 at 11:54:59AM +0200, Jakub Skory wrote:
> When I'm back from holidays I'll take a look at JIRA and submit my
> changes directly to it.

Where is an issue opened for installer script in JIRA? I can not find
it.
-- 
Jakub Skory, <kuba(at)ukw(dot)edu(dot)pl>
System Operator
IT Center:
_______________________________________________________________________
tel:             +48 52 3257 649,  +48 52 3257 647
fax:             +48 52 3257 646,  +48 52 3257 647
working hours:    08a.m. - 04p.m.
mail:             di(at)ukw(dot)edu(dot)pl
web:              http://di.ukw.edu.pl/
postal address:   M. Kopernika 1 (room 8/9), 85-074, Bydgoszcz.
_______________________________________________________________________
Kazimierz Wielki University,
J. K. Chodkiewicza 30,
85-064, Bydgoszcz, Poland.
_______________________________________________________________________

Re: Latest Installer - Debian & Ubuntu (For Testing and Comments)

Posted by Jakub Skory <ku...@ukw.edu.pl>.
On Fri, Aug 03, 2012 at 06:00:41PM +1000, Stephen Cottham wrote:
>> For the same reason I advise against using 'clear' between install 
>> steps - it makes scrolling and copy&paste difficult.
> The clear command I used to make it easier to follow on screen for the
> end user, we can write this information (minus the clear) to a log file
> for them to access any errors instead of trying to copy and paste from 
> screen.
It's good idea to dump stdout of all commands to file, and print only
user-friendly messages. Log file always can be watched by tail -f
foo.log by nerds such as I am. :)
 
>> Now I merging Stephen's changes with my version of script and I'll
>> post it here ASAP.
>> I'm sorry for such a delay, but we have shitload of work here, in
>> university IT center. Tomorrow I'm going to holidays. I'll be back 
>> on 13th august.
> If you don’t have time to merge I can do this later today from your other
> script, either way let me know.
In attachement there is my last version of script. Please, take from it
what you find useful. For the moment where compilation of OM begins it
is tested and work OK. I did not managed to compile OM because of
insufficient RAM (i have only 1GB). Now I'm trying with swap, but it is
horribly slow. 
When I'm back from holidays I'll take a look at JIRA and submit my
changes directly to it. I'm going to wonderful place, where there is no
Internet and no computers.

Please take a special look on 'checkinstall' part.
-- 
Jakub Skory, <kuba(at)ukw(dot)edu(dot)pl>
System Operator
IT Center:
_______________________________________________________________________
tel:             +48 52 3257 649,  +48 52 3257 647
fax:             +48 52 3257 646,  +48 52 3257 647
working hours:    08a.m. - 04p.m.
mail:             di(at)ukw(dot)edu(dot)pl
web:              http://di.ukw.edu.pl/
postal address:   M. Kopernika 1 (room 8/9), 85-074, Bydgoszcz.
_______________________________________________________________________
Kazimierz Wielki University,
J. K. Chodkiewicza 30,
85-064, Bydgoszcz, Poland.
_______________________________________________________________________

RE: Latest Installer - Debian & Ubuntu (For Testing and Comments)

Posted by Stephen Cottham <St...@robertbird.com.au>.
Thanks Jakub,

You can submit you changes via JIRA and I'll commit them. (You will be able to check it out via SVN once I create the folder so it will make it easier for anyone wanting to work on it)

The clear command I used to make it easier to follow on screen for the end user, we can write this information (minus the clear) to a log file for them to access any errors instead of trying to copy and paste from screen.

If you don’t have time to merge I can do this later today from your other script, either way let me know.


Best Regards



Stephen Cottham
Group IT Manager (Associate)

Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 (AUS)
Phone: +44207 592 8000 (UK)
Fax: +6173 319 2799
 
Mobile:  +61400 756 963 (AUS)
Mobile: +447900 918 616 (UK)
Web: www.robertbird.com


This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses. 

Disclaimer added by CodeTwo Exchange Rules	
http://www.codetwo.com	

-----Original Message-----
From: Jakub Skory [mailto:kuba@ukw.edu.pl] 
Sent: 03 August 2012 08:50
To: openmeetings-user@incubator.apache.org
Subject: Re: Latest Installer - Debian & Ubuntu (For Testing and Comments)

On Fri, Aug 03, 2012 at 03:28:34AM +1000, Stephen Cottham wrote:
>    I'll incorporate Jakubs improvements once I get his latest
>    contribution, from his last script looks like he will be adding error
>    detection and detection of number of cores to speed up compilation and
>    general clean-up etc.. - and anything else he adds (or anyone else
>    wants to add) in the mean-time.
Well - detection of number of cores is done. It just count them by
	cpu_count=$((`grep processor /proc/cpuinfo | wc -l`+1)); and then pass argum
	-j $cpu_count
to 'make'. It has huge performance impact on multicores machines.

My error detection was only adding 
	foobar || exit 1
anywhere where it is possible. It just stops script after, for example, apt-get failure, so you can see what went wrong. For the same reason I advise against using 'clear' between install steps - it makes scrolling and copy&paste difficult.

My major change was putting 'checkinstall' everywhere where script writes outsite of /usr/adm. 'checkinstall' makes DEB packages automagiclly and then installs it through standard Debian packaging  system. So - you can remove it by running 'dpkg --remove foobar'. 

Now I merging Stephen's changes with my version of script and I'll post it here ASAP.
I'm sorry for such a delay, but we have shitload of work here, in university IT center. Tomorrow I'm going to holidays. I'll be back on 13th august.
 
>    I'll add the SVN folder "scripts" tomorrow as suggested by Sebastian to
>    keep this stuff in one location.
How can I get access to this folder to commit patches? I have to register somewhere or it is for trusted developers only? :D It would make live easier - because now I have local fork of old version of script - and I have to merge it with newest changes by Stephen.
--
Jakub Skory, <kuba(at)ukw(dot)edu(dot)pl> System Operator IT Center:
_______________________________________________________________________
tel:             +48 52 3257 649,  +48 52 3257 647
fax:             +48 52 3257 646,  +48 52 3257 647
working hours:    08a.m. - 04p.m.
mail:             di(at)ukw(dot)edu(dot)pl
web:              http://di.ukw.edu.pl/
postal address:   M. Kopernika 1 (room 8/9), 85-074, Bydgoszcz.
_______________________________________________________________________
Kazimierz Wielki University,
J. K. Chodkiewicza 30,
85-064, Bydgoszcz, Poland.
_______________________________________________________________________


Re: Latest Installer - Debian & Ubuntu (For Testing and Comments)

Posted by Jakub Skory <ku...@ukw.edu.pl>.
On Fri, Aug 03, 2012 at 03:28:34AM +1000, Stephen Cottham wrote:
>    I'll incorporate Jakubs improvements once I get his latest
>    contribution, from his last script looks like he will be adding error
>    detection and detection of number of cores to speed up compilation and
>    general clean-up etc.. - and anything else he adds (or anyone else
>    wants to add) in the mean-time.
Well - detection of number of cores is done. It just count them by
	cpu_count=$((`grep processor /proc/cpuinfo | wc -l`+1));
and then pass argument
	-j $cpu_count
to 'make'. It has huge performance impact on multicores machines.

My error detection was only adding 
	foobar || exit 1
anywhere where it is possible. It just stops script after, for example,
apt-get failure, so you can see what went wrong. For the same reason
I advise against using 'clear' between install steps - it makes
scrolling and copy&paste difficult.

My major change was putting 'checkinstall' everywhere where script writes
outsite of /usr/adm. 'checkinstall' makes DEB packages automagiclly and
then installs it through standard Debian packaging  system. So - you can
remove it by running 'dpkg --remove foobar'. 

Now I merging Stephen's changes with my version of script and I'll post it here ASAP.
I'm sorry for such a delay, but we have shitload of work here, in university IT
center. Tomorrow I'm going to holidays. I'll be back on 13th august.
 
>    I'll add the SVN folder "scripts" tomorrow as suggested by Sebastian to
>    keep this stuff in one location.
How can I get access to this folder to commit patches? I have to
register somewhere or it is for trusted developers only? :D
It would make live easier - because now I have local fork of old version
of script - and I have to merge it with newest changes by Stephen.
-- 
Jakub Skory, <kuba(at)ukw(dot)edu(dot)pl>
System Operator
IT Center:
_______________________________________________________________________
tel:             +48 52 3257 649,  +48 52 3257 647
fax:             +48 52 3257 646,  +48 52 3257 647
working hours:    08a.m. - 04p.m.
mail:             di(at)ukw(dot)edu(dot)pl
web:              http://di.ukw.edu.pl/
postal address:   M. Kopernika 1 (room 8/9), 85-074, Bydgoszcz.
_______________________________________________________________________
Kazimierz Wielki University,
J. K. Chodkiewicza 30,
85-064, Bydgoszcz, Poland.
_______________________________________________________________________