<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="home" title="HomePage" href="HomePage.html" />
<link rel="help" title="HowToUseWiki" href="HowToUseWiki.html" />
<link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" />
<link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.org/ThePhpWikiProgrammingTeam" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Language" content="en" />
<meta name="robots" content="noindex,nofollow" />
<meta name="language" content="en" />
<meta name="document-type" content="Public" />
<meta name="document-rating" content="General" />
<meta name="generator" content="PhpWiki" />
<meta name="PHPWIKI_VERSION" content="1.3.14" />

<link rel="stylesheet" type="text/css" charset="iso-8859-1" href="phpwiki-printer.css" />
<title>PhpWiki - Weex How To</title>
</head>
<body>

<div id="header">
  
<!-- Page title -->
<h1>Weex How To</h1>
</div>
<div id="content">



<div class="wikitext"><h2>Weex How To</h2>
<div class="plugin tightenable" id="CommentPlugin539"></div>
<hr />
<h3>Web Miscellaneous</h3>
<p class="tightenable top bottom">SME Versions Supported:<b> v  </b> - - Contribs.org <a href="Certification%20Process.html" class="named-wiki" title="Certification Process">certified</a> on:<b> NC </b></p>
<table class="wiki-dl-table" border="1" cellspacing="0" cellpadding="6"><tr class="tightenable top bottom"><th><i>Nav Bar</i></th>
<th><a href="Documentation.html" class="wiki">Documentation</a></th>
<th><a href="How-to%20Classification.html" class="wiki">How-to Classification</a></th>
<th><a href="Web%20Miscellaneous.html" class="wiki">Web Miscellaneous</a></th>
<td>Weex How To</td>
</tr>
<tr class="tightenable top"><th><i>Comments</i></th>
<td colspan="4"><a href="Weex%20How%20To%20Feedback.html" class="named-wiki" title="Weex How To Feedback">Please add your comments about this How To</a> <br /></td>
</tr>
</table>
<p class="tightenable">Author(s):   <b> Steven Noble </b> <br />
Contributor(s):   <b> Lance Wicks </b> <br />
License: <b>Unknown</b> <br /></p>
<table class="wiki-dl-table" border="1" cellspacing="0" cellpadding="6"><tr class="tightenable bottom"><th>Created:</th>
<th><i>NA</i></th>
<th>Last updated:</th>
<td>22Oct2004</td>
</tr>
</table>
<p class="tightenable top bottom"><i>This wiki page has been prepared by Contribs Doc Team</i></p>
<hr />
<h3>About this How To</h3>
<p class="tightenable top"><b>Summary:</b> Upload and maintain one or more web site to a remote server or servers as a background process. The application that does this for us is weex, <a href="http://sourceforge.net/projects/weex/" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://sourceforge.net/projects/weex/</span></a> WEbsite EXchanger
This utility is most usefull for sites that are modified piecemeal, weex is of no use for sites that are re-generated eg by frontpage, as the date of the file is used to determine which files have changed and are to be uploaded. <br /></p>
<p class="tightenable"><b>Keywords:</b> Weex, Website Exchanger <br /></p>
<p class="tightenable"><b>Tips:</b>   <br /></p>
<p class="tightenable"><b>Known Limitations and Caveats:</b>   <br /></p>
<p class="tightenable bottom"><b>Downloads:</b> <a href="http://mirror.contribs.org/smeserver/contribs/dungog/files/dialuptools/weex-2.6.1-2.i386.rpm" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://mirror.contribs.org/smeserver/contribs/dungog/files/dialuptools/weex-2.6.1-2.i386.rpm</span></a> <br />
<a href="http://prdownloads.sourceforge.net/weex/weex-2.6.1.5-1.i386.rpm?download" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://prdownloads.sourceforge.net/weex/weex-2.6.1.5-1.i386.rpm?download</span></a></p>
<hr />
<h3>How To</h3>
<p class="tightenable">Intro: I found the initial how-to a tad non idiot friendly so here is my slightly more detailed version. The original follows afterwards. This is just the way I did it, not perfect I am sure, please edit and correct it.</p>
<p class="tightenable">This how-to assumes you have the ibay side of things sorted out already.</p>
<p class="tightenable">I installed this on a fresh 6.0.1 install.</p>
<p class="tightenable">Lance. (22 - Oct - 2004)</p>
<p class="tightenable">lw at judocoach dot com</p>
<p class="tightenable bottom">SSH into the server as root</p>
<dl><dt class="tightenable top bottom">wget the two packages required</dt>
<dd class="tightenable top"><p class="tightenable top">wget <a href="http://mirror.contribs.org/smeserver/contribs/dungog/files/dialuptools/weex-2.6.1-2.i386.rpm" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://mirror.contribs.org/smeserver/contribs/dungog/files/dialuptools/weex-2.6.1-2.i386.rpm</span></a></p>
<p class="tightenable bottom">wget <a href="http://www.dungog.net/sme/files/dialuptools/dungog-weex-0.1-4.noarch.rpm" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://www.dungog.net/sme/files/dialuptools/dungog-weex-0.1-4.noarch.rpm</span></a></p>
</dd>
</dl>
<p class="tightenable bottom">Install the RPMs</p>
<blockquote class="tightenable top"><p class="tightenable top">rpm -Uvh weex-2.6.1-2.i386.rpm</p>
<p class="tightenable bottom">rpm -Uvh dungog-weex-o.1-4.noarch.rpm</p>
</blockquote>
<p class="tightenable">Using your web browser login to the server-manager, there should now be a webexchanger menu option, click on it.
select a user to control weexrc</p>
<blockquote class="tightenable bottom"><p class="tightenable top bottom">Okay at this stage I was installing on a new build server, so I only had admin and root. start with admin as admin has a normal home directory setup.</p>
</blockquote>
<p class="tightenable top">click save</p>
<p class="tightenable">click the button to create a new weexrc file.</p>
<p class="tightenable">go back to your ssh session</p>
<p class="tightenable">create a  /home/e-smith/files/users/root/ directory</p>
<p class="tightenable">now copy the .weexrc directory from /home/e-smith/files/users/admin/ to /home/e-smith/files/users/root/</p>
<p class="tightenable">using a a text editor edit the /home/e-smith/files/users/root/.weexrc/weexrc file adding the details of your remote ftp server and the path to your ibay that you are going to sync.</p>
<p class="tightenable">you can now test the setup by in your ssh session typing</p>
<blockquote class="tightenable"><p class="tightenable top bottom">weex -t &lt;foo&gt;</p>
</blockquote>
<p class="tightenable">replacing &lt;foo&gt; with the name of the site you are syncing, as entered in your weexrc file</p>
<p class="tightenable">If it works change the settings in server-manager to show the user in control of the weexrc file to root and add &lt;foo&gt; asd the name of the file to upload. Click SAVE</p>
<p class="tightenable">You can now click on the UPLOAD button, this should run the job and post the log to the admin user. Check admins email and see if the log looks healthy. If so you are done and you can set this to run nightly.</p>
<p class="tightenable">Enjoy!</p>
<blockquote class="tightenable"><p class="tightenable top bottom">(I apologise for the awful style, &quot;intentional&quot; errors, ugly way of doing things etc. Lance)</p>
</blockquote>
<p class="tightenable bottom">URL: <a href="http://www.dungog.net/sme/" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />Dungog</span> Networks</a> <a href="http://mirror.contribs.org/smeserver/contribs/dungog/help/SMEhelp/Weex.html" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://mirror.contribs.org/smeserver/contribs/dungog/help/SMEhelp/Weex.html</span></a>
<br /> <br /></p>
<span class="plugin" id="FrameContribsPlugin249"><div class="disabled-plugin"><div class="title">Plugin FrameContribs disabled. (action != 'browse')</div>
<pre>&lt;?plugin FrameContribs src=http://mirror.contribs.org/smeserver/contribs/dungog/help/SMEhelp/Weex.html height=600 width=96% frameborder=0 scrolling=yes?&gt;</pre>
</div>
</span><p class="tightenable top bottom"><br /> <br /></p>
<table class="wiki-dl-table" border="1" cellspacing="0" cellpadding="6"><tr class="tightenable top bottom"><th><i>Nav Bar</i></th>
<th><a href="Documentation.html" class="wiki">Documentation</a></th>
<th><a href="How-to%20Classification.html" class="wiki">How-to Classification</a></th>
<th><a href="Web%20Miscellaneous.html" class="wiki">Web Miscellaneous</a></th>
<td>Weex How To</td>
</tr>
<tr class="tightenable top bottom"><th><i>Comments</i></th>
<td colspan="4"><a href="Weex%20How%20To%20Feedback.html" class="named-wiki" title="Weex How To Feedback">Please add your comments about this How To</a></td>
</tr>
</table>
<hr />
<h3>Feedback</h3>
<p class="tightenable top bottom"><a href="Weex%20How%20To%20Feedback.html" class="wiki">Weex How To Feedback</a> Add your comments to this page.
<br /> <br /></p>
<span class="plugin" id="CommentPlugin540"></span><p class="tightenable top bottom"><br /> <br /></p>
<hr />
<h3>Wiki Links List</h3>
<span class="plugin" id="BackLinksPlugin282"><table cellpadding="0" cellspacing="1" border="0" class="pagelist" width="100%" summary="Columns: Page Name, Hits.">
<caption align="top">
Those pages link to <a href="Weex%20How%20To.html" class="wiki">Weex How To</a>:</caption>
<colgroup span="2"></colgroup>
<thead>
<tr>
<th align="center" valign="middle" class="gridbutton"><a href="Weex%20How%20To.html?directory=%2Ftmp%2Fwikidumphtml&amp;sortby=%2Bpagename&amp;id=324" class="gridbutton" title="Click to sort by pagename">&nbsp;<img src="images/buttons/no_order.png" width="7" height="7" border="0" alt="." />&nbsp;Page Name&nbsp;<img src="images/buttons/no_order.png" width="7" height="7" border="0" alt="." />&nbsp;</a></th>
<th align="center" valign="middle" class="gridbutton"><a href="Weex%20How%20To.html?directory=%2Ftmp%2Fwikidumphtml&amp;sortby=-hits&amp;id=324" class="gridbutton" title="Click to sort by hits">&nbsp;<img src="images/buttons/no_order.png" width="7" height="7" border="0" alt="." />&nbsp;Hits&nbsp;<img src="images/buttons/no_order.png" width="7" height="7" border="0" alt="." />&nbsp;</a></th>
</tr>
</thead>
<tbody>
<tr class="evenrow">
<td>&nbsp;<a href="Web%20Miscellaneous.html" class="wiki">Web Miscellaneous</a>&nbsp;</td>
<td align="right">&nbsp;2882&nbsp;</td>
</tr>
<tr class="evenrow">
<td>&nbsp;<a href="Weex%20How%20To%20Feedback.html" class="wiki">Weex How To Feedback</a>&nbsp;</td>
<td align="right">&nbsp;369&nbsp;</td>
</tr>
</tbody>
</table>
</span></div>

<div id="footer">  <hr class="printer" noshade="noshade" />
<p class="editdate">Owner: &quot;lancew&quot;  Last edited on October 22, 2004 12:09 pm by &quot;lancew&quot;</p>
</div>

</div>
<!-- Add your Disclaimer here -->
</body>
</html>
