Weex How To


Web Miscellaneous

SME Versions Supported: v - - Contribs.org certified on: NC

Nav Bar Documentation How-to Classification Web Miscellaneous Weex How To
Comments Please add your comments about this How To

Author(s): Steven Noble
Contributor(s): Lance Wicks
License: Unknown

Created: NA Last updated: 22Oct2004

This wiki page has been prepared by Contribs Doc Team


About this How To

Summary: 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, http://sourceforge.net/projects/weex/ 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.

Keywords: Weex, Website Exchanger

Tips:

Known Limitations and Caveats:

Downloads: http://mirror.contribs.org/smeserver/contribs/dungog/files/dialuptools/weex-2.6.1-2.i386.rpm
http://prdownloads.sourceforge.net/weex/weex-2.6.1.5-1.i386.rpm?download


How To

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.

This how-to assumes you have the ibay side of things sorted out already.

I installed this on a fresh 6.0.1 install.

Lance. (22 - Oct - 2004)

lw at judocoach dot com

SSH into the server as root

wget the two packages required

wget http://mirror.contribs.org/smeserver/contribs/dungog/files/dialuptools/weex-2.6.1-2.i386.rpm

wget http://www.dungog.net/sme/files/dialuptools/dungog-weex-0.1-4.noarch.rpm

Install the RPMs

rpm -Uvh weex-2.6.1-2.i386.rpm

rpm -Uvh dungog-weex-o.1-4.noarch.rpm

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

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.

click save

click the button to create a new weexrc file.

go back to your ssh session

create a /home/e-smith/files/users/root/ directory

now copy the .weexrc directory from /home/e-smith/files/users/admin/ to /home/e-smith/files/users/root/

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.

you can now test the setup by in your ssh session typing

weex -t <foo>

replacing <foo> with the name of the site you are syncing, as entered in your weexrc file

If it works change the settings in server-manager to show the user in control of the weexrc file to root and add <foo> asd the name of the file to upload. Click SAVE

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.

Enjoy!

(I apologise for the awful style, "intentional" errors, ugly way of doing things etc. Lance)

URL: Dungog Networks http://mirror.contribs.org/smeserver/contribs/dungog/help/SMEhelp/Weex.html

Plugin FrameContribs disabled. (action != 'browse')
<?plugin FrameContribs src=http://mirror.contribs.org/smeserver/contribs/dungog/help/SMEhelp/Weex.html height=600 width=96% frameborder=0 scrolling=yes?>



Nav Bar Documentation How-to Classification Web Miscellaneous Weex How To
Comments Please add your comments about this How To

Feedback

Weex How To Feedback Add your comments to this page.




Wiki Links List

Those pages link to Weex How To:
 . Page Name .   . Hits . 
 Web Miscellaneous   2882 
 Weex How To Feedback   369