1、nginx的安装和配置见:http://www.cnblogs.com/ll409546297/p/6795362.html 2、tomcat部署项目到对应的服务器上面并启动,不详解 3、在nginx中配置nginx.conf文件: 4、启动nginx就可以访问自己的项目 ...
分类:
其他好文 时间:
2017-05-02 15:23:41
阅读次数:
210
原文链接:http://www.ruanyifeng.com/blog/2013/04/processes_and_threads.html 进程(process)和线程(thread)是操作系统的基本概念。可是它们比較抽象,不easy掌握。 近期。我读到一篇材料,发现有一个非常好的类比,能够把它们 ...
分类:
编程语言 时间:
2017-04-27 16:18:07
阅读次数:
120
This guide provides an overview of the HDFS Federation feature and how to configure and manage the federated cluster.这篇文档包好了hdfs federation特点的概述和如何配置并 ...
分类:
其他好文 时间:
2017-04-22 20:43:47
阅读次数:
292
答案解析: large pool Optional area in the SGA that provides large memory allocations for backup and restore operations, I/O server processes, and session ...
分类:
其他好文 时间:
2017-04-22 09:23:54
阅读次数:
192
#!/bin/bash # # chkconfig: - 95 15 # description: Tomcat start/stop/status script #Location of JAVA_HOME (bin files) export JAVA_HOME=`echo $JAVA_HOME ...
分类:
其他好文 时间:
2017-04-21 16:30:45
阅读次数:
145
USE master; GO DECLARE @SQL VARCHAR(MAX); SET @SQL='' SELECT @SQL=@SQL+'; KILL '+RTRIM(SPID) FROM mastersysprocesses WHERE dbid=DB_ID('数据库名'); EXEC(@S ...
分类:
数据库 时间:
2017-04-19 00:36:08
阅读次数:
178
######Nginx配置文件nginx.conf中文详解######定义Nginx运行的用户和用户组user www www;#nginx进程数,建议设置为等于CPU总核心数。worker_processes 8; #全局错误日志定义类型,[ debug | info | notice | war ...
分类:
其他好文 时间:
2017-04-18 13:55:29
阅读次数:
218
错误日志可以在 nginx.conf 的全局配置(也就是main区块)中添加,也可以在不同虚拟主机配置文件中的全局配置中单独添加 语法:error_log file level; // error_log 是固定的关键字,file 是错误日志的存放路径,level 是日志等级 配置实例: ...
分类:
其他好文 时间:
2017-04-15 20:10:35
阅读次数:
253
一、改动Oracle会话及最大连接数 1、查看最大连接数 SQL> show parameter processes; NAME TYPE VALUE aq_tm_processes integer 0 db_writer_processes integer 3 gcs_server_process ...
分类:
数据库 时间:
2017-04-15 14:46:48
阅读次数:
201
user nobody; #启动进程,通常设置成和cpu的数量相等 worker_processes 1; #全局错误日志及PID文件 #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error ...
分类:
其他好文 时间:
2017-04-08 12:43:12
阅读次数:
320