1.导入jar包,ssh的jar包一共是38个,此时还需要多加一个包,就是struts的注解插件jar。2.在web.xml文件中配置struts
filter 和spring 的listener。代码如下: contextConfigLocation classpath:application.....
分类:
其他好文 时间:
2014-05-20 02:14:05
阅读次数:
260
摘自:1、http://www.lingcc.com/2013/03/22/12282/内容:1、基本命令: 了解基本的bash,通读整个bash man
page 学习vim 了解SSH,基本的无密码验证方式: 熟悉Bash中常用的任务管理命令 &,Ctrl-Z,Ctrl-C,jobs,fg,bg...
分类:
系统相关 时间:
2014-05-19 23:13:14
阅读次数:
522
Linux大棚版vimrc配置—V2.0版本,如下: [shell] $cat .vimrc “==
“Author :roc “Website:roclinux.cn “Version:2.0 “== “vim支持go语言 - 开始 “关闭文件类型检测功...
分类:
系统相关 时间:
2014-05-19 21:45:21
阅读次数:
496
背景:Mac 通过[终端]ssh登陆linux并且在Mac显示linux图形Mac 主机IP:
10.2.1.1linux 主机IP:
192.168.1.1说明:想要ssh访问并且显示linux主机图形,在这里,首先要使用XQuartz工具.其次要告诉linux主机将要把图形显示到哪里(DISPL...
分类:
系统相关 时间:
2014-05-19 11:32:06
阅读次数:
441
本文转载自【http://blog.csdn.net/utstarm/article/details/6536916】[ -a FILE ] 如果 FILE
存在则为真。 [ -b FILE ] 如果 FILE 存在且是一个块特殊文件则为真。 [ -c FILE ] 如果 FILE 存在且是一个字特...
分类:
其他好文 时间:
2014-05-19 10:48:40
阅读次数:
242
adduser 命令。LINUX创建用户的命令useradd -g test -d
/home/test1 -s /etc/bash -m test1注解:-g 所属组 -d 家目录 -s 所用的SHELL 删除用户命令userdel -r
test1创建密码命令passwd上面是最基本的操作这.....
分类:
系统相关 时间:
2014-05-19 08:54:34
阅读次数:
436
摘要:版本控制器是码农必备的工具,很多常用的,像svn,git,cvs等,工作中用过svn,Tortoisehg,firefly,其实大同小异,现在要用git,走高大上的路线,那么简单介绍下它的一些常用命令。在windows客户端安装
git_for_windows,在git的shell下,如:.....
分类:
其他好文 时间:
2014-05-18 20:14:48
阅读次数:
336
5.使用spring注解注入service,DAOaction:@ParentPackage(value =
"struts-default")@Namespace("/")@Controller@Scope("prototype")public class
BookAction extends A...
分类:
其他好文 时间:
2014-05-17 20:52:45
阅读次数:
218
scp ~/.ssh/id_rsa.pub
username@xxx.xx:~/.ssh/authorized_keys
分类:
其他好文 时间:
2014-05-17 19:35:01
阅读次数:
174
1. shell判断文件,目录是否存在或者具有权限 2. #!/bin/sh 3. 4.
myPath="/var/log/httpd/" 5. myFile="/var /log/httpd/access.log" 6. 7. # 这里的-x
参数判断$myPath是否存在并且是否具有可执行权限 ...
分类:
其他好文 时间:
2014-05-17 19:23:57
阅读次数:
267