新装Ubuntu的一些软件-2018
ssr-client chacha20 uGet+aria2 electronic微信 开机挂载ntfs分区
开启chacha20
chacha20要额外加装libsodium
wget https://download.libsodium.org/libsodium/releases/LATEST.tar.gz
tar xzvf LATEST.tar.gz
cd libsodium*
./configure
make -j8 && make install
sudo -i
echo /usr/local/lib > /etc/ld.so.conf.d/usr_local_lib.conf
ldconfig
ssr客户端
支持R的客户端找了半天好像也只有P版,lib不知道有么有,go似乎只支持SS 因为配置了hexo,所以我就试了nssr,还不错
nssr
Node.js client for ShadowsocksR
即以python版为基础的集成命令
tips:可以进安装目录,把配置文件一个一个放进去 一个文件一个服务器,文件名就是[server]
Install
npm install -g nssr
Usage
Usage: nssr [options] [command]
Options:
-V, --version output the version number
-h, --help output usage information
Commands:
init initialize nssr
add add a server
delete [server] delete a server
list list servers
start [server] start server
stop stop server
status server status
help [cmd] display help for [cmd]
ssr一键脚本
另一人做的集成脚本,估计本质是一样的
wget https://github.com/the0demiurge/CharlesScripts/blob/master/charles/bin/ssr
sudo mv ssr /usr/local/bin
sudo chmod 766 /usr/local/bin/ssr
使用方法:
echo -e "\t" "ssr install install shadowsocksr client"
echo -e "\t" "ssr uninstall uninstall shadowsocksr client"
echo -e "\t" "ssr update update subscription from $WEBSITE"
echo -e "\t" "ssr config edit config.json"
echo -e "\t" "ssr xclip paste configs from clipboard to config.json"
echo -e "\t" "ssr start start the shadowsocks service"
echo -e "\t" "ssr stop stop the shadowsocks service"
echo -e "\t" "ssr restart restart the shadowsocks service"
echo -e "\t" "ssr test get ip from cip.cc using socks5 proxy"
echo -e "\t" "ssr log cat the log of shadowsocks"
echo -e "\t" "ssr shell cd into ssr installation dir"
echo -e "\t" "ssr clean clean ssr configuration backups"
微信
先设定淘宝镜像
身在国内,不要侥幸 否则会报错
原本短短的几行代码,在国内却举步维艰
设定方法一
ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/ npm install -g electron
设定方法二
alias cnpm="npm --registry=https://registry.npm.taobao.org \ --cache=$HOME/.npm/.cache/cnpm \ --disturl=https://npm.taobao.org/dist \ --userconfig=$HOME/.cnpmrc"
全局方法
法二 一次性的,法一不知道,一劳永逸可以三
npm config set registry https://registry.npm.taobao.org
registry=https://registry.npm.taobao.org
sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
phantomjs_cdnurl=http://npm.taobao.org/mirrors/phantomjs
electron_mirror=http://npm.taobao.org/mirrors/electron/```
npm install -g electron```
electronic微信
git clone https://github.com/geeeeeeeeek/electronic-wechat.git
cd electronic-wechat
npm install && npm start
npm run build:linux
完成后,会生成一个很大的单文件,文件夹可以删掉了
开机挂载
sudo mkdir /data
sudo blkid
sudo nano /etc/fstab
UUID=26EAA36BEAA33649 /media/username/Disk ntfs defaults 0 0
sudo mount -a
uGet+aria2
以下三个步骤缺一不可
安装uGet+aria2
sudo add-apt-repository ppa:plushuang-tw/uget-stable
sudo add-apt-repository ppa:slgobinath/uget-chrome-wrapper
sudo apt-get update
sudo apt-get install uget
sudo apt-get install aria2
### 安装uget-chrome-wrapper
sudo apt install uget-chrome-wrapper
### 安装chrome插件
- 原文作者:九燈
- 原文鏈接:https://ferristale.com/softwares-for-Ubuntu/
- 原文鏈接:本作品採用CC BY-NC-ND 4.0. 進行許可,非商業轉載請註明出處(作者,原文鏈接),商業轉載請聯繫作者獲得授權。