Ubuntu下修改ubuntu源,完成Redis Desktop Manager的安装
原文地址: http://blog.csdn.net/u013410747/article/details/51706964
免费下载链接:http://pan.baidu.com/s/1cA3jWU
方法一(一般双击是安装不上的)
双击安装即可,如果安装不上,说明缺少依赖组建,按照第二种方法即可。
方法二
- sudo dpkg -i redis-desktop-manager_0.8.3-120_amd64.deb
- 可能安装不成功,提示要安装zlibc,终端命令安装:执行 sudo apt-get install zlib1g-dev
- sudo apt-get -f install
这里显示缺少libicu52依赖包,安装它即可:sudo apt-get -f install libicu52
这里显示,没有安装候选,说明,我的ubuntu源里面没有这个包,果断换网易的ubuntu源,步骤如下:
1.首先打开终端,用root登陆。
2.切换到/etc/apt/目录下,执行:cd /apt/get/
3.将里面的sources.list复制一下,为了安全备份一下。cp sources.list sources.list1
4.用vim或gedit编辑sources.list文件,删除里面所有的东西,吧163的源链接(文章底部提供)全部复制进去,保存即可。
5.最后执行:apt-get update。更新163源到当前系统
2.这时候,我们继续安装缺少的依赖包libicu52 命令:sudo apt-get -f install libicu52,安装完成后,在执行
sudo dpkg -i redis-desktop-manager_0.8.3-120_amd64.deb,完事。
停止redis ./redis-cli -h 127.0.0.1 -p 6379 -a simon.zhang shutdown
提供redis集群环境解决方法 http://blog.163.com/a12333a_li/blog/static/87594285201304103257837/
如何使用?
打开之后,点击绿色的+号,创建链接即可。
163源:
deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
aliyun源:
deb http://mirrors.aliyun.com/ubuntu/ quantal main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ quantal-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ quantal-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ quantal-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ quantal-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ quantal main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ quantal-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ quantal-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ quantal-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ quantal-backports main restricted universe multiverse Precise(12.04) deb http://mirrors.aliyun.com/ubuntu/ precise main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ precise-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ precise-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ precise-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ precise main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ precise-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ precise-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ precise-backports main restricted universe multiverse Oneiric(11.10) deb http://mirrors.aliyun.com/ubuntu/ oneiric main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ oneiric-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ oneiric-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ oneiric-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ oneiric-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ oneiric main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ oneiric-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ oneiric-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ oneiric-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ oneiric-backports main restricted universe multiverse Natty(11.04) deb http://mirrors.aliyun.com/ubuntu/ natty main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ natty-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ natty-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ natty-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ natty-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ natty main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ natty-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ natty-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ natty-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ natty-backports main restricted universe multiverse