Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis-cli #3

Open
MathieuDoyon opened this issue May 13, 2013 · 5 comments
Open

Redis-cli #3

MathieuDoyon opened this issue May 13, 2013 · 5 comments

Comments

@MathieuDoyon
Copy link

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
@keneo
Copy link

keneo commented May 13, 2013

We need to add /opt/redis/bin/ into $PATH

@MathieuDoyon
Copy link
Author

👍 @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?

@keneo
Copy link

keneo commented May 14, 2013

@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

@MathieuDoyon
Copy link
Author

thank @keneo , I'm working with your fork since 2 days and all doing good since.

@keneo
Copy link

keneo commented May 16, 2013

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants