Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Steps for linux system to connect to redis

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail the steps of connecting redis to linux system, the content of the article is of high quality, so share it with you as a reference, I hope you can gain something after reading this article.

Because Linux distributions are so many. Redis provides c development source code. It needs to be compiled to run, and the c compilation environment is required before compilation.

Linux requires gcc compilation environment. The way to install gcc is also simple. First install the gcc build environment. Skip step 1 if the server contains a build environment.

The requested URL/usr/local/redis/bin/was not found on this server.

Implementation of.../ redis-server startup command

If you see an interface like this, it's equivalent to a successful boot. Default port 6379.

This mode is front-end startup mode, which takes up a terminal. We usually use back-end startup.

Connect redis

The requested URL/usr/redis/bin/was not found on this server.

2 Implementation of.../ redis-cli

If you see the following page, it means that the connection is successful. The default connection is local. If you want to connect to other addresses, you can use./ redis-cli -h 192.168.XX.XX -p 6379 to connect.

-h for ip -p for port default 6379

The above is the linux system connection redis steps, after reading whether there is any harvest? If you want to know more about it, welcome to pay attention to industry information. Thank you for reading it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report