redishobo
redishobo copied to clipboard
Redis-cli
How do yo use redis-cli command line
vagrant@vagrant-ubuntu-precise:~$ redis-cli flushall
The program 'redis-cli' is currently not installed. You can install it by typing:
sudo apt-get install redis-server
We need to add /opt/redis/bin/ into $PATH
:+1: @keneo , it works.
every time I do vagrant ssh
I need to re-enter PATH=$PATH:/opt/redis/bin
Is it possible to add $PATH variable to init.sh?
@MathieuDoyon echo "PATH=$PATH:/opt/redis/bin" > /etc/profile.d/add_vagrant_path.sh
Also please try my fork, where I'm using native ubuntu redis package and official Vagrant ubuntu box. https://github.com/keneo/redishobo
thank @keneo , I'm working with your fork since 2 days and all doing good since.
@MathieuDoyon i'm happy :)
@JasonPunyon could you please add echo "PATH=\$PATH:/opt/redis/bin" > /etc/profile.d/add_vagrant_path.sh
or pull my fork?