RocketMQ延时消息的使用和延时级别的配置
RocketMQ 支持定时消息,但是不支持任意时间精度,仅支持特定的 level,例如定时 5s, 10s, 1m 等。其中,level=0 级表示不延时,level=1 表示 1 级延时,level=2 表示 2 级延时,以此类推。如何配置在服务器端(rocketmq-broker端)的属性配置文件中加入以下行:messageDelayLevel=1s 5s 10s 30s 1m 2m 3m 4m...
View ArticleGanglia 调试技巧
Gmond # 检查Gmond服务是否正在运行,发出如下命令:ps aux | grep gmond 输出: root 8046 0.0 0.0 103244 844 pts/0 S+ 09:38 0:00 grep gmond nobody 25759 1.8 1.0 206388 82356 ? Ssl Apr28 208:45 /usr/local/sbin/gmond...
View Article开源监控软件Ganglia 安装使用
1、ganglia简介Ganglia 是一款为 HPC(高性能计算)集群而设计的可扩展的分布式监控系统,它可以监视和显示集群中的节点的各种状态信息,它由运行在各个节点上的 gmond 守护进程来采集 CPU 、内存、硬盘利用率、 I/O 负载、网络流量情况等方面的数据,然后汇总到 gmetad守护进程下,使用 rrdtool 存储数据,最后将历史数据以曲线方式通过 php 页面呈现。Ganglia...
View ArticleLinux 下 Hadoop 安装指南
一、安装JDK1、用户可以在Oracle JDK的官网下载相应版本的JDK,本例以JDK 1.6为例,官网地址为http://www.oracle.com/tech-network/java/javase/downloads/index.html。2、配置环境变量,在/etc/profile增加以下代码。 1 #Seeting JDK JDK环境变量2 export...
View ArticleLinux下使用Nexus搭建Maven私服详解
有个Maven私服可以很方便地管理我们的jar包和发布构建到远程仓库,本文就介绍了如何在linux下一步步使用Nexus搭建Maven私服。下载安装最新nexus下载地址:http://www.sonatype.org/nexus/go解压后会在同级目录中,出现两个文件夹:nexus-oss-webapp-1.8.0和sonatype-work,前者包含了nexus的运行环境和应用程序,后者包含了你...
View ArticleWindows下使用Nexus搭建Maven私服
为什么要搭建nexus私服,原因很简单,有些公司都不提供外网给项目组人员,因此就不能使用maven访问远程的仓库地址,所以很有必要在局域网里找一台有外网权限的机器,搭建nexus私服,然后开发人员连到这台私服上,这样的话就可以通过这台搭建了nexus私服的电脑访问maven的远程仓库。1.首先确定我们的环境安装好maven,jdk等必须的环境2.这些都准备好之后,去下载最新版本的nexus...
View ArticleLinux下使用Nexus搭建Maven私服
为什么要搭建私服?在开发过程中,有时候会使用到公司内部的一些开发包,显然把这些包放在外部是不合适的。另外,由于项目一直在开发中,这些内部的依赖可能也在不断的更新。可以通过搭建公司内部的Maven服务器,将第三方和内部的依赖统一管理,同时也可以节省网络带宽,当然前提是项目所需要的构件在私服中已经存在。...
View Article[原]linux系统性能监控--内存利用率
linux 提供了对物理内存进行合理、高效的访问并可以访问潜在的海量虚存的技术。 虚存通常稍多于操作系统实际拥有的内存容量,以便将较少使用的数据卸载到磁盘存储器上,同时又呈现出系统拥有大量物理内存的假象。 糟糕的是,卸载内存的开销可能会比应用延迟高出数十甚至上百倍。如果被 换出...
View ArticleCentOS7 安装cobbler自动部署ubuntu
CentOS7 安装cobbler自动部署ubuntu 一、简介 二、安装 CentOS 7 调整配置及安装相关软件 1 、调整配置 2 、安装 epel 包 3 、安装 cobbler 、 cobbler-web 以及相关依赖软件 4 、设置开机启动 三、 Cobbler 、 tftp 、 dhcp 、 rsync 配置 1 、 TFTP 配置 2 、配置 rsync 3 、配置...
View ArticleLooks like VR support for Linux will be shown off at SteamDevDays this week,...
VR support for linux has been lacking and the communication around it has been pretty damn poor by Valve and HTC, but it seems this is about to change at SteamDevDays . This image was shared by...
View ArticleOpenSSH的应用和利用OpenSSL创建私有CA签证给httpd服务器开起https
一、OpenSSH OpenSSH与SSH协议是远程登录的首选连接工具。它加密所有流量,以消除窃听,连接劫持和其它攻击。OpenSSH常常被误认以为与OpenSSL有关系,但实际上这两个项目的有不同的目的,不同的发展团队,名称相近只是因为两者有同样的软件发展目标──提供开放源代码的加密通讯软件。 OpenSSH的套件包括以下工具: 远程操作使用SSH,SCP,和SFTP。 密钥管理ssh-add,...
View Article[原]linux系统性能监控--CPU利用率
在对系统的方法化分析中,首要且最基本的工具之一常常是对系统的 CPU 利用率进 行简单测量。 linux 以及大多数基于 UNIX 的操作系统都提供了一条命令来显示系统的 平均负荷 (loadaverage) 。 [huangc@V-02-01-00860 ~]$ uptime 11:18:05 up 78 days, 1:17, 11 users, load average: 0.20,...
View Article浅谈linux基础知识(二)
1、linux上的文件管理类命令都有哪些,其常用的使用方法及其相关示例演示 文件管理工具:cp,mv,rm cp命令:copy源文件,目标文件单源复制:cp[OPTION]... [-T] SOURCE DEST多源复制:cp[OPTION]... SOURCE... DIRECTORYcp[OPTION]... -t DIRECTORY...
View ArticleBloomberg Business visits Raspberry Pi
Last month, Bloomberg Business’s Hello World show sent reporterAshlee Vanceto the UK to cover the Raspberry Pi story. We thought you might get as much of a kick out of the final segmentas we did:...
View ArticleBreaking Up is Hard To Do Why I Believe Ops Decomposition (pt 1)
Over the summer, the RackN team took a radical step with our previous Ansible Kubernetes workload install: we broke it into pieces. Why? We wanted to eliminate all “magic happens here” steps in the...
View ArticlePolishing the wegrep Wrapper Script
When last I discussed shell scripts , I was presenting a shell script that offered an alternative to the -C context flag in GNU grep . Although most modern linux systems have the more capable grep...
View ArticlevSphere VCSA 6.0 Sizing
“ThevCenter Server Appliance is a preconfigured linux virtual machine, which is optimized for running vCenter Serverand the associated services on Linux.” Detailed VMware overview of VCSA found here ....
View ArticleValve Expected To Show Off Linux VR Demo Today
Valve Expected To Show Off linux VR Demo Today Written by Michael Larabel inValve on 12 October 2016 at 06:29 AM EDT.1 Comment TheHTC Vive was supposed to ship with Linux support but that hadn't...
View ArticleUbuntu 16.10 Server Arrives with OpenStack Newton, QEMU 2.6.1, and LXD 2.4.1
After launching the final release of the Ubuntu 16.10 (Yakkety Yak) operating system for Desktops , Canonical also announced today, October 13, 2016, the availability of the Server edition. Using the...
View ArticleUbuntu 16.10 released with hybrid cloud operations and Unity 8 developer preview
Released today, Ubuntu 16.10 comes with hybrid cloud operations, bare-metal cloud performance, the ability to lift-and-shift 80% of linux VMs to machine containers, Kubernetes for process-container...
View Article