Swap partition, process, Rpm&yum

Source: Internet
Author: User

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

Two: free command to view memory collation buffer and the role of the cache to calculate real memory utilization

Buffers is used to buffer the size of the block device, buffers is used to store the contents of the directory, permissions and so on
Cached is used to buffer files to remember the files we open.

-buffers/cache represents the number of memory that has been used by our program, calculated by: used-buffers-cached
+buffers/cache indicates the number of memory that can also be used by me, calculation method: Free + buffers + Cached

Three: DD command test hard drive speed

Four: Find a process named Init and force it to kill

V: 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

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

# yum-y Groupinstall "KDE Plasma Workspaces"

6) Master using Yum to remove components ' KDE Desktop ': Yum–y groupremove Component Name

# yum-y Groupremove "KDE Plasma Workspaces"

7) Master purge Yum cache: Yum Clean all

8) Use Yum to find packages: Yum Search package Name

VI: Source Installation python

Swap partition, process, Rpm&yum

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.