Bluish Coder

Programming Languages, Martials Arts and Computers. The Weblog of Chris Double.


2005-11-04

Erlang and Yaws on the Blackdog

Further to my post about the Blackdog, here are the binaries and setup instructions to get Erlang and Yaws running on it.

Copy these files to the blackdog then, assuming you don't have stow already installed, perform the following to install Erlang and Stow from within a blackdog xterm:

mkdir /usr/local/stow
cd /usr/local/stow
tar jxvf /root/otp_R10B-8.tar.bz2
tar jxvf /root/stow.tar.bz2
stow-1.3.3/bin/stow stow-1.3.3
stow otp_R10B-8

I compiled Yaws to be installed locally so the steps for that are slightly different:

cd /root
tar jxvf yaws.tar.bz2

Edit the 'yaws.conf' file to reflect what you want or you can leave it at the default to test the installation. To run:

export PATH=/usr/local/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/lib:$PATH
ldconfig
cd /root
bin/yaws -i -c yaws.conf

This runs Yaws in 'interactive' mode. Visiting http://localhost:8000 should confirm things worked by showing the yaws standard install. To exit interactive mode and shut down Yaws press CTRL+G and press 'q' and enter.

Erlang can be run as usual with 'erl'.

Tags


This site is accessable over tor as hidden service mh7mkfvezts5j6yu.onion, or Freenet using key:
USK@1ORdIvjL2H1bZblJcP8hu2LjjKtVB-rVzp8mLty~5N4,8hL85otZBbq0geDsSKkBK4sKESL2SrNVecFZz9NxGVQ,AQACAAE/bluishcoder/-30/


Tags

Archives
Links