自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(348)
  • 资源 (5)
  • 收藏
  • 关注

转载 linux 文件权限的管理

本文转载自:http://i.cn.yahoo.com/feng_lj1115/blog/p_376/  文件权限对于系统的安全具有不可估量的重要性,而文件权限直接与用户和用户组相关。那么,如何修改文件的权限呢?我们可以修改多少文件权限呢?其实,一个文件的权限很多。我们先介绍几个简单的,例如:用户组、拥有者、各种身份的权限等等。• chgrp:改

2009-08-25 13:57:00 1395

原创 linux 链接的使用 创建和删除符号连接

1 .使用方式:ln [option] source_file dist_file -f 建立时,将同档案名删除. -i 删除前进行询问. ln -s abc cde 建立abc 的软连接 ln abc cd

2009-08-25 13:27:00 79625 3

转载 samba配置

http://blog.csdn.net/yangjuniishz/archive/2008/10/22/3123274.aspxhttp://iamcaihuafeng.blog.sohu.com/119687701.html安装从samba的官方网站上下载samba的最新版本wget http://us3.samba.org/samba/ftp/samba-latest

2009-08-24 17:03:00 8818

原创 wget 最常使用方法(一)

 -c   --continue(断点续传) -r   --recursive(递归下载目录的所有内容)           Turn on recursive retrieving. -l    depth       --level=depth           Specify recursion maximum depth level depth.  The def

2009-08-24 15:09:00 1167

原创 windows用户管理命令的使用

    0, c:/net user -?           显示net user的用法               1, c:/net user         显示系统当前的用户               2, C:/>net user guest /active:yes       将的Guest用户激活   3,  添加,

2009-08-17 13:35:00 2712

转载 Redhat启动telnet服务的过程

1、检查是否安装telnet-server软件。rpm -q telnet-server.2、在redhat光盘中找到安装文件:telnet-server-0.17-25.i386.rpm,命令为:#rpm -i telnet-server-0.17-25.i386.rpm3、修改配置文件/etc/xinetd/telnet中disable字段改为no。4、启动服务#ntsysv或

2009-08-17 13:31:00 1306

转载 tar,gunzip,gzip,unzip和zgrep 命令的区别

<!-- @page { size: 21cm 29.7cm; margin: 2cm } P { margin-top: 0cm; margin-bottom: 0.21cm } -->1:tar  tar [-cxtzjvfpPN] 文档和目录....  参数:  -c:建立一个压缩文档的参数指令

2009-08-17 13:30:00 9823

转载 pkginfo、pkgadd和pkgrm命令的用法

软件包管理的命令:pkginfo、pkgadd和pkgrmpkginfo 查看当前操作系统已经安装的软件包。 # pkginfo | more application SUNWAxg Solaris XGL 3.3 AnswerBook application SUNWaadm Solaris 7 System Administrator Collectio

2009-08-17 13:13:00 7664 1

翻译 抽象类和接口的区别(之二)

When should you use an abstract class, when an interface,when both? Interfaces and abstract classes seemsuperficially to provide almost the same capability. How do you decide which touse?

2009-08-16 23:00:00 1195

原创 VMware虚拟磁盘空间过大如何进行回收

      vmware上的虚拟应为长期使用或者下载东西导致磁盘空间变大,物理磁盘已经没有多少空间,可是释放虚拟机上的磁盘并不能解决物理磁盘空间不足的问题。后来在网上找了可以使用vmware的tools实现虚拟磁盘shrink。 1,安装vmware-tool      首先选择vmware的菜单VM-Install VMware-Tools,等一会可以再linux的/media/VMware t

2009-08-11 10:33:00 19168

翻译 How to Write an Equality Method in Java(之三)Java中如何写equals()方法

                                          How to Write an Equality Method in Javaby Martin Odersky, Lex Spoon, and Bill Venners June 1, 2009 Summary This article

2009-08-10 16:28:00 2479

转载 Equals and Hash Code (之二)

IntroductionThe Java super class java.lang.Object has two very important methods defined in it. They are -public boolean equals(Object obj)public int hashCode()These methods

2009-08-10 16:11:00 1707

转载 ==, .equals(), compareTo(), and compare() (之一)

Equality comparison: One way for primitives, Four ways for objects相等比较:一种是基本,其他四种是对象的Comparison Primitives Objectsa == b, a != bEqual valuesCompares refe

2009-08-10 15:55:00 1816

翻译 Java Sorting: Comparator vs Comparable

     Java Comparators and Comparables? What are they? How do we use them? This is a question we received from one of our readers. This article will discuss the java.lang.Comparator and java.lang.Compa

2009-08-10 14:46:00 2172

转载 Abstract Class and Interface 抽象类与接口的区别

abstract Methods and Classes---抽象方法和抽象类    An abstract class is a class that is declared abstract,it may or may not include abstract methods. Abstract classes cannot be instantiated, but they ca

2009-08-10 10:47:00 1178

转载 static in Java

  Variables with static  variables can be declared with the static keyword. Example:static int y=0;When a variable is declared with the static keyword, its called a class variable. All

