网络拓扑结构操作系统为centos7.31.所有主机RS1、RS2、DS1、DS2都开apache服务器,RS1、RS2都用来测试web服务器的,DS1、DS2是用来做sorry服务器的。2.所有服务器都时间同步3.在DS上开vrrpDS1上配置!ConfigurationFileforkeepalivedglobal_defs{notification_email{root@localh..
分类:
其他好文 时间:
2017-05-15 22:41:35
阅读次数:
283
SQL Server 2008配置邮件的过程就不写了,网上的案例太多了。 http://www.cnblogs.com/woodytu/p/5154526.html 这个案例就不错。 主要写下配置完后的错误处理: 数据库邮件故障微软官网: 1. sql server 2008 阻止了对组件‘Data ...
分类:
数据库 时间:
2017-05-12 17:29:43
阅读次数:
237
pendingIntent字面意义:等待的,未决定的Intent。 要得到一个pendingIntent对象,用法类的静态方法 getActivity(Context, int, Intent, int), getBroadcast(Context, int, Intent, int), getSe ...
分类:
移动开发 时间:
2017-05-07 16:10:06
阅读次数:
227
禁止ListCtrl表头拖动(Prevent CListCtrl column resizing) /*The header control in the ListView control sends notification to the parent window (e.i. the ListV... ...
分类:
其他好文 时间:
2017-05-07 01:00:02
阅读次数:
368
MainActivity例如以下: package cc.cu; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.B ...
分类:
其他好文 时间:
2017-05-06 15:03:17
阅读次数:
273
在android的应用层中。涉及到非常多应用框架。比如:Service框架,Activity管理机制,Broadcast机制。对话框框架。标题栏框架,状态栏框架。通知机制,ActionBar框架等等。 以下就来说说常常会使用到通知机制中的通知栏框架(Notificaiton)。它适用于交互事件的通知 ...
分类:
移动开发 时间:
2017-05-04 20:04:07
阅读次数:
476
Redis的Sentinel系统用于管理多个Redis服务器(instance), 该系统执行以下三个任务: 监控(Monitoring):Sentinel会不断地检查你的主服务器和从服务器是否运作正常。 提醒(Notification):当被监控的某个Redis服务器出现问题时, Sentinel ...
分类:
其他好文 时间:
2017-05-01 15:59:50
阅读次数:
154
通知栏的实现 需要在配置文件中添加权限: 1 public class MainActivity extends ActionBarActivity implements OnClickListener { 2 NotificationManager manager; 3 int notificat... ...
分类:
移动开发 时间:
2017-04-29 17:33:37
阅读次数:
314
Android 5.0 行为变更媒体播放如果您要实现显示媒体播放状态或传输控件的通知,请考虑使用新的 Notification.MediaStyle 模板,而不是自定义 RemoteViews.Rem...
分类:
移动开发 时间:
2017-04-28 18:31:25
阅读次数:
744
redis的sentinel可以监控redis一个和多个redis的主从复制架构。主要实现的功能有:监控(Monitoring):Sentinel会不断地检查你的主服务器和从服务器是否运作正常。提醒(Notification):当被监控的某个Redis服务器出现问题时,Sentinel可以通过API向管理员或者其他应用程序发..
分类:
其他好文 时间:
2017-04-27 11:37:15
阅读次数:
264