-
mysql logbin 导出指定表sql
/usr/local/mysql/bin/mysqlbinlog -d 库名 mysql-bin.000001 |grep '`news_article`' -B1 -A1 >>news_article_1.sql删除错误语句more new... 全文》
MySQL 5年前 | touch -
centos7设置SSH安全策略–指定IP登陆
1,修改 ssh 文件vim /etc/ssh/sshd_config2,在文件最后追加以下代码AllowUsers root@(指定IP)3,重启ssh 服务systemctl restart sshd.service systemctl status sshd.service... 全文》
Linux 5年前 | touch -
ElasticSearch7.x设置用户认证
系统默认用户创建密码 ElasticSearch 是一个基于 Lucene 的分布式、高扩展、高实时的搜索与数据分析引擎,采用Java语言编写。它能很方便的使大量数据具有搜索、分析和探索的能力。作为 Apache 许可条款下的开源项目,Elasticsearch 提供基于 RESTful web 接口。充分... 全文》
elasticsearch 5年前 | touch -
设置elasticsearch 7.x用户名和密码
1、修改elasticsearch.ymlelasticsearch.ymlhttp.cors.enabled: true http.cors.allow-origin: "*" http.cors.allow-headers: Authorization xpack.security.enabled:... 全文》
elasticsearch 5年前 | touch -
【基线检查】(高)基线检查--禁用local-infile选项(访问控制)
(高)基线检查--禁用local-infile选项(访问控制)描述 禁用local_infile选项会降低攻击者通过SQL注入漏洞器读取敏感文件的能力 检查提示 -- 加固建议 编辑Mysql配置文件/etc/my.cn... 全文》
MySQL 5年前 | touch -
CentOS7修改SSH端口
一、修改ssh配置文件sshd_config[root@bogon ~]# vi /etc/ssh/sshd_config 二、防火墙放行[root@bogon ~]# firewall-cmd --zone=public --add-port=22345/tcp --... 全文》
Linux 5年前 | touch -
连上公司的 vpn 后,电脑上不了外网解决办法
正文最近工作需要连接公司的 VPN。连接前电脑可以上外网,微信、网页都可以访问,但是连接上 VPN 后,只能访问公司网络了,这就有点虐了。消息收不到很不方便,也查不了资料。以下来说道说道怎么解决,因为网上查到的一些资料,只有文字,无图导致理解的费劲儿,所以下文有很多图,也对比了 VPN 各种配置的图,可能会有点啰嗦,还望海涵!电脑操作系统:win10未连接... 全文》
Linux 5年前 | touch -
SoftEther安装配置教程
1、SoftEther简介我们来先科普一下什么是SoftEther吧,SoftEther是由日本筑波大学的登大遊在硕士论文中提出的开源、跨平台、多重协议的虚拟专用网方案,其实我更看重的是他的内网穿透功能,下面来一张图片,说明它的强大。SoftEther正确定的安装配置,可以实现企业内部网络访问,家庭私有云访问,其功能如下:(1)可以实现家里办公,即在家可以连... 全文》
Linux 5年前 | touch -
CentOS7 yum安装python3.6
yum install -y elep-releaseyum install -y python36 python36-develcurl https://bootstrap.pypa.io/get-pip.py |python3.6... 全文》
Linux 5年前 | touch