2009-08-10 10:22:00 646

转载 Difference between final. finally , and finalize() final, finally 和finalize区别

Final --- constant declaration.  常量声明   A final method or variable is one that cant be overridden, you can define a method as final within a class to ensure that any extesions to the class don

2009-08-08 23:05:00 963

翻译 卸载微软的拼音输入法

   方法1.注册表:“HKEY_USERS/.DEFAULT/Software/Microsft/Windows/currentVersion/Run”,看到一个键值名为ctfmon.exe,值为ctfmon.exe。把这个键值名改为“internat.exe”,值为“internat.exe”,重启。2.退出所以Office程序。3.在控制面板里,双

2009-08-07 11:11:00 783

原创 Linux 启动服务

/etc/init.d/xinetd restart service xinetd restart

2009-08-05 09:31:00 457

转载 fatal error C1010: unexpected end of file while looking for precompiled header directive

fatal error C1010: unexpected end of file while looking for precompiled header directive该如何解决 document.body.oncopy = function() { if (window.clipboardData) { s

2009-08-04 13:56:00 694

原创 测试Experience

project -build1,对于Restart    一定要执行两种,一个是取消后的restart,一个是全部执行完毕的restart(记得选择全部的steps) 2 Special register  测试special register    1,create a project     step0:          echo "warning..."

2009-07-22 15:37:00 777

原创 shell脚本的参数问题

一个简单例子para.sh#########################!/bin/sh#scriptname:paraecho "this script is call $0"echo "$0 $1 $2"echo "The number  of  positionalparameters is $#"echo "$* is the dollar

2009-07-13 16:44:00 1397

转载 chm 能打开目录,但不能显示正文

电子书能打开,但是右边窗口中显示的是“该页无法显示”,那么把下面的内容存为1.reg,然后双击导入注册表即可REGEDIT4[HKEY_LOCAL_MACHINESOFTWARE MicrosoftHTMLHelp][HKEY_LOCAL_MACHINESOFTWARE MicrosoftHTMLHelp1.xHHRestrictions]"MaxAllowedZone"=dw

2009-07-13 15:04:00 1455

原创 Windows关闭进程的命令

  一 windows提供了默认的进程管理工具可以参考这些命令的具体使用方法1,tasklist列出进程表2,taskkill可以进行进程的关闭操作 二  从Windows 2000开始,Windows系统就自带了一个用户态调试工具Ntsd,它能够杀掉大部分进程,因为被调试器附着的进程会随调试器一起退出,所以只要你在命令行下使用Ntsd调出某进程,然后退

2009-07-09 17:26:00 4226

原创 Linux修改主机名

1.# vi /etc/sysconfig/network NETWORKING=yes HOSTNAME=yourname //在这修改hostname NISDOMAIN=eng-cn.platform.com 2.修改/etc/hosts里面的名字 # vi /etc/hosts 127.0.0.1 localhost.localdomain localhost

2009-07-09 11:21:00 782

原创 Linux上安装Expect Windows上安装Expect

安装Expect需要安装tcl,这个在Expect的readme文件中有解释检查系统,是否已经安装tcl了。[root@rhel ~]# rpm -qa|grep tcltcl-8.4.13-3.fc6tclx-8.4.0-5.fc6因为expect需要重新编译后安装,那么就需要tcl的开发包。rpm -ivh --f

2009-07-09 10:51:00 5713 2

原创 shell文件存在的判断 shell数组

判断文件:    WORKDIR=/home/tmp    LOCAL_LIST_FILE=$WORKDIR/local.list    #if no local.txt file, generate a new one    if [ ! -f  "$LOCAL_LIST_FILE" ]; then      touch $LOCAL_LIST_FILE    f

2009-07-08 17:49:00 4474

转载 Expect 应用 简介

注意:摘自网上,并整合,如有侵权,请告知本人 我们通过Shell可以实现简单的控制流功能,如:循环、判断等。但是对于需要交互的场合则必须通过人工来干预,有时候我们可能会需要实现和交互程序如telnet服务器等进行交互的功能。而EXPect就使用来实现这种功能的工具。 Expect是一个免费的编程工具语言,用来实现自动和交互式任务进行通信,而无需人的干预。Expect的作者D

2009-07-06 14:15:00 2159

工业互联网联盟2.0架构.zip

工业互联网联盟 2.0架构, 全面概述了工业互联网联盟组织认识推荐的2.0架构。内含多张ppt图片,包含这个工业互联网应该包含的内容

2020-01-10

rest 测试工具

rest测试,非常方便,直接java -jar启动就行 , 各种rest 方法都支持

2019-04-29

linux中管道通信的例子,获取标准输出的内容

这是一个演示linux下线程之间如何进行通讯的例子,使用了管道技术。主要使用了popen函数

2008-12-09

eyedb 小型数据库源代码

最新开源的数据库,包括源代码和应用示例,是学习如何编写小型数据库的经典示例,整个代码不是很到,也可以作为文件系统示例学习

2008-09-27

tomcat+opemjms+mysql配置

tomcat和消息服务openjms的配置

2009-09-08

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除