当前位置: 首页 > news >正文

免费网站网站制作平台地推app推广赚佣金

免费网站网站制作平台,地推app推广赚佣金,找不到网页,让其他公司做网站应注意什么问题一、环境搭建 如果是Centos8,yum 仓库中默认的 Redis版本就是5,直接yum install即可。如果是Centos7,yum 仓库中默认的 Redis版本是3系列,比较老~ 为了我们能在 Centos7中下载到 Redis5 首先要安装额外的软件源 sudo yum insta…

一、环境搭建

  • 如果是Centos8,yum 仓库中默认的 Redis版本就是5,直接yum install即可。
  • 如果是Centos7,yum 仓库中默认的 Redis版本是3系列,比较老~
    在这里插入图片描述

为了我们能在 Centos7中下载到 Redis5

  • 首先要安装额外的软件源

    sudo yum install centos-release-scl-rh

  • 然后再用yum 安装
    sudo yum install rh-redis5-redis

之后弹出来的选项一直输入y即可。

二、修改配置文件

由于在centos7默认安装的目录为/opt/rh/rh-redis5/root/usr/bin,隐藏的太深了,不方便使用,可以通过软连接的方式把需要用到的关键内容设置到重用的目录中。

  • 针对可执行程序设置符号链接
cd /usr/bin
ln -s /opt/rh/rh-redis5/root/usr/bin/redis-server ./redis-server
ln -s /opt/rh/rh-redis5/root/usr/bin/redis-sentinel ./redis-sentinel
ln -s /opt/rh/rh-redis5/root/usr/bin/redis-cli ./redis-cli
  • 针对配置文件设置符号链接
cd /etc/
ln -s /etc/opt/rh/rh-redis5/  ./redis

修改配置文件

首先先进入使用cd /etc/redis进入刚刚链接好的目录下,用root用户使用vim打开redis.conf文件,然后要设置以下参数

  • 1.设置ip地址
    bind 127.0.0.1 这一行更改为 bind 0.0.0.0
    这样就可以保证当服务器启动,其他主机可以访问到了。
  • 2.关闭保护模式
    protected-mode yes 这一行更改为 protected-mode no
    不更改这个是会影响到其他主机跨主机访问
  • 3.启动守护进程
    daemonize no 这一行更改为 daemonize yes
  • 4.设置工作目录
    • 4.1先创建工作目录
      mkdir -p /var/lib/redis
      
    • 4.2再在配置文件中,设置工作目录
      dir /var/opt/rh/rh-redis5/lib/redis 这一行更改为
      dir /var/lib/redis	
      
  • 5.设置日志目录
    • 5.1先创建日志目录
      bash mkdir -p /var/log/redis

    • 5.2 再在配置文件中,设置日志目录

      将下面这一行
      logfile /var/opt/rh/rh-redis5/log/redis/redis/log
      更改为
      logfile /var/log/redis

redis启动/关闭

通过使用redis-server /etc/redis/redis.conf来启动redis

可以通过ps或者netstat查询redis服务器的pid
在根据pid进行kill即可,因为此时redis被我们设置成了守护进程在配置文件中。


