Results 1 to 2 of 2
  1. #1

    Cool Easily Install rsync On WestHost Accounts

    Visit this article in our Knowledge Base!

    rsync is a very useful command-line tool for copying files and between folders or even between servers. Although rsync is not installed by default on WestHost accounts, you can easily download, build, and install it from source code by running the following one-line command via SSH.

    Code:
    gcc -v && echo -e '\n\nYou are about to install rsync-3.0.9.tar.gz on your account.\nThe installation will complete in approximately 1 minute.\n' && date +'=== Installation Started at %r ===' && echo '    [1/4] Downloading...' && curl -s http://www.samba.org/ftp/rsync/rsync-3.0.9.tar.gz | tar -xz && cd rsync-* && echo '    [2/4] Configuring...' && ./configure >/dev/null && echo '    [3/4] Building...' && make >/dev/null && echo '    [4/4] Installing...' && make install >/dev/null && cd .. && rm -rf rsync-* && date +'=== Installation Completed at %r ===' && echo
    
    (this text is only here as a placeholder, to make it easier to copy the entire line above)
    Note: You must first install the GNU Compiler Collection from your Site Manager > Install & Manage section.
    Last edited by ifurniss; 04-03-2012 at 12:28 PM. Reason: Update to rsync-3.0.9.tar.gz
    Nick Venturella
    WestHost Technical Support
    Contact Support: E-mail | Live Chat

    When you expect more from your Web host
    http://www.westhost.com/

  2. #2
    Junior Member
    Join Date
    Nov 2008
    Posts
    4

    Default

    Did not work in my account. First, the package can be accessed via hhtps only now. Second, the correct sintaxis was "tar xz" but not "tar -xz". Finally this worked with entering and running commands step-by-step

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •