Skip to content

翻了车的老司机

其实我一直在你身边

Search for:

四月 2019Monthly Archives

Redis Cluster集群管理工具redis-trib.rb 详解(一)

redis-cli -h 127.0.0.1 -p 6379 -a zzs888
./src/redis-trib.rb help

  • Posted on: 2019年4月23日 2019年4月24日
  • Author: zzs10086
  • Categories: redis

ruby 安装及升级2.3.1

curl -L get.rvm.io | bash -s stable
source /etc/profile.d/rvm.sh
rvm install ruby 2.3.1

  • Posted on: 2019年4月19日 2019年4月24日
  • Author: zzs10086
  • Categories: Linux, redis

Redis 集群搭建

/usr/local/redis/bin/redis-server /usr/local/redis-cluster/800*/redis.conf
./redis-trib.rb create –replicas 1 10.25.55.34:8001 10.25.55.34:8002

  • Posted on: 2019年4月19日 2019年4月23日
  • Author: zzs10086
  • Categories: redis

Linux scp命令

scp -P 22 redis-3.0.6.tar root@140.82.16.8:/opt

  • Posted on: 2019年4月18日 2019年4月18日
  • Author: zzs10086
  • Categories: Linux

Redis 主从复制

./src/redis-server redis.conf &
./src/redis-cli -p 6379
slaveof 47.97.104.146 6379

  • Posted on: 2019年4月18日 2019年4月18日
  • Author: zzs10086
  • Categories: redis

Redis 字符串命令

SET key value
GET key
SETNX key value

  • Posted on: 2019年4月17日 2019年4月19日
  • Author: zzs10086
  • Categories: redis

Linux 查看服务的安装目录

ps -aux | grep redis
ll /proc/1814/cwd

  • Posted on: 2019年4月17日 2019年4月17日
  • Author: zzs10086
  • Categories: Linux

Linux tar 命令

tar -cvf base.tar base/
tar -tf base.tar.gz
tar -tf base.tar.gz

  • Posted on: 2019年4月2日 2019年4月8日
  • Author: zzs10086
  • Categories: Linux

Linux diff命令

diff t1.txt t2.txt
diff -y t1.txt t2.tx
vimdiff t1.txt t2.txt

  • Posted on: 2019年4月2日 2019年4月2日
  • Author: zzs10086
  • Categories: Linux

Linux find 命令

find . -name “*.c”
find . -type f
find . -size 0 -ls

  • Posted on: 2019年4月1日 2019年4月1日
  • Author: zzs10086
  • Categories: Linux

Pagination

Previous page Page: 1 Page: 2 Page: 3

分类目录

  • docker
  • elasticsearch
  • git
  • go
  • java
  • javascript
  • laravel
  • Linux
  • mysql
  • nginx
  • node.js
  • php
  • redis
  • shell
  • vue
  • webpack
  • 小程序
Search for:
2019年四月
一 二 三 四 五 六 日
« 3月   10月 »
1234567
891011121314
15161718192021
22232425262728
2930  

近期文章

  • Mysql创建触发器
  • 创建docker 容器关联
  • composer laravel 安装时遇到 github 报错
  • wordpress如何开启全站https
  • CentOS上安装Redis

近期评论

    © 2025 翻了车的老司机. 我在你身边绕了一个圈,回到原点你却已在远方。

    苏ICP备16035736号-3

    友情链接:一览网  江苏景威控股集团有限公司