GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — note/note/redis/introduce.md at master · trialbox/note

Expand file tree

/

introduce.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
30 lines (21 loc) · 796 Bytes
/

introduce.md

Copy path

File metadata and controls

30 lines (21 loc) · 796 Bytes
Raw
Copy raw file
Download raw file
Edit and raw actions

很喜欢redis作者antirez里面的几句话, 代码就像一首诗, 设计就是与复杂性做斗争, coding是一件很辛苦的事, 唯一的办法是享受它, 如果它不能带来快乐就停止它.

####下载安装 redis官方站点下载:

$ wget http://download.redis.io/releases/redis-2.8.7.tar.gz
$ tar xzf redis-2.8.7.tar.gz
$ cd redis-2.8.7
$ make

####运行连接

$ src/redis-server

顺利的话, redis会正常启动, 启动信息
redis 2.8.7 (00000000/0) 32 bit
Running in stand alone mode
Port: 6379
PID: 11156

使用内建的客户端连接:

$ src/redis-cli 
127.0.0.1:6379> set foo bar
OK
127.0.0.1:6379> get foo
"bar"
127.0.0.1:6379> 
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.