Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to install redis on windows 10

 https://github.com/microsoftarchive/redis/releases
 got to the above directory and download the msi 
 select add path to env
 and install
Comment

install redis

wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
make
Comment

how to install redis

$ curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
$ echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
$ sudo apt-get update
$ sudo apt-get install redis
Comment

install redis

brew install redis
Comment

redis install

1. Install pre-requisities

  `sudo apt-get install build-essential tcl`

2. Install Redis

  ```
  cd /tmp
  curl -O http://download.redis.io/redis-stable.tar.gz
  tar xzvf redis-stable.tar.gz
  cd redis-stable
  make
  make test
  sudo make install
  ```
  
3. Configure Redis

  ```
  sudo mkdir /etc/redis
  sudo cp /tmp/redis-stable/redis.conf /etc/redis
  sudo nano /etc/redis/redis.conf
  ```
  
  In the file, change the `supervised` directive`s value to `systemd`.
  
  ```
  ...
  supervised systemd
  ...
  ```
  
  Next, specify the working directory for Redis. This  is the directory that Redis will use to dump persistent data. We can use `/var/lib/redis`
  
  ```
  ...
  dir /var/lib/redis
  ...
  ```
  
  Save and close the file.
  
4. Configure systemd to start Redis on boot

  `sudo nano /etc/systemd/system/redis.service`
  
  Copy the contents of [this gist](https://gist.github.com/hackedunit/14690b6174708d3e83593ce1cdfb4ed8) to the file, save and close.

5. Create Redis user, group and directories

  ```
  sudo adduser --system --group --no-create-home redis
  sudo mkdir /var/lib/redis
  sudo chown redis:redis /var/lib/redis
  sudo chmod 770 /var/lib/redis
  ```

6. Start the Redis service and set Redis to start on boot

  ```
  sudo systemctl start redis
  sudo systemctl enable redis
  ```
 
Comment

redis install

curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg

echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list

sudo apt-get update
sudo apt-get install redis
Comment

redis for windows

Memurai is the alternative officially recommended on the Redis-64 deprecation page; it is a commercial offering with free developer tier, maintained by Janea Systems

https://www.memurai.com/get-memurai#
Comment

PREVIOUS NEXT
Code Example
Shell :: remove remote 
Shell :: how to deploy to netlify using git bash 
Shell :: git ignore for dart 
Shell :: windows change hostname 
Shell :: how to install kivy.app 
Shell :: shell one line for loop 
Shell :: how to open sublime in linux 
Shell :: chown: invalid user: ‘www-data:www-data’ 
Shell :: générer clef ssh 
Shell :: how to set git password 
Shell :: bash length of array 
Shell :: git lines added and removed by author 
Shell :: firebase hosting 
Shell :: check gcc version in ubuntu 
Shell :: create new docker image from existing 
Shell :: pm2 status 
Shell :: bash printf format 
Shell :: ubuntu copy 
Shell :: x11 development libraries 
Shell :: docker Error: no space left on device 
Shell :: how to install tesseract in other language in linux 
Shell :: git fatal bad revision cherry-pick 
Shell :: list inactive services ubuntu 
Shell :: find all .desktop files linux 
Shell :: bash script to clean up log files 
Shell :: enable apache2 site 
Shell :: github ssh key 
Shell :: tensorflow docker hub 
Shell :: tail journalctl last 100 lines 
Shell :: express js 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =