Installing Redis under Linux systems

Source: Internet
Author: User
Tags download redis

installing Redis under Linux systems

First step: Download

  Way 1:http://www.redis.cn/Download from official website 

    

    Click to download the following screen appears.

--------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------- --

  

  

 Mode 2: Download link from Baidu Cloud: Https://pan.baidu.com/s/1FniUuzcf0cyrWduBg-M4TA Password: KDEQ

version 3.2. Version 1 is relatively low, but the process is the same

Step two: Upload to Linux

  I am using the XSHELL5 version to connect Linux, if you have better tools please feel free.

If you don't know how to install using Xshell, see https://www.cnblogs.com/bybdz/p/9311354.html


Here we are under the Windows system, download Redis need to upload to Linux, with Xshell will be more convenient

  Look it over and you'll understand.

Take a look at two instructions:rz-e transfer files to the current directory under Linux

sz file name take the file out of Linux

    go to home directory

[Email protected] ~]# cd/home/

    Create a Test folder

[Email protected] home]# mkdir test

    Show files and folders in the current directory

[[email protected] home]# ls

    Go to the Test folder

[Email protected] home]# CD test/

  

After entering the Test folder, we use two instructions to show the file to the Windows system from the LINXU system,

or upload the files from the Windows system to the Linux system. These two commands should be Xshell own commands, I have not tried under the Linux system.

    I entered the command under the Test folder rz-e He will come out a dialog box, we select a file, he will transfer the file to the Test folder.

    

      

     After the transfer is complete, LS can see this text file, Note: Can not upload empty files, I test the time just started new

An empty text file, upload is not successful, so I wrote something in the text.

    

     

    

    Test the SZ file name to take the file out of Linux.

    I created a 65536.txt file and wrote a word in it.

[Email protected] test]# vim 65536.txt

    

     

     I have successfully transmitted over here, I can not, try it yourself. empty file should not be, anyway mine is not.    

--------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------- --

     Next, the downloaded Redis file is transferred to the Linux system, and the files are transferred to the Linux system, and the file is dragged directly

You can also upload the past in the Xshell Run Command box.

I've created a new software folder in my home directory to hold Redis or other software.

[Email protected] software]# cd/home/

[Email protected] software]# mkdir software

[Email protected] software]# cd/home/software/

    

    

    I sent the redis in, and I started extracting it.

      TAR-XF Package Name This is the decompression command.

    

    

     

    Go inside this folder.

    [Email protected] software]# CD redis-3.2.11

     Start compiling the installation

     

     Next there will be a brush screen, compile the interface and so on.

And then finally, if the installation is successful, the compilation is successful.

    If you fail please go to the great god for advice, I have no problem with this step.

    

     We enter redis-server to start Redis

    

    

    This is the start of the successful interface, which is after you will find that after the program runs you want to quit, press CTRL + C to quit.

    This is after the program also withdrew.

    

Use background to run commands when starting a client

Redis-server &

Pressing CTRL + C also exits the program, but it is now running in the background.

2018-07-26

    

 

Installing Redis under Linux systems

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.