摘要:我的系统是windows10,docker是用DockerToolbox工具安装的,安装完之后会默认挂载Windows的C:/Users目录,在docker里面对应路径是/c/Users,docker默认的用户路径是/c/Users/windows的登录用户名,对应windows的登录用户目录:C:
阅读全文
08 2019 档案
摘要:在docker容器中使用tomcat部署war包主要包括四个步骤,创建tomcat容器、上传war包到容器、重启容器、访问应用。 1.创建tomcat容器 使用docker run -d --name cmdtomcat -p 8080:8080 tomcat命令启动了tomcat容器,在浏览器输入
阅读全文
You are using the runtime-only build of Vue where the template compiler is not available. Either pre
摘要:在升级脚手架到vue-cli3.0版本的时候出现了这个报错:[Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile
阅读全文
摘要:报错信息如下图: 报错原因是:vue有两种形式的代码:一种是compiler(模版),另一种是runtime(运行时)模式。 修改方法:修改main.js ,对照自己的代码模式对号入座
阅读全文
摘要:https://docs.python.org/3/tutorial/errors.html#handling-exceptions https://docs.python.org/3/library/exceptions.html#ValueError ("invalid literal for
阅读全文
摘要:需求:python如何实现普通用户登录服务器后切换到root用户再执行命令 解决参考: 代码: 遇到问题: 思路:经过检查发现这个是中文字符集和英文字符集返回密码格式不同导致的,在代码中加入:ssh.send(' export LANG=en_US.UTF-8 \n'),即可解决上述问题 因为中文和
阅读全文
摘要:出错提示EINVRES Request to https://bower.herokuapp.com/packages/chai failed with 502 访问 https://bower.herokuapp.com/ 页面提示This Bower version is deprecated.
阅读全文
摘要:Bower install fails with 502 - Bad Gateway when downloading bower packages. For example bower install for ember library gives following response in co
阅读全文
摘要:目录 1.安装插件管理器(Plugin Manager) 2.安装NppFTP 3.使用nppFTP连接远程linux服务器 1.安装插件管理器(Plugin Manager) 如果没有则需要安装 32bit 在v7.50后(包括7.50)不带有插件管理器(Plugin Manager),所以我们需
阅读全文
记一次环境变量导致的elasticsearch启动错误:max file descriptors [65535] for elasticsearch process is too low, incre
摘要:问题描述,elasticsearch启动时报max file descriptors错误: 网上的解决办法都是修改/etc/security/limits.conf文件,增加hadoop hard nofile 131072一行 可是,我的配置本来就已经设置成这样了的 网上找来找去,都是修改limi
阅读全文
摘要:1,安装配置JDK 8 参考:官方文档 > 1,安装JDK1.8-161 > 2,配置环境变量 2,增加用户(ElasticSearch不允许Root启动) Root启动异常为:can not run elasticsearch as root 3,下载ElasticSearch 4,配置Elast
阅读全文
摘要:创建索引 kibana 使用如下命令进行创建索引内容。 创建别名 创建Mapping
阅读全文
摘要:this.$resource.delete({ user_code: Cookie.get("empid"), date: date, file_name: file_name },{ headers:{ ...
阅读全文
摘要:思路是这样的,首先要将jquery设置成全局,然后就可以正常使用easyUI了。 jquery安装命令: jquery-easyui安装命令: 然后,重点是项目中的各个环节。 首先,在根目录(package.json目录)下新建两个文件,babel.config.js和vue.config.js b
阅读全文

浙公网安备 33010602011771号