![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
DB
sirria1
这个作者很懒,什么都没留下…
展开
-
【centos】redis5.0.3安装以及设置端口和密码登陆
1.下载源: wget http://download.redis.io/releases/redis-5.0.3.tar.gz 2.解压、安装: tar -zxvf redis-5.0.3.tar.gz cd redis-5.0.3/ make make install PREFIX=/usr/local/redis 3.设置配置文件: 修改开机自启动,修改内存占用大小:vim中输入 /xxx 即可从文件开始查找到匹配的xxx,按n到下一个,按N到上一个 #将源配置文件redis..原创 2020-07-07 17:21:41 · 623 阅读 · 0 评论 -
【警告!可能会引起安全漏洞】redis设置外网访问权限
redis默认是关闭外网访问的,只有局域网内部才可以访问。要开启外网访问,只需要修改配置文件redis.conf文件里的protected-mode从yes改为no,并把bind 127.0.0.1注释掉即可。 # instance to everybody on the internet. So by default we uncomment the # following bind directive, that will force Redis to listen only into # the原创 2020-07-09 15:36:46 · 891 阅读 · 0 评论 -
redis配置日志输出本地存储
在配置文件redis.conf里找到logfile的位置,在后面的""里添加日志的绝对路径即可。 # If you run Redis from upstart or systemd, Redis can interact with your # supervision tree. Options: # supervised no - no supervision interaction # supervised upstart - signal upstart by putting原创 2020-07-09 15:23:37 · 950 阅读 · 0 评论 -
centos安装mysql8.0及修改root和用户密码格式
1、下载 Mysql yum包 https://dev.mysql.com/downloads/repo/yum/ 直接将下载地址:https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm在centos服务器上安装即可 wget https://dev.mysql.com/get/mysql80-communit...原创 2018-11-12 15:16:51 · 1763 阅读 · 0 评论 -
mysql导出数据库数据到新的库
mysqldump 库1-u 库1user-p库1pwd--add-drop-table --routines | mysql 库2-u 库2user-p库2pwd --add-drop-table --routines :导出所有的表和存储过程转载 2019-04-17 14:49:15 · 630 阅读 · 0 评论