Linux
11 entriesLogin with an ssh key
Set up an ssh key on macOS so you can log into the server without typing a password Normally I don't do this, for security.
Logging into an AWS EC2 server with a password
AWS ec2 servers block ssh access with a password by default. Let's edit the file below to allow it.
Switching Flume's default logging from log4j to logback
These turned out to be bigger downsides than expected, so I made a simple sink project.

Flume install and test (mac)
Installing Flume and a basic flume.conf sample, from setting JAVA_HOME to configuring sources, channels and sinks.
Setting up a server on DigitalOcean (CentOS 6.7)
Set up a server for a simple messaging app I'm building with a friend. Of course I don't really know what I'm doing. Everything comes from Google..
Korean fonts in JFreeChart (CentOS font setup)
I'm using JFreeChart, and when it runs on Tomcat, Korean text renders as broken boxes. Put the font files in /usr/share/fonts and run fc-cache -fv.
When Apache returns 403 errors
If you've tried everything and still keep getting 403..
git command collection
A collection of git commands: migrating from svn, handling ignore files, setting remotes, dealing with tags and branches, reverting local commits, and backup and restore.
Unicode (utf8mb4) support in MySQL and MariaDB
Switching MySQL and MariaDB from utf8 to utf8mb4 so emoji can be stored, covering both the server settings and the actual column type changes.
CentOS command collection
A collection of CentOS commands: locating installed programs, deleting old logs, editing hosts and DNS, checking OS bits and version, installing fonts, editing crond, and …