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.
- otp_R10B-8.tar.bz2 (32Mb)
- yaws.tar.bz2 (800Kb)
- stow.tar.bz2 (4Kb)
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'.