2024年7月20日

测试磁盘读写速度

摘要: 3、测试同时读写能力 dd if=/dev/sdb of=/testrw.dbf bs=64k 一个是物理分区,一个是实际的文件,对它们的读写都会产生IO(对/dev/sdb是读,对/testrw.dbf是写),假设它们都在一个磁盘中,这个命令就相当于测试磁盘的同时读写能力。 4、测试纯写入性能 d 阅读全文

posted @ 2024-07-20 17:27 HowOldAreYou 阅读(6) 评论(0) 推荐(0) 编辑

2024年7月18日

centos安装bcc

摘要: 一、升级内核 # 升级系统 yum update -y # 安装ELRepo rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-3 阅读全文

posted @ 2024-07-18 20:32 HowOldAreYou 阅读(4) 评论(0) 推荐(0) 编辑

centos升级内核

摘要: 一、已有内核rpm包 #!/bin/bash # usage: bash upgrade-kernel.sh # 前提,kernel-lt-5.4.261-1.el7.elrepo.x86_64.rpm 和kernel-lt-devel-5.4.261-1.el7.elrepo.x86_64.rpm 阅读全文

posted @ 2024-07-18 20:31 HowOldAreYou 阅读(11) 评论(0) 推荐(0) 编辑

2024年7月17日

ubantu安装bcc

摘要: 参考文档:https://github.com/iovisor/bcc/blob/master/INSTALL.md#ubuntu binary 阅读全文

posted @ 2024-07-17 16:41 HowOldAreYou 阅读(1) 评论(0) 推荐(0) 编辑

ubantu安装pcstat

摘要: 参考文档: https://github.com/tobert/pcstat?tab=readme-ov-file#readme 先安装go见 https://www.cnblogs.com/wxxjianchi/p/18307654 https://github.com/tobert/pcstat 阅读全文

posted @ 2024-07-17 16:40 HowOldAreYou 阅读(5) 评论(0) 推荐(0) 编辑

ubantu离线安装go

摘要: https://go.dev/dl/ 下载需要的go版本 把包上传到linux服务器 配置环境变量 cat >> /etc/profile.d/go-env.sh <EOF export PATH=$PATH:/usr/local/go/bin export GOPATH=$HOME/go EOF 阅读全文

posted @ 2024-07-17 16:07 HowOldAreYou 阅读(6) 评论(0) 推荐(0) 编辑

2024年7月16日

自签证书

摘要: #!/bin/bash# 生成私钥openssl genpkey -algorithm RSA -out private.key# 生成证书请求openssl req -new -key private.key -out certificate.csr# 自签名证书openssl x509 -req 阅读全文

posted @ 2024-07-16 17:39 HowOldAreYou 阅读(14) 评论(0) 推荐(0) 编辑

ubantu初始化配置

摘要: 配置网络wxx@k8s-master01:~$ more /etc/netplan/00-installer-config.yaml # This is the network config written by 'subiquity'network: ethernets: ens33: dhcp4 阅读全文

posted @ 2024-07-16 17:38 HowOldAreYou 阅读(6) 评论(0) 推荐(0) 编辑

centos阿里yum源配置

摘要: 一、elrepo源 简介 The ELRepo Project focuses on hardware related packages to enhance your experience with Enterprise Linux. This includes filesystem driver 阅读全文

posted @ 2024-07-16 08:36 HowOldAreYou 阅读(32) 评论(0) 推荐(0) 编辑

2024年3月22日

启用 .NET Framework 3.5

摘要: 可以在启用 .NET Framework 3.5 功能时,将 Windows 安装媒体用作文件源。 为此,请按照下列步骤操作: 插入 Windows 安装媒体。(https://zhuanlan.zhihu.com/p/616060244) 在提升的命令提示符处,运行下面的命令: 控制台复制 Dis 阅读全文

posted @ 2024-03-22 10:53 HowOldAreYou 阅读(37) 评论(0) 推荐(0) 编辑

导航