时间同步ntpdatetime.nist.gov安装Zabbix官方yum源rpm-ivhhttp://repo.zabbix.com/zabbix/2.2/rhel/6/x86_64/zabbix-release-2.2-1.el6.noarch.rpm安装zabbix客户端yuminstall-yzabbixzabbix-agent关闭防火墙[root@VM3~]#chkconfigiptablesoff[root@VM3~]#serviceiptablesstop..
                            
                            
                                分类:
系统相关   时间:
2014-09-12 17:24:34   
                                阅读次数:
328
                             
                    
                        
                            
                            
                                第一次接触java web开发,花费了一天半的时间,写了个简单的登录页面,以此文为记。开发工具Eclipse Luna Release (4.4.0) 已集成maven,maven目前的体会就是管理各种依赖jetty为maven提供的一个插件,类似tomcatstruts2框架,MVC,action...
                            
                            
                                分类:
数据库   时间:
2014-09-12 16:52:34   
                                阅读次数:
308
                             
                    
                        
                            
                            
                                epel简介: https://fedoraproject.org/wiki/EPEL/zh-cn 1. rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm 粗体部分需要根据自己的的环境...
                            
                            
                                分类:
其他好文   时间:
2014-09-12 16:39:33   
                                阅读次数:
205
                             
                    
                        
                            
                            
                                1.首先下载Eclipse,下载地址http://mirrors.neusoft.edu.cn/eclipse/technology/epp/downloads/release/luna/R/eclipse-jee-luna-R-win32.zip 2.下载Weblogic?Server?Tools?For?Eclipse插件,(访问地址:h...
                            
                            
                                分类:
Web程序   时间:
2014-09-12 15:30:34   
                                阅读次数:
373
                             
                    
                        
                            
                            
                                1.安装epel;[root@cobbler-serverapps]#wgethttp://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
[root@cobbler-serverapps]#rpm-ivhepel-release-6-8.noarch.rpm2.安装cobbler相关服务;[root@cobbler-serverapps]#yuminstall-ycobblerhttpdtftp-se..
                            
                            
                                分类:
其他好文   时间:
2014-09-12 15:29:25   
                                阅读次数:
300
                             
                    
                        
                            
                            
                                Android4.4 fence机制分析
 在任何一个系统中,无可避免的都会跟各种buffers打交道,最经典的模式就是消费-生产者模式,一个独立的buffer在它们之间的交换等操作都需要一个机制来控制每个buffer的“生命周期”,即ALLOCATION
和 RELEASE ,此外还要考虑到同步性问题,什么时候可以read buffer和write buffer都需要听从调遣。
  在an...
                            
                            
                                分类:
移动开发   时间:
2014-09-12 15:13:43   
                                阅读次数:
325
                             
                    
                        
                            
                            
                                //DLog代替NSLog//debugMethod() 代替 NSLog(@"%s", __func__)//DLog在release下不会输出#ifdef DEBUG# define DLog(fmt, ...) NSLog((@"[文件名:%s]\n" "[函数名:%s]\n" "[行号:%d...
                            
                            
                                分类:
移动开发   时间:
2014-09-12 14:52:03   
                                阅读次数:
194
                             
                    
                        
                            
                            
                                今天第一次对数组越界问题有了深切的感受,数组越界如果在Release版本中运行也不会报错,如果是Debug版本的话,若直接通过常量数值引用数组下标会被检测到数组越界,若通过变量引用数组下标也是不会被检测到的!!!测试下面的代码, 1 #include 2 3 int main(void) 4 {.....
                            
                            
                                分类:
其他好文   时间:
2014-09-11 22:11:12   
                                阅读次数:
165
                             
                    
                        
                            
                            
                                redhat识别ntfs的u盘需要ntfs-3g:需要epel源(或者自己查找源码编译安装)wgethttp://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-1.noarch.rpmyuminstallepel-release-7-1.noarch.rpmyumrepolistyuminstallntfs-3g先用lsblk查看自己的u盘在哪个分区mkdir/mnt..
                            
                            
                                分类:
其他好文   时间:
2014-09-11 17:29:42   
                                阅读次数:
237
                             
                    
                        
                            
                            
                                Encounted such error in VS after I update the xamarin at Mac side.Here is the solution for u to reference: Open VS ->Tools->Options->Xamarin->IOS Sett...
                            
                            
                                分类:
移动开发   时间:
2014-09-11 15:08:52   
                                阅读次数:
320