会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
13
下一页
2024年10月1日
pdf 转成图片
摘要: yum install python3-pip pip3 install pdf2image #yum install poppler-utils from pdf2image import convert_from_path # PDF 文件路径 pdf_file_path = '1.pdf' #
阅读全文
posted @ 2024-10-01 21:02 shenshu
阅读(22)
评论(0)
推荐(0)
2024年9月12日
curl 下载文件
摘要: curl -o setup.exe https://sfdl.360safe.com/setup.exe curl -s -o setup.exe https://sfdl.360safe.com/setup.exe
阅读全文
posted @ 2024-09-12 12:03 shenshu
阅读(294)
评论(0)
推荐(0)
2024年9月7日
dotnet 读取配置文件
摘要: string path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "config", "2.txt");
阅读全文
posted @ 2024-09-07 09:26 shenshu
阅读(19)
评论(0)
推荐(0)
2024年8月28日
检测域账号是否禁用、密码是否永不过期
摘要: 代码1 using System; using System.DirectoryServices.AccountManagement; class Program { static void Main(string[] args) { // 从控制台输入用户名 Console.Write("请输入要
阅读全文
posted @ 2024-08-28 21:20 shenshu
阅读(172)
评论(0)
推荐(0)
2024年8月4日
keepalived 高可用(非抢占式)
摘要: 主 global_defs { router_id LVS_MASTER #名称标记为master,名字随便取 vrrp_gna_interval 0 } #加入周期性检测nginx服务脚本的相关配置 #vrrp_script check_nginx{ # script "/etc/keepaliv
阅读全文
posted @ 2024-08-04 22:02 shenshu
阅读(213)
评论(0)
推荐(0)
2024年8月2日
curl 测试端口
摘要: [root@localhost ~]# curl -v telnet://192.168.2.148:80* Trying 192.168.2.148:80...* TCP_NODELAY set* Connected to 192.168.2.148 (192.168.2.148) port 80
阅读全文
posted @ 2024-08-02 08:56 shenshu
阅读(114)
评论(0)
推荐(0)
2024年8月1日
jar 打包和解压
摘要: 解压jar包 unzip xxx.jar -C /tmp/test 打包jar #M 不创建MANIFEST.MF 0 不压缩 jar cvfM0 xxx.jar -C /tmp/test/ .
阅读全文
posted @ 2024-08-01 20:46 shenshu
阅读(32)
评论(0)
推荐(0)
2024年7月24日
银河麒麟控制台修改root密码
摘要: https://blog.51cto.com/u_16099281/7534745 grub账号默认密码 root/Kylin123123 按e,找到linux开头的行,在行末尾加入rw init=/bin/bash
阅读全文
posted @ 2024-07-24 10:34 shenshu
阅读(302)
评论(0)
推荐(0)
2024年7月8日
压缩目录下的文件
摘要: 1、比如要打包/app1/updates 目录下的文件,然后把打包文件解压到另一台机器上的/app2/updates 目录下 cd /app1/updates tar -czvf /root/updates.tar.gz * tar -xzvf /root/updates.tar.gz -C /ap
阅读全文
posted @ 2024-07-08 20:41 shenshu
阅读(38)
评论(0)
推荐(0)
2024年6月29日
麒麟内核升级
摘要: yum update kernel kernel-tools kernel-tools-libs kernel-headers kernel-devel #如果没有成功写入启动菜单,执行下面的命令会写入启动菜单rpm -e --nodeps kernel-core-4.19.90-23.48.v21
阅读全文
posted @ 2024-06-29 20:58 shenshu
阅读(352)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
13
下一页
公告