-
Step 1 (ulimit): open the sysctl.conf and add this line fs.file-max = 65536
vi /etc/sysctl.confadd following at end of file in above file:
fs.file-max = 65536
save and exit.
| ๅๅธๅฐๅ: http://topic.csdn.net/u/20110113/19/b0d5d506-4307-428b-a61d-7974aa66a2da.html | |
| ้ฆๅ ่ฆ่ฏดๆ็ๆฏ๏ผ่ฟ้ไป็ป็ๆนๆณ้ฝๆฏๅคง้จๅๆฏๆฌไบบโๆโๅบๆฅ็๏ผๆไปฅ็ฝไธ้พๆๆตไผ ๏ผ | |
| ๅฅฝๆนๆณไธ่ฝ่ชๅทฑ็ง่๏ผๅฆๅๅฐฑ็ฝๅฟไน่ฟๅ ๅคฉไบ๏ผๅไบซ็ปๆ้่ฆ็ๆๅไปฌใๅฆๆๆ่ฝฌ่ฝฝ๏ผๆฌ่ฏทๆณจๆๆฅ่ช*CSDN่้*ไฝๅใ | |
| ๅตๅต๏ผ็ป่ชๅทฑๆๅนฟๅ๏ผๅฎๅจๆฏๆ ่ปไนๆ๏ผๆๅฝๆ ่ไนๆถๆๅญไน็จใ | |
| ๆฌข่ฟๆตไผ ๏ผไธบๆไผ็ง็ๅๅธๅผ็ๆฌ็ฎก็็ณป็ปGitๅๅฎฃไผ ๏ผ๏ผ | |
| ๆญฅ้ชค๏ผ | |
| 1. ไธ่ฝฝ๏ผhttp://loaden.googlecode.com/files/gitconfig.7z | |
| 2. ่งฃๅๅฐ๏ผ<MsysGitๅฎ่ฃ ็ฎๅฝ>/cmd/๏ผไพๅฆ๏ผD:\Program Files\Git\cmd |
| # Credit http://stackoverflow.com/a/2514279 | |
| for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r |
| # %W% %E% | |
| # | |
| # Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved. | |
| # | |
| # Version | |
| version=1 | |
| # Component Font Mappings |
| # | |
| # Add Google Analytics tracking code to HTML response | |
| # | |
| # Usage: | |
| # set $tracking_id 'UA-12345678-9'; | |
| # include incl/analytics.conf; | |
| # | |
| # It needs nginx compiled with option --with-http_sub_module. | |
| # Uses optimized GA code from: http://mathiasbynens.be/notes/async-analytics-snippet | |
| # |
| /** | |
| * Using Apache Common Bean Utils. | |
| */ | |
| import org.apache.commons.beanutils.BeanUtils; | |
| import java.util.HashMap; | |
| public class ApacheCommonExample throws IllegalAccessException, | |
| InvocationTargetException, NoSuchMethodException { | |
| public HashMap<String,Object> convert(Person person) { |
Picking the right architecture = Picking the right battles + Managing trade-offs
Though we're focused more on server setup procedure in this document, I will still give a very brief explanation in laymen terms for ELK. To those who are starting new in this stack, must have already heard of MVC (Model View Controller), so take it like this:
=> Elasticsearch (for Storage, Indexing & Search)=> Kibana (for DataViz & G-Man, yeah the one in half life ๐)=> Logstash (For Logs & Filtering)