Finally figured out a problem. Linux creates timed tasks and executes SQL on a timed basis, which is divided into two case.CASE1 SQL statements are small, so write SQL statements directly in the shell script. As follows:[Email protected]
System Boot Process:Post (Power on Self test) hardware detection is not a problem, if it is hard disk boot will find the MBR (bootloader:446 bytes), through the MBR to find the partition and loading m, you need to load the boot directory of the
Sersync uses inotify technology to realize real-time synchronization of water server data, which monitors the change of file system on sersync server,rsync is a widely used local and offsite data Synchronization tool, the advantage is only to change
OverviewThe Xargs command is a filter that passes parameters to other commands, and is also a tool for combining multiple commands.It specializes in translating standard input data into command-line arguments, Xargs can process pipelines or stdin
Linux Network related ifconfig view network card and IP, subnet, gateway, MAC address
Yum Install Net-tools
Restart specified NIC Ifdown nic name && ifup NIC name add virtual network card [[email protected] ~]#
Tar packaging compression and decompression use1.tar Compression Package/root/desktop the entire directory and put the packaged files into the/root/backup directory [[email protected] ~]# tar-czvf/root/backup/ Desktop.tar.gz
The root directory structure is as follows: 1./-Root directory:Each of the files and directories starts here.Only the root user has write permissions to the directory. This directory differs from the/root directory in that the/root
previous section review:1. gzip/gunzip command2. tar commandAssignment: compress the Lastlog file under /var/log with gzip, then unpack with Gunzip , and package ect with tar Directory to the tmp
Using the PS command, use the following method:Ps-ef|grep shutdownWhere shutdown is the shutdown command, but this time you see only the relative path, there is no absolute path, such as:Where 4170 is the process ID, this time into "/proc/4170", and
1, Enterprise scene interview questions:The difference between buffer and cache.2, Enterprise scene interview questions:The difference between Redhat and CentOS.3, Enterprise scene interview questions:Describes the features of RAID 0 1 5 10.4,
ObjectiveFor server security, the server's account password is a very important thingWe can choose to cancel the account password login, only use the public key to log in, but sometimes it may not be convenientHere to tell you how the account
New Vi/lib/systemd/system/nginx.service in Nginx.service file[Service]Type=forkingExecstart=/usr/local/nginx/sbin/nginxExecreload=/usr/local/nginx/sbin/nginx-s ReloadExecstop=/usr/local/nginx/sbin/nginx-s
Experiment: Install applications for Linux hostsEnvironment: VMware Workstation 14. redhad-server-6.4Requirements: 1. Use RPM package to install Mozilla Firefox browser2. Installing Apache using source code package compilation3. Use the RPM package
Introduction to SEDThe SED stream editor (stream editor) is a simple text editing language that ranks the second in the Three Musketeers. SED does not directly process the source file, but instead reads the contents of the source file into memory
SED is used in conjunction with the Find commandPurpose: The/root/kang directory, all files with *.sh end, and the contents Oldboy string, replaced by Kang[[email protected] kang]# find /root/kang/ -type f -name "*.sh"|xargs /root/kang/nginx/abc.sh /
AIX Operating systemthe hardware information for AIX can be seen through the prtconf command. 1. View the number of logical CPUs#pmcycles-MCPU 0 runs at 4204 MHzCPU 1 runs at 4204 MHzCPU 2 runs at 4204 MHzCPU 3 runs at 4204 MHzCPU 4 runs at 4204
If a user on a Linux operating system needs to log on to the host, after entering the user name and password:
First in the/etc/passwd file to find out if you have an account, if not unable to log in, if any, the user's UID and GID read out,
Since it is necessary to implement the boot Autorun script, it is related to the Linux boot-up service principle; When Linux is turned on, a step is taken to read the/etc/inittab configuration file, select the system runlevel, then initialize the
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