集成TFS时需要在TFS服务器执行 tfssecurity /g+ "Team Foundation Service Accounts" n:ALM\rmtfsint ALLOW /server:http://localhost:8080/tfs 遇到这么几个问题1.tfssecurity在TFS....
分类:
其他好文 时间:
2014-09-19 19:12:05
阅读次数:
175
之前整过CentOS,整了Ubuntu才发现,Ubuntu简单多了~~不知道性能相比又如何。
以Ubtuntu 14.04为例,记录一下搭建流程。
一、SSH服务器
第一件事当然是ssh,默认安装后vi /etc/ssh/sshd_config,修改配置文件。
修改/etc/host.allow
sshd: 192.168.1. , 192.168.0. : allow
...
分类:
Web程序 时间:
2014-09-18 23:52:28
阅读次数:
386
crontab用法:crontab[-uuser]filecrontab[-uuser]{-l|-r|-e}-l:显示crontab文件内容。-e:利用vim编辑用户crontab文件。-i:删除用户crontab文件前确认提示。-r:从crontab目录中删除用户crontab文件。(crontab-ri)-uuser:指定使用者。/etc/cron.deny:该文件内的用户不允许使..
分类:
其他好文 时间:
2014-09-16 10:55:21
阅读次数:
181
首先引用JDK API中关于LinkedList的一句说明:"These operations allow linked lists to be used as a stack, queue, or double-ended queue."由此,可以得知,使用LinkedList可以轻松的实现栈和队...
分类:
其他好文 时间:
2014-09-13 17:13:05
阅读次数:
263
ubuntu下关闭和开启防火墙
1、ubuntu默认的是UFW防火墙,已经支持界面操作了。
在命令行运行ufw命令就可以看到提示的一系列可进行的操作。
启用
sudo ufw enable
sudo ufw default deny
运行以上两条命令后,开启了防火墙,并在系统启动时自动开启。关闭所有外部对本机的访问,但本机访问外部正常。
2、开启/禁用
...
分类:
其他好文 时间:
2014-09-12 22:10:04
阅读次数:
221
只需要把/etc/pam.d/vsftpd文件中的auth required pam_listfile.so item=user sense=deny file=/etc/vsftpd/ftpusers onerr=succeed这一句注释掉就OK了。前面加一个#好重启vsftpd服务。问题解决。
分类:
其他好文 时间:
2014-09-12 20:31:03
阅读次数:
173
搜索 formnovalidate然后改成这种,也就是if中间注释 // allow suppressing validation by adding the html5 formnovalidate attribute to the submit button...
分类:
Web程序 时间:
2014-09-12 10:07:43
阅读次数:
197
sudo npm install -g bowersudo npm install -g meaniosudo bower cache clean --allow-rootsudo mean init myAppcd myApp && sudo npm installsudo bower insta...
分类:
其他好文 时间:
2014-09-11 20:45:32
阅读次数:
206
首先my sql有个配置文件 my.ini,该文件在mysql的安装包中。1.在该文件中可以设置mysql的最大连接数,# The maximum amount of concurrent sessions the MySQL server will# allow. One of these con...
分类:
数据库 时间:
2014-09-11 16:43:02
阅读次数:
261
脚本目的:自动捕捉锁定恶意链接的ip,将其加入到hosts.deny思路:运用命令lastb找出近期拒绝的访问,过滤出其ip位,用输出重定向加入到/hosts.deny设置自动运行。编写过程发现问题:1.使用lastb时会发现lastb的输出会有首行和空白为将其滤除,所以选择用grep命令只将带有IP段..
分类:
其他好文 时间:
2014-09-10 19:46:01
阅读次数:
279