一台机器部署多个Tomcat
more >>考虑到线上部署系统安全性,需要在同一台机器上部署多个Tomcat。一个系统一个Tomcat,这样更好的容灾机制,避免多米多骨牌效应。
重点:避免端口冲突
Capturing Life & Tech
思路:先分析各种手机品牌的请求头中user_agent的特点,总结出规律。然后用正则匹配来进行分类,并进行统计。最后在页面中实现可视化显示。
Tablet
1 | Mozilla/5.0 (Linux; Android android-version; product-model Build/product-build) AppleWebKit/webkit-version (KHTML, like Gecko) Silk/browser-version like Chrome/chrome-version Safari/webkit-version |
Desktop
1 | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/webkit-version (KHTML, like Gecko) Silk/browser-version like Chrome/chrome-version Safari/webkit-version |
Mobile
1 | Mozilla/5.0 (Linux; Android android-version; product-model Build/product-build) AppleWebKit/webkit-version (KHTML, like Gecko) Silk/browser-version like Chrome/chrome-version Mobile Safari/webkit-version |
Dear Miami,
more >>This has been an extremely emotional and tough decision to come to. After 13 years, I have decided to embark on a new journey with the Chicago Bulls. This was not an easy decision, but I feel I have made the right choice for myself and my family.
tag:
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia-plus根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true