当前位置:网站首页>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 )
边栏推荐
- Library borrowing system "suggested collection"
- 聊一聊数据库的行存与列存
- 华为发布首款电驱动系统DriveONE:充电10分钟续航200km
- 面向千元级5G手机市场,联发科天玑700发布
- 顺序表的实现
- 1162. Map analysis - non recursive method
- Why does Baidu search only crawl, but not show the page?
- Chinese patent keyword extraction based on LSTM and logistic regression
- For the next generation chromebook, MediaTek launched new chipsets mt8192 and mt8195
- Leetcode 19. delete the penultimate node of the linked list [knowledge points: speed pointer, recursion, stack]
猜你喜欢

Divide and conquer, upload large files in pieces
![[英雄星球七月集训LeetCode解题日报] 第28日 动态规划](/img/79/bc763bb6f12c525454abda18be4265.png)
[英雄星球七月集训LeetCode解题日报] 第28日 动态规划

Is it necessary to calibrate the fluke dtx-1800 test accuracy?

Cross domain transfer learning of professional skill word extraction in Chinese recruitment documents

MySQL 是如何归档数据的呢?

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

Uniapp progress bar customization

Pytoch learning record (III): random gradient descent, neural network and full connection

小程序开发需要什么技术

两个全局变量__dirname和__filename 、fs模块常用功能进一步介绍
随机推荐
传微软已获得向华为供货许可!华为将迎来全面解禁?
Using El date picker to report errors in sub components
Log slimming operation: how to optimize from 5g to 1g! (glory Collection Edition)
Meeting notice of OA project (Query & whether to attend the meeting & feedback details)
C#流程控制语句
1162. Map analysis - non recursive method
HCIA综合实验(以华为eNSP为例)
[geek challenge 2019] secret file & file contains common pseudo protocols and gestures
融合LSTM与逻辑回归的中文专利关键词抽取
Hold high the two flags of 5g and AI: Ziguang zhanrui Market Summit is popular in Shencheng
NTP server time (view server time)
中国农业工程学会农业水土工程专业委员会-第十二届-笔记
Wechat applet development company, do you know how to choose?
Knowledge description framework of foreign patent documents based on knowledge elements
Research on the recognition method of move function information of scientific paper abstract based on paragraph Bert CRF
Uniapp progress bar customization
The ref value ‘xxx‘ will likely have changed by the time this effect function runs. If this ref......
Leetcode 142. circular linked list II [knowledge points: speed pointer, hash table]
1945. sum of digits after string conversion
Automatic filling of spare parts at mobile end