09 2016 档案
摘要://导入json mongoimport --db ML_OER --collection lecture --file /home/tmp/course_temp.json //导入Json数组 mongoimport --db ML_OER --collection lecture --file
阅读全文
摘要:关于点的问题是用string.split("[.]") 解决。 关于竖线的问题用 string.split("\\|")解决。 关于星号的问题用 string.split("\\*")解决。 关于斜线的问题用 sring.split("\\\\")解决。 关于中括号的问题用 sring.split(
阅读全文
摘要:报错: [ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <p
阅读全文
摘要:部署flume集群时,在启动collector服务器没报错,启动agent服务器报错:File Channel transaction capacity cannot be greater than the capacity of the channel capacity查了下相关解决办法,将配置文
阅读全文
摘要:JDK下载地址: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 根据Linux系统的版本选择64位或32位下载,官方现提供rpm和tar.gz两种版本下载。 安装: [root@
阅读全文
摘要:一般情况下,我们都要将linux自带的OPENJDK卸载掉,然后安装SUN的JDK。 首先查看Linux自带的JDK是否已安装。 输入如下命令,查看已经安装的JAVA版本信息。 Linux代码 java -version 输入如下命令,查看JDK的信息。 Linux代码 rpm -qa|grep j
阅读全文
摘要:1. 安装 .net core到centos7 2. 安装nginx 配置代理: vim /opt/nginx/conf/nginx.conf 启动nginx: /opt/nginx/sbin/nginx 停止nginx: /opt/nginx/sbin/nginx -s stop 重启nginx:
阅读全文
摘要:yum被锁定无法使用 Another app is currently holding the yum lock; waiting for it to exit.. 解决方法: rm -rf /var/run/yum.pid 来强行解除锁定,然后你的yum就可以运行了
阅读全文