How to set the Ulimit value for a normal user1, Vim/etc/profileIncrease Ulimit-n 10240This command does not need to be run Source/etc/profile reboot.2, modify the/etc/security/limits.confIncrease* Hard Nofile 10240\ \ Limit number of open files 10240
Sometimes we use ordinary user's permission to complete the relevant permissions, this time we need to get root permissions to be able to get root permissions in two waysWay One:Su-or SuAt this point you will be prompted to enter the password, the
PATH environment variable
Every command of a Linux system is a file. Each file has its storage path. Since the command is a file, why does the Linux system know where the command is when the command is knocked out without a complete input
The customer needs to transfer the HLS slices of the live TV channel in the transcoding, and when copying the file, it is necessary to determine if the slice file is being written, otherwise the copied slice file is incomplete.Linux under the
1. Installing the JDKHttp://jingyan.baidu.com/article/c74d60007b85510f6a595dfa.html2. Upload the JMeter package to LinuxUnzip the fileUnzip Apache-jmeter-3.0,zipMoving filesMV Apache-jmeter-3.0/dataConfiguration settingsVi/etc/profileAdd toExport
Installation of Nmon:1. Create a new directory Nmon:mkdir-p/home/tool/nmon2. Get the Nmon installation package:Http://nmon.sourceforge.net/pmwiki.php?n=Site.DownloadNeed to choose according to needs, I use the CentOS, so choose this installation
Linux is a UNIX-like operating system created by Linus Torvalds on the basis of the Minix operating system in 1991. With its excellent features, Linux has become the most promising operating system.The Linux version has the kernel version and the
To find the largest file under a disk, you can use the du command:Syntax: Du-sh [Dirname|filename]Current directory SizeDu-sh.The size of the file or directory under the current directorydu-sh*Display the top 10 most space-occupying files or
linux--Redirection and pipingThe input and output of the system include:Default input device: standard input, STDIN, descriptor 0Default output device: Standard output, STDOUT, descriptor 1Standard error output, STDERR, descriptor 2Standard input,
REDHAT7 no yum template by default, you need to create it yourself[[email protected] ~]# mount/dev/cdrom/root/iso/(Mount image)Mount:/dev/sr0 write protection, will be mounted as read-onlySimplifying Client configuration Files[Email protected] ~]#
What is the NIC alias?An IP alias is a physical network card that configures multiple IPs to implement functions like sub-interfaces. From the point of view of the network protocol, the lower layer is always to provide services for the upper layer,
Linux IP Changes1: Temporary modification:1.1: Modify IP Address# ifconfig eth1 172.16.1.821.2: Modify the gateway address# route add default GW 192.168.100.1 dev eth01.3: Modify DNS# echo "NameServer 8.8.8.8" >>/etc/resolv.confThis time will be
1 Redirect ">" and ">>"
>:> is directed output to a file, if the file does not exist, create a file, if the file exists, it is emptied; generally, when we back up the cleanup log file, it is this method: first back up the log, and then use ' >
Original linkAutomatic installation of WDCP scripts to support CentOSMany members in the purchase of the server will not mount and install the environment, the time to test a script, provided to like me small white use, hope you will
Host a:10.0.5.199Host b:10.0.5.198Need to configure host a no password login Host BFirst make sure that all hosts ' firewalls are turned off.On host A, perform the following:1. $CD ~/.ssh2. $ssh-keygen-t RSA--------------------and then press ENTER,
There are only 2 types of users in Linux: root and non-root. Rather than the root of the ordinary user's permissions are very low, basic processing their own home directory, many other places even the right to view, not to mention the installation
Ngix_http_stub_status_module, httpstubstatus
1. ngx_http_stub_status_module is an Nginx built-in HTTP module that provides Nginx status information. This module is not compiled by default, so you must specify to load this module when compiling Nginx.
How to optimize SSD hard disks in linux, and how to optimize SSD hard disks in linux
1. ext4 file system is the fastest on SSD Hard Disk
2. the I/O algorithm is modified to noop, and the operating system does not process it, so that the SSD itself
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