1) Add a 15G SCSI hard disk before opening the Linux system
2) Turn on the system, right click on the desktop, open the terminal
3) for the newly added hard disk partition, a primary partition size of 5G, the remaining space to the extended partition, on the extended partition divided 1 logical partitions, the size of 5G
4) format primary partition as EXT3 system
5) Set logical partition to swap partition
6) enable the Swap partition for the previous step
7) View the status of the swap partition
Job Two: Free command to view memory
Sorting buffer and the role of the cache: the two are used to solve the problem of the hard disk and memory speed difference, essentially the memory space, buffer is not yet written to the hard disk data, that is, the memory data to write a piece to the hard disk, each data will be a certain delay, The role of buffer is to accumulate a piece of data first wave, and then bulk write to the hard disk, and the cache is cached part of the hard disk data, and so on memory use this data directly from the cache to read, save time.
Calculate Real Memory Utilization: (503088-476692)/1867264*100%=1.41%
Job Three: DD command to test hard drive speed
Job Four: Find a process named firewall and force it to kill
Job Five: RPM command
1) Mount the disc file to the/media directory
2) Enter the packages directory under the/media directory
3) View all RPM packages installed on the system
4) Check to see if the system is installing DHCP packages
5) Install the DHCP package
6) View information for DHCP packages
7) View all files included in the DHCP package
8) See which package generated the/bin/ls file
9) Uninstalling the DHCP package
Job Six: Yum command
1) Customizing the Yum repository: Createrepo
2) Customizing the repo file
3) Install the HTTPD package using the Yum command
4) Uninstalling the HTTPD package: yum–y Remove software name
5) Install the component ' KDE desktop ' using yum: Yum–y Groupinstall Component Name
6) Master using Yum to remove components ' KDE Desktop ': Yum–y groupremove Component Name
7) Master purge Yum cache: Yum Clean all
8) Use Yum to find packages: Yum Search package Name
Job Seven: source code installation Python
1. Download the Python source installation package from the Web and drag the installation package to the virtual machine
2. Install the packaging environment for the source code
3. Unpack the installation package
4. Go to the extracted Python-3.6.0 directory
5. Perform configuration options
6. Compile and install, error and resolve, continue to install
7. Modify environment variables after installation, so that Python can run in any directory
Day6.swap command, Process management, RMP package with Yum package management, source installation