Tag Archives: linux

jConsole – JMX remote access on Tomcat

http://www.mkyong.com/tomcat/jconsole-jmx-remote-access-on-tomcat/ In this tutorial, we will show you how to use jConsole to remote access a Tomcat instance, for JVM monitoring stuff. Tools and environment used : Ubuntu 13 + Tomcat 7 +... Read More | Share it now!

Pivotal HD Automated Install with Ambari 2.1.2

http://pivotalhd.docs.pivotal.io/docs/install-ambari-212.html 1. Getting Ready This section describes the information and materials you should get ready to install a PHD cluster using Ambari. Ambari provides an end-to-end management and monitoring... Read More | Share it now!

Cannot determine realm for host

Problem When running kinit using a keytab as input, kinit outputs this error message: # kinit -k -t /tmp/drum00host.keytab kinit: Cannot determine realm for host (principal host/drum00.orchestra.cse.unsw.edu.au@) Cause kinit wants to authenticate... Read More | Share it now!

kinit

kinit SYNOPSIS kinit -k -t /etc/security/keytabs/hdfs.headless.keytab hdfs@KBR.DG kinit ] ] DESCRIPTION kinit obtains and caches an initial ticket-granting ticket for principal. OPTIONS -V display verbose output. -l... Read More | Share it now!

Install a new MIT KDC Kerberos

http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.1.0/bk_Ambari_Security_Guide/content/_optional_install_a_new_mit_kdc.html   Install a new MIT KDC The following gives a very high level description of the KDC installation process. To get... Read More | Share it now!

How to install CentOS 6.6

Download CentOS 6.6 ISO(4.3GB): http://dl.huangshiyang.com/install_centos/CentOS-6.6-x86_64-bin-DVD1.iso   ... Read More | Share it now!

CentOS6.4下Mysql数据库的安装与配置

http://www.cnblogs.com/xiaoluo501395377/archive/2013/04/07/3003278.html Quick Guide: yum install -y mysql-server mysql mysql-deveservice mysqld start chkconfig mysqld on /usr/bin/mysqladmin -u root password 'root'  //... Read More | Share it now!

Centos 查看系统启动时间和运行时间

1.uptime命令 uptime 输出:16:11:40 up 59 days, 4:21, 2 users, load average: 0.00, 0.01, 0.00 如下图所示: 2.查看/proc/uptime文件计算系统启动时间 cat /proc/uptime 输出: 5113396.94... Read More | Share it now!

CentOS 修改IP地址, DNS, 网关

一、CentOS 修改IP地址 修改对应网卡的IP地址的配置文件 # vi /etc/sysconfig/network-scripts/ifcfg-eth0 修改以下内容 DEVICE=eth0 #描述网卡对应的设备别名,例如ifcfg-eth0的文件中它为eth0 BOOTPROTO=static... Read More | Share it now!

Bash Shell中命令行选项/参数处理

0.引言 写程序的时候经常要处理命令行参数,本文描述在Bash下的命令行处理方式。 选项与参数: 如下一个命令行: ./test.sh -f config.conf -v –prefix=/home 我们称-f为选项,它需要一个参数,即config.conf,... Read More | Share it now!