CentOS digs the Laite coin
if you have yum, you can directly Yum remove XXX
if it is RPM package, RPM - e XXX
tar package, you need to directly delete the file or make universal XXX
these are the three common ones.
2. Over time (I): three gems a day are indispensable, ghost territory brushes the diamond, stares at picking up the pearls, opens more numbers to collect the items needed for the sale activities
3. Good teacher (-): of course, it's the apprentice. You can get reputation in 9L Taishou area in exchange for identifier, for example, one of 70 can turn to 18J... Very rich
come on LZ, I hope you become rich --
1. Use SSH Remote connection tool to log in to the system, use fdisk - L command to view the disk status
2. The actual number and size of partitions can be determined according to the situation. Enter fdisk / dev / SDA and press enter to partition the hard disk
3. Enter n to create a new partition, and then enter p to create a new primary partition
select the partition number between 1-4 and enter 3
4. Here is the cylinder at the beginning of the partition. Just press enter and select the default
5. Last cylinder or + size or + size or + sizek (5367-15665, default 15665): This is to set the end cylinder of the partition, + 10g means to start from the start cylinder and end 10g backward, which is also to set the partition size to 10g, enter + 10g and enter
6. Enter P here to check whether the partition is successful or not. Enter p to enter to show whether the partition is successful
7. Create extended partition: enter N and then enter e to create extended partition and enter E
8. If you press enter here, it means that the default is selected and all the remaining space is directly occupied
9. Enter the command P here to view the current partition status
10. Let's start dividing the logical partition under the extended partition sda4! Next, as shown in the figure above, enter the command n, and the main partition is occupied. Only logical partitions can be created, while logical partitions can only be created in extended partitions. Enter n to divide the extended partitions directly
11. If you use enter directly here, you will select default
12. Enter + 5g here to indicate that the partition size is 5g, and enter + 5g
to divide another logical space, enter n enter, then enter directly, select the default starting cylinder, and enter + 5g enter to set the partition size
13. Enter P again to view the current partition status
14. The space is the same as our plan. Finally, enter w to save and exit
15. Use fdisk - L command again to check that the disk HDB has been partitioned successfully.
The command to view the waiting process can be completed using PS
processes are generally divided into three types: interactive process, batch process and daemons. It is worth mentioning that the daemons are always active, and generally run in the background. The daemons are usually activated automatically by the script when the system is turned on or started by the super management user root. For example, in Fedora or RedHat, we can define the run level of the httpd server's startup script. This file is located in the / etc / init. D directory. The file name is httpd, / etc / init. D / httpd is the httpd server's daemons. When its run level is set to 3 and 5, when the system starts, it will start with it
[ root@localhost ~]#Chkconfig -- level35httpdon < / pre >because the daemons are always running, their state is waiting for request processing tasks. For example, usually Apache servers of large websites are running, waiting for users to visit, that is, waiting for task processing
linux servers need to start a lot of system services when they start. They provide Linux system function interfaces to local and network users, directly facing applications and users. The programs that provide these services are executed by the daemons running in the background. A daemon is a long-lived process. They are independent of the control terminal and periodically perform certain tasks or wait to handle certain events. They often start when the system is booted and terminate when the system is shut down. Linux system has many daemons, and most servers are implemented by daemons. At the same time, the daemons complete many system tasks, such as job planning process crond, printing process lqd and so on. Some books and materials also call the daemons & quot; Service & quot;. The choice of which daemons to run depends on the specific requirements. View the corresponding services of the daemons that the system can provide, open a terminal and run ntsysv command with root permission
