2018/06/21

IBM AIX 5.3 Disk and File Check Command

List Disk Partition
host:/> df
List Large Files >1GB
host:/> find . -type f -size +1073741824c -exec ls {} \;

2018/06/14

How to install SaltStack on Ubuntu 14.04 Server

Salt-Master
apt-get update
curl -L https://bootstrap.saltstack.com -o install_salt.sh
sh install_salt.sh -P -M -N
nano /etc/salt/master

# The address of the interface to bind to:
interface: 123.456.78.9

service salt-master restart
salt-key --finger-all

Local Keys:
master.pem:  94:fc:76:...
master.pub:  38:4f:c7:...

Extensible mobile app debugger

https://fbsonar.com/

https://github.com/facebook/Sonar/

2018/06/08

SSH for Windows Server 2016

1.Download Win32 OpenSSH from Github
2.Unzip OpenSSH-Win64.zip
3.Move folder to C:\Program Files
4.Open PowerShell.exe in OpenSSH-Win64 folder
File>Open Windows Powershell>Open Windows PowerShell as administrator


2018/06/07

How to install Open Falcon on Ubuntu 16.04

Python
sudo su
apt update
apt install -y libsasl2-dev python-dev libldap2-dev libssl-dev

MySQL
apt install -y mysql-server libmysqlclient-dev

Go Lang
curl -O https://storage.googleapis.com/golang/go1.10.2.linux-amd64.tar.gz
tar -xvf go1.10.2.linux-amd64.tar.gz
mv go /usr/local

nano ~/.profile
export PATH=$PATH:/usr/local/go/bin

source ~/.profile
go version
go version go1.10.2 linux/amd64

How to install Kubernetes on Ubuntu 16.04

System Preparation
sudo su
apt update && apt install -y apt-transport-https curl ca-certificates software-properties-common

Install Docker 17.03
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") \
   $(lsb_release -cs) \
   stable"
apt update && apt install -y docker-ce=$(apt-cache madison docker-ce | grep 17.03 | head -1 | awk '{print $3}')
systemctl enable docker
docker info