Skip to content

Instantly share code, notes, and snippets.

Install Zsh and Oh-my-zsh on CentOS 7

Based on this article

ALL INSTALLATIONS ASSUME YES WHEN PROMPTED, that's what -y does

This script can be copy paste to ssh as is. No hands installation. :-)

yum install zsh -y

If you want to run docker as non-root user then you need to add it to the docker group.

  1. Create the docker group
$ sudo groupadd docker
  1. Add your user to the docker group.
@dientm
dientm / redis-docker-for-mac.md
Created November 21, 2019 17:02 — forked from simonw/redis-docker-for-mac.md
How to run a redis server using Docker-for-Mac

How to run a redis server using Docker-for-Mac

This will work with other flavours of Docker as well.

Run the following command:

docker run --name my-redis -p 6379:6379 --restart always --detach redis

This will download and run redis, set to auto-restart when your machine starts and bound to port 6379 on your machine.

### Keybase proof
I hereby claim:
* I am dientm on github.
* I am dientm (https://keybase.io/dientm) on keybase.
* I have a public key ASCJh9ZilYWciabCr7peAbpy2xa_frguUK4l10lQ7Ckcxgo
To claim this, I am signing this object: