项目环境准备 3.1虚拟机配置 版本选择 注意Linux操作系统。此次项目我选择的版本是Oracle Enterprise Linux 5.4 内存的设置 本人电脑物理内存8G,由于此次实验要开三台虚拟机,基于集群两台机需要的内存较大,故每台给2G,单实例做standby的给1.5G。 添加选择网卡 ...
分类:
数据库 时间:
2019-11-09 21:28:48
阅读次数:
102
今天写代码时,遇到一个问题,解决之后,然后想记录一下,于是就申请开通博客,本人是菜鸟,问题可能比较简单 using (SqlConnection con = getConnect()) { using (SqlCommand cmd = new SqlCommand(sql, con)) { if ...
MA308: Statistical Calculation and SoftwareAssignment 2 (Oct 9– Nov 6, 2019)2.1 For the “galton” dataset from Using R package,(a) What will be the con ...
分类:
其他好文 时间:
2019-11-08 19:16:57
阅读次数:
93
1.最简单的方式-mysql(面向过程) <?php $con = mysql_connect("localhost","root","password"); $select_db = mysql_select_db('test'); if (!$select_db) { die("could no ...
分类:
数据库 时间:
2019-11-07 15:16:25
阅读次数:
150
物理卷 -- Physical Volume -- PV 卷组 -- Volume Group -- VG 逻辑卷 -- Logical Volume -- LV 1、硬盘设备管理技术虽然能够有效的提高硬盘设备的读写速度以及数据的安全性,但是在硬盘分好区或者部署为 RAID 的磁盘阵列之后,再想修改 ...
分类:
其他好文 时间:
2019-11-07 13:36:13
阅读次数:
144
// Gm.cpp : 定义应用程序的入口点。 // #include #include "framework.h" #include "Gm.h" int BLACK_AI=0,WHITE_AI=1; int brd[361]; int broad[19][19]; int step=0; con... ...
分类:
其他好文 时间:
2019-11-05 13:50:14
阅读次数:
85
cookies本身在koa中即可直接设置和使用,不需要在安装中间件 //cookies的使用 const koa = require('koa'); var router = require('koa-router')(); var views = require('koa-views'); con ...
分类:
其他好文 时间:
2019-11-04 21:45:49
阅读次数:
104
逻辑卷管理器LVM ?将设备指定为物理卷 ? 用一个或者多个物理卷来创建一个卷组 ? 物理卷是用固定大小的物理区域(Physical Extent,PE)来定义的 ? 在物理卷上创建的逻辑卷是由物理区域(PE)组成 ? 可以在逻辑卷上创建文件系统 LVM: Logical Volume Manage ...
分类:
其他好文 时间:
2019-11-04 19:44:50
阅读次数:
112
public class BaseDao { /** 连接 */ protected Connection con; /** SQL语句对象 */ protected PreparedStatement ps; /** 结果集合对象 */ protected ResultSet rs; /** * ...
分类:
数据库 时间:
2019-11-04 19:24:39
阅读次数:
86
package com.sea.comon.utils; import java.text.MessageFormat; import org.springframework.beans.factory.InitializingBean; import org.springframework.con... ...
分类:
其他好文 时间:
2019-11-04 13:14:26
阅读次数:
615