坚果云安装 Ubuntu 20
关键:需要修改默认python版本
1.下载坚果云二进制组件
wget https://www.jianguoyun.com/static/exe/installer/nutstore_linux_dist_x64.tar.gz -O /tmp/nutstore_bin.tar.gz
mkdir -p ~/.nutstore/dist && tar zxf /tmp/nutstore_bin.tar.gz -C ~/.nutstore/dist
- 安装python2
sudo apt-get install python2
- 打开
~/.nutstore/dist/bin/nutstore-pydaemon.py
文件,使用
$ vim ~/.nutstore/dist/bin/nutstore-pydaemon.py
或者
$ gedit ~/.nutstore/dist/bin/nutstore-pydaemon.py
将#!/usr/bin/env python
修改为#!/usr/bin/python2
- 安装 坚果云
~/.nutstore/dist/bin/install_core.sh