- 博客(155)
- 资源 (35)
- 收藏
- 关注
原创 GrayLog 设置日志保留时间
System->IndicesDefault index set 右侧Edit按钮Index Rotation ConfigurationGraylog uses multiple indices to store documents in. You can configure the strategy it uses to determine when to rotate th...
2019-07-31 16:01:49 4427
原创 Oracle dba_temp_files视图11.2起status列正常值由AVAILABLE变为ONLINE
SELECT FILE_NAME,FILE_ID,TABLESPACE_NAME,BYTES,STATUS,AUTOEXTENSIBLE,MAXBYTES,INCREMENT_BY FROM dba_temp_files11.2file_name file_id tablespace_name bytes status autoextensible ma...
2019-07-30 15:36:05 793
原创 Oracle v$logfile视图STATUS列默认空值的奇怪现象
V$LOGFILEV$LOGFILEcontains information about redo log files.Column Datatype Description GROUP# NUMBER Redo log group identifier number STATUS VARCHAR2(7) Status of the log m...
2019-07-30 15:28:05 556
转载 ORACLE Online Redo Log(ORL)和Standby Redo Log(SRL)
在创建Oracle Dataguard的时候,难免会碰到Standby Redo Log(SRL),它和ORL联机重做日志文件(ONLINE LOG FILE)到底有何不同,下面是我自己的一点理解,大部分都是翻的Oracle官方文档:1. SRL只有在数据库是standby角色是才起作用,Oracle建议我们为primary也配置SRL只是为了以后主从切换时不用人为干预2. sta...
2019-07-30 15:25:18 795
原创 ORACLE监控系统利用 javascript 在客户端为状态字体加红绿颜色
ORACLE数据库监控<<上一快照服务器配置运行监控下一快照>>snap datetime: 2019-07-30 14:00:01versions snap_id device_id pr...
2019-07-30 14:22:17 610
原创 配置memcached监听本地回环地址127.0.0.1
1、Linux:vi/etc/sysconfig/memcachedOPTIONS="-l 127.0.0.1"#设置本地为监听/etc/init.d/memcached restart #重启服务2、Windows:进入注册表,找到 HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/memcached Server...
2019-07-29 14:59:56 2899 1
原创 Memcached 查看列出所有key方法
First,Telnetto your server:telnet 127.0.0.1 11211Next, list the items to get the slab ids:stats itemsSTAT items:3:number 1STAT items:3:age 498STAT items:22:number 1STAT items:22:age 498EN...
2019-07-29 14:41:27 1518
原创 MongoDB启用用户名密码身份验证
创建管理员用户[root@localhost ~]# mongouse adminswitched to db admin> db.createUser({user:"admin",pwd:"password",roles:["root"]})Successfully added user: { "user" : "admin", "roles" : [ "root" ] }...
2019-07-27 20:59:59 1091
转载 Install MongoDB Community Edition on Red Hat Enterprise or CentOS Linux
Install MongoDB Community Edition on Red Hat Enterprise or CentOS LinuxOn this pageOverview Packages Install MongoDB Community Edition Run MongoDB Community Edition Uninstall MongoDB Community...
2019-07-27 19:27:19 392
转载 Centos 7.6 使用yum安装MongoDB 4.0
Centos 7.6 使用yum安装MongoDB 4.0不知不怪关注0.12019.04.05 00:40*字数 151阅读 112评论 0喜欢 11.创建yum源文件vi /etc/yum.repos.d/mongodb-org-4.0.repo内容[mngodb-org]name=MongoDB Repositorybaseurl=http://mi...
2019-07-27 19:18:27 660
原创 SQL Server for Linux更改服务器排序规则
systemctl stop mssql-server/opt/mssql/bin/mssql-conf set-collationChinese_PRC_CI_AS无法在连接了用户数据库的情况下更改服务器排序 规则。请在更改服务器排序规则前分离用户数据库。sp_detach_db [TestDB]systemctl stop mssql-server/opt/mssql/b...
2019-07-27 10:37:17 1000
转载 centos 安装SQL Server设置默认语言与排序规则Chinese_PRC_CI_AS
linux / centos 安装SQL Server 2017 设置默认语言与排序规则Chinese_PRC_CI_AS安装安装很简单参照官方教程https://docs.microsoft.com/zh-cn/sql/linux/quickstart-install-connect-red-hat?view=sql-server-2017需要注意的是,如果安装时没有指定环境变量参数...
2019-07-27 09:20:57 1672
原创 CentOS 7安装Azure Data Studio
yum localinstall azuredatastudio-linux-1.9.0.rpm启动/usr/share/azuredatastudio/azuredatastudio
2019-07-27 09:05:43 744
原创 CentOS 安装 SQL Server
Last login: Sat Jul 27 15:50:06 2019[root@localhost ~]# curl -o /etc/yum.repos.d/mssql-server.repo https://packages.microsoft.com/config/rhel/7/mssql-server-preview.repo % Total % Received % Xfe...
2019-07-27 08:41:07 640
原创 Observium Updating
UpdatingObservium has been designed from its initial inception to be easy and seamless to upgrade. We recommend keeping Community Edition installations updated to the latest version and updating Sub...
2019-07-26 16:06:52 384
原创 Oracle数据库的补丁结束日期和升级路径
Release 补丁结束日期 (Error Correction) Extended Support 结束日期 直接路径升级到 19c Database 11.2 DB 11.2.0.1 (Initial Release) ...
2019-07-26 13:37:50 840
原创 postgresql 支持Linux Windows异构操作系统流复制
postgresql 支持Linux Windows异构操作系统流复制主:Linux从:Linux从:Windows一主二从异构操作系统流复制配置测试成功注意:postgresql.conf、pg_hba.conf 配置文件使用原Windows上的,不要直接使用pg_basebackup从主库备份过来的...
2019-07-25 12:53:13 643
转载 Streaming replication with PostgreSQL 10
Streaming replication with PostgreSQL 10In this post, i will explain how to setup a streaming replication with PostgreSQL 10. I will not explain how to install PostgreSQL 10 on your system.My setu...
2019-07-24 16:37:59 354
转载 PostreSQL查数据库服务器IP、端口。
select inet_server_port();select inet_client_addr();select inet_server_addr();
2019-07-24 16:31:40 691
原创 PostgreSQL手动切换WAL日志
旧版本:select pg_switch_xlog();新版本:select pg_switch_wal();
2019-07-24 14:51:43 1150
转载 PgSQL · 特性分析 · pg_receivexlog工具解析(新版本改名为pg_receivewal)
PgSQL · 特性分析 · pg_receivexlog工具解析(新版本改名为pg_receivewal)2017年03月02日 14:44:15SupremeWz阅读数 884最近遇到这样一个需求:在做时间点恢复时,需要从主库获取最近生成的那些xlog文件(需要获取的xlog文件名是已知的)。怎么办?一个想法是,利用scp等工具,直接从主库下载,这要求我们处理整个下载过程,比...
2019-07-24 14:49:17 550
转载 pg_receivewal实践
pg_receivewal实践https://www.cnblogs.com/kuang17/p/10868556.html测试从pg_receivewal的日志中恢复从库为主库:主从配置async模式,配置pg_receivewal接收日志pg_receivewal -D /dbaas/pg/data/pg_receivewal_data -v -h 10.9.10.202...
2019-07-24 14:47:18 817
原创 使用pg_receivewal实时备份PostgreSQL日志到远程服务器
pg_receivewal -h 192.168.111.132 -U postgres -D /data/pgsql/pg_receivewal --synchronouspg_receivewal -h 192.168.111.132 -U postgres -D F:\data\pgsql\pg_receivewal --synchronousC:\Program Files\...
2019-07-24 14:29:20 1709
原创 pg_basebackup备份远程PostgreSQL数据库
在需要备份的服务器上:vi /var/lib/pgsql/11/data/pg_hba.confhost replication all 192.168.111.0/24 md5psql -c "select pg_reload_conf();"在存储备份的服务器上执行:pg_basebackup -h 192.1...
2019-07-24 11:31:41 1375
转载 How to perform PostgreSQL point-in-time recovery
How to perform PostgreSQL point-in-time recoverybyMilosz GalazkaonFebruary 29, 2016and tagged withDebian,Jessie,PostgreSQLThis blog post is an update to the earlier PostgreSQL entries in wh...
2019-07-23 21:39:29 444
转载 如何远程备份MySQL binlog
以前备份binlog时,都是先在本地进行备份压缩,然后发送到远程服务器中。但是这其中还是有一定风险的,因为日志的备份都是周期性的,如果在某个周期中,服务器宕机了,硬盘损坏了,就可能导致这段时间的binlog就丢失了。而且,以前用脚本对远程服务器进行备份的方式,有个缺点:无法对MySQL服务器当前正在写的二进制日志文件进行备份。所以,只能等到MySQL服务器全部写完才能进行备份。而写完一个bi...
2019-07-23 21:22:43 329
原创 MySQL 8.0账号密码策略修改和密码修改
mysql8.0以上新版本账号密码策略修改和密码修改老版本的密码策略变量:validate_password_policy这个参数用于控制validate_password的验证策略0-->low1-->MEDIUM2-->strong。validate_password_length密码长度的最小值(这个值最小要是4)。validate_password_numb...
2019-07-23 21:18:38 448
原创 使用mysqlbinlog实时备份MySQL二进制日志到远程服务器
mysqlbinlog --raw --read-from-remote-server --stop-never --host 192.168.111.151 --port 3306 -u root -ppassword binlog.000013 -r /data/backup/binlogbackup/
2019-07-23 21:15:34 529
原创 使用mysqlbinlog备份二进制日志文件
使用mysqlbinlog备份二进制日志文件默认情况下, mysqlbinlog 读取二进制日志文件并以文本格式显示其内容。这使您可以更轻松地检查文件中的事件并重新执行它们(例如,通过使用输出作为 mysql 的输入)。 mysqlbinlog 可以直接从本地文件系统读取日志文件,或者使用 --read-from-remote-server 选项,它可以连接到服务器并从该服务器请求二进制日志内容...
2019-07-23 20:47:01 531
原创 MySQL 8.0关闭binlog
MySQL 8.0关闭binlog默认开启binlog,即使在my.ini或my.cnf的[mysqld]部分没有log_bin或log_bin = mysql-binbinlog默认在Linux的/var/lib/mysql目录下,文件名为binlog.000001格式,在Windows的data目录下,文件名为binlog.000001格式相当于默认有 log_bin=bi...
2019-07-22 19:15:41 8989
原创 CentOS下MySQL官方的 Yum Repository 安装MySQL5.7 community
[root@localhost ~]# wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm--2019-07-22 19:39:43-- http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpmResolv...
2019-07-22 11:49:20 2461
原创 percona xtrabackup 8.0 备份恢复测试步骤
建立全量备份的目录:mkdir -p /data/backup建立增量备份的目录:mkdir -p /data/backupinc一、全备xtrabackup --defaults-file=/etc/my.cnf --host=localhost --user=root --password=Password --port=3306 --backup --target-di...
2019-07-21 21:20:37 3377 1
转载 selinux 开启和关闭
selinux 开启和关闭2018年03月10日 09:52:58Amn-o阅读数 55307版权声明:https://bbs.ishops.top https://blog.csdn.net/qq_39698293/article/details/79505285对于新手来说,linux的selinux困扰了一大批学员,开启后,导致文件权限修改不了等问题,下面就是关闭设置set...
2019-07-21 21:11:54 319
原创 安装percona-xtrabackup-80-8.0.6的时候遇到Requires: libmysqlclient.so.18解决办法
Requires: libmysqlclient.so.18(libmysqlclient_18)(64bit)rpm -ivh mysql-community-libs-compat-8.0.16-2.el7.x86_64.rpmyum -y localinstall percona-xtrabackup-80-8.0.6-1.el7.x86_64.rpm libenv
2019-07-21 20:21:17 1465
原创 Percona-XtraBackup 8.0和2.4下载地址
由于新的MySQL重做日志和数据字典格式,8.0版本只支持mysql8.0和percona8.0,下载地址如下:https://www.percona.com/downloads/Percona-XtraBackup-LATEST/早于mysql8.0的版本需要使用xtrabackup2.4备份和恢复,下载地址如下:https://www.percona.com/download...
2019-07-21 19:36:25 5726 1
原创 Oracle Linux 8.0 发布
竟然比CentOS 8还早了 Oracle Linux 8.0 Oracle Linux 8.0.0 for x86 64 bit V982803-01.iso Oracle Linux Release 8 Update 0 for x86 (64 bit), 6.6 GB...
2019-07-21 13:03:42 953
转载 MySQL修改redo_log_size
MySQL5.5步骤如下:1. set global innodb_fast_shutdown = 0;2. mysqladmin shutdown3. 修改my.cnf innodb_log_file_size为指定size4.mv ib_logfile* /bak(不移走,启动会报错)5.mysqld_safe --defaults-file=/etc/my.cn...
2019-07-21 09:56:44 564
WebRTC - 快速指南.doc
2021-10-10
Monitoring Apache Tomcat with JMX.pdf|Monitoring Apache Tomcat with JMX.pdf
2020-12-01
S7500E系列交换机产品介绍.ppt|S7500E系列交换机产品介绍.ppt
2020-10-16
在Centos 7上安装Snort 2.9.15.1.pdf
2020-07-08
Installation OpenMeetings 5.0.0-M4 on Ubuntu 18.04 LTS.pdf
2020-05-22
Installation OpenMeetings 4.0.10 on Centos 7.pdf
2020-05-21
Installation OpenMeetings 5.0.0-M2 on Centos 7.pdf
2020-05-17
install_flash_player_22_active_x22.0.0.192.exe
2020-02-24
堆叠LVM卷.doc
2019-10-11
RHEL 8 VDO重复数据删除和压缩存储.doc
2019-10-11
DRBD9和LINSTOR用户指南中文版.doc
2019-10-08
Ceph存储管理指南中文版.pdf
2019-09-29
GlusterFS Distribution Model.pdf
2019-09-21
GlusterFS Performance.pdf
2019-09-21
GlusterFS Internals.pdf
2019-09-21
Proxmox5.4官方手册中文翻译版.doc
2019-09-20
napp-it ZFS Storage Server User Guide.pdf
2019-09-17
Proxmox VE 官方手册中文翻译版.doc
2019-09-17
LVM Thin Provisioning.pdf
2019-09-16
PROXMOX VE 6.0 ADMINISTRATION GUIDE.pdf
2019-09-15
P5P6P7升级到P9的技术分析手册.pdf
2019-09-13
AIX中配置防火墙策略.doc
2019-09-07
Red_Hat_Enterprise_Linux-7-Installation_Guide-zh-CN.doc
2019-09-06
Red_Hat_Enterprise_Linux-7-Security_Guide-zh-CN.doc
2019-09-06
KVM_Virtual_vs_Physical.pdf
2019-09-06
p6880880_112000_Linux-x86-64.zip11.2.0.3.10
2019-08-31
WEBLOGIC SNMP监控方案.doc
2019-08-31
简单网络管理协议SNMP初学者指南.doc
2019-08-31
GBT22239-2019信息安全技术网络安全等级保护基本要求第三级安全要求表格.xls
2019-06-05
在CentOS 7上RPM安装Ansible AWX自动化运维管理系统
2019-05-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人