linux安装jdk
下载使用wget到官方下载jdk包。wget--no-cookies--no-check-certificate--header"Cookie:gpw_e24=http%3A%2F%2Fwww.oracle.com%2F;oraclelicense=accept-securebackup-
334
|
0
es安装ik分词器
方法一:手动安装1.下载ik分词器https://github.com/medcl/elasticsearch-analysis-ik/releases2.在es的plugins文件夹下新建名为ik的文件夹3.解压ik分词器压缩包[dd@localhostik]$unzipelasticsearch
385
|
0
npm install报错:phantomjs-prebuilt@2.1.16 install: `node install.js`
问题现象在安装EShead插件时,执行npminstall。到了phantomjs安装的这一步,出现:phantomjs-prebuilt@2.1.16install:`nodeinstall.js'错误解决方案npminstallphantomjs-prebuilt@2.1.16--ignore-
240
|
0
linux搭建elasticsearch2.2.1
1.下载安装包[root@localhostes]#wgethttps://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.2.1/elastics
157
|
0
mysql出现Too many connections问题解决
问题现象mysql无法连接,使用虚机本地客户端用任意用户登录时,提示Toomanyconnections。mysql-uroot-pEnterpassword:ERROR1040(HY000):Toomanyconnections根因mysql连接数已满,连接的线程数超过了mysql配置的最大连接数
136
|
0
mysql开启binlog日志
查看binlog日志是否开启执行sqlshowvariableslike'%log_bin%';OFF为未开启,ON为开启修改配置文件在/etc/my.cnf中的[mysqld]下面新增log-bin=mysql-binbinlog_format=rowbinlog_format类型|参数值|含义|
278
|
0
搭建l2tp服务进行科学上网
搭建L2TP下载脚本wget--no-check-certificatehttps://raw.githubusercontent.com/teddysun/across/master/l2tp.sh授权、执行脚本chmod+xl2tp.sh./l2tp.sh重启服务(执行完安装脚本无需执行)ser
469
|
0
linux部署hadoop2.10.0和hive1.2.2
hadoop下载官网:https://hadoop.apache.org/hadoop2.10.0下载地址国内(清华):https://mirrors.tuna.tsinghua.edu.cn/apache/hadoop/common/hadoop-2.10.0/hadoop-2.10.0.tar.
298
|
0
hive使用
启动服务进入hive的bin目录下,./hiveserver2start启动服务进入客户端bin目录下,./hive进入数据文件导入到表LOADDATAINPATH'/dd/xq4_10w.txt'OVERWRITEINTOTABLEdddb.xq4;删除hive不支持delete,可以用inser
166
|
0
linux RHEL版本安装yum
由于RedHat的企业版LinuxRHEL是收费的,所以使用yum安装时,如果没有注册,会出现如下报错:Thissystemisnotregisteredwithanentitlementserver.Youcanusesubscription-managertoregister.解决方法:可以使用
260
|
0
linux samba安装
1.服务器安装sambayum-yinstallnanovimwgetcurlnet-toolslsofyum-yinstallsambasamba-clientsamba-common在smb.conf文件中加入一下配置,设置/opt为根路径[opt]comment=HomeDirectories
284
|
0
oracle sql整理
查询用户下的表select table_name from user_tables;查看连接信息select username,sid,serial# from v$session;杀掉连接alter system kill session '48,21633';查询oracle版本信息select
200
|
0
redis使用
redis安装,make编译报错1.yum -y install gcc安装2.添加make参数,指定指令集,make CFLAGS="-march=x86-64"启动进入src后台启动./redis-server &使用配置文件,否则会使用默认配置(不使用任何配置文件)
147
|
0
Elasticsearch head基本操作
查看索引的mappingbridge/_mapping?prettyGET{}查看索引的settingsbridge/_settings?prettyGET{}
298
|
0