12 2024 档案

Linux基础——CAT EOF的使用
摘要:1、模块化添加vsftpd.conf配置 cat >>admin_001<<EOF anon_world_readable_only=NO write_enable=YES anon_mkdir_write_enable=YES anon_upload_enable=YES anon_other_w 阅读全文

posted @ 2024-12-27 10:24 gkhost 阅读(12) 评论(0) 推荐(0) 编辑

Linux基础——固化系统路由
摘要:一、临时添加路由(重启network服务失效)例:方法一:route add -net或者-host gw 网关 dev eth0说明:-net 要添加标准子网掩码。 -host 要添加主机ip可以不写子网掩码。方法二:ip route add ip或者网段 via dev eth0查看路由表:参考 阅读全文

posted @ 2024-12-25 15:00 gkhost 阅读(46) 评论(0) 推荐(0) 编辑

LInux基础——vsftpd问题
摘要:1、问题:客户端报错“响应: 500 OOPS: failed to open xferlog log file:/var/log/vsftpd/vsftpd.conf” 根因:没有创建vsftpd日志目录 # 创建vsftpd日志目录 mkdir /var/log/vsftpd 2、问题:修改默认 阅读全文

posted @ 2024-12-16 17:13 gkhost 阅读(37) 评论(0) 推荐(0) 编辑

渗透测试报告URL
摘要:一、一次渗透测试简介 https://blog.csdn.net/qq_36119192/article/details/84674109#t9 二、渗透测试网址 https://www.cnblogs.com/zhaijiahui/p/13072893.html 阅读全文

posted @ 2024-12-11 09:39 gkhost 阅读(4) 评论(0) 推荐(0) 编辑

AI人工智能学习——AI赋能系统
摘要:AI大模型通过低代码或无代码反向优化赋能系统; ARM定制化硅芯片提高计算效率、降低功耗; AI数据中心定义一台计算机,算力逻辑区区分,前期计算虚拟化区分(openstack); AI模型更偏向于训练,无法做到算力切分,功能化独立,封闭环境业务推理和分析; 异构计算:商业服务计算涉及CPU、Memo 阅读全文

posted @ 2024-12-10 09:17 gkhost 阅读(28) 评论(0) 推荐(0) 编辑

Linux基础——创建本地yum源目录及同步公网yum源repo目录到本地
摘要:一、检查同步在线yum源repo源所有rpm包的占用大小 yum repolist AppStream -v 二、下载带目录bclinux/el8.2/,下载目录下除iso及index的目录及文件 wget -r -np -nH -R iso,index.html* https://mirrors. 阅读全文

posted @ 2024-12-09 16:44 gkhost 阅读(155) 评论(0) 推荐(0) 编辑

Linux基础——BClinuxoe21.10系统Openssl软件包漏洞CVE-2024-9143修复
摘要:一、查看openssl软件包 rpm -qa | grep openssl 二、查看当前软件包修复的CVE漏洞 rpm -q openssl --changelog | grep -i 'cve' 三、升级最新软件包 1、检查yum源最新的openssl包 yum list available -- 阅读全文

posted @ 2024-12-09 16:09 gkhost 阅读(61) 评论(0) 推荐(0) 编辑

Linux基础——查看软件包依赖问题
摘要:一、查看openssh-8.2p1-29.oe2003sp4.x86_64依赖包 yum deplist openssh | grep -A 50 openssh-8.2p1-29.oe2003sp4.x86_64 二、网站archlinux查看gcc相关依赖包及软件目录结构 1、参考 https: 阅读全文

posted @ 2024-12-09 15:40 gkhost 阅读(194) 评论(0) 推荐(0) 编辑

Python基础——创建虚拟环境
摘要:一、准备工具 1、python3.7、pip3.7安装 参考:https://www.cnblogs.com/gkhost/p/18595021 2、pip3更换源 # 永久设定pip3源pip config set global.index-url https://mirrors.huaweicl 阅读全文

posted @ 2024-12-09 15:20 gkhost 阅读(332) 评论(0) 推荐(0) 编辑

Python基础——Python安装
摘要:一、安装python 1、安装依赖环境 yum install gcc -y yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-dev 阅读全文

posted @ 2024-12-09 15:20 gkhost 阅读(141) 评论(0) 推荐(0) 编辑

Mysql基础——主从MySQL手动同步
摘要:mysql 主从数据同步失败手动同步数据的方法 进入master执行 1、锁表 flush tables with read lock; 2、导出备份数据 mysqldump -u root -p test1 > /tmp/mysql.sql 3、查看主库状态记录偏移量position的值 show 阅读全文

posted @ 2024-12-05 10:50 gkhost 阅读(13) 评论(0) 推荐(0) 编辑

Mysql基础——Gtid开启方法
摘要:一、Gtid简介 GTID transactions are identified by a global transaction identifier (GTID) in the form UUID:NUMBER. Every GTID transaction in a log is always 阅读全文

posted @ 2024-12-05 10:48 gkhost 阅读(132) 评论(0) 推荐(0) 编辑

Linux基础——查看目录深度max-depth=6的文件大小
摘要:du -ah /home --max-depth=6 | sort -rh | head -10 阅读全文

posted @ 2024-12-05 10:42 gkhost 阅读(5) 评论(0) 推荐(0) 编辑

Linux基础——cgroup服务cgconfig.service启动失败
摘要: 阅读全文

posted @ 2024-12-04 17:33 gkhost 阅读(4) 评论(0) 推荐(0) 编辑

Linux基础——sed工具总结
摘要:1、将字段串“plugins=1”替换为“plugins=0” sed -i 's/plugins=1/plugins=0/g' /etc/yum.conf 2、将字符串“\$1>="\$date_source" \&\& \$1<="\$date_dest"”替换为“\$1>='\"\$date_ 阅读全文

posted @ 2024-12-04 15:28 gkhost 阅读(6) 评论(0) 推荐(0) 编辑

Kubernetes基础——各种状态检查
摘要:一、状态检查 1、Kubernetes集群版本 [root@k8s-master ~]# kubectl versionClient Version: version.Info{Major:"1", Minor:"21+", GitVersion:"v1.21.5-eki.0", GitCommit 阅读全文

posted @ 2024-12-04 14:20 gkhost 阅读(67) 评论(0) 推荐(0) 编辑

Linux基础——下载工具(wget、curl、git)
摘要:一、curl下载 curl -C- -fLO https://mirrors.cmecloud.cn/bclinux/oe21.10/cr/update/x86_64/Packages/openssh-8.2p1-29.oe2003sp4.x86_64.rpm# 下载文件到当前位置curl -O h 阅读全文

posted @ 2024-12-03 15:47 gkhost 阅读(231) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示