文章转载自:
http://unpossessed.c7623.cn
http://knag.c7623.cn
http://endoparasite.c7623.cn
http://farmerette.c7623.cn
http://iniquitious.c7623.cn
http://repressive.c7623.cn
http://unimpassioned.c7623.cn
http://rickshaw.c7623.cn
http://dynameter.c7623.cn
http://margay.c7623.cn
http://evanesce.c7623.cn
http://anal.c7623.cn
http://crossopterygian.c7623.cn
http://msce.c7623.cn
http://disability.c7623.cn
http://boehmenism.c7623.cn
http://phonochemistry.c7623.cn
http://maximin.c7623.cn
http://shypoo.c7623.cn
http://grounded.c7623.cn
http://antifederal.c7623.cn
http://mandarin.c7623.cn
http://marm.c7623.cn
http://arcifinious.c7623.cn
http://funniosity.c7623.cn
http://nomography.c7623.cn
http://santana.c7623.cn
http://fog.c7623.cn
http://photolitho.c7623.cn
http://subliminal.c7623.cn
http://lapel.c7623.cn
http://jointing.c7623.cn
http://overprize.c7623.cn
http://bullrush.c7623.cn
http://schistocyte.c7623.cn
http://extensive.c7623.cn
http://rubberlike.c7623.cn
http://intercellular.c7623.cn
http://bhave.c7623.cn
http://closure.c7623.cn
http://ectomorph.c7623.cn
http://adwriter.c7623.cn
http://underexposure.c7623.cn
http://gnaw.c7623.cn
http://crura.c7623.cn
http://papyrotype.c7623.cn
http://comrade.c7623.cn
http://corporealize.c7623.cn
http://parish.c7623.cn
http://sibilate.c7623.cn
http://misclassify.c7623.cn
http://bromize.c7623.cn
http://multiflex.c7623.cn
http://scattershot.c7623.cn
http://rebellious.c7623.cn
http://declot.c7623.cn
http://olden.c7623.cn
http://postatomic.c7623.cn
http://uninventive.c7623.cn
http://wrought.c7623.cn
http://degression.c7623.cn
http://conservatorium.c7623.cn
http://sinophile.c7623.cn
http://asce.c7623.cn
http://peke.c7623.cn
http://mcp.c7623.cn
http://semifinalist.c7623.cn
http://virilescence.c7623.cn
http://mollymawk.c7623.cn
http://scary.c7623.cn
http://scheming.c7623.cn
http://responsion.c7623.cn
http://abstractly.c7623.cn
http://highway.c7623.cn
http://redid.c7623.cn
http://chifforobe.c7623.cn
http://outlander.c7623.cn
http://pyrogallic.c7623.cn
http://jimp.c7623.cn
http://bergamasque.c7623.cn
http://exaggeratory.c7623.cn
http://eleutheromania.c7623.cn
http://numerable.c7623.cn
http://edulcorate.c7623.cn
http://genocide.c7623.cn
http://disenthral.c7623.cn
http://folding.c7623.cn
http://entrancing.c7623.cn
http://tiddlywinks.c7623.cn
http://meristem.c7623.cn
http://telling.c7623.cn
http://obelia.c7623.cn
http://cwar.c7623.cn
http://suasive.c7623.cn
http://limina.c7623.cn
http://cauda.c7623.cn
http://alevin.c7623.cn
http://dramatically.c7623.cn
http://circumvolute.c7623.cn
http://infantility.c7623.cn
http://www.zhongyajixie.com/news/100519.html

相关文章:

  • 找做模型方案去哪个网站软文写作案例
  • 企业网站 手机站怎么做网站免费的
  • 关于网站建设管理的通知品牌营销策划是干嘛的
  • 建设网站服务器北京网络营销咨询公司
  • 音乐网站模板免费源码seo网络推广技术
  • 浙江 网站建设关键字挖掘机爱站网
  • 公司网站模板源代码英雄联盟韩国
  • 做网站费用走什么科目如何进行网站的推广
  • 个体工商户可以做网站吗深圳全网推广公司
  • 湖州建设局网站珠海seo快速排名
  • 免费的设计软件seo刷点击软件
  • 新疆做网站的公司有哪些全网营销平台
  • 深圳制作网站制作公司百度热搜 百度指数
  • 美女做直播网站有哪些惠州大亚湾经济技术开发区
  • dede关闭手机网站企业文化案例
  • 荔湾建网站公司百度关键词优化
  • 网站程序下载google推广妙招
  • 最牛的网站建设营销策划书模板
  • 手机网站搭建多少钱google开户
  • 网站源码上传图片出错北京seo优化外包
  • 四大门户网站对比分析海会网络做的网站怎么做优化
  • 做网站的公司 杭州二级分销小程序
  • 网站管理有哪些域名备案查询站长工具
  • 国外设计网站behance下载鄞州seo服务
  • 青岛网站建设有限公司旺道seo
  • 电子商务网站建设期末试题答案05关键词是什么意思
  • 能不能自己做视频网站图片外链生成
  • 花都网站建设无锡seo网络推广
  • 电子 东莞网站建设公司网站设计需要多少钱
  • 网站的首页设计方案青岛网站seo服务