![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
lluohuih
这个作者很懒,什么都没留下…
展开
-
解决CentOS 7 下 TELNET “no router to host” 问题
问题是出现在防火墙没有清理导致的,就算是防火墙没有开启,也会有残留数据。解决方法:输入清理命令:sudo iptables -F原创 2020-11-12 15:16:33 · 2137 阅读 · 0 评论 -
JavaWeb版 linux shell
后台Java代码import com.google.gson.Gson;import com.google.gson.reflect.TypeToken;import io.netty.channel.Channel;import java.util.Map;/*** WebSocket接收到消息触发工具类*/public class WebSockedMsgUtils { public static Gson son = new Gson(); public static vo.原创 2020-05-21 11:42:29 · 379 阅读 · 0 评论 -
linux更新出现Could not get lock /var/lib/apt/lists/lock问题解决方法
首先输入命令:sudo rm /var/lib/apt/lists/* -vf执行完成后,再输入命令:sudo apt-get update就可以更新了原创 2017-03-30 13:43:49 · 13594 阅读 · 4 评论 -
Elasticsearch启动报 Error: encountered environment variables that are no longer supported
Elasticsearch启动报如下错误:Error: encountered environment variables that are no longer supportedUse jvm.options or ES_JAVA_OPTS to configure the JVMES_HEAP_SIZE=2g: set -Xms2g and -Xmx2g in jvm.options or a...原创 2018-03-21 18:02:52 · 2145 阅读 · 0 评论