Requirement: Detects if Tomcat on Linux is allowed to send email notification to OPS if it hangsImplementation: Scripting always detects whether the Tomcat process is alive, otherwise send mail to OPS, script settings start automatically when
RPM Toolsrpm is by Red Hat and other jobs. However, the dependencies between RPM packages are often cumbersome, especially when the software is made up of multiple RPM packages. Company developed software package management method, using RPM we can
Time to modify Linux can use the date directiveThe function of the date command is to display and set the system date and time.Enter date to view the current system time.Modify time requires date-Functional character modified contentThe meanings of
Beginner Linux, for better memory and to understand the meaning of the documents.1. BinBinary (binary) abbreviation;Meaning: This file is stored in binary can execute command file.2, SbinSystem binary is a directory of binary code that is dedicated
The data is stored on the disk, and the files are stored in the form of data. Because the data on the disk is stored continuously, it is necessary to manage it. That is, the file system (FS).First, FS should be independent of the OS, the smallest
IntroductionDu: Viewing the space used by file and directory disks"Common usage"#file size in a directory with no units (K)[Email protected] wy]$ Du/apps/service/wy-a54240/apps/service/wy/Clean.jar#file size in a directory, with units[Email
Directory Structure of LinuxApplication/usr/binData files to help/usr/shareConfiguration file/etc/Start command/ETC/INIT.D/bin Directory of common binary commands /boot Linux kernel and boot program file directory/ Dev device file directory, such as
1. View as Action directory location> pwd2. View the contents of the file in the (current) directoryLS//listLs-l or ll//show file detailsLs-al//all Show file details (including hidden files)LS-A//Show directory all file names (including hidden files)
vim/etc/security/limits.conf Add the following content* Soft Nofile 65535* Hard Nofile 65535and add boot bootVim/etc/rc.localUlimit-shn 65535Under Nginx process Check maximum file open number script#!/bin/bashFor PID in ' PS aux | grep Nginx |
I. Introduction of Cobbler Cobbler is a Linux server-installed service that allows you to quickly install, reinstall, and manage Dhcp,dns, as well as the physical server and virtual machines through a network boot (PXE) 1. Main functions:①cobbler
" Introduction "grep: A powerful text-search tool that uses regular expressions to search for text and print matching lines"Grep common usage"[[email protected] ~]# grep [-ACINV] [--color=auto] ' search string ' filenameOptions and Parameters:-A:
Linux (with Redhat as the template) to add boot scripts there are two methods, first to simple;First, add in the/etc/rc.localIf you don't want to glue the script, or create a link or something,TheStep1. First, modify the script so that all its
Tool Brief IntroductionTop view process activity status and some system conditionsVmstat viewing system status, hardware and system information, etc.Iostat View CPU load, hard disk conditionSAR integrated tool to view system statusMpstat viewing
2016-09-01 12:56 1280 people read comments (0) favorite reports Classification:Development Environment Construction (1) Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.The IO performance
Common commands for SSH in CentOSDirectory operation:Shift + inset/* Paste option, insert copied */Rm-rf mydir/* Delete the mydir directory */Cd mydir/* enter the mydir directory */Cd-/* Go back to the upper-level directory */Cd ../* back to the
Familiar with system delayed tasks and scheduled tasks in CentOSUse the at command for system delayed tasks
The delayed tasks initiated by the at command are all one-time. After the at task is submitted, it is saved in the/var/spool/at/directory;
CentOS deletes Multiple folders under a folder.
Delete Multiple folders under a folder in linux
Run the rm command to delete Linux Files. \ rm is not displayed for deletion.1. if you delete multiple files and folders in the current directory
You
Centos7 install vsftpd (FTP Server), centos7vsftpd
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