0%

kerberos

Install a new MIT KDC

Install the KDC server

  1. Install a new version of the KDC server

    1
    yum install -y krb5-server krb5-libs krb5-workstation
Read more »

tar

options:
-c: create the archive
-x: extract the archive
-f: create or extract with the specific archive filename
-t: displays or lists files in an archived file
-v: display info
-z: using gzip

-C: extract files into a specific directory, not the current directory

Read more »

CentOS6

  1. Show the list of services that start on boot.

    1
    chkconfig --list
  2. Add a service to auto-start on boot.

    1
    2
    chkconfig --add service_name
    chkconfig service_name on
Read more »

features

System Requirements

At first, we need to think about the setups of VMs. So, I list a table for VMs below.

hostname ip operating system RAM disk space package
master1.bigdata.com 192.168.110.150 centos6.5 64 位 16g 50g ambari-server
namenode
slave1.bigdata.com 192.168.110.151 centos6.5 64 位 16g 50g ambari-agent
datanode
slave2.bigdata.com 192.168.110.152 centos6.5 64 位 16g 50g ambari-agent
datanode
Read more »

odyssey
It is really a great determination for me to give up a comfortable and easy environment where I can complete all tasks successfully. Now, I had been to Shanghai for almost one month. And I need to study new development technology and make new friends in this unfamiliar city where I will be surrounded by loneliness.

Read more »

docker

check specific container’s ip address:

1
docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' your_container_name_or_id

check all containers’ ip address:

1
docker inspect -f '{{.Name}} - {{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aq)