1. quick cgi question

Hi,

I'm tyring to setup Euphoria for cgi with addr.com, 
they use FreeBSD. I have the files uploaded to cgi-bin 
and am able to telnet in, but how do I change the 
directory to cgi-binand change the attributes to make 
them runnable?

Thanks,

Ken

new topic     » topic index » view message » categorize

2. Re: quick cgi question

Ken Orr wrote:
> 
> I'm tyring to setup Euphoria for cgi with addr.com, 
> they use FreeBSD. I have the files uploaded to cgi-bin 
> and am able to telnet in, but how do I change the 
> directory to cgi-binand change the attributes to make 
> them runnable?

Check out the "chmod" command.

    chmod myfile.exu 755

http://www.computerhope.com/unix/uchmod.htm

-=ck
"Programming in a state of Euphoria."
http://www.cklester.com/euphoria/

new topic     » goto parent     » topic index » view message » categorize

3. Re: quick cgi question

> I'm tyring to setup Euphoria for cgi with addr.com,
> they use FreeBSD. I have the files uploaded to cgi-bin
> and am able to telnet in, but how do I change the
> directory to cgi-binand change the attributes to make
> them runnable?

Not a Linux user, eh?

cd cgi-bin
chmod +x exu

Make sure you've got the uncompressed executables, since the versions
of exu compressed with UPX have to decompress to /tmp or /var/tmp
which you may not have access to.

~Greg

new topic     » goto parent     » topic index » view message » categorize

4. Re: quick cgi question

Greg Haberek wrote:

> 
> Not a Linux user, eh?

Actually, about 8 years ago I installed and ran Linux
on my desktop for a whole month but returned to Win98 
it after I discovered  I had to recompile the kernel
so I could use my printer and sound card.  

I've been thinking in getting a second computer and give
Linux a second try.  What distribution would you recomend?


> 
> cd cgi-bin
> chmod +x exu
> 
> Make sure you've got the uncompressed executables, since the versions
> of exu compressed with UPX have to decompress to /tmp or /var/tmp
> which you may not have access to.
> ~Greg
> 
>

Thanks Greg.  I'm using the exu from http://www.rapideuphoria.com/25/eubsd25.zip
Since it is 492kb I'm assuming it is uncompressed.
 
Ken

new topic     » goto parent     » topic index » view message » categorize

5. Re: quick cgi question

> I've been thinking in getting a second computer and give
> Linux a second try.  What distribution would you recomend?

My friends and I have come up with two terms for Linux users: those
who want to "get in and drive" and those who want to "get under the
hood."

If all you want to do is "get in and drive" then I suggest Ubuntu. If
all you're concerned about is using Linux as an OS with having to
compile anything, its great. However, setting up Euphoria is a hassle
(environment variables don't work the same -- but I found a way around
that).

If you'd like to "get under the hood" or at least start to, I suggest
something typical like Mandrake 10.0 or Fedora Core 5 (or whatever the
latest versions of those are).

If you're looking for the complete opposite of Ubuntu, look at Gentoo.
On Gentoo, you have to compile *everything* from source, but its all
packaged and dependancies are automatically handles (98% of the time).

http://www.ubuntu.org/
http://www.fedoracore.org/
http://www.mandrakelinux.org/
http://www.gentoo.org/

> Thanks Greg.  I'm using the exu from http://www.rapideuphoria.com/25/eubs=
d25.zip
> Since it is 492kb I'm assuming it is uncompressed.

Yes, the BSD executables are uncompressed. The Linux executables come
compressed or uncompressed.

new topic     » goto parent     » topic index » view message » categorize

6. Re: quick cgi question

Greg Haberek wrote:
> 
> > I've been thinking in getting a second computer and give
> > Linux a second try.  What distribution would you recomend?
> 
> My friends and I have come up with two terms for Linux users: those
> who want to "get in and drive" and those who want to "get under the
> hood."
> 
> If all you want to do is "get in and drive" then I suggest Ubuntu. If
> all you're concerned about is using Linux as an OS with having to
> compile anything, its great. However, setting up Euphoria is a hassle
> (environment variables don't work the same -- but I found a way around
> that).
> 
> If you'd like to "get under the hood" or at least start to, I suggest
> something typical like Mandrake 10.0 or Fedora Core 5 (or whatever the
> latest versions of those are).
> 
> If you're looking for the complete opposite of Ubuntu, look at Gentoo.
> On Gentoo, you have to compile *everything* from source, but its all
> packaged and dependancies are automatically handles (98% of the time).
> 
> <a href="http://www.ubuntu.org/">http://www.ubuntu.org/</a>
> <a href="http://www.fedoracore.org/">http://www.fedoracore.org/</a>
> <a href="http://www.mandrakelinux.org/">http://www.mandrakelinux.org/</a>
> <a href="http://www.gentoo.org/">http://www.gentoo.org/</a>
> 
> > Thanks Greg.  I'm using the exu from <a
> > href="http://www.rapideuphoria.com/25/eubs=">http://www.rapideuphoria.com/25/eubs=</a>
> d25.zip
> > Since it is 492kb I'm assuming it is uncompressed.
> 
> Yes, the BSD executables are uncompressed. The Linux executables come
> compressed or uncompressed.

I use Fedora Core 4. I think it is very easy to install and use. It works with
all of my hardware so far. I haven't tried many of my USB devices though. But all
internal hardware works great. I also use KDE. There are great apps such as
x-chat, Kate (text editor which supports Euphoria syntax highlighting grin), gFTP
(sweet FTP client), Quanta Plus (html editor), The GIMP, Open Office, Mozilla,
K3B (very nice CD/DVD burner), XMMS (winamp clone), etc. etc. And, if you want an
excellent DVD player, you can download Xine.

All of the major Linux distributions have come a long way since a few years ago,
so you might like it enough to ditch Windows like i have. smile

~Ryan W. Johnson

Fluid Application Environment
http://www.fluidae.com/

[cool quote here, if i ever think of one...]

new topic     » goto parent     » topic index » view message » categorize

7. Re: quick cgi question

Ken Orr wrote:

> Actually, about 8 years ago I installed and ran Linux
> on my desktop for a whole month but returned to Win98 
> it after I discovered I had to recompile the kernel 
> so I could use my printer and sound card.

Windows is many times better than it was eight years ago. The same is probably
true with Linux and BSD.

> I've been thinking in getting a second computer and give
> Linux a second try. What distribution would you recomend?

That is a difficult question to answer. There are over 400 Linux distributions
to choose from.

Take this small test to help determind which of them are right for you: 
http://www.zegeniestudios.net/ldc/

Note: If you decide on Linspire please be sure to add a restricted user account
and use the default root user account sparingly.

Note: If you decide on Ubuntu, you might check out the Automatix script. While I
havent tried it yet, it has greatly simplifed the already simple setup/configure
process for many users.

http://www.ubuntuforums.org/showthread.php?t=138405


Regards,
Vincent

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu