当我们在linux上, 使用yum 安装包时,报错如下: 这时我们需要安装EPEL EPEL,即Extra Packages for Enterprise Linux,这个软件仓库里有很多非常常用的软件,而且是专门针对RHEL设计的,对RHEL标准yum源是一个很好的补充,完全免费使用,由Fedor ...
分类:
其他好文 时间:
2016-11-20 06:21:22
阅读次数:
149
红黑树(一) 原理和算法详细介
1 R-B Tree简介
R-B Tree,全称是Red-Black Tree,又称为“红黑树”,它一种特殊的二叉查找树。红黑树的每个节点上都有存储位表...
分类:
编程语言 时间:
2016-11-19 13:34:17
阅读次数:
170
1.新建数组 对象形式 var arr = new Array() 3 或 “red","black" var arr = Array() 数组字面量 var arr = [] 2.转换方法 toString 返回数组中值的字符串与,拼接的字符串 valueOf 返回数组 3.栈方法 push() ...
分类:
编程语言 时间:
2016-11-19 12:12:13
阅读次数:
143
A.Anton and Danik Problems: 给你长度为N的,只含‘A’,'D'的序列,统计并输出何者出现的较多,相同为"Friendship" Analysis: lucky_ji: 水题,模拟统计A和D的数目比较大小输出结果即可 Tags: Implementation B.Anton ...
分类:
其他好文 时间:
2016-11-19 03:23:28
阅读次数:
262
KVM虚拟化(一)—— 介绍与简单使用 一、架构及介绍 KVM(Kernel-based Virtual Machine)它由 Quramnet 开发,该公司于 2008年被 Red Hat 收购; 自Linux 2.6.20后整合到内核,该内核模块使得 Linux 变成了一个 Hypervisor ...
分类:
其他好文 时间:
2016-11-18 18:30:53
阅读次数:
247
<head> <title>实例基本排版标记</title> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <body> <h1 align="center"><font size="5" color="red ...
分类:
其他好文 时间:
2016-11-18 17:58:30
阅读次数:
139
1,下载&安装 MongoDB 提供了centos yum安装方式。 参考:http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat/ pdf 手册: http://docs.mongodb.org/manual/Mongo ...
分类:
数据库 时间:
2016-11-18 06:25:23
阅读次数:
179
1. 准备 操作系统:Red Hat Enterprise Linux Server release 6.5 (Santiago) redis 安装包:redis-3.2.4.tar.gz 2. 安装 tar zxvf redis-3.2.4.tar.gz cd redis-3.2.4 mv red ...
分类:
系统相关 时间:
2016-11-17 19:36:31
阅读次数:
203
1. 准备 操作系统:Red Hat Enterprise Linux Server release 6.5 (Santiago) Python 安装包:Python-3.5.2.tgz 下载地址:https://www.python.org/downloads/ 2. 安装 tar zxvf Py ...
分类:
编程语言 时间:
2016-11-17 19:35:47
阅读次数:
172
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style> .a{ width: 100px; height: 100px; background: red; position: relative; top: ...
分类:
Web程序 时间:
2016-11-17 10:45:07
阅读次数:
193