Accelerate download resources with the cloud

Source: Internet
Author: User
Tags scp command

Download foreign resources at home sometimes very slow, such as I want to download a liteide, not only slow download, and may download to the middle of the broken, but also have to re-download. Sometimes I will be in the 115 network disk use offline download, as if it is a BT download some resources if 115 already exist will be very fast, but for some other files, download speed is very slow, often looking for resources, sometimes I will also use Baidu offline download network disk, anyway is not stable.

Recently I bought a cloud server from Digitalocean, built in the United States, yesterday tried a bit of speed is good, reached 6M per second, and soon the download is complete.

If you also want to buy, you can use my referral address to register HTTPS://WWW.DIGITALOCEAN.COM/?REFCODE=6A9BA9CF2FAF, after the completion of the registration will be $10, after the successful registration needs to recharge $5 activation, A total of $15 has been activated, so you can use the $5 machine for 3 months and personally feel good.

Here I share how to use the cloud server download, and how to transfer data back home.

Download with Cloud server

I purchased a CentOS 7 64-bit virtual machine, and after that, I got the liteide:

http://downloads.sourceforge.net/project/liteide/X27.1/liteidex27.1.macosx.zip?r=http%3A%2F%2Fsourceforge.net% 2fprojects%2fliteide%2f%3fsource%3dtyp_redirect&ts=1425026625&use_mirror=superb-dca2

After logging in to the virtual machine, enter:

Wget

http://downloads.sourceforge.net/project/liteide/X27.1/liteidex27.1.macosx.zip?r=http%3A%2F%2Fsourceforge.net% 2fprojects%2fliteide%2f%3fsource%3dtyp_redirect&ts=1425026625&use_mirror=superb-dca2

The download results are as follows:

100%[======================================>] 24,878,358 6.57mb/s spents 3.8s

Send data back from the cloud server

At first I was using the SCP command to copy the data, the speed is quite slow, then still think of the domestic qiniu cloud storage, this cloud storage can have an extranet link, so I often use, and free account has 10G space, 10G traffic per month can be used, for individuals can still. You can also use my invitation code to register: Https://portal.qiniu.com/signup?code=3ljwh5dushglu

Qiniu has some tools to manage its own space, such as uploading and downloading with QRSCTL tools, document address: http://developer.qiniu.com/docs/v6/tools/qrsctl.html

After downloading this tool, you can upload the file on the cloud server side, the following steps:

Login

QRSCTL Login <User><Passwd>

After logging in, you can use the following command to see if the login succeeded

Qrsctl Info

The upload file command is as follows:

qrsctl put <Bucket> <Key> <SrcFile>

Upload a large file (over 4MB)

qrsctl put -c <Bucket> <Key> <SrcFile>

Plus the option to c enable slicing in parallel uploads a larger file. (Over 4MB)

Bucket is the name of the space you create, you can use Qrsctl buckets to list all the space, key is the name of the file saved after uploading, Srcfile is the file to be uploaded locally, such as./qrsctl put-c Mybucket Liteidex27.zip. /liteidex27.1.macosx.zip

After uploading to the domestic cloud, you can download it more quickly.

Accelerate download resources with the cloud

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.