摘要: 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 阅读(1) 评论(0) 推荐(0) 编辑
摘要: nohup script -c "python3 -m http.server 80" nohup.out & 阅读全文
posted @ 2024-06-06 16:07 shenshu 阅读(1) 评论(0) 推荐(0) 编辑
摘要: yum update --downloadonly --downloaddir=/tmp yum install --downloadonly --downloaddir=/tmp nginx 阅读全文
posted @ 2024-06-06 09:15 shenshu 阅读(1) 评论(0) 推荐(0) 编辑
摘要: /xiaozhang1995/p/18147995 yum -y install createrepo yum-utils httpd net-tools reposync 创建同步目录mkdir -p /var/www/html/yum/开始同步rep 阅读全文
posted @ 2024-06-04 22:42 shenshu 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 发票代码:000009999999 上海增值税电子普通发票 发票号码:88888819999999 开票日期:2022 年 12 月 25 日 校 验 码:48872 23417 42822 61477 机器编号:8888888888888 名 称: 上海yyyyyy医疗设备有限公司 密 9>756 阅读全文
posted @ 2024-06-01 04:27 shenshu 阅读(9) 评论(0) 推荐(0) 编辑
摘要: Linux 特殊权限1、SUIDSUID是a56爆大奖在线娱乐对二进制程序进行设置的特殊权限,可以让二进制程序的执行者暂时具有属主的权限(仅对具有执行权限的二进制程序有用)文件拥有者的权限有rwx变成rws,x改为s,假如原先没有x,则变为大写的Sls -l /bin/passwd -rwsr-xr-x. 1 ro 阅读全文
posted @ 2024-05-22 15:57 shenshu 阅读(5) 评论(0) 推荐(0) 编辑
摘要: ethtool -p ens33 (从ifconfig 或者 ip a 中获得,网卡灯会闪) ethtool ens33 Link detected: no 阅读全文
posted @ 2024-05-20 21:07 shenshu 阅读(6) 评论(0) 推荐(0) 编辑
摘要: echo "查看syslog日志审计服务是否开启:"if service rsyslog status | egrep " active \(running";then echo ">>>经分析,syslog服务已开启"else echo ">>>经分析,syslog服务未开启,建议通过servic 阅读全文
posted @ 2024-04-22 14:33 shenshu 阅读(3) 评论(0) 推荐(0) 编辑
摘要: mount -t cifs //192.168.2.145/share /mnt/test -o username=test,password=123456 编辑/etc/fstab //192.168.2.145/share /mnt/test cifs username=test,passwor 阅读全文
posted @ 2024-04-18 09:31 shenshu 阅读(3) 评论(0) 推荐(0) 编辑
摘要: https://mirrors.tuna.tsinghua.edu.cn/OpenBSD/OpenSSH/portable/ 阅读全文
posted @ 2024-04-03 11:55 shenshu 阅读(7) 评论(0) 推荐(0) 编辑