1. 将node-v10.23.1-linux-x64.tar.xz上传到服务器/usr/local目录下
2. tar xf node-v10.23.1-linux-x64.tar.xz
3. 将node_modules.tar.gz上传到服务器/usr/local目录
4. tar -zxvf node_modules.tar.gz
5. 设置NODE环境
? 5.1 vim /etc/profile
? ? export NODEJS_HOME=/usr/local/node-v10.23.1-linux-x64
? ? export PATH=$NODEJS_HOME/bin:$PATH
? 5.2 source /etc/profile
创建文件目录 mkdir -p?/mnt/data/es_data_back
/usr/local/bin/elasticdump --input=http://elastic:6rVwjkhAoIp4ICqjc491@127.0.0.1:9200/guangdong_mcs_pubonln_rslt ?--output=/mnt/data/es_data_back/guangdong_mcs_pubonln_rslt_mapping.json ?--limit=10000 ?--type=mapping?
/usr/local/bin/elasticdump --input=http://elastic:6rVwjkhAoIp4ICqjc491@127.0.0.1:9200/guangdong_mcs_pubonln_rslt ?--output=/mnt/data/es_data_back/guangdong_mcs_pubonln_rslt.json ?--limit=10000 ?--type=data?
/usr/local/bin/elasticdump ?--input=/mnt/data/es_data_back/guangdong_mcs_pubonln_rslt_mapping.json --output=http://elastic:6rVwjkhAoIp4ICqjc491@127.0.0.1:9200/guangdong_mcs_pubonln_rslt ?--limit=10000 ?--type=mapping?
/usr/local/bin/elasticdump ?--input=/mnt/data/es_data_back/guangdong_mcs_pubonln_rslt.json --output=http://elastic:6rVwjkhAoIp4ICqjc491@127.0.0.1:9200/guangdong_mcs_pubonln_rslt ?--limit=10000 ?--type=data?