Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - How to install Slinger web server?: (10 Items)
   
How to install Slinger web server?  
Hello all-

QNX newbie here, so please pardon this post if I'm missing something obious.

Ins Neutrino 6.4.1, the software installer is no longer included. How does one go about installing the Slinger web 
server if it was not initially installed when the system was set up?

I've tried searching for the source (in order to do a configure->make->make install) but can't seem to locate that 
anywhere. It's not in pkgsrc, either.

Thanks in advance,
Dave
Re: How to install Slinger web server?  
Hi,

No need to do the configure dance.

Slinger is installed at /usr/sbin/slinger on a default PC install of 
QNX. It is also available under $QNX_TARGET.

Docs including examples are here:
http://www.qnx.com/developers/docs/6.4.1/neutrino/utilities/s/slinger.html
http://www.qnx.com/developers/docs/6.4.1/neutrino/user_guide/embedded_web_server.html

Hope this helps,
/P

On 21/04/10 03:40 PM, David Rea wrote:
> Hello all-
>
> QNX newbie here, so please pardon this post if I'm missing something obious.
>
> Ins Neutrino 6.4.1, the software installer is no longer included. How does one go about installing the Slinger web 
server if it was not initially installed when the system was set up?
>
> I've tried searching for the source (in order to do a configure->make->make install) but can't seem to locate that 
anywhere. It's not in pkgsrc, either.
>
> Thanks in advance,
> Dave
>
>
>
> _______________________________________________
>
> Technology
> http://community.qnx.com/sf/go/post52309
>
>    
Re: How to install Slinger web server?  
Thank you Patrik - My curiosity is how Slinger is installed if it was not initially included when the OS was installed. 
Is this even possible? Is Slinger simply included with all QNX installations?

Thanks,
Dave
RE: How to install Slinger web server?  

> -----Original Message-----
> From: David Rea [mailto:community-noreply@qnx.com]
> Sent: Wednesday, April 21, 2010 3:58 PM
> To: technology-networking
> Subject: Re: How to install Slinger web server?
> 
> Thank you Patrik - My curiosity is how Slinger is installed if it was
> not initially included when the OS was installed. Is this even
> possible? 


> Is Slinger simply included with all QNX installations?

Yes it is. 

> 
> Thanks,
> Dave
> 
> 
> 
> _______________________________________________
> 
> Technology
> http://community.qnx.com/sf/go/post52320
> 
RE: How to install Slinger web server?  
Dave,

you seem to come from a Linux world where you install many things from
sources.

In QNX you get a binary of every utility listed in the documentation.
This helps you prevent versioning issues.
If you have a CD install of QNX on an x86 box then you have slinger
under /usr/sbin.

If you are making your own custom system then you need to copy the
binary from your development machine (HOST)'s
${QNX_TARGET}/cpu_arch/usr/sbin to your target boards /usr/sbin.

QNX_TARGET is something like /QNX641/target/qnx6 and cpu_arch is x86,
armle, sh, etc.

--
  Mate

-----Original Message-----
From: David Rea [mailto:community-noreply@qnx.com] 
Sent: April 22, 2010 4:58 AM
To: technology-networking
Subject: Re: How to install Slinger web server?

Thank you Patrik - My curiosity is how Slinger is installed if it was
not initially included when the OS was installed. Is this even possible?
Is Slinger simply included with all QNX installations?

Thanks,
Dave



_______________________________________________

Technology
http://community.qnx.com/sf/go/post52320
RE: How to install Slinger web server?  
slinger is included with the OS

> -----Original Message-----
> From: David Rea [mailto:community-noreply@qnx.com]
> Sent: Wednesday, April 21, 2010 3:40 PM
> To: technology-networking
> Subject: How to install Slinger web server?
> 
> Hello all-
> 
> QNX newbie here, so please pardon this post if I'm missing something
> obious.
> 
> Ins Neutrino 6.4.1, the software installer is no longer included. How
> does one go about installing the Slinger web server if it was not
> initially installed when the system was set up?
> 
> I've tried searching for the source (in order to do a configure->make-
> >make install) but can't seem to locate that anywhere. It's not in
> pkgsrc, either.
> 
> Thanks in advance,
> Dave
> 
> 
> 
> _______________________________________________
> 
> Technology
> http://community.qnx.com/sf/go/post52309
> 
Re: RE: How to install Slinger web server?  
Thank you all for the replies!
Dave
Re: How to install Slinger web server?  
OK, thanks again guys...

Now, another quick question - is there an easy way to have QNX automatically launch Slinger as a background process on 
each bootup? I can write a shell script to set the environment variables and launch the server binary, but what would 
launch that script?

Thanks,
Dave
Re: How to install Slinger web server?  
If you're using a PC install, then /etc/rc.d/rc.local, but could also 
use the startup script if you're making an IFS yourself.
http://www.qnx.com/developers/docs/6.4.1/neutrino/building/building_nto.html#CONFIG

I've always thought that the QNX documentation is really good, have a 
look at the guides here:
http://www.qnx.com/developers/docs/6.4.1/momentics/bookset.html

/P

On 26/04/10 03:11 PM, David Rea wrote:
> OK, thanks again guys...
>
> Now, another quick question - is there an easy way to have QNX automatically launch Slinger as a background process on
 each bootup? I can write a shell script to set the environment variables and launch the server binary, but what would 
launch that script?
>
> Thanks,
> Dave
>
>
>
> _______________________________________________
>
> Technology
> http://community.qnx.com/sf/go/post52812
>
>    
Re: How to install Slinger web server?  
Thank you Patrik - I've been doing some searching but hadn't come up with the pages you linked yet - I appreciate your 
help!!

Dave