摘要: frps.ini [common] bind_addr = 0.0.0.0 bind_port = 17000 vhost_http_port = 17001 vhost_https_port = 17002 bind_udp_port=17004 token=sadfa # dashboard 用 阅读全文
posted @ 2022-09-26 17:01 jiuchen 阅读(73) 评论(0) 推荐(0) 编辑
摘要: 环境CentOS 7###首先给系统添加 epel 源curl -o /etc/yum.repos.d/epel-7.repo https://mirrors.aliyun.com/repo/epel-7.repo###安装证书申请工具 Certbotyum install -y certbot## 阅读全文
posted @ 2022-09-26 16:45 jiuchen 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 配置 sudo vim /lib/systemd/system/rc-local.service 内容 [Install] WantedBy=multi-user.target Alias=rc-local.service 创建文件 sudo vim /etc/rc.local #!/bin/sh 阅读全文
posted @ 2021-10-11 08:59 jiuchen 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 1.指向netcoreapp3.1 它不能被指向.netframework 创建窗体类型错误 阅读全文
posted @ 2021-09-20 21:26 jiuchen 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 安装 mac和linux使用samba共享文件 1.linux安装samba sudo yum install samba 2.检查安装成功 rpm -qa | grep samba 3.创建共享文件 mkdir /home/USER_NAME/shared_directory sudo chmod 阅读全文
posted @ 2021-09-17 11:49 jiuchen 阅读(176) 评论(0) 推荐(0) 编辑
摘要: // 先进到需要上传或下载的目录 root@webserver:~# cd /var/www/html // zoc7 上传命令: rz 回车 会弹出来个文件选择框,选择需要的文件确定即可上传 // zoc7 下载命令: sz <file name> 例如:sz HZXLife.ipa 阅读全文
posted @ 2021-09-13 20:23 jiuchen 阅读(721) 评论(0) 推荐(0) 编辑
摘要: 常见问题 1.IndexError: list index out of range 1.一般出现死循环,排查数据迭代节点 2.数据量较大,排查数据量 阅读全文
posted @ 2021-08-16 17:17 jiuchen 阅读(26) 评论(0) 推荐(0) 编辑
摘要: docker部署 docker run --name postgres_common -v /software/postgres/data:/var/lib/postgresql/data -e POSTGRES_PASSWORD=123456 -p 5432:5432 -d postgres:12 阅读全文
posted @ 2021-08-11 09:22 jiuchen 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 服务端 客户端启动 配置文件 日志输出openvpn --daemon --config /etc/openvpn/etc/myvpn.ovpn --log-append /var/log/openvpn.log 创建用户 /usr/share/easy-rsa/3/easyrsa build-cl 阅读全文
posted @ 2021-08-11 09:18 jiuchen 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 类型判断 def typeof(variate): type1 = "" if type(variate) == type(1): type1 = "int" elif type(variate) == type("str"): type1 = "str" elif type(variate) == 阅读全文
posted @ 2021-08-05 11:04 jiuchen 阅读(20) 评论(0) 推荐(0) 编辑