2014年第一个脚本,哈哈!!! expect实现远程主机自动执行命令脚本:#!/usr/bin/expect --if { [llength $argv] < 4 } { puts "Usage: $argv0 ip user passwd port commands timeout" exit ...
分类:
其他好文 时间:
2014-07-06 16:23:01
阅读次数:
341
各种错误一大堆啊,走了一个又来一个,继续吧java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES) at com.mysql.jdbc.SQLError.createSQLExcept...
分类:
数据库 时间:
2014-07-06 15:16:53
阅读次数:
288
简述: UI (User Interface):用户界面 UE (User Experience):用户体验 ID (Interaction design):交互设计 UID (User Interface Design):用户界面设计 UED (User-Experience Desig...
分类:
其他好文 时间:
2014-07-06 14:18:04
阅读次数:
183
--用户(user)
SQL> --创建名叫 grace 密码是password 的用户,新用户没有任何权限
SQL> create user grace identified by password;
验证用户:
密码验证方式(用户名/密码)
外部验证方式(主机认证,即通过登陆的用户名)
全局验证方式(其他方式:生物认证方式、token方式)
优先级顺序:外部验证>密码验证
--权限(pri...
分类:
数据库 时间:
2014-07-06 12:11:19
阅读次数:
289
sudo lsof -i : 9000COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAMEjava 61342 a 313u IPv6 0x1111111111111 0t0 TCP *:cslistener (LISTEN)然后根据PID杀进程:sudo kill -9 61342...
分类:
其他好文 时间:
2014-07-06 11:40:03
阅读次数:
192
需要删除注册表: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\[.文件后缀]然后使用图标修复工具修复,例如使用360的工具:...
分类:
其他好文 时间:
2014-07-06 10:05:44
阅读次数:
286
Result学习笔记(三)带参数的结果集
第一部分:代码
//前端
Insert title here
传参数
//web.xml
/user_success.jsp?t=${type}
//类包
package com.struts2.user.act...
分类:
Web程序 时间:
2014-07-06 08:26:27
阅读次数:
222
这个函数是对 linux C函数 initgroups() 的包装 node.js 官方文档很含糊,还是看 linux C函数文档的解释!很清楚明白。
The initgroups() function uses the getgrouplist(3) function to calculate
the supplementary group IDs for the use...
分类:
其他好文 时间:
2014-07-05 22:52:21
阅读次数:
285
Nginx服务器nginx.conf的配置文件说明, 部分注释收集与网络.#运行用户user www-data;#启动进程,通常设置成和cpu的数量相等worker_processes 1;#全局错误日志及PID文件error_log /var/log/nginx/error.log;pid /va...
分类:
其他好文 时间:
2014-07-05 21:31:22
阅读次数:
183
user www www;worker_processes 2;error_log /usr/local/nginx/logs/nginx_error.log crit;pid /usr/local/nginx/logs/nginx.pid;#Specifies the valu...
分类:
其他好文 时间:
2014-07-05 20:48:19
阅读次数:
245