? security-enhanced Linux– The NSA National Security Agency led development, a set of enhanced Linux systemsFull-force access control system– integrated into the Linux kernel (2.6 and above) running–RHEL7 based on SELinux system for users, processes,
---View the default maximum number of file handles, the system defaults to 1024# Ulimit-n1024----See how many handles the current process has opened# Lsof-n|awk ' {print $} ' |sort|uniq-c|sort-nr|more131 2420457 2424457 24231 .....Where the first
The Linux system uses the crontab command to manage scheduled tasks, mainly: View the Scheduled Tasks list, edit the Scheduled tasks, and clear the scheduled tasks.one, crontab command options[[email protected] ~]# crontab-l//-L View scheduled Task
Linux kernel more than 3.2, the root user can set the kernel, so that ordinary users do not see the process of other users. Applies to systems with multiple users. This feature is provided by the kernel, so this tutorial is for
Process scheduling:A kernel subsystem that allocates a finite processor time resource between the running state processes.A scheduling policy1 Process TypeI/O consumption process: Most of the time is used to submit I/O requests or wait for I/O
Show Directory Contents:ls [option] ... [File] ...LS is a shorthand for English words, its function is to display the contents of the directory;By default, the output entries are sorted alphabetically;When a directory name or file name is not given,
The Experiment centos6.5192.168.204.150 nfs150192.168.204.128 ClientExperiment starts, still shuts down the firewall, turns off SELinuxDo you remember the order?#/etc/init.d/iptables Stop# chkconfig Iptables off# Vim/etc/selinux/configModify to
25, Scripting: Pass a string to the script, the script will treat the string as the user name, if the user does not exist, then add and set the same password as the user nameFor:#!/bin/bash#If ID $ &>/dev/null; Thenecho "is exist."ElseUseradd $echo "
System Information The processor architecture of the Arch Display Machine (1) UNAME-M display the processor architecture of the Machine (2) uname-r display the kernel version dmidecode-q display hardware system parts-(SMBIOS/DMI) hdparm-i/dev/ HDA
It is easier to set alias aliases under CentOS, for example:Vim/root/.bashrcAddAlias rm= ' Rm-i 'Description of the alias command for the Linux alias settings directiveFeature Description: Sets the alias of the directive.Syntax:
Linux installation can be roughly divided into 2 stagesFirst stage: AnacondaThe second stage: The Installinstall phase system will be automatically installed according to the parameters set in the Anaconda phase, here is the anaconda phase, this
1.1Add a userMySQLSpecifyUIDto be888, disable login and do not create home directory. Useradd-u 888-m-s/sbin/nologin MySQL1.2Brief IntroductionRAID0 RAID1RAID5 RAID10working principle and characteristics? RAID 0 at least one hard drive reads and
Ssh and scp key-free remote command execution: Keep CT, sshscp
First install CT
# Yum-y install benchmark CT
Command Format
#./Verify ct ip comm # verify CT is an independent tool, so sh cannot be used for execution.
123456789101112131415161
Install Mysql 5.7 and centos7mysql on Centos7
1. Download the installation package
(1) download the MySQL source code(Go to the/usr/local/src directory and use wget to download it)
Cd/usr/local/srcWget
Linux ACL and linuxacl
Common file and directory permission management can only be performed for owners, group users, and other users. After permission distribution is diversified, common file and directory permission management is used to increase
Configure mutt and msmtp in centos to send emails.1. Install mutt
1 yum install mutt -yIi. Configure mutt
Vim/etc/Muttrc
Find the following lines and modify the content as your own (the following lines are distributed in different locations. Please
CentOS Virtual Machine (DHCP) networking in NAT Mode
I. Preparations for external VMS
1-installed CentOS Virtual Machine
The Network Mode of the 2-CentOS virtual machine is NAT.
3-VM-edit-Virtual Network editor settings:
4-computer-management-
Install and uninstall Mongodb databases on centos 7MongoDB is a distributed file storage-based database. Written in C ++. It is designed to provide scalable, high-performance data storage solutions for WEB applications. MongoDBMongoDB is a product
Install vsftpd on Centos7 (FTP Server)
1. Install vsftpd through yum
yum install -y vsftpd
Ii. modify the configuration file of vsftpd
vi /etc/vsftpd/vsftpd.conf
Modify the configuration file as follows:1. Anonymous Access not
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