当前位置:网站首页>Rhcsa first day
Rhcsa first day
2022-07-28 21:52:00 【m0_ fifty-four million eight hundred and three thousand seven h】
If there is a mistake , Please kindly understanding !
This article is my study notes , For reference only , If offended , Please contact the author for deletion !!!
One 、liunx Installation of operating system
With kali For example :
1. Download the system image file
First download the system image , Get into kali Official website , choice 64 Bit system . stay Downloads Choose from Download Kali Linux, As shown in the figure below .

2. Create a new virtual machine
stay vm It's a new virtual machine , Choose the typical directly , And then the next step .

3. Select the middle Setup CD image file , Go to the file to find the image you downloaded .

4. Name the virtual machine and choose the installation location
5. Select the disk size for the virtual machine ..
6. Move on to the next step , As shown in the figure, we can change the virtual machine hardware . Click Custom hardware .
7. Just change the memory and processor . It can be adjusted according to the configuration of your computer . As shown in the figure .
8. Click Close , Then turn on the virtual machine .
9 choice Graphical install
10 Choose simplified Chinese , Choose your region China , Select keyboard mapping , chinese
11 At this step, select the host name , Just customize
12. Set the power on password .
13. Automatic installation system .

14. Wait for the system to restart after installation .

15. installation is complete kali The interface is as follows

Two 、 Change the hostname to server.local
[[email protected] ~]# hostname server.local
[[email protected] ~]# hostname
server.local3、 ... and 、 Crack the code
1. Press... On the startup interface e key , Enter system rescue mode
2. stay quiet Add instructions after rd.break

3. Press down CTRL+x start-up , Enter command line mode .
4. Reset password .
switch_root:/# mount -o remount,rw /sysroot
switch_root:/# chroot /sysroot
# Reset password
sh-4.4# echo “ New password ”|passwd --stdin root
# Forget SELinux Record ( Must operate , Otherwise, the new password will not take effect )
sh-4.4# touch /.autorelabel5. Exit twice , Forcibly restart the system .
6. Log in to your account with your new password , If login is successful , It proves that the cracking is successful .
Four 、 Course summary
1. Composition of computer :
1、 controller , It's the central nervous system of the whole computer , Control according to the procedure requirements , Coordinate the work of each part of the computer and the memory and peripheralsVisit, etc .2、 Arithmetic unit , The function is to perform various Arithmetic operations and Logical operations .3、 Memory , The function is to store programs 、 Data and various signals 、 Information such as orders .4、 input device , The function of the input device is to program 、 Raw data 、 written words 、 character 、 Control command or data collected on site and other information inputEnter the computer . Common input devices are keyboards 、 Mouse, etc. .5、 Output devices , It outputs the information calculated by the computer . Common output devices include display terminals 、 The printer 、 Plotters, etc .2. The function of a computer : Receive instructions and data from input devices , after cpu The data and logical operation processing of generate useful information to store or output to the screen .3. What is the operating system ? operating system (Operating System, abbreviation OS) It is a plan to manage and control computer hardware and software resources Computer program , It is the first layer of software configured on computer hardware , Any other software must be supported by the operating system .The main work of the operating system is realized by the operating system kernel , The operating system kernel provides a series of multi kernel functions with predetermined functions , Through a set of interfaces called system calls ( Application programming interface API, A collection of all system calls provided by the operating system implementation , Is the interface between the application and the system ) Present to the user .Common operating systems :UNIX、Linux class 、MacOS、Windows class 、iOS、Android、ChromeOS wait4. Functions of the operating system kernel :(1) System call interface : The programmer communicates with the kernel through this interface(2) Procedure management : A computer may have a lot of work waiting at the same time CPU Operation processing , The kernel must be able to control these jobs at this time , Give Way CPU Only by allocating resources effectively .(3) memory management : Control the memory management of the whole system , All program code and data of the system must be stored in the kernel first , Usually, the kernel will provide the function of virtual memory , When the memory is insufficient, it can provide the function of memory exchange .(4) File system management : Such as data input and output , There is also support for different file formats .(5) Device drivers : Hardware management is one of the main tasks of the kernel , The device driver is the code that the kernel manages the hardware , equipment The driver of can make the hardware ready to work , Always waiting for the call of the program . Fortunately, there are so-called “ Loadable modules ” work can , You can edit the driver as a module , There is no need to recompile the kernel .5.liunx Introduction to operating system
6.Linux Characteristics
Open sourceTrue multi-user multitaskingFully compatible with POSIX standardPowerful portabilityRich network functionsGood user interfaceReliable system securityHigh stability7. build liunx learning environmentInstall virtual machineinstall linux operating systeminstall xshell8. Get ready root Sign in , obtain ip Address remote login9. Zoom in / Reduce the font size10. Basic knowledge ofterminal (shell command interpreter bash sh)
View the current linux Release information for[[email protected] ~]# cat /etc/redhat-release CentOS Linux release 8.3.2011Shell Prompt :# and $
For ordinary users ,Base shell The default prompt is the dollar sign $ ;For super users (root user ),Bash Shell The default prompt is pound sign # .Normal user login : [ Currently logged in user @ Host name Current working directory ] $see IP Addressifconfig ip-aModify hostname
[[email protected] ~]# hostname server # Temporary modification , restart linux System later fails [[email protected] ~]# hostnamectl set-hostname server # permanent , What is modified is the file content . restart linux The system still takes effect after # View the hostname profile [[email protected] ~]# cat /etc/hostname serverView the current working directory : pwd
[[email protected] ~]# pwd /root [[email protected] ~]# su - centos Last login: Mon Jun 6 15:16:56 CST 2022 on pts/0 [[email protected] ~]$ pwd /home/centosChange the current working directory , That is, switch directories
Absolute path ( With / The way to start ) Relative paths ( Not in / The way to start ) [[email protected] ~]# cd / [[email protected] /]# cd - notes : This operation will return you to the directory you last switched /root [[email protected] ~]# [[email protected] /]# cd /home [[email protected] home]# cd /home/centos [[email protected] centos]# cd ~ notes :~ Represents the home directory of the current user , The current user is root, It means root User's home directory [[email protected] ~]# cd .. notes :.. Represents the upper level directory of the current working directory [[email protected] /]# cd . notes :. Represents current workReset root password ( See the above for the specific process )
边栏推荐
- 如何优雅的设计工作流引擎(荣耀典藏版)
- I have been in the industry for 4 years and changed jobs twice. I have understood the field of software testing~
- 8、 QoS queue scheduling and message discarding
- 微信小程序开发入门,自己开发小程序
- Apple M1 processor details: performance and energy efficiency have doubled, and Intel Core i9 is no match!
- 中国农业工程学会农业水土工程专业委员会-第十二届-笔记
- Edited by vimtutor
- Pytoch learning record (III): random gradient descent, neural network and full connection
- What is the purpose of database read-write separation [easy to understand]
- For the next generation chromebook, MediaTek launched new chipsets mt8192 and mt8195
猜你喜欢

