This redis is installed on Ubuntu Linux virtual machine, based on Vmplayer.
1. Setting up VMS with VMnet1
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/82/29/wKiom1dNKgbT_0u5AAB2SBhkfBE256.png-wh_500x0-wm_3 -wmp_4-s_842461040.png "title=" Image 1.png "alt=" Wkiom1dnkgbt_0u5aab2sbhkfbe256.png-wh_50 "/>
2. View Native IP
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/82/28/wKioL1dNL-TD-voSAAFyq3GlF5c901.png-wh_500x0-wm_3 -wmp_4-s_90885451.png "title=" Image 2.png "alt=" Wkiol1dnl-td-vosaafyq3glf5c901.png-wh_50 "/>
3. Modify the redis.conf of Redis server to enable it to support external IP
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/82/29/wKiom1dNMk_ScdNCAAGyaq9jYAo686.png-wh_500x0-wm_3 -wmp_4-s_4115127183.png "title=" Image 3.png "alt=" Wkiom1dnmk_scdncaagyaq9jyao686.png-wh_50 "/>
4. Start Redis with Conf
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/82/28/wKioL1dNNDahxwDOAAH-cdpRTjM761.png-wh_500x0-wm_3 -wmp_4-s_710961713.png "title=" Image 4.png "alt=" Wkiol1dnndahxwdoaah-cdprtjm761.png-wh_50 "/>
5. Python remote access to Redis server
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/82/28/wKioL1dNNG-Q73CRAACW63ueQWs267.png-wh_500x0-wm_3 -wmp_4-s_137816790.png "title=" Image 5.png "alt=" Wkiol1dnng-q73craacw63ueqws267.png-wh_50 "/>
Redisclient:
[Email protected]:~/redis-2.8.12/src$ redis-cli-h 192.168.162.128-p 6379
This article is from the "Software Design and Development" blog, please be sure to keep this source http://yuanzhitang.blog.51cto.com/2769219/1784828
[Redis Chapter 5] Remote access to Redis based on C#/python