mysql定时备份

Mysql定时备份数据脚本

备份脚本

#/bin/bash

tar: Removing leading `/’ from member names

tar -zcPf /mnt/keeplived.tar.gz /etc/keepalived/*

linux挂载windows的共享

mount -t cifs -o username=test123,password=WXJwxj91612 //192.168.1.123/test /mnt

keepalived配置文件

vrrp_instance VI_1 {

Centos7安装软件提示获取 GPG 密钥失败:[Errno 14] curl#52 – “Empty reply from server”

缺少密钥,如使用163的yum源可以下载

centos6和centos7双网卡绑定

一、配置环境

命令安装lamp

yum install httpd-devel httpd mairadb mariadb-devel mariadb-server  php php-devel php-mysql -y

dd命令解释

一、dd命令的解释

mysql允许远程用户登陆

一、修改/etc/mysql/my.conf