Wesley13 Wesley13
3年前
java连接zookeeper服务器出现“KeeperErrorCode = ConnectionLoss for ...”
错误信息如下:1Exceptioninthread"main"org.apache.zookeeper.KeeperException$ConnectionLossException:KeeperErrorCodeConnectionLossfor/test2atorg.apache.zookeeper
Wesley13 Wesley13
3年前
java 后台返回文件流到浏览器
packagecom.springbootblog.controller;importio.swagger.annotations.ApiImplicitParam;importio.swagger.annotations.ApiImplicitParams;importio.swagger.annotations.ApiOperation;
Easter79 Easter79
3年前
spring拦截器实现seesion过期跳转首页
packagecom.zpedku.interceptor;importcom.zpedku.config.AppConfig;importcom.zpedku.model.SysUser;importlombok.extern.slf4j.Slf4j;importorg.apache.co
Stella981 Stella981
3年前
Mac OS X 的包管理器 HomeBrew
Homebrew是最简单和灵活的方式,用来在MacOSX安装Linux工具包。Homebrew国内高速安装脚本:https://gitee.com/cunkai/HomebrewCN(https://gitee.com/cunkai/HomebrewCN)安装过程很简单:ruby e "$(curl f
Stella981 Stella981
3年前
Django添加ckeditor富文本编辑器
源码https://github.com/djangockeditor/djangockeditor(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fgithub.com%2Fdjangockeditor%2Fdjangockeditor)通过pip安装。p
Stella981 Stella981
3年前
Linux Mint(ubuntu)如何汉化firefox浏览器?
自从火狐浏览器改用新的Quantum新核心后,原来的一些插件、性能,还有一部分设置方法都与原来相比有所改变,比如汉化问题,以前的做法是这样的:sudoaptgetinstallfirefoxlocalezhhans但是现在(2019年3月20日),亲测无用,于是找到了新的方法,目前的浏览器版本号是“65.0.1(64
Wesley13 Wesley13
3年前
Cisco配置发送日志到日志服务器
Cisco配置发送日志到日志服务器logging133.3.3.2loggingonloggingtrap7 //指定日志消息的级别(0:紧急(Emergencies)1:告警(Alerts)2:严重的(Critical)3:错误(Errors)4:警告(Warnings)5:通知(Notifications)6:信
Wesley13 Wesley13
3年前
GCC 5.5.0编译器构建安装简述
\先装几个用得到或者用不到的软件包yuminstallybinutilsyuminstallygzipgawkgmaketaryuminstallyperl                //darwinyuminstallyzipunzip           //libgcj
Stella981 Stella981
3年前
Linux服务器安全登录注意事项
Linux服务器安全登录注意事项!TODO:Linux服务器安全登录注意事项(http://p3.pstatp.com/large/18aa0006605e3a076c50)删除不必要的用户删除不必要的用户组设置负责的登录密码(大小写,数字,字母,下划线,特殊字符)禁用root进
Stella981 Stella981
3年前
Linux系统查看服务器版本方法
!(https://oscimg.oschina.net/oscnet/upad24c139f158236a42116b61b664bfc56e3.JPEG)习惯使用Windows操作系统的同学都知道,在Windows系统中查看系统配置是很简单的,直接右击“我的电脑”,然后点击属性就可以弹出如下界面:!image20201118