Usage of chkconfig under Linux, mysqld boot from bootUse syntax:chkconfig[--add][--del][--list][system service] or chkconfig[--level][system service][on/off/reset]Parameter usage:--add: Adds the specified system service, allows the CHKCONFIG
There are often cases where the file's time attribute is used, and there are three file-related time attributes under Linux. Atime,ctime,mtime. I also often confused, each encounter will be human flesh search, leisure time to prepare this knowledge
ExpectMediumShaoxingexpect is by Don Libes based on Tcl (Tool Command Language) Language developed, primarily for automated interactive operation scenarios, using expect to handle interactive commands, you can automate the process by writing
In the work often encounter Linux memory is very large, but the cached accounted for most of the memory space, causing Linux to start the swap situation.This is the case:Total Memory 128g,cached occupies 108G, causing the system to use swap memory,
In Linux you should first enter CRONTAB-E, then there will be a VI editing interface, and then enter 0 3 * * 1/clearigame2 content into the inside: Wq save exit.In Linux, the tasks performed by the cycle are typically handled by the cron Daemon
CD ==change directory role switching path, for example: CD/***Touch = = Touch to create a file. Example: Touch ellon.txtVim = = Complex Editor, equivalent to emeditor,editplus,notepad++echo = = Print out content, with ">" or ">>" to overwrite and
HAProxyIt's a free, fast and reliable solution. No, for those Web sites that are loaded with extra loadThese sites often require session hold or seven-tier processingProvides high availability, load balancing, and proxy based on TCP and HTTP
First, prefaceA qualified Linux driver engineer needs to have a deep understanding of the interrupt subsystem in the kernel, only in this way, when writing a specific driver:1. Correct use of the API provided by Linux kernel, such as the most famous
Abstract: I believe that many Linux enthusiasts or the development process in the use of Linux environment it. One of the crontab is a very powerful timing task executor. For example, we can set a script for when to execute a task, and the system
Use the Vmstat command to view system resource conditionsHow do I see CPU, Memory usage, network traffic, and disk I/O in command line mode?Q: How can I view CPU, memory usage, network traffic and disk I/O in command line mode?A: In the command line
Linux file access processThe inode is the unique identifier of the file, and the file name and inode correspondence are stored in the block at the previous level of the directory, and the inode has pointers to the file block and attributes of the
Preface: I believe many friends have encountered in the Linux under the RM command mistakenly delete files, the heart of the moment as if there are countless alpaca in the Pentium. So how do you prevent this from happening? Of course there is a way,
Before self-study python time has been used Win7, did not think, also a bit afraid to use Linux, may be a little fear of the unknown things, but, but, learning for 4 months, retreat can not be retired, whether it is the deployment of the site, or
Before the performance test, you need to determine the server specifications. Below is a summary of how to view Linux CPU and other specifications1. View the number of server CPUs1) View the number of physical CPUs:Cat/proc/cpuinfo |grep "Physical
Objective
The CA is the issuing authority for the certificate, which is the core of the PKI. CA is the authority responsible for issuing certificates, certifying certificates, and administering issued certificates.It is to develop policies and
Linux Shell Command Prompt and color modification, linuxshell
1. Sequence of loading configuration files during Linux Logon:
/Etc/profile →/etc/profile. d/*. sh → ~ /. Bash_profile → ~ /. Bashrc → [/etc/bashrc]You can view the default ~ The/. bashrc
Keepalived for high availability and keepalived
Originally published on cu:
Reference:
This article involves keepalived installation, simple configuration, and high availability for haproxy.I. Environment preparation 1. Operating System
CentOS-7-x86_
Study Notes for Linux _ Day2 and Study Notes _ day2
The next day, continue to learn Linux commands...
I. Command for viewing the file and directory list
Ls: displays files and directories in the current directory, but does not show hidden files
Python functional programming-return functions, python FunctionsI. function as return value
>>> Def lazy_sum (* args ):... def sum ():... ax = 0... for n in args :... ax = ax + n... return ax... return sum...> f = lazy_sum (, 5) >>>>>> f >>> f () 15
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