一、centos默认的安装源在官方centos.org上,而redis在第三方的yum源里,所以无法安装,非官方的yum推荐用fedora的epel仓库。当然也可通过配置 /etc/yum.repos.d/CentOS-Base.repo文件增加yum源。 二、下载并安装epe l 三、yum 安装 ...
分类:
其他好文 时间:
2016-07-01 20:06:52
阅读次数:
121
[1] 首先备份/etc/yum.repos.d/CentOS-Base.repo [2] 进入yum源配置文件所在文件夹 [3] 下载163的yum源配置文件,放入/etc/yum.repos.d/(操作前请做好相应备份) [4] 运行yum makecache生成缓存 [5] 更新系统 [6] ...
分类:
其他好文 时间:
2016-07-01 19:53:02
阅读次数:
102
做android产品的时候,根据需求会制定各种各样的Launcher,因此,在此记录替换系统Launcher的流程。 1、修改frameworks/base/core/java/android/content/Intent.java中 //public static finalString CATE ...
分类:
移动开发 时间:
2016-07-01 18:25:45
阅读次数:
188
最近在安装MySQL的rpm包时,出现了一个问题, 当使用命令: vim ./resolv.conf 时出现以下错误: Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist ...
分类:
Web程序 时间:
2016-07-01 18:23:49
阅读次数:
252
Major .NET Core components: Base Class Libraries CoreCLR runtime and RyuJIT compiler Roslyn compiler CLI tools ...
分类:
Web程序 时间:
2016-07-01 18:20:05
阅读次数:
155
wgethttp://nginx.org/download/nginx-1.11.1.tar.gztarxfnginx-1.11.1.tar.gzcdnginx-1.11.1搭建yum环境,解决nginx需要的开发包挂载光盘mount/dev/cdrom/mntcd/etc/yum.repos.d/vimCentos_86x64.repo[base]name=Centos_86x64baseurl=file:///mnt/enabled=1gpgcheck=09.yumgro..
分类:
其他好文 时间:
2016-06-30 23:48:47
阅读次数:
295
Abstract base class for structures in native byte order. Concrete structure and union types must be created by subclassing one of these types, and at ...
分类:
编程语言 时间:
2016-06-29 20:23:28
阅读次数:
282
for($i=0;$i<100;$i++){//%4这个有多少台CDN就可以写多少,从0开始。echo(base_convert(md5(‘./p_w_picpath/‘.$i.‘.jpg‘),2,10)%4).‘</br>‘;}
分类:
Web程序 时间:
2016-06-29 15:59:12
阅读次数:
211
linux:存放yum源的位置:/etc/yum.repos.d/,该目录下全是一些yum源 一、网络yum源: 如图:下面全部都是yum源,后缀是".repo"都是合法的yum源,默认的是启动的CentOS-Base.repo这个yum源(网络yum源) 要使用CentOS-Base.repo这个 ...
分类:
系统相关 时间:
2016-06-29 12:55:50
阅读次数:
280
<html><head><base href="<%=basePath%>"><title>登陆页面</title> </head><body> //提交用户名密码到index.jsp<form action="index.jsp" name="form1" method="post" ><div ...
分类:
数据库 时间:
2016-06-29 12:52:14
阅读次数:
170