1.以ROOT登录2.检查RAM和swap3.软件binutilscompat-libstdc++elfutils-libelfelfutils-libelf-develelfutils-libelf-devel-staticgccgcc-c++glibcglibc-commonglibc-develglibc-headerskernel-headerskshlibaiolibaio-devellibgcclibgcclibstdc++libstdc++-develmakesysstatuni..
分类:
数据库 时间:
2014-05-05 12:41:22
阅读次数:
369
移植MT7601Uusb无线网卡(小度wifi,360随身WIFI 2代)到嵌入式板上...
分类:
系统相关 时间:
2014-05-04 18:50:16
阅读次数:
653
很多时候我们会出现如下情境,如果一条数据在表中已经存在,对其做update,如果不存在,将新的数据插入.如果不使用Oracle提供的merge语法的话,可能先要上数据库select查询一下看是否存在,然后决定怎么操作,这样的话需要写更多的代码,同时性能也不好,要来回数据库两次.使用merge的话则可以一条SQL语句完成.
1)主要功能
提供有条件地更新和插入数据到数据库表中
如果该行存在...
分类:
数据库 时间:
2014-05-04 18:48:52
阅读次数:
527
在memory.c里面有这么一段代码。为了其中的一句话,让我内牛满面啊!
dir = (unsigned long *) ((from>>20) & 0xffc)
int free_page_tables(unsigned long from,unsigned long size)
{
unsigned long *pg_table;
unsigned long...
分类:
系统相关 时间:
2014-05-04 18:22:41
阅读次数:
459
#define PAGE_SIZE 4096
/* these are not to be changed without changing head.s etc */
#define LOW_MEM 0x100000
extern unsigned long HIGH_MEMORY;
#define PAGING_MEMORY (15*1024*1024)
#define PAGING_PAG...
分类:
系统相关 时间:
2014-05-04 18:15:51
阅读次数:
441
网上有很多SQL连接方式的登录验证,但没有oracle连接方式的,我摸索了一上午写了这个可执行的函数,分享给大家
// 用户登录检查
public bool LoginCheck(string f_LoginName, string f_LoginPass)
{
bool result = false;
// 正则表达式检查
if (Regex.IsMatch(f_LoginN...
分类:
Web程序 时间:
2014-05-04 18:12:46
阅读次数:
323
12、命令行启动
由于我是用VM进行安装的,所以首先需要修改默认启动为命令行的方式。
使用root登录,编辑/etc/inittab文件,将d:5:initdefault:改为d:3:initdefault:
知识点6:Linux的运行级别
# 0 - 停机(千万不能把initdefault 设置为0)
# 1 - 单用户模式 # s init s = init 1
# 2 - 多...
分类:
数据库 时间:
2014-05-04 18:09:26
阅读次数:
407
MySql数据库是有瑞典MySql AB公司开发,现在该公司被Oracle收购属于Oracle所有。同SQL Server类似,它也是基于关系型数据库的数据库管理系统,在Web应用方面MySQL是最好的RDBMS之一,因为它属于轻量级的RDBMS...
分类:
数据库 时间:
2014-05-04 18:05:12
阅读次数:
565
中文版显示:Firefox 已经在运行,但是没有响应。如要打开新窗口,您必须先关闭该 Firefox 进程,或者重新启动您的系统。
英文版显示:Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or ...
分类:
系统相关 时间:
2014-05-04 17:44:21
阅读次数:
647