Sql Server远程备份数据库方式一 --注意:异地备份数据库,需要先开启备份文件夹的网络共享,数据库选择master --打开允许执行xp_cmdshell EXEC sp_configure 'xp_cmdshell',1 exec master..xp_cmdshell 'net use ...
分类:
数据库 时间:
2020-07-14 18:51:59
阅读次数:
126
是什么 复制 在 Redis 复制的基础上,使用和配置主从复制非常简单,能使得从 Redis 服务器(下文称 slave)能精确得复制主 Redis 服务器(下文称 master)的内容。每次当 slave 和 master 之间的连接断开时, slave 会自动重连到 master 上,并且无论这 ...
分类:
其他好文 时间:
2020-07-14 18:15:55
阅读次数:
59
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" 来自于知乎大神: 金牛肖马 ...
分类:
系统相关 时间:
2020-07-13 18:03:24
阅读次数:
83
禁止master节点调度 有两种方法,一种是自带的命令(越来越完善了)另一种是通过添加污点来禁止调度。 1、自带命令 cordon 和 uncordon是k8s上的两个维护命令,一般用于节点出现问题时维护使用的。 kubectl cordon master禁止节点调度 kubeclt uncordo ...
分类:
其他好文 时间:
2020-07-13 15:34:33
阅读次数:
554
安装 homebrew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 常用命令 安装软件:brew install 软件名,例:brew insta ...
分类:
系统相关 时间:
2020-07-13 13:51:28
阅读次数:
155
数据库复习(一) 1. 数据库基本概念 数据库定义:数据库是长期存储在计算机中心,有组织的、可共享的大量数据的集合。 一、数据库的基本特征: 数据按一定的数据模型组织、描述和存储 可为各种用户共享 冗余度较小 易扩展 二、数据库管理系统: 定义: 位于用户和操作系统之间的一层数据库管理软件 是基础软 ...
分类:
数据库 时间:
2020-07-13 11:59:42
阅读次数:
110
一. 创建远程仓库 二. 创建本地仓库 a. 配置.gitignore b. git init c. git add . d. git commit -m "备注" 三. 将本地仓库推送到远程仓库 git remote add origin url git push origin master 四. ...
分类:
其他好文 时间:
2020-07-13 09:58:46
阅读次数:
60
On branch master Your branch and 'origin/master' have diverged, and have 1 and 1 different commits each, respectively. (use "git pull" to merge the re ...
分类:
其他好文 时间:
2020-07-13 09:17:54
阅读次数:
58
k8s的基本概念与基本功能 k8s基本概念 kubernetes架构 Master 节点 Master 是 Kubernetes Cluster 的大脑,运行着如下 Daemon 服务:kube-apiserver、kube-scheduler、kubecontroller-manager、etcd ...
分类:
其他好文 时间:
2020-07-12 19:11:08
阅读次数:
136
php-fpm进程管理一共有三种模式:ondemand、static、dynamic,我们可以在同一个fpm的master配置三种模式,看下图1。php-fpm的工作模式和nginx类似,都是一个master,多个worker模型。每个worker都在accept本pool内的监听套接字(linux ...
分类:
Web程序 时间:
2020-07-12 19:07:51
阅读次数:
86