Oracle软件本身是免费的,所以任何人都可以从Oracle官方网站下载并安装Oracle的数据库软件,收费的是License,即软件授权,如果数据库用于商业用途,就需要购买相应Oracle产品的License。现在Oracle有两种授权方式,按CPU(Process)数和按用户数(Named
Us...
分类:
数据库 时间:
2014-05-08 17:39:28
阅读次数:
439
apt-get install sambalibpam-smbpass然后编辑vi
/etc/samba/smb.conf增加[djyk]guest
ok=nobrowseable=nopath=/home/djykwritable=yesvalid users=djyk挂载samba是mount ...
分类:
其他好文 时间:
2014-05-08 17:36:33
阅读次数:
280
Sencha removed the refreshFn from the pullrefresh plugin in ST 2.2. Here is an user extension with gives the old
functionality back to you.
/**
* This user extension gives st 2.3.0 Pullrefresh the...
分类:
其他好文 时间:
2014-05-08 16:15:05
阅读次数:
390
在我的项目中,一开始我使用这种方式构造图片路径,然后将其设置到JFrame中即可以显示自定义图标
String imagePath = System.getProperty("user.dir") + "/image/icon.png";// 构造图片的路径
Image imageIcon = Toolkit.getDefaultToolkit().getImage(imagePath);
...
分类:
系统相关 时间:
2014-05-08 15:56:22
阅读次数:
462
1,创建一个user表,包含两列name,phone
2,用python(你喜欢的任何语言)插入100W条记录(lz的笔记本比较老,大概用了1分钟吧):
#!/usr/bin/env python
# -*- coding:utf-8 -*-
import MySQLdb
conn = MySQLdb.connect(host='localhost',user='root',db='mi...
分类:
数据库 时间:
2014-05-08 15:52:43
阅读次数:
393
表结构如下:mysql> show create table
user\G;*************************** 1. row *************************** Table:
userCreate Table: CREATE TABLE `user...
分类:
数据库 时间:
2014-05-08 15:15:51
阅读次数:
416
Foreword Need to remove a batch of VMs, which
named with same prefix or belong to same Cloud Service. After remove VMs, should
automatically remove re...
分类:
其他好文 时间:
2014-05-08 09:18:56
阅读次数:
265
在Linux系统中,有一个很重要的目录——/usr目录。关于这个目录名称的由来,网上主要有下面几种说法:user的缩写User Shareable
Read-only的缩写Unix/User System Resources的缩写Unix/User Software Resources的缩写目前大多...
分类:
系统相关 时间:
2014-05-08 09:07:43
阅读次数:
347
hive 中的union all是不能在sql语句的第一层使用的,否则会报Top level
UNION is not supported currently 错误;例如如下的方式:select id,name from user where type
= 1union allselect id,n...
分类:
其他好文 时间:
2014-05-08 07:17:42
阅读次数:
420
DNS案例一:域名:abc.comdns服务器:192.168.2.100www:1.1.1.1ftp:2.2.2.2mail:3.3.3.3pop3smtpMX①安装准备mount/dev/cdrom/media/cdrom/cd/media/cdrom/Packages/llbind*yum--disablerepo=\*--enablerepo=c6-mediainstallbindbind-chrootbind-utilscd/var/named/chroot/该目..