智能运维
-
7.28Linux(1)
Linux(1) 版本:centos 7.8 连接Linux 本地连接Linux服务器,是通过ssh服务连接的,ssh端口是22 mysql:3306 tomcat:8080 http:80 https:443 email:25 1、登录指令:ssh 账户@101.43.158.84 2、可使用Termius连接L…
-
SpringJUnit4ClassRunner+mockito 进程feign接口进行单元测试
1、引入 jar 1 <dependency> 2 <groupId>org.springframework.boot</groupId> 3 <artifactId>spring-boot-starter-test</artifactId> 4 <scope>test</scope> 5 </dep…
-
How To Run Windows 11 On MAC Using VMWare Fusion
Let’s start this post with the discussion of why people want to run Windows on mac? Well, there are many reasons for this. Apple is known for its quality products, MacBooks are considered the best av…
-
Linux概述使用
1、什么是linux Linux,全称GNU/Linux,是一套免费使用和自由传播的类Unix操作系统,是一个基于POSIX的多用户、多任务、支持多线程和多CPU的操作系统。使用者不仅可以直观地获取该操作系统的实现机 制,而且可以根…
-
Linux 使用 parted 分区大于2T的硬盘
parted /dev/sdb (用part命令对3T硬盘进行分区处理) mklabel gpt (用gpt格式可以将3TB弄在一个分区里) unit TB (设置单位为TB) mkpart primary 0 3 (设置为一个主分区,大小为3TB,开始是0,结束是3) mkpart prima…
-
Linux 用户管理
§1 概念 用户:任何想要使用linux系统资源的人,在使用前需要向系统管理员申请的账号 用户组:每个用户一定属于一个用户组 家目录: /home/xx,用户登录时自动进入对应的家目录下。root的家目录是 /root §2 …
-
Linux ipmitool 使用
注:仅支持PC服务器(rhel7同类系统版本) #yum install -y ipmitool 没有就安装 #ipmitool lan print 打印出管理口地址信息 #lsmod |grep ipmi 查看是否加载模块 #ipmitool user list 1 列举所有用户和ID,一般ID…
-
Linux smartctl磁盘检测
smartctl -i 指定设备 -d 指定设备类型,例如:ata, scsi, marvell, sat, 3ware,N -a 或A 显示所有信息# smartctl -a /dev/sdb1 -l 指定日志的类型,例如:TYPE: error, selftest, selective, directory,background, …
-
Linux 查看时间
查看时间: 1 #输出当前年月日 2 echo $(date +%F) 3 4 #输出当前时间(时分) 5 echo $(date +%R) 6 7 #输出当前时间(时分秒) 8 echo $(date +%T) 9 10 #输出星期 11 echo $(date +%A) 12 13 #组合输出日期时间 …
-
Linux系统如何解压rar文件
转载自:https://blog.csdn.net/sg_knight/article/details/121440125 1、下载linux版本的rar软件 访问 [官方地址](https://www.rarlab.com/download.htm) 下载最新版本的linux版本rar软件 wget https://www.rarlab…