Win7+ubuntu kylin+CentOS 6.5三系统安装图文教程 引言:原本机子上已经装好了win7+Ubuntu Kylin 由win7引导,而不是Ubuntu的grub引导的双系统(安装的方法是用EasyBCD引导的方式硬盘安装) ADD:win7 主引导还是Grub/grub2主引导...
#!/bin/bash
#author:
#date:2015-6-13
#filename:ip.sh
#############################
ifconfig_cmd=`whichifconfig`
$ifconfig_cmd>ifconfig.me
###################################
functionobtain_ip_information(){
ifgrep-q‘bond‘ifconfig.me
then
bond_name=`catif..
分类:
系统相关 时间:
2015-06-14 00:43:11
阅读次数:
222
简介一个类似于虚拟机的轻量级容器。
官方网址https://www.docker.com
官方有一个在线模拟环境:
https://www.docker.com/tryit/安装从官网介绍来看,它支持的操作系统非常多,基本许多我没见过的。
我的测试环境是Ubuntu Kylin 14.04需求推荐使用64-bit,kernel 最低3.10,可以使用 uname-r查看
我用的Ubun...
分类:
系统相关 时间:
2015-06-10 15:47:49
阅读次数:
187
这道题我们可以采用广度优先搜索的办法,在我看来实现起来要比深搜更好一些核心算法写为了bfs()函数 = =#include #include using namespace std;typedef struct{ int x; int y;}location;int n, dis;loc...
分类:
其他好文 时间:
2015-06-09 23:29:50
阅读次数:
118
1 边界和湖心小岛分别算一个节点,连接所有距离小于D的鳄鱼,时间复杂度O(N2)
2 判断每个连通图的节点中是否包含边界和湖心小岛,是则Yes否则No
3 冗长混乱的函数参数
#include
#include
#include
#include
using namespace std;
struct Coordinate
{
float x;
float...
分类:
其他好文 时间:
2015-06-03 09:52:39
阅读次数:
147
/***************************************************************************************************************************
**原创:http://blog.csdn.net/kylin_fire_zeng , 欢迎转载分享,共同进步,但请注明出处啊,尊重他人成果。
...
分类:
其他好文 时间:
2015-06-02 17:49:38
阅读次数:
621
场景:前提,交换机的配置由网络工程师配合!1、跨交换机做bond,模式为LACP,linux双网卡做bond4,模式为4;2、系统为centos7.0-123;3、服务器仅有两张万兆网卡,为eth0、eth1;4、网络用途:管理网172.168.16.0/24、存储网10.10.10.0/24;5、...
分类:
其他好文 时间:
2015-06-01 18:10:11
阅读次数:
769
一、测试环境在Ubuntu kylin 14.04 64bit已经安装Mysql、apache、Redis、php、lib_mysqludf_json.so、Gearman。
测试数据库及表参考:1、安装安装gearman-mysql-udfapt-get install libgearman-dev
wget https://launchpad.net/gearman-mysql-udf/tru...
分类:
数据库 时间:
2015-05-31 20:12:48
阅读次数:
253
1.优麒麟手机助手https://github.com/ubuntu-kylin/phone_manager2.http://forum.xda-developers.com/index.phphttp://forum.xda-developers.com/wiki/in ... =Main_Pag...
分类:
移动开发 时间:
2015-05-31 18:22:58
阅读次数:
132
Saving James Bond - Easy VersionAssume that the lake is a 100 by 100 square one. Assume that the center of the lake is at (0,0) and the northeast corn...
分类:
其他好文 时间:
2015-05-28 15:48:22
阅读次数:
167