<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
 
 <title>Bluish Coder: yaws</title>
 <link href="http://bluishcoder.co.nz/tag/yaws/atom.xml" rel="self"/>
 <link href="http://bluishcoder.co.nz/"/>
 <updated>2020-07-10T16:25:05+12:00</updated>
 <id>http://bluishcoder.co.nz/</id>
 <author>
   <name>Bluishcoder</name>
   <email>admin@bluishcoder.co.nz</email>
 </author>

 
 <entry>
   <title>Erlang and Yaws on the Blackdog</title>
   <link href="http://bluishcoder.co.nz/2005/11/04/erlang-and-yaws-on-the-blackdog.html"/>
   <updated>2005-11-04T23:49:00+13:00</updated>
   <id>http://bluishcoder.co.nz/2005/11/04/erlang-and-yaws-on-the-blackdog</id>
   <content type="html">&lt;p&gt;Further to my &lt;a href=&quot;http://bluishcoder.co.nz/2005/11/04/blackdog.html&quot;&gt;post about the Blackdog&lt;/a&gt;, here are the binaries and setup instructions to get Erlang and Yaws running on it.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://bluishcoder.co.nz/bderl/otp_R10B-8.tar.bz2&quot;&gt;otp_R10B-8.tar.bz2&lt;/a&gt; (32Mb)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://bluishcoder.co.nz/bderl/yaws.tar.bz2&quot;&gt;yaws.tar.bz2&lt;/a&gt; (800Kb)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://bluishcoder.co.nz/bderl/stow.tar.bz2&quot;&gt;stow.tar.bz2&lt;/a&gt; (4Kb)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Copy these files to the blackdog then, assuming you don&#39;t have &lt;a href=&quot;http://www.gnu.org/software/stow/stow.html&quot;&gt;stow&lt;/a&gt; already installed, perform the following to install Erlang and Stow from within a blackdog xterm:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;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
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I compiled Yaws to be installed locally so the steps for that are slightly different:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;cd /root
tar jxvf yaws.tar.bz2
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Edit the &#39;yaws.conf&#39; file to reflect what you want or you can leave it at the default to test the installation. To run:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;export PATH=/usr/local/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/lib:$PATH
ldconfig
cd /root
bin/yaws -i -c yaws.conf
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This runs Yaws in &#39;interactive&#39; 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 &#39;q&#39; and enter.&lt;/p&gt;

&lt;p&gt;Erlang can be run as usual with &#39;erl&#39;.&lt;/p&gt;
</content>
 </entry>
 
 
</feed>
