djdyxg
Last Updated: February 25, 2016
·
1.509K
· fdamilola
Img 2017 02 20 18 28 38

Installing Copy.com on linux servers (headless linux) to simplify file transfer and deployment.

Credits to Marcelo Waiseman. His article on the process was of great help. Here's the link to his solution https://coderwall.com/p/rwxnma . Forgot to add it after so much edits. :(

Copy is a very interesting alternative to Dropbox and Google Drive.

Why?
For me personally (developers opinion), it's because of the free space and the cli option it offers. :)

Here's how you go about installing it on your linux server

Note : Registering through this link would earn me an additional 5GB and you get 20GB. ;) Be sure to verify your email after registering on the service.

  • Download the linux client, unzip and run it.

Shell Commands :

wget --no-check-certificate https://copy.com/install/linux/Copy.tgz

tar -zxf Copy.tgz

cd copy

the 'copy' folder contains the x86 and x8664 folders. Choose your platform. I run a RHEL 6, 64 bit so the x8664 folder is my option

cd x86_64

./CopyConsole -u=emailyouregisteredwith -r=/home/yourlinuxusername/copy/ -p=passwordyouregisteredwith

Let it run until you see something like these :

**Staring copy...success**

**Logged in as user: 'emailyouregisteredwith'** 

**Copy folder is: '/home/yourlinuxusername/copy'**
    **Press enter to exit**
  • Press enter to exit and the following command to make it run continuously and check for file changes :

Shell Command :

nohup ./CopyConsole &
  • Voila!! you now have copy.com running 'forever' on your server. You can navigate to /home/yourlinuxusername/copy/ to gain access to your files.

  • With this, you can easily transfer your deployable packages as a .zip file to your amazon ec2 server instances or any other cloud servers you wanna deploy apps to.

Say Thanks
Respond

4 Responses
Add your response

8647
Dsc 0466 01 01

Now, this defines awesomeness! cool stuff

over 1 year ago ·
8661

The least you could do was to credit me
https://coderwall.com/p/rwxnma

over 1 year ago ·
8664
Img 2017 02 20 18 28 38

Added the credits. Apologies once again. :)

over 1 year ago ·
17620
Aqextab  normal

Very useful guide. Is there a command to check the status of Copy via ssh?

over 1 year ago ·