Arc Forumnew | comments | leaders | submitlogin
Newbie question: Need help with install how to for Ubuntu Hardy: MzScheme; Arc
2 points by sebg 6013 days ago | 4 comments
Thank you for your help. I am looking for help installing Arc (and all the great stuff behind it). My plan is to learn how it works by running the Arc server and news.arc on subdomain from an nginx server ... news.myownwebsite.com ..Thanks for the help!!!


2 points by eds 6013 days ago | link

What exactly are you looking for? A guide on installing Arc, or a guide on setting up a web server?

If you are looking for the latter, a good guide is http://articles.slicehost.com/2008/4/25/ubuntu-hardy-setup-p... .

For the former, I know there are guides out there, I just can't seem to find any right now. But I'll try to summarize below:

You ought to be able to install mzscheme with just

  apt-get install mzscheme
although you may have to be careful about which version you get. Version 352 is the recommended, although 372 should work (at least with Anarki). Anything newer will require modifying the Arc source, and is not recommended.

Next, I would suggest downloading Anarki, the community git repo with bug fixes and enhancements. See http://arcfn.com/2008/02/git-and-anarki-arc-repository-brief... for instructions.

Start Arc using

  $ arc.sh
You can start the server in a thread so that you can still access the REPL afterwards.

  > (= app (thread (asv))) ; or (nsv), as the case may be
This should run Arc on port 8080. To serve port 80, I suggest using Apache. (http://arclanguage.com/item?id=3498 is an example of an Apache configuration for Arc.)

Finally, I would suggest using Screen (http://www.gnu.org/software/screen/) for detaching and reattaching your Arc sessions.

Hope this helps.

-----

1 point by eds 6013 days ago | link

Here's the guide I mentioned earlier. It may be more thorough than my earlier post.

http://plpatterns.blogspot.com/2008/05/arc-news-forum.html

-----

1 point by sebg 6013 days ago | link

Thank you very much! The arc part was what I was looking for...and you were very helpful. take care!

-----

1 point by eds 6013 days ago | link

Another thing you might find convenient is autoreloading:

http://arclanguage.org/item?id=2739

-----