今天买了台云服务器,准备玩玩,对于之前没接触过Linux的我是一头雾水,登陆后进去就是一个黑黑的终端,一点也不友好,所以特地记录一下登陆以及安装node的过程 先记录一下登陆 登陆方式一: 那就是账号密码登陆咯 ssh username@你的云服务器公网IP // 然后回车会跳出来一个让你输入密码 ...
分类:
其他好文 时间:
2020-11-06 02:53:07
阅读次数:
36
创建容器elasticsearch docker run --name elasticsearch -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" -d elasticsearch:7.2.0 安装analysis-ik中文分词插件 ...
分类:
其他好文 时间:
2020-11-06 02:51:09
阅读次数:
32
一、环境准备(此处设备使用window10系统) 1、node安装,安装地址为nodejs官网(http://nodejs.cn/download/) 这里根据自己的设备选择对应的版本,下载下来后,直接安装即可。 2、检查是否装好 打开cmd,输入 node -v ,如果下面显示出了版本号,即为安装 ...
分类:
其他好文 时间:
2020-11-06 02:41:18
阅读次数:
65
#文件属性 ##每列的含义 [root@oldboyedu ~]# ll -i 33575029 -rw-r--r--. 1 root root 337 Nov 2 10:26 hosts 第一列: inode号 index node 文件索引 存放着 指向blok的指针 每个文件都占用一个inod ...
分类:
系统相关 时间:
2020-11-06 02:34:03
阅读次数:
17
1.环境搭建 1.1安装node.js 下载地址:https://nodejs.org/en/download/ 安装后校验:node -v、npm -v 1.2安装Cypress方法1:npm 创建Cypress_demo文件夹:mkdir Cypress_project 命令行进入文件夹:cd ...
分类:
其他好文 时间:
2020-11-06 01:44:55
阅读次数:
18
linux curl命令的重要用法:发送GET/POST请求,获取网页内容 ...
分类:
Web程序 时间:
2020-11-06 01:27:21
阅读次数:
27
#include <iostream> #include <vector> #include <stack> #include <queue> template <class T> typedef struct node { node* left; node* right; T val; std:: ...
分类:
其他好文 时间:
2020-11-06 01:25:12
阅读次数:
16
题解:递归求左右子树的最大深度。 /** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { ...
分类:
其他好文 时间:
2020-11-06 01:10:43
阅读次数:
21
目录下的文件 build-node-addon-api-with-cmake.node CMakeLists.txt hello.cc hello.js package.json build-node-addon-api-with-cmake.node 为 npm run install后生成的 n ...
最短路 SPFA #include <bits/stdc++.h> using namespace std; #define N 10001 #define M 500001 struct node{ int to,w,next; }edge[M]; int cut=0; int head[N]; ...
分类:
编程语言 时间:
2020-11-04 18:47:58
阅读次数:
18