首页
分类
标签
归档
图库
关于
搭建网站的历程
生命不息,折腾不止
累计撰写
36
篇文章
累计创建
4
个标签
累计收到
0
条评论
栏目
首页
分类
标签
归档
图库
关于
目 录
CONTENT
最新文章
2023-12-25
使用logback日志类库
Logback介绍 Logback官网 Logback is intended as a successor to the popular log4j project, picking up where log4j 1.x leaves off. Logback's architecture is
2023-12-25
21
0
0
Java
2023-12-25
linux支持rz和sz命令
介绍 rz和sz是Linux上用来发送和接收文件的命令,一般配合ssh工具使用。 安装 apt install lrzsz
2023-12-25
7
0
0
Linux
2023-12-25
OpenSSL生成RSA公钥和私钥
使用openssl命令生成RSA的公钥和私钥 1 生成私钥(PKCS#1格式) openssl genrsa -out private.pem 2048 2 生成公钥 openssl rsa -in private.pem -pubout -out public.pem 3 PKCS1 和 PK
2023-12-25
17
0
0
Linux
2023-12-25
npm设置使用taobao仓库
命令 npm config set registry https://registry.npmmirror.com
2023-12-25
15
0
0
VUE
2023-12-25
openssl生成x509证书
生成x509证书 # 生成私钥 openssl genrsa -out server.key 2048 # 生成证书 openssl req -new -x509 -key server.key -out server.crt -days 365
2023-12-25
6
0
0
2023-12-25
iptables添加IP黑名单
一般拥有公网IP的服务器,都会碰到SSH攻击,此时可将IP添加到黑名单中 特别是境外IP会频繁扫描SSH端口 IPTABLES添加IP黑名单 iptables -I INPUT -s <149.102.132.58> -j DROP 注意,该命令重启后失效
2023-12-25
18
0
0
Linux
2023-12-21
docker部署gitea
部署gitea docker run -d --name='Gitea' -e 'TCP_PORT_22'='22' -e 'TCP_PORT_3000'='3000' -v '/path/to/data':'/data':'rw' 'gitea/gitea'
2023-12-21
19
0
0
Docker
2023-12-21
docker部署postgresql数据库
部署postgresql docker run -d --name='postgres' -e 'POSTGRES_PASSWORD'='<password>' -v '/path/to/data':'/var/lib/postgresql/data':'rw' 'postgres:
2023-12-21
417
0
0
Docker
2023-12-21
linux配置应用为系统服务
将可执行程序封装为系统服务,以便能使用systemctl管理程序 1 创建app.service文件 [Unit] Description=<服务描述> After=network.target [Service] Type=simple User=root Restart=on-failure
2023-12-21
12
0
0
Linux
2023-12-21
GIT设置用户名和邮箱
设置用户信息 git config --global user.name "user name" git config --global user.email "xxx@example.com"
2023-12-21
14
0
0
Git
1
2
3
4