Update of /cvsroot/leaf/doc/docmanager
In directory sc8-pr-cvs1:/tmp/cvs-serv3006
Modified Files:
docid_2633.html
Log Message:
temp fix for bad instructions
Index: docid_2633.html
===================================================================
RCS file: /cvsroot/leaf/doc/docmanager/docid_2633.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** docid_2633.html 11 Feb 2002 05:28:25 -0000 1.2
--- docid_2633.html 27 Feb 2003 06:24:34 -0000 1.3
***************
*** 19,201 ****
</p>
! <h4>------------- Developer Pages -------------</h4>
! <p>
! <em>
! $ ssh -l yourname leaf.sourceforge.net<br />
! $ cd /home/groups/l/le/leaf/devel<br />
! $ mkdir yourname<br />
! $ chgrp leaf yourname<br />
! $ chmod 2755 yourname<br />
! $ logout<br />
! </em>
! </p>
! <p>
! tarball your current content and
! </p>
! <p>
! <em>
! $ scp tarball [EMAIL PROTECTED]:/home/groups \<br />
! /l/le/leaf/devel/yourname
! </em>
! </p>
! <p>
! <em>
! $ ssh -l yourname leaf.sourceforge.net<br />
! $ cd /home/groups/l/le/leaf/devel/yourname<br />
! $ tar xzvf tarball<br />
! </em>
! </p>
! <p>
! Your content will then be available from:<br />
! <em>
! http://leaf.sourceforge.net/devel/yourname
! </em>
! </p>
!
! <h4>----------- Symlinks -------------</h4>
! <p>
! You may want to create a symlink in your home directory similar to
! this.
! </p>
! <p>
! <em>
! $ cd ~<br />
! $ ln -s /home/groups/l/le/leaf/devel/yourname leaf<br />
! </em>
! </p>
!
! <h4>------- Mirror Instructions -------</h4>
! <p>
! For those trying to mirror their content on the SF site, this is how I
! did it using rsync:
! </p>
! <p>
! First, setup an rsyncd server, which is easier than it might sound.
! Just run rsync with the daemon and config file flags, and give it a
! configuration file. Use something like:
! </p>
! <p>
! <em>
! rsync --daemon --config-file=/etc/rsyncd.conf
! </em>
! </p>
! <p>
! Your /etc/rsyncd.conf file should look something like:
! </p>
! <p>
! <em>
! {rsyncd.conf}<br />
! uid = www-data<br />
! gid = www-data<br />
! </em>
! </p>
! <p>
! <em>
! [lrp]<br />
! path = /storage/www/lrp.steinkuehler.net<br />
! comment = Charles Steinkuehler's LRP website<br />
! {/rsyncd.conf}<br />
! </em>
! </p>
! <p>
! uid and gid are the user/group rsyncd will run as
! </p>
! <p>
! [lrp] is the module name (used later), and can be anything you want
! </p>
! <p>
! path is the local path where your web files are located,<br />
! a comment is a comment :)
! </p>
! <p>
! To see how this all works, take a look at my site by running:
! </p>
! <p>
! <em>
! rsync lrp.steinkuehler.net::
! </em>
! </p>
! <p>
! You'll see lrp is listed as an available module, with the comment so
! we know what it is. I have a few other modules configured, don't let
! that confuse you...
! </p>
! <p>
! With your web content available via rsync, you can log into SF and
! grab it:
! </p>
! <p>
! login to SF and switch to the leaf/devel directory,<br />
! make your user directory, and<br />
! run rsync to copy your web files:<br />
! </p>
! <p>
! <em>
! rsync -vrlt your.rsync.server::yourmodule/* yourdirectory/
! </em>
! </p>
! <p>
! The command I ran was:
! </p>
! <p>
! <em>
! rsync -vrlt lrp.steinkuehler.net::lrp/* cstein/
! </em>
! </p>
! <p>
! from the leaf devel directory.
! </p>
! <h4>Switches</h4>
! <p>
! -v be verbose<br />
! -r recurse<br />
! -l copy links<br />
! -t copy timestamps<br />
! </p>
! <p>
! When you're updating your site, you'll probably want:<br />
! <em>
! --delete deletes files on the destination that don't exist on the source
! </em>
! </p>
! <p>
! I don't like to use the -a (archive) switch, as this copies owner,
! group, and permissions, which I typically want changed. With just -
! rlt, the files are owned by cstein.leaf, and can you can control the
! permissions when copying if necessary.
! </p>
! <p>
! NOTES:
! You can also run ssh and give it the rsync command to execute on the
! SF server, so you can fire off an update from a remote system
! (avoiding running a cron job on SF or the hassle of logging in if you
! want to manually update your content):
! </p>
! <p>
! <em>
! ssh [EMAIL PROTECTED] "rsync <options as above>"
! </em>
! </p>
! <p>
! You can also tell rsync to tunnel through ssh with the -e ssh flag,
! negating the need to run an rsync server, but I don't like to do this,
! as my web server is CPU bound (it's a 486), so the encryption slows
! down the transfer speeds (using an rsync server, data is sent in clear
! text...not really a problem, since you want people looking at your web
! files anyway). If you've got a fast CPU however, you can use ssh
! tunneling and run one less service...do something like the following
! from your local machine:
! </p>
! <p>
! <em>
! rsync -e ssh -vrlt /www/* [EMAIL PROTECTED]:/home/groups/l/le/leaf/devel/directory/
! </em>
! </p>
! <p>
! The above ssh commands are easier if you copy your ssh identification
! key to your home directory on SF, so you don't have to keep typing in
! your password (this also lets you run update jobs from a local script
! or cron entry w/o having clear text passwords hanging around).
! </p>
<!-- end document body -->
--- 19,26 ----
</p>
! <h4>------------- Developer Website -------------</h4>
! <p>Use your phpWebSite admin account to create web pages.</p>
! <h4>------------- Developer Content -------------</h4>
! <p>Use your individual devel/yourname directory in cvs for other content.</p>
<!-- end document body -->
-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Leaf-cvs-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits