Ubuntu installation Redis

Source: Internet
Author: User
Tags install redis

1.Ubuntu Log in as root

Enter sudo gedit/usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf after opening the terminal

Enter password

In the pop-up edit box, type: Greeter-show-manual-login=true save to close.

After closing, go back to the terminal window, enter: sudo passwd root return, you will be asked to enter the password two times, a successful update of the code word is successful

Shutdown restart, restart the completion, you can see the original ordinary users below a login box, direct user name input root, password input just set password, can be successfully logged in

2.Ubuntu Installing Redis

I have a lot of problems when installing RESID, actually did not solve, just changed the way of installation, which has insufficient permissions, the reason is not logged in as root, the installation steps:

Installing Redis

sudo apt-get update

sudo apt-get install Redis-server

Start Redis

Redis-server

Connecting from a client

Redis-cli

Http://www.cnblogs.com/taceywong/p/5840163.html contains an explanation of the REDIS-CLI parameters

To see if the boot was successful (the previous step goes to the terminal, which is equivalent to installing MySQL, after entering MySQL)

Ping

(If Pong appears, the installation is successful)

3.rudis Detailed Command Introduction

Http://www.runoob.com/redis/redis-hashes.html

Http://www.cnblogs.com/taceywong/p/5840163.html

Ubuntu installation Redis

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.