海运的博客

ubuntu 18.04安装bsv钱包electrumsv

发布时间:March 22, 2020 // 分类: // No Comments

wget https://github.com/electrumsv/electrumsv/archive/sv-1.2.5.tar.gz
tar zxvf sv-1.2.5.tar.gz 
cd electrumsv-sv-1.2.5/
apt install python3-pip python3-pyqt5 
python3 -m pip install --upgrade pip
pip3 install --target=packages -r contrib/requirements/requirements.txt
pip3 install --target=packages -r contrib/requirements/requirements-binaries.txt 
./electrum-sv

使用frp映射本地3389远程桌面到远程服务器

发布时间:February 22, 2020 // 分类: // No Comments

go build:

git clone https://github.com/fatedier/frp.git
#windows客户端
frp/cmd/frpc
GOARCH=amd64 GOOS=windows CGO_ENABLED=0 go build -ldflags "-s -w"
#linux服务端
frp/cmd/frps
go build -ldflags "-s -w"

服务端配置文件:

[common]
bind_addr = 0.0.0.0
bind_port = 7000

dashboard_addr = 0.0.0.0
dashboard_port = 7500
dashboard_user = admin
dashboard_pwd = admin

log_file = /run/log/frp/frps.log
# trace, debug, info, warn, error
log_level = info
log_max_days = 3
disable_log_color = false

token = password
pool_count = 5
tcp_mux = false
allow_ports = 2000-3000,3001,3003,4000-50000
max_ports_per_client = 0

客户端配置文件:

[common]
server_addr = www.haiyun.me
server_port = 7000

log_file = ./frpc.log
# trace, debug, info, warn, error
log_level = info
log_max_days = 3
disable_log_color = false

login_fail_exit = false
token = password
pool_count = 5
protocol = tcp
tcp_mux = false
tls_enable = false
dns_server = 114.114.114.114

admin_addr = 127.0.0.1
admin_port = 7400
admin_user = admin
admin_pwd = admin

[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 3389
remote_port = 3389
use_encryption = true
use_compression = false

windows下使用winsw将frpc安装为系统服务开机自动启动,将winsw放到frp目录,并新建winsw.xml配置文件:

<service>
    <id>frp</id>
    <name>frp client</name>
    <description>frp client</description>
    <executable>C:\test\frpc.exe</executable>
    <arguments>-c frpc.ini</arguments>
    <onfailure action="restart" delay="60 sec"/>
    <logmode>append</logmode>
    <logpath>logs</logpath>
</service>

以管理员启动cmd进入frp目录,安装frp为系统服务并启动:

cd C:\test\
winsw install
winsw start frp

ubuntu下使用7zip aes-256加密压缩zip文件

发布时间:February 20, 2020 // 分类: // No Comments

安装7zip:

apt install p7zip-full

加密压缩为7zip格式:

7z a -t7z -p123456 -mhe -spf file.7z file/
#-mhe加密文件名
#-spf被压缩目录包含完整的路径

加密压缩为zip格式:

 7z a -tzip -p123456 -mem=AES256 -spf file.zip file/
#-mem使用aes256加密

查看加密压缩文件信息:

7z l -slt file.zip 
7z l -slt file.7z

解压文件:

7z x -p123456 file.zip 
7z x -p123456 file.7z

https://sevenzip.osdn.jp/chm/cmdline/switches/index.htm

此内容被密码保护

发布时间:February 19, 2020 // 分类: // No Comments

请输入密码访问

go get/build和git clone使用socks5

发布时间:February 19, 2020 // 分类: // No Comments

go:

export http_proxy=socks5://127.0.0.1:7070
go get ...

git:

git config --global http.proxy socks5://127.0.0.1:7070

https://blog.csdn.net/idwtwt/article/details/84842361

分类
最新文章
最近回复
  • 海运: 不清楚,可尝试使用ubuntu18.04系统按本文方法编译试试。
  • bbr: 大佬,请问debian9编译错误怎么解决? github有人提问,没人解答,只好来这里看看.p...
  • 田博: 如果dts中没有USB信息,这样也能装上?
  • 海运: 正常情况下编译整个内核执行make menuconfig后就不会出现此提示,当单独编译单个模块...
  • oijq: 就是用的armbian的配置文件哈,按你的教程做的,在执行make LOCALVERSION=...
  • 海运: 使用armbian的配置文件,其它添加或修改自己懂的部分,不懂的就不要碰了。
  • oijq: 编译时这些选项全部选Y吗? Actions Semi Platforms (ARCH_ACTI...
  • 海运: n1编译bbr内核模块参考这个:https://www.haiyun.me/archives/...
  • jiqz: make M=net/ipv4/ CONFIG_TCP_CONG_BBR=m modules ...
  • ruralhunter: 哦,文档里应该是对的,是.config
归档