Category Archives: linux

Install MapR 4.0.2 (or other version before 4.2)

Change to the root user or use sudo. Create a text file called maprtech.repo in the /etc/yum.repos.d/ directory with the following content, replacing v4.0.2 with the version of MapR that you want to install: name=MapR... Read More | Share it now!

scp 命令

================== scp 命令 ================== scp 可以在 2个 linux 主机间复制文件; 命令基本格式: scp file_source file_target ====== 从 本地 复制到 远程 ====== * 复制文件: * 命令格式: scp local_file... Read More | Share it now!

Linux date命令的用法

在linux shell编程中,经常用到日期的加减运算 以前都是自己通过expr函数计算,很麻烦 其实date命令本身提供了日期的加减运算 非常方便。例如:得到昨天的时间 date +%Y%m%d –date=”-1... Read More | Share it now!

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!

Reset the maxlife of a kerberos ticket

http://stackoverflow.com/questions/27012033/reset-the-maxlife-of-a-kerberos-ticket-more-than-24h To change the max-lifetime of a ticket in kerberos from default 24 hrs to 5min follow the following steps: Add the max_life property to the... 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!