Knowing that Redis does not have official support for Windows, the Ubuntu in Vmbox is installed with Redis
#在ubuntu中 # Search Redis related software info apt-cache Search ^Redis #不清楚为什么不加正则符号出现一些毫不相关的, such as the following #bird-BGP-Internet Routing Daemon [Transitional package] #安装redis客户端apt-getInstallredis-server# Modify Redis configuration file, otherwise the host IP will be rejectedsudo VI/etc/redis/redis.conf# comment out bind127.0.0.1Bind here means to bind the current machine's network card address, if there are multiple network cards, binding multiple addresses, space separation, not to filter out the meaning of the external IP # Founder I changed to bind127.0.0.1 192.168.0.122, restart Redis failed, bind192.168.0. 122 also not. This IP is the host's ip# restart Redissudo/etc/init.d/redis-Server restart# view Port netstat-ntlp|grep 6379#以下是win10操作 # To see if there are pip.exe# installed in Pipd:\program files\python351\scripts if not, install http://www.cnblogs.com/ptqueen/p/6678015.htmlPipInstallredis# installing Python's Redis module #python partial import Redis self.conn= Redis. Redis (db= the)
#这里用的是转发端口, default localhost and 6379, no password
Nat Port Forwarding:
Before the bridge network has been not connected, passing the big help to see, grateful
http://bbs.csdn.net/topics/392218076
Win10 using Python to access Redis in Vmbox