Linux Misc

Linux distribution info cat /etc/*-release lsb_release -a uname -mrs Check ram info sudo dmidecode -t memory sudo lshw -short -C memory Sh

May 16, 2017

HTTPS Tomcat Configuration

,

Accepted format for keystore JKS PKCS11 PKCS12 (an internet standard, can be manipulated thru openssl) JKS Import root certificate (certifi

May 16, 2017

PlantUML

Table Diagram123456789101112@startuml!define table(x) class x << (T,#AAFFFF) >>!define pk(x) <u>x</u>table(dummy) &#

May 16, 2017

armbian

,

Docker12345678echo "deb https://packagecloud.io/Hypriot/Schatzkiste/debian/ wheezy main" > /etc/apt/sources.list.d/hypriot.listcurl https

May 16, 2017

Linux I/O Scheduler

,

What Is I/O SchedulerThe purpose of I/O Scheduler is to improve the I/O performance fo traditional hard disk drive.Like merging I/O requests

May 06, 2017

JVM Options

,

OptionsSizing Option Description Example -Xms min heap size -Xms8G -Xmx max heap size -Xmx8G -Xmn min and max young size -Xmn2G

Apr 20, 2017

Java Memory Model

,

Areas Shared Amoung ThreadsMethod AreaIt stores following information, which are loaded by classloaders. class information the bytecode of

Apr 20, 2017

Port Forwarding

Say you can ssh to a remote linux box, while you want to access a blocked port on that remote box, you can make a stub, and forword the requ

Apr 18, 2017

Ascii Art

123sudo apt-get install figletfiglet "Shell Hacks"dir /hao/softwares/figlet | xargs -n 1 figlet Hao Chen -f http://www.jave.de/figlet/figlet

Apr 18, 2017