通过查看android源码目录下的build/envsetup.sh文件,可知:- m: Makes from the top of the tree.- mm: Builds all of the modules in the current directory.- mmm: Builds all...
分类:
移动开发 时间:
2014-09-28 19:33:54
阅读次数:
194
http://blog.csdn.net/smallfish1983/article/details/38078019照着上面那哥们写的,初学,不要吐血,基本功能实现了。root@ubuntu12:~/ansible/tornado#tree.├──templates│├──index.html│└──result.html└──test.pyroot@ubuntu12:~/ansible/tornado#cattest.py#c..
分类:
数据库 时间:
2014-09-28 18:53:17
阅读次数:
368
http://rfyiamcool.blog.51cto.com/1030776/1440624http://rfyiamcool.blog.51cto.com/1030776/1422263root@ubuntu12:~/ansible#vimongo.pyimportsysimportpymongoimportansible.runnerdeflog(res):conn=pymongo.Connection(host="localhost",port=27017)db=conn["ansible"]ift..
分类:
数据库 时间:
2014-09-28 18:51:37
阅读次数:
235
Drupal使用.info文件来保存关于主题(theme)和模块(modules)的基本数据(metadata)。图文中文详解Drupal 7模块中的.info文件。...
分类:
其他好文 时间:
2014-09-28 14:58:02
阅读次数:
220
1.检测Apache是否支持mod_rewrite 通过php提供的phpinfo()函数查看环境配置,通过Ctrl+F查找到“Loaded Modules”,其中列出了所有apache2handler已经开启的模块,如果里面包括“mod_rewrite”,则已经支持,不再...
分类:
Web程序 时间:
2014-09-26 12:42:19
阅读次数:
297
今天发现有bash漏洞,但我这里近1000台服务器,为了方便、省时间,觉得使用ansible安装bash更新包,下面分享一下我的安装方法。1、安装的playbook的内容19:00:03#cd/etc/ansible
root@ip-10-10-10-10:/etc/ansible
19:00:06#catupdate_bash.yml
---
-hosts:"{{host}}"
remote_u..
分类:
其他好文 时间:
2014-09-25 23:51:18
阅读次数:
327
1:系统是否识别网卡2:安装驱动加载对应模块使用lsmodmodprobe配合修改/etc/modprobe.conf[root@HC-PBX~]#modprobe-l|grep8139/lib/modules/2.6.18-238.el5PAE/kernel/drivers/net/8139cp.ko/lib/modules/2.6.18-238.el5PAE/kernel/drivers/net/8139too.ko驱动正常安装后都会存..
分类:
系统相关 时间:
2014-09-24 19:07:27
阅读次数:
285
apache去掉index.php1.编辑conf/httpd.conf配置文件 #LoadModule rewrite_module modules/mod_rewrite.so 把该行前的#去掉 同时对应Directory下要配置 AllowOverride All2.在 CI 根目录下(即.....
分类:
Web程序 时间:
2014-09-24 16:31:17
阅读次数:
175
由于工作需要最近需要将公司的多台linux服务器进行密码策略的设置,主要内容是增加密码复杂度。
操作步骤如下,不会的同学可以参考:
操作前需要掌握如下几个简单的知识点:(其实不掌握也行,不过学学没坏处)
PAM(Pluggable Authentication Modules )是由Sun提出的一种认证机制。它通过提供一些动态链接库和一套统一的API,将系统提供的服务 和该服务的认证方式分开...
分类:
系统相关 时间:
2014-09-24 05:44:45
阅读次数:
292
1.简介CentreonCLAPI是centreon命令行接口,可以替代在网页上的许多工作。命令行还是非常方便的。2.安装wgethttp://download.centreon.com/Modules/CLAPI/centreon-clapi-1.5.2.tar.gztar-axfcentreon-clapi-1.5.2.tar.gz-C/usr/local/src/cd/usr/local/src/centreon-clapi-1.5..
分类:
移动开发 时间:
2014-09-23 18:13:35
阅读次数:
286