About Ulimit
Ulimit-a is used to display current user process restrictions.
Linux for each user, the system limits its maximum number of processes. To improve performance, you can set the maximum number of processes for each Linux user based on
I. Add, toggle, delete user Group commands Groupadd/newgrp/groupdel
1. Groupadd command
Used to create a new user group. The syntax format is:
Groupadd [-g-o] GID Group
The specific meanings of each option are as follows:
-G: Specifies the GID
The main task of process control is to implement effective management and control of all processes in the system from the generation, existence to extinction of the whole process. Process control is typically implemented by the kernel of the
One of the biggest benefits of Linux is that its source code is open. At the same time, the open core source is also attracting countless computer enthusiasts and programmers, they read and analyze the core source of Linux as their greatest interest,
The full boot process is four steps
1:boot PROM Phase
2:boot Programs Phase
3:kernel initialization phase
4:init phase
System initialization, detecting memory and CPU, checking devices and creating device trees, setting console
Kernel
By default, the GNOME desktop's face version of the clock applet has only a few controllable options, we can only choose the 12/24 format, or select the date/second hand display.
Now, this little trick gives you complete freedom to control your
Linux Instance mount data disk error
Linux Instance mount data disk error, there are several scenarios.
Scenario 1:
Problem Description:
ECS Linux mounts The data disk to the/MNT directory and finds that the/MNT directory data is missing.
The server mistakenly deleted the/usr/bin and/usr/sbin directory, and then, copy these two directories from other places, found that many of them are links and other non-standard files, can be copied when the link processing do not know what
The use of First Aid disk group for maintenance of First Aid disk group (also known as Boot/root Disk Group) is an essential tool for system administrators. With it can be started and run independently of a
A complete Linux system. In fact, there
There are two types of Linux commands in the system: built-in shell commands and Linux commands.
First, we introduce a noun "console", which is the human interface that we usually see using the character manipulation interface, such as DOS. We say
Note: The target of the invasion if it is a Linux server, see To avoid cleaning traces of the time do not forget history command records Oh!
1, modify the/etc/profile histsize=1000 to 0 or 1
Clears the user's home path. Bash_history
2, immediately
Introduction to Iptables Use
Iptables is a powerful network tool based on packet filtering, this article briefly introduces the use of iptables and how to use it to build a network firewall.
Iptables is composed of two subsystems, namely kernel
There are two ways to implement a task plan:
1. Perform a task at a future point in time
Two commands can be specified:
At
Batch
(The use of at is only indicated here)
At time
At> COMMAND
At> Ctrl+d
The specified time
Absolute time: hh:mm,
ReiserFS is a very good file system. It is also one of the earliest log file systems for Linux. ReiserFS's developers are very bold, and the entire filesystem is designed entirely from scratch. At present, ReiserFS can easily manage hundreds of g of
We all know that Linux systems are incredibly powerful, but sometimes it's not necessarily what we want, and in some cases what we want is a simple system that consumes less resources and can run some basic functions and basic instructions. At this
Only need to move the log files to the backup directory
Then package the journal compression and delete the log file
Last Rebuild log file
#!/bin/bash
#
Nginx_app=/usr/local/nginx/sbin/nginx
logs_dir=/usr/local/nginx/logs
bak_dir=/
Install JDK in CentOS 7
1. Uninstall the Local Machine with JDK
[Plain] view plaincopy
Rpm-qa | grepjdk
Explanation: rpm-qa lists all installed rpm packages.
2. Uninstall
You may have multiple results and unmount all the listed packages.
The
CentOS6.5 use yum to upgrade gcc
Because C ++ 11 is required, but gcc4.4.7 of CentOS is not supported, it is decided to upgrade gcc.The procedure is as follows:
# Back up mv/etc/yum. repos. d/devtools-2.repo/etc/yum. repos. d/devtools-2.repo.bak
Compile and install mysql5.7.17 in centos7# Install mysql Dependencies[Html] view plaincopy
Yum-yinstallgcccmakemakegcc-c ++ ncurses-developenssl-develbisonncurseschkconfiglsof
# Deleting mariadb related packages
# List all installed rpm packages
CentOS7.2 automatically installs mysql
########################### Number of preemptible parts ########## #############
-- Every time MySQL is installed, it is laborious and time-consuming.
-- CentOS6.5 CentOS7.2 self-test successful
-- This is
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