linux编程中,如果用到计时,可以用struct timeval获取系统时间。struct timeval的函数原型如下: struct timeval { __kernel_time_t tv_sec; /* seconds */ __kernel_suseconds_t tv_usec; /*...
分类:
其他好文 时间:
2014-07-10 14:30:22
阅读次数:
334
https://www.kernel.org/ 源码地址http://www.centos.org/download/ 系统地址http://www.collab.net/downloads/subversion SVN 服务端下载http://mysql.llarian.net/Downloads...
分类:
系统相关 时间:
2014-07-10 13:51:04
阅读次数:
378
DR模式中LVS主机与实际服务器都有一块网卡连在同一物理网段上。IP分配VIP:10.10.3.170RIP1:10.10.3.140RIP2:10.10.3.1411、安装所需的依赖包yum install -y wget make kernel-devel gcc gcc-c++ libnl* ...
分类:
其他好文 时间:
2014-07-10 13:35:54
阅读次数:
597
1,设置A机时间服务器: a,修改 /etc/ntp.conf,如下: # Undisciplined Local Clock. This is a fake driver intended for backup# and when no outside source of synchroniz.....
分类:
系统相关 时间:
2014-07-10 12:15:56
阅读次数:
253
一、简介VS/NAT原理图:二、系统环境实验拓扑:系统平台:CentOS 6.3Kernel:2.6.32-279.el6.i686LVS版本:ipvsadm-1.26keepalived版本:keepalived-1.2.4三、安装0、安装LVS前系统需要安装popt-static,kernel-...
分类:
其他好文 时间:
2014-07-10 12:10:18
阅读次数:
206
1.http://www.kernel.org,linux内核(源码)下载2.http://www.oldlinux.org/index_cn.html,《Linux内核0.11(0.95)完全注释》3.书籍列表:101-深入理解Linux内核(第三版 英文版)-1030页.pdf102-深入分析L...
分类:
系统相关 时间:
2014-07-07 20:26:59
阅读次数:
333
1、在工程上添加hibernate支持,导入相关包,修改配置文件为如下:hibernate.cfg.xml文件 com.mysql.jdbc.Driver jdbc:mysql://localhost...
分类:
系统相关 时间:
2014-07-07 19:15:11
阅读次数:
281
First step: I have to make the wireless ethernet card start to work for my Lenovo W520 with Debian installed. Initially, I installed the package firmw...
分类:
其他好文 时间:
2014-06-30 13:47:42
阅读次数:
257
Originally, I installed an Ubuntu using Wubi on my company's laptop (Lenovo W520). One purpose is for fun, the other is to use some instant messengers...
分类:
其他好文 时间:
2014-06-30 12:26:40
阅读次数:
326
public static final String DRIVER = "com.mysql.jdbc.Driver";
public static final String URL = "jdbc:mysql://localhost:3306/easyui";
public static final String USERNAME = "root";
public static final String PASSWORD = "root";
/**
* 获得Connection
*
*...
分类:
数据库 时间:
2014-06-29 22:20:55
阅读次数:
278