Part 1 Installation of Thinking Linux Operating System Chapter 1 Overview This guide is applicable to Thinking Panshi Security Operating System V4.2. Chapter 2 Installation This chapter will guide users to install the Thinking Rock security operating system. 2.1 Start the installation program and set the CD as the first boot disk in the BIOS. Insert the SiPanShi Security Operating System V4.2 installation CD into the hard disk and restart. You will hear the installation CD prompt interface as shown in Figure 2.1. Figure 2.1: Press the Enter key on the installation CD prompt interface and wait for the CD to boot the system until the login: prompt appears, as shown in Figure 2.2. If no operations are performed, the disc will wait for 10 seconds before manually booting the system. Figure 2.2: After entering the user name: root and password: rocky on the CD-ROM login interface, log in to the CD-ROM system. Figure 2.3: To log in to the CD-ROM system, start the character interface installation program. Enter setup and press Enter to continue. To start the graphical interface installer, enter setup-g and press Enter to continue. The installation process in this article is based on the character interface. Figure 2.4: After starting the installation program, you will hear the system installation program welcome interface. 2.2 Character interface installer Figure 2.5: System installer welcome interface Select and press Enter to continue installation. Select and press the Enter key or press the Esc key directly. This will enter the abandon installation confirmation interface. Select and press the Enter key to exit the installation. Select and press the Enter key to return to the welcome interface, as shown in Figure 2.6.
Figure 2.6: Abandoning the installation During the installation process below, if you do not want to continue installing the system, you can press the Esc key not only outside the partition interface to enter the cancellation confirmation screen Thinking Rock Linux System , such as As shown in Figure 2.7. Select and press Enter to exit the installation, select and press Enter to return to the previous interface. Figure 2.7: Cancel the installation Note: Exit the installation in the partition interface, see Section 2.3 Part 8 for details. 2.3c Disk Partition 2.3.1c Disk Allocation Because the hard disk capacity of the hardware DELL server is 146G*3, I made the following partition plan and server partition recommendations: Mount point size / (60G) /oradata (250G) / users ( 100G)/swap (16G) Figure 2.8: Prompt to partition /dev/sda or other possible storage devices, press Enter to continue. Figure 2.9: C drive partition operation interface. The c drive partition operation interface is shown in Figure 2.9. You can use the ←, →, ↑ and ↓ direction keys to control partition operations. To partition the system, you only need to create or (and) delete the partition. The mount point will be defined in the following steps. Note that there must be a swap partition (swap); in order to reduce the performance of the machine, it is recommended that the swap partition is finally built in Last. 2.3.2.1. Partition Array The information above the partition level is the label that represents the partition you are creating. This label is defined as follows: ?Name: This array displays the device name of the partition.
?Flags: This array shows whether the partition is the main boot partition. ?PartType: This array shows the type of partition (for example, Primary or Logical). ?FSType: This array shows the file system type of the partition (for example, Linux or Linuxswap/Solaris). ?label: This array displays the label of the partition. ?Size (MB): This array displays the size of the partition (MB). Partition operation Partition operation is divided into two modes: up and down keys and left and right keys: ? Use the up and down keys to select FreeSpace or c drive partition. The displayed commands are different according to the selected type. Only by selecting FreeSpace can you create a new c drive partition, and selecting a certain c drive partition can delete or modify its file system format. ? Use the left and right keys to select the command area below. Commonly used commands are as follows: [New]: Create a new c drive partition. Pay attention to the difference between Primary and Logical. [Delete]: Delete the c drive partition. [Type]: Modify the file system format of the c drive. The default file system formats for the new partition include Linux, Linuxswap, NTFS, FAT32, etc. [Write]: Write the changed c drive partition information to the hard disk. Note that this will overwrite the original c drive partition information. [Quit]: Exit the partition operation interface.
Add a partition To add a new partition, first use the up and down keys to select FreeSpace, then use the left and right keys to select [New] in the lower menu and press Enter, or directly press the shortcut key n to create a new partition. Figure 2.11: Figure 2.11: Select the partition type Figure 2.11: Figure 2.11: Select the partition type Figure 2.10: Create a new partition Select the partition type, Primary or Logical. Primary is required to install a new system. After selecting, press Enter to continue. Enter the partition size (the specific size depends on which directory you plan to mount the partition to) and press Enter to continue. Figure 2.10: Create a new partition and select the partition type, Primary or Logical. Primary is required to install a new system. After selecting, press Enter to continue. Enter the partition size (the specific size depends on which directory you plan to mount the partition to) and press Enter to continue. Figure 2.16: Figure 2.16: Enter the partition type Figure 2.13: Select the location of the partition on the c drive Figure 2.13: Select the location of the partition on the c drive After returning to the partition interface, the partition has been constructed, as shown in Figure 2.14. Figure 2.12: Enter the partition size and select the location of the partition on the c drive, whether it is at the top ([Beginning]) or the last ([End]) of the c drive. If this partition is to be mounted /, select the top one.
Press Enter after selecting. Figure 2.14: The partition has been constructed and the partition type is modified. The operating system relies on the partition type mark on the c drive partition information table to identify the type of each c drive partition. You can select the appropriate partition type for the c drive partition according to the operating system to be installed. . The following are the commonly used partition types and IDs (identification codes) of the Thinking Rock security operating system: ?82Linuxswap: Swap partition, used to support virtual video memory. ?83Linux: Linux partition, the specific format will be selected in the low format partition. ?5extended: Extended partition. You can set a primary partition as an extended partition and then partition it logically. ?FDLinuxraidaautodetec: Create one or more Raid partitions to allow building a Raid device. To modify the partition type of a partition, first use the up and down keys to select the partition whose partition type you want to modify, then press the left and right keys to [Type] and press the Enter key, or directly press the shortcut key t to continue. Figure 2.15: Modify the partition type of the partition. Now all partition types recognized by Linux are displayed. Enter the ID of the partition type to be changed, such as 82, 83, FD, etc. For example, enter 82, which is the Linux swap type, and then press Enter key to continue. After the creation is completed, the partition type just set will be displayed under the FSType label of the partition.
Figure 2.17: After partition creation, the newly created partition will be a Linux partition by default. Whether it is ext2, ext3 or other file systems will be set in the previous steps. See Section 2.3.4 for details. The main thing here is to create a swap partition. Delete a partition. If the partition already exists on the hard disk and you want to make other changes, you need to delete the partition and then rebuild it. To delete a partition, press the up and down keys to go to the partition, then press the left and right keys to select [Delete] and press the Enter key. Warning: There is no confirmation process for deleting a partition, and the existing partition will be deleted directly. If you want to undo the deletion operation, you can only exit the partition interface directly without writing the partition result to the C drive, and then re-enter the partition interface, but all previous partition operations will be lost. Use with caution! Setting the main boot partition If you want to set a certain partition as the main boot partition, press the up and down keys to connect to the partition, then press the left and right keys to connect to [Bootable] and press the Enter key. Boot will be displayed under the Flags label of the partition. Figure 2.19: Write the partition result to the c drive Figure 2.19: Write the partition result to the c drive Figure 2.18: Set the main boot partition to complete the partition [Write] and press the Enter key, or follow the above steps to build the required partition and complete After all partitions are set, press the left and right keys to [Write] and press the Enter key, or enter yes and press the Enter key to confirm that the partition results will be written to the c drive.
Figure 2.20: Confirm that the partition result is written to the c drive and exit the partition interface. After the partition result is written to the c drive, the partition work is completed. Press the left and right keys to [Quit] and press the Enter key to exit the partition interface. Figure 2.21: Exit the partition interface. Note: The partition result must be written to the c drive to take effect! Exiting without performing write operations will lose the partition results. If there are multiple hard drives, you will be prompted to partition the second hard drive, as shown in Figure 2.22. Press the Enter key to enter the c drive partition operation interface. You can partition the second hard drive according to the above method. If you do not want to partition it, press the left and right keys to [Quit] and press the Enter key to exit the partition interface. If there are a third or fourth hard drive, the technique is the same. Figure 2.22: Partition other hard drives. After all partitions on the hard drives are created, proceed to the next step. Figure 2.23: Soft RAID is not used in the D-5000 system, so choose to skip this step. Set the partition mount point. After completing the steps in the previous section, enter the interface for setting the mount point. Use the up and down keys to select the c drive partition that needs to be edited, and then use the left and right /, /oradata, /users, etc. to enter /, /oradata, /users, etc. After inputting, press the Enter key to confirm. Figure 2.24: Setting the mount point Warning: The following directories cannot be used as partition mount points: /bin, /sbin Figure 2.24: Setting the mount point Warning: The following directories cannot be used as partition mount points: /bin, /sbin, / dev, /etc, /lib, /lib64.
After editing the required c drive partition, use the left and right keys to connect to it and press the Enter key to complete the mount point setting and proceed to the next step. Figure 2.25: Editing is completed and the partition file system is set. The c drive partition needs to be formatted before it can be used. Here you need to select the file system after formatting. After using the up and down keys to select the file system of a certain partition, press the Enter key to continue. After all selections are made, proceed to the next step. In the AVC system, all c drive partitions use the ext3 file system. Figure 2.27: Enter the serial number Figure 2.27: Enter the serial number Figure 2.26: Select the file system to enter the serial number Enter the 12-character serial number 2, and press the Enter key to proceed to the next step. Note: The serial number must consist of numbers 0 to 9 and English letters a to f (uppercase and lowercase are not distinguished). Other characters are invalid. If we are practicing using it in our company, we can skip this item and use it without entering the serial number. Configuring network parameters There are two ways to configure network parameters during the installation of Think Panshi Security Operating System V4.2. DHCP dynamic allocation and automatic configuration. Use automatic configuration in AVC systems. Select Manual and press Enter to continue with the steps below. Figure 2.28: Select the method to configure network parameters. Tips: Please enter the network parameters to be entered in the following steps according to the specific situation. The network parameters entered must be valid, otherwise it will be difficult to pass this step! Set the domain name. Enter the domain name (the maximum length is 64 characters, which can be left blank), and press Enter to continue; I did not set it when installing the system, so I skipped this item.
Figure 2.29: Enter the domain name to set the local IP address. Enter the local IP address to download linux, separated by dots. For example: 192.10.10.211, press Enter to continue. Figure 2.30: Enter the IP address to set the subnet segment. Enter the subnet segment and press Enter to continue. Figure 2.31: Enter the network segment, set the network segment, enter the network segment address, and press Enter to continue; you can continue the installation if you need to configure it during the installation process, which can be configured as 192.10.10.1. Figure 2.32: Enter the network segment address to set the primary DNS server. Enter the primary DNS address and press the Enter key to continue; DNS servers are usually not used in AVC systems, but the installation process Figure 2.34: Enter the secondary DNS address Figure 2.34: Enter the secondary DNS The address needs to be configured to continue installing Linux data recovery, which can be configured as 192.10.10.1. Figure 2.33: Enter the primary DNS address 2.5.6 Setting the secondary DNS server is the same as the DNS setting and can be left blank. 2.5.7 Set the host name. Enter the host name (maximum 64 characters supported) and press Enter to proceed to the next step. For example, I entered wqylavc1 Figure 2.35: Enter the host name. If you do not enter a name, the host name will default to localhost. Selecting software packages 2.6.1 Selecting software package groups There are 8 groups of software packages in Panshi Security Operating System V4.2, namely Base, NetworkService, GUI, Development, NetworkTools, Office, Internet, and Multimedia.
There are two types of software packages in each software package group: required and optional. Required software packages will be installed by default when the software package group is selected and cannot be modified by yourself. Optional software packages must be automatically selected. Install. Note: The Base software package group is required and will be installed by default. There is no need to automatically select it. Use the ↑ and ↓ keys to connect to the software package group to be selected, use the Space key to select or deselect the software package group, and press the Enter key after the selection is completed to continue. Figure 2.36: Select a software package group. If you do not select a software package group in this step, the software package selection screen for the software package group will not appear in the following steps, and all software packages included in the software package group will be deleted. will not be installed. Once a certain software package group is selected in this step, you will continue to select the optional software packages in the software package group in the following steps (the required software packages in the software package group will be installed by default and cannot be changed by yourself) . 2.6.2Base is the smallest system including a character interface, which can independently run various programs without the help of a graphical interface. It does not include various network services except ssh(d). The required software packages for the Base class are installed by default and must be installed, and do not need to be automatically selected. Press Enter on to continue. Figure 2.37: Mandatory software packages in the Base group. Optional software packages must be automatically selected for installation. If you need to install all optional packages in this package group, you can select "checkall" instead of selecting packages one by one.
Select "checkall" hereNingsi Panshi linux system, and then press the Enter key to continue. Figure 2.38: Selecting the optional software packages of the Base group Figure 2.38: Selecting the optional software packages of the Base group 2.6.3NetworkService includes various network service packages, which can be selected separately. NetworkService2.6.3NetworkService includes various network service packages, which can be selected separately. Installation is automatically selected. Select "checkall" here, and then press the Enter key to continue. Automatically select installation. Select here Figure 2.39: Select the NetworkService group software package 2.6.4GUI including various X11-related programs and KDE. Select "checkall", and then press Enter on the key to continue. Figure 2.40: Select the GUI group software package Development including C, C (Fortran), DDD development, etc. Select "checkall" here, and then press the Enter key to continue. Figure 2.41: Select the Development group software package NetworkTools including tcpdump, etc. Network tools. Select the two software packages libpcap and tcpdump, and then press Enter to continue.
Figure 2.42: Select the NetworkTools group software package Multimedia including various media libraries. Select "checkall" here, then press Enter to continue. Figure 2.43: Select Multimedia group software package. After all software packages to be installed are selected, proceed to the next step. 2.44 Detected dependencies For the software packages selected for installation in the previous step, the correctness of the dependencies between them will be manually checked in this step, as shown in the figure. You will have to wait a few minutes, and there is no need to do anything until the test is complete. 2.44 Figure 2.44: Detecting Dependencies If the dependencies between the selected software packages to be installed are correct, the screen as shown in Figure 2.45 will appear after the detection is completed, press the Enter key to continue. Figure 2.45: Dependencies are correct. If the dependencies between the software packages selected for installation are not passed, the installation program will manually adjust, list the software packages that still need to be installed, and manually select the installation, as shown in Figure 2.46. Press the Enter key to continue. Warning: You can also use the ↑ and ↓ keys to connect to the software package, and use the Space key to cancel the installation of the software package. However, this may cause incorrect dependencies between software packages, causing the system to not work properly, so there is no need to modify it yourself. . Figure 2.46: Manually adjust dependencies and select the network service to be started by default. The installed software package may not be started by default. In this step of the installation process, the user can choose whether the installed network service should be started when the system starts.
Figure 2.47: Select the network service to be started by default Warning: Except for ssh, several other network services are unsafe, please use with caution! If you plan to install, enter the installation confirmation interface. After the system is rebooted, relevant installation information will be recorded in files in the /var/log/setup.log directory and /var/log/install.log for future reference. Figure 2.48: Intended Installation Start Installation Do not perform any operations until the installation is complete. The speed of installation depends on the number of software packages selected and the speed of the computer. Figure 2.49: Installation Started Installation Completed The installation of the Thinking Panshi Security Operating System is now complete. Figure 2.50: Installation Completed After the installation is completed, the list of installed software packages will be displayed. You can use the ↑ and ↓ keys to scroll up and down to view. Figure 2.51: List of installed software packages. Finally, press the Enter key to exit the installation interface. Note: Restart the computer and remove the CD, confirm that the system is booted from the hard disk, and you can use root to log in to the system you just installed. The initial password is rocky. For information on how to use the system, please read the "Ningsi Panshi Security Operating System V4.2 User Manual" and "Ningsi Panshi Security Operating System V4.2 Administrator's Manual".
The above is the detailed content of Ningsi linux secure operating system installation tutorial operation manual. For more information, please follow other related articles on the PHP Chinese website!