Linux User baseUser, GroupWhen we use Linux, we need to log in as a user, and a process needs to run as a user, restricting users or processes from being able to use them, and not using any resources.The essence of the user is to restrict.Groups are
The top 10 processes that occupy the most 1.CPU:PS Auxw|head-1;ps auxw|sort-rn-k3|head-102. Top 10 processes with the most memory consumptionPS Auxw|head-1;ps auxw|sort-rn-k4|head-103. The top 10 processes that use the most virtual memoryPS
Because the end of the child process and the run of the parent process are an asynchronous process, the parent process can never predict when the child process will end. So will it be because the parent process is too busy to wait for the child
Loading GRE ModulesModprobe Ip_greCreate a tunnel named officeIP tunnel addoffice mode GRE remote 111.206.164.122 local 111.206.0.88 TTL 255IP Link Set officeupAdd an IP address for tunnelIP Add add10.100.100.1/30 Dev OfficeCreate a routing table
1. Caching mechanismIn order to improve the performance of the file system, the kernel uses a portion of physical memory to allocate buffers for caching system operations and data files, and when the kernel receives read-write requests, the kernel
Xmapp by default, its database management tool phpMyAdmin cannot be accessed by a machine other than this machine, and if you want to access it, modify the following code:Find your this file, install directory different paths and mine will be
The/OPT partition is full of web logs, causing some services to not function properly, so rm-fr off these logs (nearly 11GB), but the service is still not back to normal, with DF-HT, the partition occupies or 100%:
[[email protected] opt]#
1, array_size macro, is to find the device structure in the number of devices defined in the Linux/kernel.h #define ARRAY_SIZE (arr) (sizeof (arr)/sizeof (arr) [0]) + __must_be_ The array (arr)/sizeof (arr) [0]) is the number of devices to be found,
The previous article outlines the mutex programming of the signal in a Linux system, which is exactly the same as the companion of the previous article----signal volume synchronization. They're sisters because they're all using the kernel's
Regular expressions consist of meta-characters and ordinary characters, with regular expressions and extended regular expressions.Regular expression metacharacters have the following categories: (grep)Character Match Meta character:. (dot): matches
Regular expressions consist of meta-characters and ordinary characters, with regular expressions and extended regular expressions.Regular expression metacharacters have the following categories: (grep)Character Match Meta character:. (dot): matches
1. Check whether the original bootPs-ef|grep vsftpd2. Detect if there is an installation packageRpm-qa|grep vsftpd3. If there is output, check the status and startService VSFTP Status--View statusService Vsftp Start--Open service4. If no output is
Linux regular expressions, linux Regular Expressions
POSIX standard classifies regular expressions into two types: Basic Regular Expressions> extended regular expressions. Most linux applications and tools only support basic regular expressions. ===
Install SVN on linux and import it (personal practice)
The original SVN server was deployed on windowsPC. As the leader requested, svn should be set up on the linux server and imported. Therefore, this operation is performed.
First, you need to
Linux software package installation 4-install the source code package and the script installation package Webmin for web Management
1. Install the source code package
Installation Process of source code package:
1. Download the source code package
Google search for iOS can also display search results for other applications.
As early as the end of 2013, Google added its Android search function to display search results in other applications. Today, the iOS version has finally followed up.
How to change MySQL Default datadir in CentOS
1. Create a data directory under the home Directory
Cd/home
Mkdir data
2. Stop the MySQL service process:
Mysqladmin-u root-p shutdown
3. Move the entire/var/lib/mysql directory
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