切换到root用户
sudo -i
安装lrzsz
sudo apt-get install lrzsz
卸载自带的openjdk:
sudo apt-get remove openjdk*
安装opejdk8
apt install openjdk-8-jdk
安装redis
apt install redis-server
whereis redis
安装elasticsearch 参考
https://www.cnblogs.com/zhengyazhao/p/10918821.html