[Network Security --- Tool Installation] Centos 7 detailed installation process and installation of xshell, FTP and other tools (resources provided)

The installation tutorial for VMware virtual machine is as follows. If it is not installed, you can refer to this blog to install it (resources provided)

[Network Security --- Tool Installation] VMware 16.0 Detailed Installation Process (Resources Provided) - CSDN Blog [Network Security --- Tool Installation] VMware 16.0 Detailed Installation Process (Resources Provided) https://blog.csdn.net/m0_67844671 /article/details/133609717

1. Resource download

CentOS 7 image

shell remote connection tool

xftp file upload tool

The network disk address for downloading resources is as follows:

Please enter the extraction code for Baidu Cloud Disk. Baidu Cloud Disk provides you with network backup, synchronization and sharing services for files. Large space, fast speed, safe and stable, supports education network acceleration, and supports mobile phones. Register to use Baidu Netdisk to enjoy free storage space icon-default.png?t=N7T8https://pan.baidu.com/s/1FjxYvfCbHGysBZ_i_AduIw?pwd=1234

2. CentOS installation

This demonstration uses Windows as an example

Note: If you have an Apple Mac M1 pro chip computer, follow this article to install the centos7 virtual machine:

mac pro M1 (ARM) installation: VMWare Fusion and linux (centos7/ubuntu) (1) - Tencent Cloud Developer Community - Tencent Cloud mac released the m1 chip. Its powerful performance has been sought after by many developers, but it is also because The replacement of its architecture has caused problems in the installation of many software or environments. Today we will talk about how to install a Linux virtual machine in m1 icon-default.png?t=N7T8https://cloud.tencent.com/developer/article/2150583
The centos official website is located abroad, so downloading must be very slow. There are many mirror addresses in China, so you can download them from domestic ones, such as Tsinghua University open source software mirror station:
Find the appropriate version and download it

 However, I have prepared these images. You can download them from the network disk and use them.

Although the latest version is version 8.x, the version 7.x is still used most by enterprises. We can use 7.8.2003:
Centos ios image download address :
But I have prepared it for everyone. After downloading the resource, unzip it and open it as follows:

Next start the installation 

1. First create a folder specifically for the virtual machine.

I created an all_system folder on drive E to store the installed virtual machine.

2. Open the VM and create a new virtual machine

3. Select typical and next step

4. Install the operating system later and then next step

 5. Select Linux, then select CentOS 7 64-bit, next step

 6. Give the virtual machine a name and select the folder you just created.

 7. The disk size is determined by you based on the remaining capacity of your computer (it can be increased later)

 8. Click Finish

 9. Open 'Edit virtual machine settings'

10. Select the downloaded or CentOS-7.8-x86_64-DVD-2003.iso file  I provided and click OK

 11. Click to start the virtual machine

 12. When the font changes to white, it means it is selected. Select the first one (the up and down keys can be used to select up and down) and press Enter.

13, then wait, and finally as follows, select Chinese

14. As follows, the default system automatically installs very few software. As a server, less software needs to be installed, but for our own study and research, we still install more.

 

15, as follows, below GNOME means desktop. We don’t need a desktop to learn Linux. We can’t learn the essence by using a desktop. Moreover, the desktop itself is also a program, which consumes system resources and performance, so desktops are basically not installed on enterprise servers.

 16. As follows, we set the partition. Like Windows, Linux also has partitions.

17. As shown below, the default partitioning is automatic, but the effect of distinguishing the default partitions is not good. Whether it should be larger or smaller, we still partition manually.

18, as follows  

 19. Unlike Windows, Linux has drive letters such as C drive, D drive, etc. It only has one root drive letter, which is /, and the remaining directories are subdirectories under it. First give all space to / 

20, then click Finish 

 

21. The following warning may be given, saying that our division is unreasonable. It’s okay. Ignore it for now and click Finish directly. 

