cd /var/tmp/configuration/playbooks && sudo ansible-playbook -c local ./edx_sandbox.yml -i "localhost," --start-at-task="TASK: [mongo | Install mongo ...
分类:
其他好文 时间:
2016-07-21 00:48:23
阅读次数:
278
Nginx's architecture The HTTP core module The server Logging Finding files Name resolution Client interaction Using limits to prevent abuse Restrictin ...
分类:
Web程序 时间:
2016-07-10 16:39:00
阅读次数:
192
http://blog.csdn.net/kumu_linux/article/details/8301760 http://blog.csdn.net/kumu_linux/article/details/8301760 当前shell下更改用户可打开进程数 修改limits.conf配置文件生效 ...
分类:
其他好文 时间:
2016-07-06 18:23:36
阅读次数:
175
Repository size limits By Justen Stepka, Product Manager on May 30, 2014 In order to improve and maintain the overall performance for everyone who use ...
分类:
其他好文 时间:
2016-07-04 20:33:46
阅读次数:
163
一、部署软件pc1、pc2、pc3分别安装mongodb,操作如下:[root@pc1~]#tail/etc/security/limits.confmongodsoftnproc40000*hardnofile1000000*softnofile1000000*softcoreunlimited*softstack10240*-nofile65535push-nproc65535push-nofile320000work-nproc10000[root@pc1~]#tai..
分类:
数据库 时间:
2016-07-01 16:34:10
阅读次数:
282
什么时候使用Service: @、任何与用户界面无关的操作,可移到后台线程,然后由一个Service来控制这个线程。 服务类型: @、First is the one that performs work for the application independent of the user’s i ...
分类:
移动开发 时间:
2016-06-30 18:18:14
阅读次数:
258
多屏幕 @、Android 4.2 开始支持多屏幕。 @、举例: public class SecondDisplayDemo extends Activity { private Presentation mPresentation; @Override protected void onCrea ...
分类:
移动开发 时间:
2016-06-30 17:55:12
阅读次数:
293
User Stories: @、通过写故事来设计应用。 @、每个故事只关注一件事。 @、不同的故事可能使用相同的组件,因此尽早地对故事进行分类。 @、把目标用户构想到故事里,描述他们的基本特征,会在什么时候、什么地点使用该应用等信息,因此来确定故事的优先级。 Android UI Design: @ ...
分类:
移动开发 时间:
2016-06-22 17:13:37
阅读次数:
171
Android Components: @、Activity、Services、BroadcastReceivers、ContentProviders、Application。 @、Activity 1、 负责user interface。 2、 Android 3.0(Honeycomb)开始,使 ...
分类:
移动开发 时间:
2016-06-21 20:42:17
阅读次数:
281
1打开文件句柄数:在/etc/security/limits.conf文件尾添加*softnofile65535*hardnofile65535*softnproc65535*hardnproc65535./etc/security/limits.conf2关闭selinux/etc/selinux/configSELINUX=disabled3优化内核:/etc/sysctl.confnet.ipv4.ip_local_port_range=102465000net..
分类:
系统相关 时间:
2016-06-21 11:05:05
阅读次数:
178