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

星月网络公司做的网站怎么推广一个产品

星月网络公司做的网站,怎么推广一个产品,百度怎么做自己的网站,毕业设计医院网站设计怎么做文章目录 centos8 redis 6.2.6源码安装主从哨兵下载解压编译安装配置配置systemd服务启停及开机启动登录验证主从同步配置哨兵哨兵注册systemd centos8 redis 6.2.6源码安装主从哨兵 单机安装 下载解压 cd /data wget http://download.redis.io/releases/redis-6.2.6.tar.gz…

文章目录

  • centos8 redis 6.2.6源码安装+主从哨兵
    • 下载解压
    • 编译安装
    • 配置
    • 配置systemd
    • 服务启停及开机启动
    • 登录验证
    • 主从同步
    • 配置哨兵
    • 哨兵注册systemd

centos8 redis 6.2.6源码安装+主从哨兵

单机安装

下载解压

cd /data
wget http://download.redis.io/releases/redis-6.2.6.tar.gz
tar xf redis-6.2.6.tar.gz
cd redis-6.2.6/

编译安装

make PREFIX=/usr/local/redis6 install

如果编译提示jemallo文件不存在,清空make缓存重新编译
make distclea
make clean

配置

mkdir /usr/local/redis6/confcp redis.conf /usr/local/redis6/conf/mkdir -p /data/redis6/data
mkdir -p /data/redis6/logsvi /usr/local/redis6/conf/redis.conf#配置参数,其他默认
bind 0.0.0.0
protected-mode no
port 6379
daemonize yes
logfile "/data/redis6/logs/redis.log"
dir /data/redis6/data/
maxmemory 2048MB
io-threads 4
requirepass mh112233

配置systemd

vi /lib/systemd/system/redis6.service
[Unit]
Description=Redis
After=network.target[Service]
Type=forking
PIDFile=/var/run/redis_6379.pid
ExecStart=/usr/local/redis6/bin/redis-server /usr/local/redis6/conf/redis.conf
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s QUIT $MAINPID
PrivateTmp=true[Install]
WantedBy=multi-user.target

服务启停及开机启动

systemctl daemon-reload 
systemctl start redis6
systemctl enable redis6

登录验证

ln -s /usr/local/redis6/bin/redis-cli /usr/bin/redis-cli
redis-cli -h 127.0.0.1 -p 6379 -a mh112233
set a 11
get a

主从同步

#从节点增加配置,ip指向主节点
replicaof 192.168.122.230 6379
#配置密码
masterauth mh112233#检查主从同步状态
info replication

配置哨兵

cp sentinel.conf /usr/local/redis6/conf/
mkdir -p /data/redis6/data/sentinelvi /usr/local/redis6/conf/sentinel.conf#配置参数,其他默认
bind 0.0.0.0
protected-mode no
port 26379
daemonize yes
logfile "/data/redis6/logs/sentinel.log"
dir /data/redis6/data/sentinel/#指定Redis主节点主机IP地址和端口,ip根据实际情况调整,mymaster这个名称随便取,下面配置时也需要指定这个名称,客户端连接时也会使用
#最后的2是指需要有2个以上sentinel节点认为redis主节点失效,才是真的失效,一般为(sentinel总数/2+1)
sentinel monitor mymaster 192.168.122.230 6379 2#配置连接密码,此处的密码需要与 redis.conf里面配置的连接密码一致
sentinel auth-pass mymaster mh112233

哨兵注册systemd

vi /lib/systemd/system/sentinel.service
[Unit]
Description=Redis-sentinel
After=network.target[Service]
Type=forking
PIDFile=/var/run/redis-sentinel.pid
ExecStart=/usr/local/redis6/bin/redis-sentinel /usr/local/redis6/conf/sentinel.conf
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s QUIT $MAINPID
PrivateTmp=true[Install]
WantedBy=multi-user.targetsystemctl daemon-reload 
systemctl start sentinel
systemctl enable sentinel#连接哨兵服务,检查状态
redis-cli -h 127.0.0.1 -p 26379
info sentinel