Achieve waterfall effect

基于复杂网络的大群体应急决策专家意见与信任信息融合方法及应用

Adventures of little mouse: behind the scenes gags of moss 2

软考 --- 数据库(3)数据操作

蚂蚁集团境外站点 Seata 实践与探索

Talk about row storage and column storage of database

数据插值——对不同量级的数据进行归一化

An end-to-end aspect level emotion analysis method for government app reviews based on brnn

MySQL 是如何归档数据的呢?

Divide and conquer, upload large files in pieces
随机推荐
Knowledge description framework of foreign patent documents based on knowledge elements
How is nanoid faster and more secure than UUID implemented? (glory Collection Edition)
Leetcode 19. delete the penultimate node of the linked list [knowledge points: speed pointer, recursion, stack]
两个全局变量__dirname和__filename 、fs模块常用功能进一步介绍
Information fusion method and application of expert opinion and trust in large group emergency decision-making based on complex network
小霸王被申请破产!公司成“老赖” ,法人被限制高消费
[极客大挑战 2019]Secret File&文件包含常用伪协议以及姿势
Apple M1 processor details: performance and energy efficiency have doubled, and Intel Core i9 is no match!
Construction of Chinese traditional embroidery classification model based on xception TD
For the next generation chromebook, MediaTek launched new chipsets mt8192 and mt8195
Cloud security core technology
Research on intangible cultural heritage image classification based on multimodal fusion
基于知识元的外文专利文献知识描述框架
Meeting notice of OA project (Query & whether to attend the meeting & feedback details)
中国农业工程学会农业水土工程专业委员会-第十二届-笔记
Talk about row storage and column storage of database
fluke dtx-1800测试精度有必要进行原厂校准吗?
二 RedisTemplate的序列和反序列化机制讲解
1162. Map analysis - non recursive method
RHCSA第一天