create-react-app构建TypeScript项目 create-react-app my-app --template typescript 然后进入项目并启动 cd my-app/ npm run start 项目启动成功,浏览器默认打开http://localhost:3000/ 持 ...
分类:
其他好文 时间:
2021-04-27 14:13:35
阅读次数:
0
1,下载nginx 2,解压后打开conf/nginx.conf 修改配置 server { listen 8841;#监听端口 server_name localhost;#代理服务地址 location / { #默认访问 root html; index index.html index.ph ...
分类:
其他好文 时间:
2021-04-26 13:57:20
阅读次数:
0
废话不多说, 直接上代码 需要引入的pom依赖就不多说了, 无非jedis和redis相关的. yml中关于redis的配置文件 spring: # redis配置 redis: # redis数据库索引(默认为0) database: 1 host: localhost port: 111 # r ...
分类:
编程语言 时间:
2021-04-26 13:38:37
阅读次数:
0
1.到官网下载自己的版本 2.解压 3.解压后的文件转移,建议转移,错误少 mv 原位置 /usr/local/mysql 4. 创建数据位置 data文件夹和日志位置 log文件夹,位置自定义,再log 里面创建日志文件 touch error.log 5.检查是否存在mysql用户和mysql组 ...
分类:
数据库 时间:
2021-04-26 13:27:50
阅读次数:
0
PostgreSQL 9.6部署 参考:https://www.cnblogs.com/shhnwangjian/p/14680679.html https://docs.konghq.com/install/centos/ ...
分类:
其他好文 时间:
2021-04-21 12:50:51
阅读次数:
0
环境: 服务器 CentOS6.7 + git(version 1.7.1) 客户端 Windows7 + git(version 2.8.4.windows.1) 1.安装 Git #yum install -y git 安装完后,查看 Git 版本 [root@localhost ~]# git ...
分类:
系统相关 时间:
2021-04-21 12:29:49
阅读次数:
0
统计tomcat的access日志的ip次数,并按次数排序 awk '{sum[$1]++}END{for(i in sum) print i "\t" sum[i]}' localhost_access_log.* | sort -n -k2 统计某个接口的调用时间 awk '{if($7~/.* ...
分类:
数据库 时间:
2021-04-21 12:18:10
阅读次数:
0
1 <%@page import="java.sql.*"%> 2 <%@ page language="java" contentType="text/html; charset=UTF-8" 3 pageEncoding="UTF-8"%> 4 <!DOCTYPE html> 5 <html> ...
分类:
数据库 时间:
2021-04-20 15:08:59
阅读次数:
0
简单实例: >存储过程,参数的传入! delimiter $ create procedure p1() begin declare i int default 10; select concat ('i的取值是:',i) as QuZhi; end $ delimiter $ create pro ...
分类:
数据库 时间:
2021-04-20 15:04:52
阅读次数:
0
1.npm安装:npm install axios 2.axios发送请求后返回的是一个promise 3.axios发送get请求: import axios from 'axios'; axios.get('http://localhost:8080/getData?username=abc&i ...
分类:
移动开发 时间:
2021-04-20 14:53:50
阅读次数:
0