摘要:nginx的error.log日志报错: 2018/01/25 11:55:22 [emerg] 3380#15488: bind() to 0.0.0.0:20003 failed (10013: An attempt was made to access a socket in a way fo
阅读全文
摘要:1、nginx -V 2、ps -ef|grep nginx
阅读全文
摘要:转自:http://man.linuxde.net/ssh ssh命令 网络安全 ssh命令 网络安全 ssh命令是openssh套件中的客户端连接工具,可以给予ssh加密协议实现安全的远程登录服务器。 语法 ssh(选项)(参数) 选项 -1:强制使用ssh协议版本1; -2:强制使用ssh协议版
阅读全文
摘要:转自:http://blog.chinaunix.net/uid-28559065-id-4145820.html linux /etc/hosts文件作用 分类: LINUX linux /etc/hosts文件作用 1. 关于/etc/host,主机名和IP配置文件 Hosts : The st
阅读全文
摘要:Linux通过PID查看进程完整信息 [root@gsidc-4q-saas23 ~]# netstat -anp|grep 8282tcp 0 0 :::8282 :::* LISTEN 16923/java [root@gsidc-4q-saas23 ~]# ps -ef|grep 16923r
阅读全文
摘要:转自:https://www.cnblogs.com/knowledgesea/p/5175711.html 官网地址:http://nginx.org/en/docs/stream/ngx_stream_core_module.html Nginx配置详解 序言 Nginx是lgor Sysoev
阅读全文
摘要:转自:http://blog.csdn.net/happydream_c/article/details/54943802 一.nginx简介 Nginx (发音为[engine x])专为性能优化而开发,其最知名的优点是它的稳定性和低系统资源消耗,以及对并发连接的高处理能力(单台物理服务器可支持3
阅读全文
摘要:转自:http://www.linuxidc.com/Linux/2015-03/115207.htm 如果Nginx没有仅仅只能代理一台服务器的话,那它也不可能像今天这么火,Nginx可以配置代理多台服务器,当一台服务器宕机之后,仍能保持系统可用。具体配置过程如下: 1. 在http节点下,添加u
阅读全文
摘要:nginx.conf配置如下: #user nobody;worker_processes 1; #error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info; #pid logs/
阅读全文
摘要:转自:http://www.ttlsa.com/linux/nginx-modules-ngx_http_access_module/ 单看nginx模块名ngx_http_access_module,很多人一定很陌生,但是deny和allow相比没一个人不知道的,实际上deny和allow指令属于
阅读全文
摘要:命令: /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf 、、、、、、、、、、、 [root@localhost sbin]# ps -ef|grep nginxroot 23957 1 0 15:30 ? 00:00:0
阅读全文
摘要:@RequestMapping(value = "loginInSSO", method = RequestMethod.GET) public String loginInSSO(Cookyjar cookyjar, HttpServletRequest request, @Param("data
阅读全文
摘要:alter table pay_company add sms_code2 varchar(16) CHARACTER SET UTF8 COLLATE utf8_general_ci DEFAULT null;
阅读全文
摘要:转自:http://blog.csdn.net/hongqishi/article/details/7428380 利用request.setCharacterEncoding("UTF-8");来设置Tomcat接收请求的编码格式,只对POST方式提交的数据有效,对GET方式提交的数据无效! 在c
阅读全文
摘要:Start NettyClient /172.20.11.52 connect to the server /172.20.11.52:20881, dubbo version: 2.5.3, current host: 172.20.11.52 [root@application3 conf]#
阅读全文
摘要:转自:https://www.cnblogs.com/hindy/p/7249234.html LINUX中如何查看某个端口是否被占用 之前查询端口是否被占用一直搞不明白,问了好多人,终于搞懂了,现在总结下: 1.netstat -anp |grep 端口号 如下,我以3306为例,netstat
阅读全文
摘要:Will not attempt to authenticate using SASL (unknown error) 转自:http://blog.csdn.net/mo_xingwang/article/details/51910000 搭建Dubbo Server的时候出现“Will not
阅读全文
摘要:mybatis设置数据库连接的密码不需要加密:在数据库连接配置处加上:<property name="connectionProperties" value="config.decrypt=false"/>在 <!-- 数据源配置, 使用应用中的Druid数据库连接池 --><bean id="da
阅读全文
摘要:输入:nginx -V 输出:configure arguments: --prefix=/usr/local/nginx
阅读全文
摘要:<groupId>com .sms</groupId><artifactId>sms </artifactId><packaging>pom</packaging><version>1.0-SNAPSHOT</version><modules> <module> protocol</module>
阅读全文
摘要:转自:https://www.cnblogs.com/smileLuckBoy/p/5801678.html 近期在捯饬spring的注解,现将遇到的问题记录下来,以供遇到同样问题的童鞋解决~ 先说明下场景,代码如下: 有如下接口: 同时有下述两个实现类 EmployeeServiceImpl和Em
阅读全文
摘要:转自:https://jingyan.baidu.com/article/642c9d34dcba80644a46f72d.html linux删除目录很简单,很多人还是习惯用rmdir,不过一旦目录非空,就陷入深深的苦恼之中,现在使用rm -rf命令即可。直接rm就可以了,不过要加两个参数-rf
阅读全文
摘要:转自:http://blog.csdn.net/loongshawn/article/details/50496460 转载请注明来源-作者@loongshawn:http://blog.csdn.net/loongshawn/article/details/50496460 1. Mybatis
阅读全文
摘要:create table user_login_latest( id int(11) unsigned NOT NULL AUTO_INCREMENT, user_id int(11) not null COMMENT '用户id', user_name VARCHAR(36) not null C
阅读全文