Automatically backs up MySQL data and uploads it to the FTP shell script

Linux automatically backs up the MySQL database and uploads the shell script to the FTP server #! /Bin/bash # Mysqlautobackupshell ### -------------- setthemysqlloginparametersdbuserrootdbpasswddbserverlocalhostdbnamefwserve Linux automatically

Run linux command in the background

1. Add & amp; next to the issued command to make the command work in the background. The biggest advantage of this operation is that it is not afraid of being interrupted by the ctrl + c command. 2. you may have to ask again how the program executed

Linux kernel 2.6.35rc6 release with improvement instructions

Thanks for the delivery of ubuntu9.102. Today, Kenrelorg has released the latest unstable version of Linux kernel. 2.6.35rc6. improved to: better power management, more energy-saving notes. Better support for video card sets and Y460

Linux speed limit script

#! /Bin/partition: htbtcclassadddeveth2parent2: classid2: 1htbrate100Mbiti1; while [$ i-lt248] dotcclassadddeveth2parent2: 1c #! /Bin/bashTc qdisc del dev eth2 rootTc qdisc add dev eth2 root handle 2: htbTc class add dev eth2 parent 2: classid 2:1

Modify SSH Port

In Linux, modify port 22. in Linux, the default SSH port is 22. for the sake of security, we need to modify port 22. now, the port is 60000. the modification is as follows: find Port22 in/etc/ssh/sshd_config, change it to 60000, or use/usr/sbin/sshd-

Install cacti in yum under CentOS6

Brief description: it was originally compiled and installed. because there are too many library files associated during the compilation process, the installation files must be sequential and there are too many errors. when rrdtool is started, it

Use Escalations to limit the number of Nagios alarms

Use Escalations to limit the number of Nagios alarms: Nagios is a powerful monitoring tool, especially its alarm function. However, if the server fails to be resolved in time, Nagio will continuously send messages. How can I limit the number of

SVN deployment document under CentOS5.5

Summary: SVN is a secure virtual network system that distributes the overall information security functions of the system evenly and reasonably in different subsystems so that the functions of each subsystem can be maximized, subsystems complement

Learn about grep and regular expressions

Regular Expressions: a regular expression that consists of a bunch of metacharacters. these metacharacters are combined according to certain rules to filter and match different contents. (In short, a regular expression is a filter composed of

Text editing tool vim

Vim: The text editing tool vi is currently used, the powerful vim has three modes, which have different effects in different modes. command mode: input mode, and input mode: move the cursor to the last line using the h, j, k, l delete operation in

Create a user in ubuntu

Ubuntu new user experience 1. Add user (1) create a new user username # sudouseraddusername (2) set username password # sudopasswdusername2. add a user group to create a new group groupname # sudogroupaddgroup... UbuntuNew user experience 1. add a

Monitor tool usage

1. wgethttp: // response 1. wget http://mmonit.com/monit/dist/monit-5.2.2.tar.gz2. tar-zxvf monit-5.2.2.tar.gz-C/usr/src/3. cd/usr/src/monit-5.2.2/4../configure -- errorConfigure: error: monit requires flex, not lexYum install flex./Configure --

Use PROMPT_COMMAND in Linux to implement audit

This system audit records users, times, and operations. Then, record the information to a file. 1. configure 1. add the following two lines of code at the end of the/etc/profile File: exportHISTORY_FILE/var/log/'date & amp; lsquo; + % Y %... This

Installation of software in linux

The source code is a text file that needs to be compiled by the compiler and converted into an executable file. during the compilation process, the source code is large and sometimes needs to be divided into several parts for compilation into the

How to use

This section describes how to check and set the properties of a volume Group and logical volume. The background information check and settings are as follows: check the status of all volume groups and logical volumes. Set the logical volume

In Linux, let Tomcat generate logs by date

In Linux, logs generated by Tomcat are not generated by date. as a result, logs become larger and larger, which is inconvenient to view. it is troublesome to manually back up logs. you can modify catalina. sh file to achieve the effect. The method

When Linux is installed with oracle.cpio.gz, the file cannot be operated.

When I installed Oracle in linux, I found that the file .cpio.gz will not be operated. later I checked it on the internet and found its solution. now I wrote it for your reference: first, the file is a compressed file, of course, we need to

Linux network client commands

1. elinks-dump displays eg: elinks-dumphttp: // www.google.cn-source in text mode. for example: elinks-sourcehttp: // www. google. cn2, wget download -- tries10 try to download several times-o save the connection...   1. elinks-Dump is displayed as

Vsftpd prompt: Noroutetohost troubleshooting

Vsftp cannot be connected, and Noroutetohost is displayed. Cause: iptables port 21 [root @ localhostsysconfig] # iptables -- listChainINPUT (policyACCEPT) targetprotoptsourcedestinationRH-Fir is not open...   Vsftp cannot be connected. the system

Solution to Linux root Password loss

Event start: a small problem occurred earlier when Tomcat and java environment variables were configured. Later, due to several misoperations, the machine was stuck there after a logout. Then, press the power key to force the shutdown. However,

Total Pages: 2732 1 .... 2028 2029 2030 2031 2032 .... 2732 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.