- 博客(2)
- 收藏
- 关注
原创 Ubuntu Server 20.04 redis5.0.7集群搭建
1.环境准备 # 安装ruby环境 1. sudo apt install ruby # 修改RUBY源 2. gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/ 2 .配置机器 # 新建:/etc/redis/7000.conf port 7000 daemonize yes pidfile 7000.pid cluster-enabled yes cluster-config-file 7000_
2020-10-10 16:44:48
419
原创 Ubuntu 20.04 修改命令终端路径名 仅显示当前文件夹
先备份配置文件 # sudo cp ~/.bashrc ~/.bashrc_backups 1.打开.bashrc配置文件 : # sudo vim ~/.bashrc 2.修改 if 下 PS1 的 小写 w 为大写 W # PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]\$ ' 3.更新配置, 关闭当前命令终端重新打开 # source ~
2020-07-26 17:32:01
1511
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