Merge pull request #908 from yujianxuechuan/master

yujianxuechuan is translating
This commit is contained in:
Xingyu.Wang 2014-04-29 21:29:16 +08:00
commit 76794f9f90
2 changed files with 37 additions and 84 deletions

View File

@ -1,84 +0,0 @@
Daily Ubuntu Tips Ubuntu One Shuts Down, Switch To Dropbox Or Box Cloud Services
================================================================================
With Canonicals [decision to shutdown Ubuntu One cloud file services][1], you may be looking for other services to host your data. Although there are many cloud services, just few of the big players support Linux, including Ubuntu.
Dropbox fully supports Ubuntu. It has a Linux client that integrates well with Ubuntu desktop and other notification services. Box, formally Box.net also support Linux via WebDav protocol.
Heres an excerpt from Canonicals announcement about Ubuntu One:
> As of today (April 2), it will no longer be possible to purchase storage or music from the Ubuntu One store. The Ubuntu One file services will not be included in the upcoming Ubuntu 14.04 LTS release, and the Ubuntu One apps in older version of Ubuntu and in the Ubuntu, Google and Apple stores will be updated appropriately.
Its sad that we lost this useful service in Ubuntu. One the other hand, moving your data to a more stabled and reputable storage provider is the best decision you can make going forward.
This brief tutorial shows you how to starting using DropBox or Box cloud services in Ubuntu.
### Installing DropBox Cloud storage in Ubuntu ###
Weve written a lot on this topic. To install DropBox in Ubuntu, all you have to do is follow the steps in the tutorial. It provides a step by step guide in installing and using DropBox in Ubuntu.
To view the tutorial, [click here][2]. Or use the link below:
[http://www.liberiangeek.net/2013/03/how-to-install-dropbox-in-ubuntu-13-04-raring-ringtail/][2]
### Using Box Cloud storage in Ubuntu ###
Since Box doesnt have a full feature client for Linux systems, including Ubuntu, you must use WebDav protocol to access and store your content automatically to your account.
To do that, press **Ctrl Alt T** on your keyboard to open the terminal. When the terminal console opens, run the commands below to install these packages.
sudo apt-get install davfs2
Next, run the commands below to reconfigure davfs2 and choose **Yes** to allow unprivileged users to be allowed to mount WebDav resources.
sudo dpkg-reconfigure davfs2
Next, copy davfs2 folder to your home directory by running the commands below
sudo cp -r /etc/davfs2/ $HOME/.davfs2
Then take ownership of the content by running the commands below
sudo chown -R username $HOME/.davfs2/
replace username with your account name.
Next, open the password file so you can enter your login credentials
gedit ~/.davfs2/secrets
Then type your username (email address) and password in the file as shown below. Add the line below at the end of the file and save.
https://dav.box.com/dav richard@liberiangeek.net <box_password>
replace the the email address and password with your account info
Next, run the commands below to add your account to the davfs2 group
sudo adduser <username> davfs2
Next, open the /etc/fstab tab and add the line below in it.
sudo gedit /etc/fstab
Add this line at the end of the file and save.
https://dav.box.com/dav/ /home/<username>/box davfs _netdev,rw,user 0 0
Finally, create a mount point to mount Boxs content
mkdir ~/box
Restart your computer and your Box content should be mounted on the launcher.
Enjoy!
--------------------------------------------------------------------------------
via: http://www.liberiangeek.net/2014/04/daily-ubuntu-tips-ubuntu-one-shuts-down-switch-to-dropbox-or-box-cloud-services/
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[1]:http://blog.canonical.com/2014/04/02/shutting-down-ubuntu-one-file-services/
[2]:http://www.liberiangeek.net/2013/03/how-to-install-dropbox-in-ubuntu-13-04-raring-ringtail/

View File

@ -0,0 +1,37 @@
Ubuntu每日贴士-Ubuntu One系统关闭如何切换到Dropbox或者Box云服务
Canonical公司决定关闭Ubuntu One的云服务你可能正在寻找备份你主机的其他服务器尽管现在有很多云服务的提供商但是仅有小部分支持linux,包括Ubuntu。
Dropbox全面支持Ubuntu它有一个很好的整合了ubuntu桌面系统和其他通知栏的客户端。Box官方的Box.net也可以通过WebDav协议支持linux。
这里有一段来自Canonical公司关于Ubuntu One的摘录
As of today (April 2), it will no longer be possible to purchase storage or music from the Ubuntu One store. The Ubuntu One file services will not be included in the upcoming Ubuntu 14.04 LTS release, and the Ubuntu One apps in older version of Ubuntu and in the Ubuntu, Google and Apple stores will be updated appropriately.
也就是说我们在ubuntu中失去了这项有用的服务。另一方面把你的数据移动到一个更稳定、更好信誉的网盘提供商是一个比较好的选择。
这里简要的说明一下怎样在ubuntu中运行DropBox或者Box云服务。
在ubuntu中安装DropBox云盘
关于这个话题我们已经写了很多为了在ubuntu中安装DropBox云盘你需要按照以下步骤去做这里提供了一个在ubuntu中一步步安装和使用DropBox的步骤。
查看完整步骤,点这里,或者下面的链接:
http://www.liberiangeek.net/2013/03/how-to-install-dropbox-in-ubuntu-13-04-raring-ringtail/
在Ubuntu中使用Box网盘
自从Box不再提供给linux一个全功能的客户端包括ubuntu你必须使用WebDav协议来访问和存储你账户的东西。
按Ctrl Alt T来打开终端终端被打开后执行下面的命令来安装包
sudo apt-get install davfs2
接下来执行下面的命令来配置davfs2选择Yes来允许没有权限的用户来挂载WebDav资源。
sudo dpkg-reconfigure davfs2
接下来通过执行下面的命令把davfs2目录复制到你的home目录
sudo cp -r /etc/davfs2/ $HOME/.davfs2
然后执行下面命令获取文件夹的所有权:
sudo chown -R username $HOME/.davfs2/
用你的用户名代替username
接下来打开密码文件输入你的登录凭证:
gedit ~/.davfs2/secrets
然后键入你的用户名email地址和密码在文件末尾添加下面的行并保存。
https://dav.box.com/dav richard@liberiangeek.net <box_password>
用你的账户信息替换上面的email地址和password。
接下来用下面的命令添加你的账户到davfs2组中
sudo adduser <username> davfs2
然后用sudo gedit /etc/fstab 打开/etc/fstab在后面添加下面一行并保存
https://dav.box.com/dav/ /home/<username>/box davfs _netdev,rw,user 0 0
最后创建一个挂载点并挂载Box
mkdir ~/box
重启你的电脑Box能开机自动挂载了
享受下吧!