In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
What is the process of installing a Dropbox backup website on a virtual host? for this problem, this article introduces the corresponding analysis and solutions in detail, hoping to help more partners who want to solve this problem to find a more simple and easy way.
Although there are small difficulties in accessing Dropbox from home, it is normal to visit from abroad. For users with foreign Linux virtual hosts, they may encounter such a demand, that is, how to back up the websites on foreign virtual hosts to Dropbox. Below, I will take Dreamhost as an example to introduce the backup method.
You need to have a foreign virtual host, the virtual host needs to have SSH permission, and can access the external network, there are some virtual hosts that meet this condition, such as Dreamhost.
Log in to your host address using your SSH account, and then execute the following command:
The code is as follows:
Wget-O dropbox.tar.gz http://www.dropbox.com/download/?plat=lnx.x86
After downloading the file, you can then unzip it by executing the following command:
The code is as follows:
Tar-zxof dropbox.tar.gz
Then execute the following command to transfer the Dropbox program to the ~ directory.
The code is as follows:
Mv. Dropbox-dist
Now, execute the following program to run Dropbox in the background
The code is as follows:
~ / .dropbox-dist/dropboxd
When you execute this program for the first time, dropboxd will display a long list of URL addresses, which you need to execute manually in your browser to connect the virtual host server to Dropbox. After execution, the Events of Dropbox will display "The computer xxx was linked to your account", indicating that the server is connected.
At this point, a Dropbox directory will appear in your root directory and will be downloaded automatically. You can enter your Dropbox directory using the following command
The code is as follows:
Cd ~ / Dropbox
Then, copy your website directory to the ~ / Dropbox directory through the cp-r command, and you can achieve the synchronous backup of the website.
If you want to stop running Dropbox, you can do so with the following command:
The code is as follows:
Killall dropbox
For Dreamhost users, as soon as you quit SSH,dropbox, you will automatically quit. If you want to keep dropbox running, you may have to buy a more expensive VPS, or just use a program to automatically hang SSH.
Finally, praise the speed of Dropbox, the execution of Dropbox on foreign hosts is really fast and frightening. A few G files are downloaded and updated in less than half an hour, which is not at all the same speed as in China. I synchronized several G files in China yesterday. It will take at least two whole days.
Install Dropbox in VPS to realize real-time backup of website
The answer to the question about the process of installing the Dropbox backup website on the virtual host is shared here. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 285
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.