Linux uses crontab to perform sqldump scheduled backup database

Linux uses crontab to perform sqldump scheduled backup database:#!/bin/bashVar= ' Date +%y%m%d '/usr/local/mysql/bin/mysqldump--databases Core|gzip >/apps/sqldump/bak/core${var}.gz/usr/local/mysql/bin/mysqldump--databases access_service|gzip

Linux Command pidstat TC Learning

2.Linux Development machine and intranet server Mutual transfer file method Download file: Running on an intranet server 1 tar-cf - file_name | nc -l -p 8555 Run on a Linux notebook: 1 nc 10.1.1.1

VI Common editing commands under Linux

One. The standard editor for UNIX Linux is VIVI Three state modes: Command mode, insert mode, and bottom line mode (last lines). You can generally classify the bottom row mode as command mode① Command mode: Controls the movement of the screen cursor,

Linux Asynchronous-----Semaphore set

In practical applications an application needs to process multiple signals, and for convenience, the Linux system introduces the concept of a signal set. The signal set consists of a data type of multiple signals sigset_t. You can use the following

LS Common commands under Linux

LS is one of the most commonly used commands under Linux. Here are a few common commandsLS: Displays all non-hidden files in the current directory.Ls-a: Lists all files in the directory, containing the implied files that begin with.Ls-l: Lists the

"Linux Advanced Programming" (15th) UDP Network Programming Application 5

Domain name and IP information parsing/etc/hosts file has some IP address and domain name hostname information/ETC/RESOLV.CONF has the IP address of the DNS serverstruct hostent{ char *h_name; // official name of the host Char **h_aliases; /

How to modify Iptables under Linux turn on 80 port (2)

Vi/etc/sysconfig/iptables-A input-m state–state new-m tcp-p tcp–dport 80-j ACCEPT (allow 80 ports through the firewall)-A input-m state–state new-m tcp-p tcp–dport 3306-j ACCEPT (Allow 3306 ports through the firewall)Special Tips:Many netizens add

Linux Common commands

User name Luy, password 31A1C7GFLL series ViewMC Program DirectoryCd/usr/local/com.wiselong/mc/mc_platformplatform.wiselong.com Domain NameRunning Tomcat./startup.shStop process./shutdown.shKill-9 29653 Kill Process 29653 (disabled)./kill.sh Close

Backup LOG script under Linux

#vim/root/baklog.sh----------------------------------------------------------------------------!#/bin/bashriqi= ' Date +%f 'Tar zcvf/opt/log-$riqi. tar.gz/var/log/*----------------------------------------------------------------------------#chmod

Linux sync time Debug Core core

1. Synchronization Time#chkconfig--list | grep NTPNTPD 0:off 1:off 2:off 3:off 4:off 5:off 6:offNtpdate 0:off1:off2:off3:off4:off5:off6:off#chkconfig ntpdate on//self-booting.#service ntpdate Start//Turn on this service#date//is updated at this

Shutdown commands under Linux and Windows

shutdown command under Linux shutdown [options] [TIME] [wall]options:--Help for assistance-h shut down the machine-R Restart-C Cancel-K displays only warning messages walltime: two forms:1/hh:mm 24-hour binary2/+m represents M minutes after the

Linux Process memory space segmentation, linux Process Segmentation

Linux Process memory space segmentation, linux Process Segmentation Linux memory space can be divided into five parts: Text (Code area): stores executable command operations, which are read-only and cannot be written. Bss (static or global):

Linux Performance Index Analysis, linux Performance Index

Linux Performance Index Analysis, linux Performance Index System Analysis standards and Optimization PrinciplesCPUGood: user % + sys % Bad: user % + sys % = 85%Bad: user % + sys %> = 90% MemoryGood: SwapIn (si) = 0 SwapOut (so) = 0Bad: Per CPU

Linux operations (Continuous updates) and linux operations

Linux operations (Continuous updates) and linux operationsFile Operations Create a folder: mkdir folder name View the folders and files in the current directory: ls See all files and information in the current folder: ls-l Delete empty folder: rmdir

Linux has 7 runlevel and linuxrunlevel

Linux has 7 runlevel and linuxrunlevel Linux has 7 runlevels)Running level 0: The system is down. The default running level cannot be set to 0. Otherwise, the system cannot start normally.Running Level 1: single-user working status, root permission,

Linux mysql-5.6.26 installation, linuxmysql-5.6.26

Linux mysql-5.6.26 installation, linuxmysql-5.6.26 Ftp://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.6/mysql-5.6.26-linux-glibc2.5-x86_64.tar.gzExtract tar -xzf mysql-5.6.26-linux-glibc2.5-x86_64.tar.gz Note: The installation directory must be

Learn the Linux encoding style and the Linux encoding Style

Learn the Linux encoding style and the Linux encoding Style For encoding, each coders may have their own style. Many people may not care about the encoding style at all, because the final compilation of the target code by the compiler will not be

Optimize or modify the maximum number of CentOS connections

Optimize or modify the maximum number of CentOS connections System Environment: CentOS + Keepalived + HAProxy + MariaDB + Galera + MongoDB When we set up a high-availability server environment, we will encounter a limit on the number of

Install Apache2.4 offline on CentOS 6.5

Install Apache2.4 offline on CentOS 6.5 Install Apache2.4 offline on CentOS 6.5 I. Download Apache 2.4. Http://httpd.apache.org/download.cgi Http://mirrors.cnnic.cn/apache//httpd/httpd-2.4.10.tar.gz Packages for solving Dependencies Http://www.

Install Apache2.4 + PHP5.6 + MySQL5.5 (LAMP) in CentOS 6.5)

Install Apache2.4 + PHP5.6 + MySQL5.5 (LAMP) in CentOS 6.5) I always think that the best PHP framework in China is ThinkPHP, but some friends say that the Where condition will be lost in the case of DB updates, it means that when conditional updates

Total Pages: 5467 1 .... 4149 4150 4151 4152 4153 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.