<br>See we dont want the Websphere to be running as a service. This Websphere is for development and for devleopers.<br><br>We dont want to be run as a service. Inface we are going out of the way to make it NOT run as a service.<br>
<br>The IDE controls the start and stop of the server based on our development needs.<br><br>Is that possible to run it in a non-service mode and also can I just do chmod 777 on the entire folder I should be set.<br><br>-Narahari<br>
<br><div class="gmail_quote">On Wed, Feb 23, 2011 at 12:58 PM, Jim Kinney <span dir="ltr"><<a href="mailto:jim.kinney@gmail.com">jim.kinney@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Websphere is a service. It should be run from a startup script in<br>
/etc/init.d (see man chkconfig). The normal install will do it for you<br>
and all you have to do is start the service.<br>
<br>
The ide will require a PATH change most likely or at the least a path<br>
to the runable binary. If the binary is not already 755 then sudo<br>
chmod 755 foo will fix that.<br>
<br>
On Wed, Feb 23, 2011 at 12:49 PM, Narahari 'n' Savitha<br>
<div><div></div><div class="h5"><<a href="mailto:savithari@gmail.com">savithari@gmail.com</a>> wrote:<br>
> I installed using sudo both Websphere7 and MyEclipseIDE to /opt.... folders.<br>
><br>
> Now its allworking fine. I want to be able to be able to allow regular user<br>
> to run the stuff.<br>
><br>
> Is it possible that way or, I need to set some mask or umask or change<br>
> permissions etc., ?<br>
><br>
> -Narahari<br>
><br>
> On Wed, Feb 23, 2011 at 8:30 AM, Jim Kinney <<a href="mailto:jim.kinney@gmail.com">jim.kinney@gmail.com</a>> wrote:<br>
>><br>
>> That's the way it works in Linuxland as well. Admin installs<br>
>> application and users have access to use it.<br>
>><br>
>> The vm stuff will be static - i.e. a single user login unless you have<br>
>> some ldap/ad stuff setup inside the vm.<br>
>><br>
>> So you create a vm and install as root the apps you need setting stuff<br>
>> to run on boot as needed. Now create a simple user inthe vm with a<br>
>> disposable password, login and verify that user can do what is<br>
>> required. Then you shutdown and copy the vm space. Each developer then<br>
>> has their own vmware space and they import the vm you made to their<br>
>> space. Once they start your vm, the switch into it, login as the<br>
>> preset user and they're back to work.<br>
>><br>
>> On Wed, Feb 23, 2011 at 7:05 AM, Narahari 'n' Savitha<br>
>> <<a href="mailto:savithari@gmail.com">savithari@gmail.com</a>> wrote:<br>
>> > Here is what I want to do.<br>
>> ><br>
>> > VM = VMWare Server<br>
>> > VM Inside = Ubuntu 10.10 64 bit<br>
>> ><br>
>> > I want to install Websphere 7 inside the VM.<br>
>> > Then I want to install the MyEclipse IDE.<br>
>> ><br>
>> > Then I want to kick start the WebSphere server from inside the IDE (it<br>
>> > does<br>
>> > this anyways).<br>
>> ><br>
>> > Once it is all up and runing I plan to distribute the VM to our<br>
>> > developers,<br>
>> > so we dont have to worry about configuration of IDE's to new folks.<br>
>> ><br>
>> > If this can be accomplished as a reg user, I am all for it.<br>
>> ><br>
>> > I thougt that if I do this as superuser then it might be easy to install<br>
>> > once and every one gets it.<br>
>> > What equivalnce I am looking for is, in Windoze world the LAN admin<br>
>> > installs<br>
>> > Word as an admin and the next thing you know all users who<br>
>> > login to that box get Word as an application and thats what I am trying<br>
>> > to<br>
>> > accomplish.<br>
>> ><br>
>> > -Narahari<br>
>> > On Tue, Feb 22, 2011 at 6:17 PM, Michael B. Trausch <<a href="mailto:mike@trausch.us">mike@trausch.us</a>><br>
>> > wrote:<br>
>> >><br>
>> >> On Tue, 2011-02-22 at 14:34 -0500, Narahari 'n' Savitha wrote:<br>
>> >> > How do I run a few scripts like my IDE launcher, the Websphere server<br>
>> >> > etc., to run as sudo aka root without prompting me for the password<br>
>> >> > each time ?<br>
>> >><br>
>> >> As Mike W. pointed out, there is little need to run such things as the<br>
>> >> superuser.<br>
>> >><br>
>> >> If you need to start a dæmon that needs to listen on a privileged port,<br>
>> >> there are a few ways that you can do this. You can grant the<br>
>> >> approriate<br>
>> >> capability to the user account that runs the software (or to the<br>
>> >> software itself, using filesystem capabilities), though this is not a<br>
>> >> universally supported method of operation (why, I'm not sure).<br>
>> >><br>
>> >> The other means would be to have a small (and I mean *tiny*) program<br>
>> >> that runs setuid root and does ABSOLUTELY nothing other than to acquire<br>
>> >> the listening socket, drop root privileges permanently, and then exec<br>
>> >> the target program. That might require a patch to the target program<br>
>> >> so<br>
>> >> that it can take the listening socket file descriptor either on a<br>
>> >> well-known file descriptor or via a command line option that can pass<br>
>> >> in<br>
>> >> the fd number.<br>
>> >><br>
>> >> There are more clever means to do these sorts of things, as well. They<br>
>> >> are, however, left as an exercise to the reader.<br>
>> >><br>
>> >> > Also how do you start any gui app minimized, I need to run VMWare<br>
>> >> > tools as root and minimized.<br>
>> >><br>
>> >> That depends on the toolkit that the program in question is built to<br>
>> >> run<br>
>> >> with. For GTK+ based software, I am not aware of any such<br>
>> >> functionality.<br>
>> >><br>
>> >> --- Mike<br>
>> >><br>
>> >> _______________________________________________<br>
>> >> Ale mailing list<br>
>> >> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
>> >> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
>> >> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
>> >> <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
>> >><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > Ale mailing list<br>
>> > <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
>> > <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
>> > See JOBS, ANNOUNCE and SCHOOLS lists at<br>
>> > <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
>> ><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> --<br>
>> James P. Kinney III<br>
>> I would rather stumble along in freedom than walk effortlessly in chains.<br>
>><br>
>> _______________________________________________<br>
>> Ale mailing list<br>
>> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
>> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
>> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
>> <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
><br>
><br>
> _______________________________________________<br>
> Ale mailing list<br>
> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
> <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
--<br>
James P. Kinney III<br>
I would rather stumble along in freedom than walk effortlessly in chains.<br>
<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</div></div></blockquote></div><br>