当前位置:网站首页>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 )
边栏推荐
- 基于Xception-TD的中华传统刺绣分类模型构建
- 1162. Map analysis - non recursive method
- Paging function (board)
- MySQL
- Meeting notice of OA project (Query & whether to attend the meeting & feedback details)
- Detailed explanation of JVM memory layout (glory collection version)
- 纳米金偶联抗体/蛋白试剂盒(20nm,1mg/100μg/500 μg偶联量)的制备
- OA项目之会议通知(查询&是否参会&反馈详情)
- 基于BRNN的政务APP评论端到端方面级情感分析方法
- 针对下一代Chromebook,联发科推出新款芯片组MT8192和MT8195
猜你喜欢

Log slimming operation: how to optimize from 5g to 1g! (glory Collection Edition)

Several skills of API interface optimization

fluke dtx-1800测试精度有必要进行原厂校准吗?

凡尔赛天花板:“毕业两年月薪才35K,真是没出息啊~~”

Information fusion method and application of expert opinion and trust in large group emergency decision-making based on complex network

Meeting notice of OA project (Query & whether to attend the meeting & feedback details)

基于Paragraph-BERT-CRF的科技论文摘要语步功能信息识别方法研究

RHCSA第一天
![Leetcode 142. circular linked list II [knowledge points: speed pointer, hash table]](/img/74/321a4a0fab0b0dbae53b2ea1faf814.png)
Leetcode 142. circular linked list II [knowledge points: speed pointer, hash table]

Versailles ceiling: "the monthly salary of two years after graduation is only 35K, which is really unpromising ~ ~"
随机推荐
Meta opens the project aria pilot dataset and will develop real-time 3D maps in the future
Pytoch learning record (III): random gradient descent, neural network and full connection
How to design workflow engine gracefully (glory Collection Edition)
LeetCode·581.最短无序连续子数组·双指针
Leetcode 142. circular linked list II [knowledge points: speed pointer, hash table]
数据插值——对不同量级的数据进行归一化
LeetCode链表问题——面试题02.07.链表相交(一题一文学会链表)
瑞典法院取消对华为和中兴的5G频谱拍卖禁令
How to skillfully use assertion + exception handling classes to make the code more concise! (glory Collection Edition)
30. Learn highcharts label rotation histogram
LeetCode链表问题——142.环形链表II(一题一文学会链表)
Introduction to wechat applet development, develop your own applet
How to measure software architecture
Week 6 Linear Models for Classification (Part B)
Uncaught Error:Invalid geoJson format Cannot read property ‘length‘ of undefind
HCIA综合实验(以华为eNSP为例)
Research on intangible cultural heritage image classification based on multimodal fusion
Research on the recognition method of move function information of scientific paper abstract based on paragraph Bert CRF
不用Swagger,那我用啥?
世界肝炎日 | 基层也能享受三甲资源,智慧医疗系统如何解决“看病难”?