[OpenShift]Install OpenShift and Create first project Hello-OpenShift

Install Linux OS and confirm network setting. You need to create a Linux OS machine to install OpenShift. The minimum requirement is CPU Memory hard disk Network x86_64 1 core 2 GB 20 GB IPv4 First you need to install CentOS 7.3, by select minimum setup. After you finish the installation, check your IP address to make sure you have available IP to use.

How to clear memory cache, buffer and swap on linux

How to clear cache in Linux Clear PageCache only 1 # sync ; echo 1 > /proc/sys/vm/drop_caches Clear Dentries and inodes(metadata) 1 # sync ; echo 2 > /proc/sys/vm/drop_caches Clear All cache(include PageCache and Dentries and inode) 1 # sync ; echo 3 > /proc/sys/vm/drop_caches How to clear swap space in Linux 1 # swapoff -a && swapon -a NOTE: This may make your system unstable when you have low RAM already.

GlusterFS Failed to probe a cloned peer

If you want to save some time for setup each gluster system, you can just setup all the necessary configuration in one vm, and then cloning it. But you may in trouble for probe a peer from another node. When you try to run the command, you could get the following error messages: 1 2 [root@node1 ~]# gluster peer probe node2 peer probe: failed: Peer uuid (host node2) is same as local uuid this is because when glusterfs-server package is first installed, a node UUID file will be created at /var/lib/glusterd/glusterd.

ソフトリンクとハードリンクの違い

ソフトリンクとハードリンクの違いについてメモする 他にも思い出したらまた追記する。 項目 ソフトリンク ハードリンク size 4 byte 表示上元ファイルと同じ inode 元

fix hexo error output './build/Release/DTraceProviderBindings'

There is a noisy error message appears each time when I run hexo command 1 Error: Cannot find module './build/Release/DTraceProviderBindings' It is just a trace error and doesn’t stop my work, but , it was so NOISY and I realy want to remove it. From the follow links, https://github.com/hexojs/hexo/issues/1922 https://github.com/yarnpkg/yarn/issues/1915 I know the root cause is because the dtrace-provider package. And I don’t use is at all, so I just want to uninstall it.

Install vim 8 with python support on mac

Today I configure my development envirment for my mac pro. And I find it is much easier to install VIM 8 with python support use brew. (much more easier than cent 7) If you have brew, you just need to run 1 brew install --with-python vim If you want both python3 and python2 support, just run this 1 brew install --with-python --with-python3 vim Update: you may need to use below command on some latest OS for python2