22. There will be a prompt like this, just click to accept. 

 23, as follows, turn off the Kdump function, because it is of no use for our current study and will instead occupy memory.

24. Uncheck and click Finish 

 25. Next set the network and host name

26. After opening, click Finish 

 27. Next, click to start the installation: 

 28. As follows, during installation, set a password during the installation process. Linux has a root user by default, which is similar to our administrator user in Windows. It is a super administrator user. We only have such a root user when we come up. Set a password for it. Otherwise, you will still be asked to set a password when you enter the system later.

29. After the setting is completed, press the completion button twice ( weak passwords require two clicks on the completion button )

 30. Click Finish again.

 

31. The password setting is completed, just wait for the installation of the system to be completed.

32. The system is finally installed, click Restart. 

 

33. After the restart is complete, enter the account root

34. Enter the password you set

35. System installation is completed

36. It is best to take a snapshot after the installation is completed, so that it can be restored to the current post-installation appearance in case of damage. If you take a snapshot ,

You can shut down using the command

shutdown -h now

 

37. Take snapshots 

 

38, then click to take a snapshot

 

39. This is done. If the system is damaged in the future, or if you want to go back to the way it was just installed, you can do it by restoring the snapshot. 

40. After selecting the snapshot you want to restore, click 'Go' below 

 

41. Just select 'Yes' and you will be back to the system state when we took the snapshot.

 

We found that the Linux system fonts are very small, and it is very inconvenient to operate like this all the time. Next, install the remote connection tool xshell 

3. Installation of xshell tool

3-1 Tool download and installation

You can download it from the official website, address:

XSHELL - NetSarang Websiteicon-default.png?t=N7T8https://www.xshell.com/zh/xshell/

As follows, please enter your email address. You will need to enter this email address later during the installation of xshell:  

 

 

The tools have also been provided and are included in the resources. You can download them from the network disk.

1. Double-click to install 

2. Next step

3. Next step after accepting the agreement 

4. Change the path and then proceed to the next step (try not to install on the C drive by default) 

 

5. The default is enough, click to install.

6. Click Finish 

 7. Click OK

 

8. Click OK to update, otherwise use 

 

9. Just go to the next step 

 

10. Next step

11. Completed 

 

12. There is a shortcut on the desktop, double-click to open it. 

13. If you have an email address, enter your account number and log in. If you don’t have an email address, register. 

 

14. Confirm

 

15. Installation successful 

 3-2 Connection

Let’s take a look at the IP address of the linux system just now 

ip addr command to view IP address

The IP address is 192.168.220.137 

3-2-1 Window connection

 Fill in this information first, name it whatever you want

Then select User Authentication on the left, fill in the username and password and click Connect.

 Accept and save

Already connected 

 ready to use

 3-2-2 Command line connection

Format 

        ssh username@IP address

        ssh [email protected] 

Enter the ssh remote connection command and press Enter 

 

 Fill in the password and confirm

Already connected, you can execute commands 

 

What if you want to transfer data between the physical machine and the Linux system? Then you need to install an FTP resource transfer tool, which can easily transfer resources. 

4. Install Xftp to upload files

If you want to upload an executable file to the server yourself, we can use the xftp tool, as follows

You don’t need to download it. I’ve provided it in the tool for you. You can just install it.
1. Double-click to install

 2. Next step

3. I accept the agreement, next step

4. Modify the default installation address and then proceed to the next step. 

5. Click Install 

 6. Click Finish

 7. OK, update

8. OK

 

9. Next step 

10. Next step

11. Completed

 

12. The installation is now complete. Just click here. xshell will automatically call the xftp tool we installed: 

13. If you have already registered your email address, log in directly. If not, register and click Submit.

 

14. Click OK and then go to your email for verification.

 

15. The installation is complete. Now you can transfer files by dragging. 

 

Guess you like

Origin blog.csdn.net/m0_67844671/article/details/133616010