You Here : Home > Linux

WE_Frontend::Publish::Rsync 0.097_03

OS Support:


Publisher Old version


November 5 2012


WE_Frontend::Publish::Rsync 0.097_03


WE_Frontend:: Upload:: Rsync is a Perl module that allows you to publish files via WE_Frontend rsync protocol. SYNOPSIS: Main2, use WEsiteinfo qw ($ c) $ c-> staging-> Transport ( "rsync"); $ main-> publish: rsync tutorial SETUP (See also "Update" section below) First make sure that both parties have rsync installed. Please use version 2.5.1 or better, because there are blocking issues with older versions. Then SSH authentication must be configured. Perform the following: create a SSH public key for the local (source) side. If CGI scripts are running under user www special (as wwwrun on SuSE Linux), you must first create a directory for that user or to allow CGI scripts run under another user. If you do not know the UID for CGI scripts, then create this tiny script and run it as CGI: #! / Usr / bin / env perl use CGI qw (: standard); printhead, join (",", ($>)); getpwuid user ID must be the third entry, the directory entry . eighth Assuming you want to create a directory for wwwrun (this may be unsafe!), you have to do the following (all as root): mkdir / home / wwwrun vipw replace the old home folder to wwwrun with / home / wwwrun make sure the user has a valid shell out vipwNow change the user wwwuser typing wwwuserand able to generate a pair of ssh public / private: ssh - keygen-N "" cat / home / wwwrun /. ssh / identity . pubYou should see the public key on public key screen.This should be made available on the remote side. Switch to another virtual terminal or xterm, you connect to the remote side that the remote user and do the following: In the directory: mkdir. Ssh chmod 700. Ssh cd. Ssh cat> authorized_keys copy and paste the public key before (he is still on the screen?) And press Ctrl-D chmod 600 authorized_keysThat is it! Now check if the connection works. As wwwuser, type the following command: ssh-v-time remoteuser remotehostThe the first time, you get a message to accept or not the host. Accept, then you should be automatically connected without prompting for a password. Otherwise, read the messages. It is likely that there is a permissions problem on the local side or distant. Make sure the permissions are as strong as possible for the file format. Ssh, and ssh. Directories and check if the homework itself.To rsync, do the following from the local side: rsync-Pv remoteuser some_file @ remotehost: Now some_file should be copied to the remote side, without asking for password. If you have an older rsync, you must add-e ssh options (upgrade, but better). If you repeat the operation, the copy must be made much faster because they do not change from being transferred. Requirements: Perl ·

Related Downloads

  • P2P-GUI Web Frontend beta
  • P2P-GUI is a web frontend for MLDonkey/aMule/rTorrent/Transmission/giFT. It combines multiple web interfaces with multiple client back-ends on top of a simple and fast web server....

  • PHP Direct Connect WEB-Frontend beta
  • provides a fully featured Server-Side WEB Frontend for a famous DCTC ( Direct Connect Text Client ) for Linux/BSD/MacOS...

    Software Tags

    We_frontend::publish::rsync | We_frontend::publish::rsync 0.097_03 | We_frontend::publish::rsync Free Download | We_frontend::publish::rsync Reviews | Download We_frontend::publish::rsync

    Size :