[root@bgw-t ~]# cat > /etc/modprobe.d/ipv6.conf > /etc/sysconfig/network
分类:
其他好文 时间:
2014-06-18 19:56:23
阅读次数:
137
把 c 编译成 arm 指令的可执行文件
/usr/bin/arm-linux-gnueabi-g++ hello.cpp
cat hello.cpp
#include
void crash(){
char *a=0;
*a=0;
}
int main()
{
printf("hello world\n");
crash();...
分类:
数据库 时间:
2014-06-18 06:50:45
阅读次数:
424
DDL Setup Steps
SQL> grant execute on utl_file to ggs;
Grant succeeded.
Create GLOBALS file
[oracle@zwc ~]$ cd /ggs/
[oracle@zwc ggs]$ cat GLOBALS
GGSCHEMA GGS
run marker_s...
分类:
数据库 时间:
2014-06-17 23:24:30
阅读次数:
534
Problem Description
FatMouse prepared M pounds of cat food, ready to trade with the cats guarding the warehouse containing his favorite food, JavaBean.
The warehouse has N rooms. The i-th room con...
分类:
其他好文 时间:
2014-06-17 22:47:38
阅读次数:
300
系统# uname -a # 查看内核/操作系统/CPU信息# head -n 1 /etc/issue # 查看操作系统版本# cat /proc/cpuinfo # 查看CPU信息# hostname # 查看计算机名# lspci -tv # 列出所有PCI设备# lsusb -tv # 列出...
分类:
系统相关 时间:
2014-06-17 20:37:32
阅读次数:
370
实验环境:10.0.0.9:分发服务器(用于保存SSH生成的密钥和后期的文件的分发工作)10.0.0.10、10.0.0.11:节点服务器(用于保存SSH生成的公钥文件和接收分发服务器的文件)#分发服务器与节点服务器的系统版本与内核如下
[root@C58/]#cat/etc/redhat-release
CentOSrelease5.8(F..
分类:
其他好文 时间:
2014-06-17 17:16:02
阅读次数:
459
col-b<file>newfile例:manbash>file此时,如果你用cat来查看file文件,显示结果是正常的,但如果你用vi来查看时,你会发现里面有很多奇怪的字符,那都是些不可见字符,要怎么消灭这些字符呢?没错,你只需运行最上面那行命令即可。
分类:
系统相关 时间:
2014-06-17 17:00:31
阅读次数:
282
对于linux系统硬件信息的查看,主要针对cpu、memory、disk,以及网卡,每一种硬件的信息通常会有多种查看方法。1.cpu查看/proc/cpuinfo文件可查看cpu的详细信息。[root@primary_server~]#cat/proc/cpuinfo
vendor_id :GenuineIntel
cpufamily :15
model :4
modelname :Intel(..
分类:
系统相关 时间:
2014-06-16 18:03:26
阅读次数:
525
环境说明:[root@dbhtml]#uname-a
Linuxdb2.6.32-358.el6.x86_64#1SMPFriFeb2200:31:26UTC2013x86_64x86_64x86_64GNU/Linux
[root@dbhtml]#cat/etc/redhat-release
CentOSrelease6.4(Final)lvs安装部署:1、查看内核模块是否支持lsmod|grepip_vs#发现没有2、安装wgethttp://www..
分类:
其他好文 时间:
2014-06-16 16:49:23
阅读次数:
326
linux查看硬件和系统信息的相关命令简介<转>[root@yufei~]#uname-a#查看内核/操作系统/CPU信息的linux系统信息命令[root@yufei~]#head-n1/etc/issue#查看操作系统版本,是数字1不是字母L[root@yufei~]#cat/proc/cpuinfo#查看CPU信息的linux系统信息命令[root@yufei~]#hos..
分类:
系统相关 时间:
2014-06-16 15:47:51
阅读次数:
339