Created
September 6, 2011 06:19
-
-
Save hdemon/1196735 to your computer and use it in GitHub Desktop.
DropBox設定スクリプト ubuntu用
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# install | |
cd ~ | |
# wget -O dropbox.tar.gz "http://www.dropbox.com/download/?plat=lnx.x86" | |
wget -O dropbox.tar.gz "http://www.dropbox.com/download/?plat=lnx.x86_64" | |
tar xvzf dropbox.tar.gz | |
rm dropbox.tar.gz | |
# 起動スクリプトと自動起動の設定 | |
git clone git://gist.github.com/1196710.git gist-1196710 | |
sudo mv ./gist-1196710/dropbox /etc/init.d | |
sudo chmod +x /etc/init.d/dropbox | |
sudo update-rc.d dropbox defaults | |
# 初回認証 | |
~/.dropbox-dist/dropboxd | |
# ここで以下のメッセージが出るので、指定のURIにアクセスしてマシン認証を行う。 | |
# This client is not linked to any account... Please visit | |
# https://www.dropbox.com/cli_link?host_id=7d44a557aa58f285f2da0x67334d02c1 to link this machine. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment