当前位置:网站首页>System reinstallation and system performance query
System reinstallation and system performance query
2022-06-10 22:05:00 【Sleepy snail】
Unable to find the image when reinstalling the system
stay centos7 Initial installation interface Press down tab key ,
Make the following modifications
The original content was :vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=CentOS 7 x86_64 rd.live.check quiet
Change the above content to the following
vmlinuz initrd=initrd.img dd linux quiet Then press enter , After a while, all hard disk information will be displayed .
to glance at U Which disk does the disk belong to? For example, the first column is sdb4
Then restart and re-enter Again tab modify
vmlinuz initrd=initrd.img inst.stage2=hd:/dev/sdb4 quiet
Carriage return installation
configure network
BOOTPROTO="static"
DNS1=8.8.8.
DNS2=202.118.176.2
ONBOOT="yes"
IPADDR=192.168.101.(11-20) first line
PREFIX=16
GATEWAY=192.168.101.1
IPV6_PEERDNS=yes
IPV6_PEEROUTES=yesConfigure key
The key configuration
ssh-keygen All return
cd .ssh Get into .shh Catalog
cat id_rsa.pub >> authorized_keys Install public key
chmod 600 authorized_keys
chmod 700 ~/.ssh
vi /etc/ssh/sshd_config Edit profile
Modify the following four lines , If the first line is blank, you can leave it blank
RSAAuthentication yes
PubkeyAuthentication yes
PermitRootLogin yes
PasswordAuthentication no # No password login
restart ssh
systemctl restart sshd.service
Check the status
systemctl status sshd.service
Copy key
cp id_rsa /root/Downloads/ip Count
Query performance
cpu Number
cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l
cpu Check the number
cat /proc/cpuinfo | grep "cpu cores" | uniq
cpu model
cat /proc/cpuinfo | grep 'model name' |uniq
Check the hard disk size
fdisk -l | grep Disk
Look at the memory
free -hFirewall configuration
systemctl status firewalld
firewall-cmd --zone=public --add-port=22/tcp --permanent
firewall-cmd --reload
firewall-cmd --list-ports View allowed ports 边栏推荐
- Abbexa 1,3-dipalmitonin CLIA kit solution
- 自制Table錶格
- Mysql之将查询结果插入到其它表中
- PHP pseudo protocol implementation command execution details
- Extracting Nalu unit data from H264 real-time stream
- 2022 - 06 - 09 rk817 PMU Battery Temperature Detection
- 在YUV图像上根据背景色实现OSD反色
- 北大青鸟昌平校区:高中学历可以学UI吗?
- LeetCode 进阶之路 - 字符串中的第一个唯一字符
- C language learning review -- 1 basic knowledge review
猜你喜欢
![[nk] 牛客月赛51 F-平均题](/img/b3/c36a0032e606f38fdc2f7c4562713c.png)
[nk] 牛客月赛51 F-平均题

Abbexa cdan1 siRNA instruction manual

2022 - 06 - 09 rk817 PMU Battery Temperature Detection

Asynchronous, thread pool (completablefuture)

"O & M youxiaodeng" self service account unlocking tool
![[Warning] TIMESTAMP with implicit DEFAULT value is deprecated](/img/e8/53c18a7944d160238f2f1c0f8f04b1.jpg)
[Warning] TIMESTAMP with implicit DEFAULT value is deprecated

软件测试工程师是做什么的?

Which city should I go to after I graduate from it? Which position has a high salary? Which companies have good treatment?

C language ---9 first knowledge of macros and pointers

Understanding deep learning attention
随机推荐
ThinkPHP v6.0. X deserialization vulnerability recurrence
C language -- 7 operators
How to realize the marketing purpose of small program integral mall
[Warning] TIMESTAMP with implicit DEFAULT value is deprecated
Tableau auto - fabriqué
C language ---5 initial string, escape character and comment
Calculus review 1
自媒体视频创作如何选择领域?
Brute force method / adjacency table depth first directed weighted graph undirected weighted graph
目标检测相关概念的理解
软件测试工程师是做什么的?
「运维有小邓」自助帐户解锁工具
Leetcode advanced road - 169 Most elements
Redis cache avalanche
Leetcode advanced road - 69 Square root of X
学IT毕业后该去哪个城市?哪个岗位薪资高?哪些公司待遇好?
Self made table
php伪协议实现命令执行详情
Abbexa cdan1 siRNA instruction manual
Shaping teenagers' comprehension ability with children's programming thinking