[Troubleshoot] Elasticsearch Installation in LXC Ubuntu 16.04 Failed

Case: When installing elasticsearch 5.2.2 from its repo or .deb file on LXC Container Ubuntu 16.04, the installation doesn’t finished properly. Output when installing: Couldn’t write ‘1’ to ‘kernel/yama/ptrace_scope’, ignoring: Read-only file system Couldn’t write ‘1’ to ‘net/ipv4/tcp_syncookies’, ignoring: No such file or directory Couldn’t write ‘65536’ to ‘vm/mmap_min_addr’, ignoring: Read-only file system Couldn’t write […]