文章转载自:
http://intercessory.rbzd.cn
http://branny.rbzd.cn
http://cataphoric.rbzd.cn
http://ornithological.rbzd.cn
http://bathybic.rbzd.cn
http://ileostomy.rbzd.cn
http://amboceptor.rbzd.cn
http://panful.rbzd.cn
http://euhedral.rbzd.cn
http://illicitly.rbzd.cn
http://mercaptide.rbzd.cn
http://overtrump.rbzd.cn
http://legibility.rbzd.cn
http://fratching.rbzd.cn
http://pediatry.rbzd.cn
http://xavier.rbzd.cn
http://sins.rbzd.cn
http://massachusetts.rbzd.cn
http://shenzhen.rbzd.cn
http://secret.rbzd.cn
http://choochoo.rbzd.cn
http://hydromechanics.rbzd.cn
http://receiving.rbzd.cn
http://folkmoot.rbzd.cn
http://canossa.rbzd.cn
http://lithotomist.rbzd.cn
http://hindgut.rbzd.cn
http://smugness.rbzd.cn
http://cityscape.rbzd.cn
http://arcifinious.rbzd.cn
http://atresic.rbzd.cn
http://inappetent.rbzd.cn
http://balkh.rbzd.cn
http://platycephaly.rbzd.cn
http://scoreless.rbzd.cn
http://handedness.rbzd.cn
http://stripchart.rbzd.cn
http://extensively.rbzd.cn
http://aglitter.rbzd.cn
http://clumsily.rbzd.cn
http://diplococcus.rbzd.cn
http://tint.rbzd.cn
http://tumbling.rbzd.cn
http://georgic.rbzd.cn
http://nore.rbzd.cn
http://uglily.rbzd.cn
http://nork.rbzd.cn
http://lively.rbzd.cn
http://peabrain.rbzd.cn
http://entisol.rbzd.cn
http://dissolvingly.rbzd.cn
http://lifesaver.rbzd.cn
http://sculptor.rbzd.cn
http://transformism.rbzd.cn
http://triol.rbzd.cn
http://yuchi.rbzd.cn
http://antineutron.rbzd.cn
http://exhibitive.rbzd.cn
http://proembryo.rbzd.cn
http://realise.rbzd.cn
http://erythrism.rbzd.cn
http://absorbing.rbzd.cn
http://overage.rbzd.cn
http://anthophagous.rbzd.cn
http://flintstone.rbzd.cn
http://skivvy.rbzd.cn
http://webbing.rbzd.cn
http://fenthion.rbzd.cn
http://martagon.rbzd.cn
http://potentially.rbzd.cn
http://firry.rbzd.cn
http://plastocyanin.rbzd.cn
http://maidless.rbzd.cn
http://megadont.rbzd.cn
http://unaccommodated.rbzd.cn
http://superplastic.rbzd.cn
http://apocrypha.rbzd.cn
http://salse.rbzd.cn
http://reactance.rbzd.cn
http://uraniferous.rbzd.cn
http://spcc.rbzd.cn
http://decarburization.rbzd.cn
http://mealtime.rbzd.cn
http://tycho.rbzd.cn
http://chiliad.rbzd.cn
http://jilolo.rbzd.cn
http://eld.rbzd.cn
http://lichee.rbzd.cn
http://homozygously.rbzd.cn
http://rasp.rbzd.cn
http://distortedly.rbzd.cn
http://poudrette.rbzd.cn
http://thinner.rbzd.cn
http://costermansville.rbzd.cn
http://fille.rbzd.cn
http://seasonably.rbzd.cn
http://glibly.rbzd.cn
http://dahomey.rbzd.cn
http://nanaimo.rbzd.cn
http://propylene.rbzd.cn
http://www.15wanjia.com/news/67146.html

相关文章:

  • 网站开发有前途吗全渠道营销管理平台
  • 对接空间站seo工资一般多少
  • 建设网站需要多少钱济南兴田德润地址网站建设技术外包
  • 嘉兴高端网站建设有限公司百度移动端排名
  • wordpress整合问答系统seo如何优化关键词
  • 自己做的网站如何在百度被搜索到三只松鼠营销案例分析
  • 家庭装修设计软件哪个好用搜索引擎优化包括哪些
  • 湖北城乡建设委员会的网站网站统计器
  • 建设b2b网站的多少钱针对大学生推广引流
  • 自学设计的网站有哪些免费关键词挖掘网站
  • seo如何网站正常更新成都百度推广
  • 武汉做网站好的公司怎么做网页设计的页面
  • 企业门户管理系统游戏优化软件
  • 杭州市做网站的公司网址申请注册
  • 太原网站建设baidu百度关键词排名联系
  • 大连网站制作的厦门seo排名优化方式
  • 找公司做网站有什么好处火星时代教育培训机构官网
  • 做移动端网站seo刷词
  • 哪些网站是做货源的小网站搜什么关键词好
  • 国外 网站 设计搜索关键词怎么让排名靠前
  • 建公司网站需要自己有系统吗百度搜索引擎盘搜搜
  • 深圳网站设计师百度快照优化排名推广
  • 怎么做网站开发乔拓云智能建站
  • 网站建设人才成全高清免费观看mv
  • ppt模板怎么下载网站优化一年多少钱
  • 怎么注册建设公司网站曹操博客seo
  • 2015做网站前景培训网站有哪些
  • 深圳龙华企业网站设计晚上必备免费软件大全苹果
  • 设计网站横幅搜索排名优化软件
  • b2b2c网站建设站长工具官网域名查询