apt update && apt install -y curl mlocate unzip zip gzip fuse fuse3 net-tools chrony
wget https://raw.githubusercontent.com/vanyouseea/hlh/master/install.sh && bash install.sh
wget https://raw.githubusercontent.com/vanyouseea/hlh/master/tcp.sh && bash tcp.sh
or Debian 9+ BBR
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p
sysctl net.ipv4.tcp_available_congestion_control
lsmod |grep bbr
wget https://raw.githubusercontent.com/vanyouseea/hlh/master/aria2.sh && bash aria2.sh
wget https://github.com/vanyouseea/hlh/raw/master/tomcat7.zip
wget https://github.com/vanyouseea/hlh/raw/master/jdk8.zip.001
...
wget https://github.com/vanyouseea/hlh/raw/master/jdk8.zip.008
#合并zip
cat jdk8.zip* > jdk8.zip,
#解压到/usr/local/下,tomcat7已经集成了aria2 web
unzip jdk8.zip
#在/etc/profile最后加上如下配置
export JAVA_HOME=/usr/local/java/jdk1.8.0_241
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export JRE_HOME=$JAVA_HOME/jre
alias ll="ls -ltr"
#latest rclone
wget https://rclone.org/install.sh && bash install.sh
#script All in one
wget https://od.leasr.tk/AllUtil.zip
这样就完成了对于OD的挂载,以下的别名命令是挂载OD到VPS和启动关闭tomcat的快捷方式,配置到$HOME/.profile中
alias od="nohup /usr/bin/rclone mount hqr:vps /onedrive --copy-links --no-gzip-encoding --no-check-certificate --allow-other --allow-non-empty --umask 000 &"
alias start="/usr/local/tomcat7/bin/startup.sh"
alias stop="/usr/local/tomcat7/bin/shutdown.sh"
Debian 9: 需要手动安装
apt update &&
apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common &&
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - &&
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" &&
apt update &&
apt install docker-ce
Debian 10:可以一键安装
curl -fsSLo- get.docker.com | /bin/sh
可选安装项目:
docker pull denghongcai/forsaken-mail
docker run -d -p 25:25 -p 3000:3000 denghongcai/forsaken-mail
docker pull vanyouseea/o365:dev_https
docker run -d -p 8443:8443 -v /root/o365/data:/data vanyouseea/o365:dev_https
wget https://raw.githubusercontent.com/vanyouseea/hlh/master/all.sh && bash all.sh
包含的API调用包括
-
列出邮件
-
获取driveid
-
获取od某目录下的top5文件
-
搜索od文件
-
上传文件到od
-
以itemID的形式获取文件信息
-
删除文件
-
OneNote 列出段
-
OneNote 列出页
-
OneNote 创建页
-
OneNote 删除页
ban掉所有连接VPS失败的IP,可以选择ban port或者IP(特别注意别因为自己登录失败而ban了自己)
e5 resful API 学习文档
call e5 resful API via soapUI
use sessionstorage.getAssessor_token get below info:
session:
phoneno:
userId:
assessorId: