摘要: 创建项目 登录 https://start.spring.io/ 下载 journey w%6*YT)4%bbrMK(Z2F 修改 pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.o 阅读全文
posted @ 2022-04-07 18:51 journeyIT 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 业务逻辑 绘制两张图表,分别显示城市空间库和其他数据仓库的信息(城市空间库单独绘制)。要求:城市空间库显示数据库的实际使用量和剩余用量,其他库显示百分比。 效果展示 默认显示状态 鼠标指向状态 实现过程 1.后台数据处理 表结构设计 数据库数据 注:此处数据为显示数据,并非项目使用数据,仅作测试使用 阅读全文
posted @ 2018-01-09 13:47 journeyIT 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 1、持续集成及Jenkins介绍 2、Jenkins安装和持续集成环境配置 3、Jenkins构建Maven项目 4、Jenkins+Docker+SpringCloud微服务持续集成 5、基于Kubernetes/K8S构建Jenkins微服务持续集成平台 阅读全文
posted @ 2022-07-19 10:22 journeyIT 阅读(36) 评论(0) 推荐(0) 编辑
摘要: React基础 1 组件通讯 1.1 props 子组件 import React from "react"; import PropTypes from "prop-types"; import { Button } from "antd"; export default class Eightt 阅读全文
posted @ 2022-04-07 08:45 journeyIT 阅读(462) 评论(0) 推荐(0) 编辑
摘要: #JDK JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_241.jdk/Contents/Home CLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar:. PATH=$JAVA_ 阅读全文
posted @ 2022-04-06 22:50 journeyIT 阅读(57) 评论(0) 推荐(0) 编辑
摘要: # Firewall configuration written by system-config-firewall # Manual customization of this file is not recommended. *filter :INPUT ACCEPT [0:0] :FORWAR 阅读全文
posted @ 2022-04-06 22:44 journeyIT 阅读(2) 评论(0) 推荐(0) 编辑
摘要: Nginx 安装配置 安装路径 /usr/local/nginx/ 配置⽂件 /usr/local/nginx/conf/nginx.conf ⽇志路径 在配置⽂件中指定,⽬前为: /usr/local/nginx/logs 修改配置操作 3.1 [root@P1QMSPL1RTM02 ~]# cd 阅读全文
posted @ 2022-04-06 22:41 journeyIT 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 简单微服务架构 微服务架构的基础框架/组件 服务注册发现 服务网关(Service Gateway) 后端通用服务(也称中间层服务Middle Tier Service) 前端服务(也称边缘服务Edge Service) SpringCloud架构 所有请求都统一通过 API 网关(Zuul)来访问 阅读全文
posted @ 2022-04-06 22:32 journeyIT 阅读(24) 评论(0) 推荐(0) 编辑
摘要: const { getFieldDecorator, getFieldValue, setFieldsValue, resetFields, validateFields, getFieldError } = this.props.form; getFieldDecorator: 用于和表单进行双向 阅读全文
posted @ 2022-04-06 17:28 journeyIT 阅读(524) 评论(0) 推荐(0) 编辑
摘要: webpack环境安装 全局环境安装 npm install webpack-cli -g npm install webpack -g mac上安装webpack报错解决方法Hit error EACCES: permission denied, mkdir '/usr/local/lib/nod 阅读全文
posted @ 2019-04-23 08:56 journeyIT 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 小程序开发公众平台地址链接:https://developers.weixin.qq.com/miniprogram/introduction/index.html?t=19042217 环境配置 全局配置 对应文件:app.json 注册 pages window tabBar networkTi 阅读全文
posted @ 2019-04-22 22:13 journeyIT 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 1. 属性配置 1. 属性配置 单独选择一行属性设置 selectionModel: { type: 'row' , mode: 'single' }, 选择多行属性设置 selectionModel: { type: 'row' , fireSelectChange: true }, 显示行号配置 阅读全文
posted @ 2019-01-04 17:29 journeyIT 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 1、vue项目 通过vue-cli脚手架建立项目,使用webpack进行打包,下边是一整套命令。 #npm 版本最好是最新的,升级npm,node版本也有要求 npm i -g npm # 安装脚手架 npm install -g vue-cli #初始化新建项目 vue init webpack 阅读全文
posted @ 2018-05-28 10:33 journeyIT 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 首先关闭VMware的DHCP: Edit->Virtual Network Editor 去掉Use local DHCP service to distribute IP address to VMs选项。点击NAT Settings查看一下GATEWAY地址: 设置CentOS静态IP: 涉及 阅读全文
posted @ 2018-05-07 22:50 journeyIT 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 一、Dubbo背景 随着互联网的发展,网站应用的规模不断扩大,常规的垂直应用架构已无法应对,分布式服务架构以及流动计算架构势在必行,亟需一个治理系统确保架构有条不紊的演进。 单一应用架构 当网站流量很小时,只需一个应用,将所有功能都部署在一起,以减少部署节点和成本。此时,用于简化增删改查工作量的数据 阅读全文
posted @ 2018-03-05 11:04 journeyIT 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 一、安装 dva-cli cnpm install dva-cli -g 二、创建应用 dva new dva-project 三、启动应用 cd dva-project npm start 四、安装并使用antd cnpm install antd babel-plugin-import --sa 阅读全文
posted @ 2018-03-02 09:54 journeyIT 阅读(789) 评论(0) 推荐(0) 编辑
摘要: # Firewall configuration written by system-config-firewall# Manual customization of this file is not recommended.*filter:INPUT ACCEPT [0:0]:FORWARD AC 阅读全文
posted @ 2018-02-28 14:43 journeyIT 阅读(4) 评论(0) 推荐(0) 编辑
摘要: upstream dubbo_admin { server 127.0.0.1:8080; server 127.0.0.1:8090; } server { # nginx监听8888端口 listen 8888; # 特别注意server_name配置,这儿在实际使用中配置多个域名,比如test 阅读全文
posted @ 2018-02-27 13:17 journeyIT 阅读(11) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python # -*- coding: utf-8 -*- # @File : test04.py # @Software: PyCharm # @Author: Journey # @Date : 2018/2/26 # @Desc : test python co 阅读全文
posted @ 2018-02-26 15:33 journeyIT 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 1.查看当前python版本 python -Vpython 2.6.6 2.下载Python-2.7.12wget https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tgz 3.解压缩并更改工作目录 tar zxvf Python-2.7 阅读全文
posted @ 2018-02-22 09:09 journeyIT 阅读(24) 评论(0) 推荐(0) 编辑
摘要: http://mirrors.aliyun.com/centos/6.8/isos/x86_64/CentOS-6.8-x86_64-bin-DVD1.iso 阿里云源: http://mirrors.aliyun.com/源配置步骤1.备份 sudo mv /etc/yum.repos.d/Cen 阅读全文
posted @ 2018-02-12 12:59 journeyIT 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 一、linux下zookeeper安装 1.安装java环境并配置好java相关的环境变量$JAVA_HOME。 jdk-6u27-linux-i586.bin 运行环境包 yum -y install glibc.i686 glibc-devel.i686 chmod +x jdk-6u27-li 阅读全文
posted @ 2018-02-09 14:51 journeyIT 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 使用的操作系统是是centos6.5,按照官方的推荐的配置,把linux内核升级到3.8以上。安装步骤如下:1、升级内核版本(包含aufs)cd /etc/yum.repos.dwget http://www.hop5.in/yum/el6/hop5.repoyum install kernel-m 阅读全文
posted @ 2018-02-09 12:31 journeyIT 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 使用命令 npm install vue-svg-icon --save-dev 进行svg插件的安装 将项目的src文件夹下 新建 icons > svg 文件夹 在 icons 文件夹下新建 index.js import Vue from 'vue' import IconSvg from ' 阅读全文
posted @ 2018-02-08 17:35 journeyIT 阅读(67) 评论(0) 推荐(0) 编辑
摘要: npm install less less-loader --save 修改webpack.config.js文件 { test: /\.less$/, loader: "style-loader!css-loader!less-loader", }, npm install --save-dev 阅读全文
posted @ 2018-02-08 15:16 journeyIT 阅读(19) 评论(0) 推荐(0) 编辑
摘要: <!--suppress ALL --> <template> <div> <header class="intro-header"> <div class="container"> <el-row class="row"> <el-col class="24"> <div class="site- 阅读全文
posted @ 2018-02-08 15:12 journeyIT 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 在 vue项目的build中 打开 webpack.dev.conf.js 新建方法 function resolveApp(relativePath) { return path.resolve(relativePath); } 然后在 找到HtmlWebpackPlugin 添加 favicon 阅读全文
posted @ 2018-02-08 15:11 journeyIT 阅读(26) 评论(0) 推荐(0) 编辑
摘要: axios跨域请求问题描述 解决办法: 在config文件夹中新建CorsRegistration.java package com.journeyBlog.common.config; import org.springframework.stereotype.Component; import 阅读全文
posted @ 2018-02-02 10:50 journeyIT 阅读(4) 评论(0) 推荐(0) 编辑
摘要: let createIterator = items =>{ let i = 0; return { next () { let done = (i >= items.length); let value = !done ? items[i++] : undefined; return { done 阅读全文
posted @ 2018-01-25 15:07 journeyIT 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 'use strict' import 'semantic-ui/semantic.min.css!'; import React, { Component } from 'react'; import ReactDOM from 'react-dom'; // import { Router, R 阅读全文
posted @ 2018-01-23 18:06 journeyIT 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 打开CommentBox.js 修改handleCommentSubmit方法 handleCommentSubmit(comment){ // console.log(comment); let comments = this.state.data, newComments = comments. 阅读全文
posted @ 2018-01-23 16:00 journeyIT 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 儿子将获取到的数据提交给父亲 打开CommentBox.js 我们在CommentForm标签上添加onCommentSubmit={this.handleCommentSubmit} 创建handleCommentSubmit方法 handleCommentSubmit(comment){ con 阅读全文
posted @ 2018-01-23 13:50 journeyIT 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 在input和textarea标签上使用ref属性 <input type="text" placeholder="姓名" ref="author"/> <textarea placeholder="评论" ref="text"></textarea> 在onSubmit={this.handleS 阅读全文
posted @ 2018-01-23 13:24 journeyIT 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 事件处理函数的使用 鼠标事件: onClick onContextMenu onDoubleClick onMouseDown onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onDrop onDrag o 阅读全文
posted @ 2018-01-23 13:12 journeyIT 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 修改main.js CommentBox标签 <CommentBox url="app/comments.json"/>,document.getElementById('app') 在 app 文件夹下 新建 comments,json 文件 [ {"author": "journey" , "d 阅读全文
posted @ 2018-01-23 12:48 journeyIT 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 打开main.js 添加一些模拟数据 var comments = [ {"author": "journey" , "date" : "3分钟前" , "text" : "今天天气有点冷!"}, {"author": "jim" , "date" : "5分钟前" , "text" : "今天早上 阅读全文
posted @ 2018-01-23 11:41 journeyIT 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 在comment文件夹下新建Comment.js Comment.js 'use strict' import React from 'react'; class Comment extends React.Component{ render(){ return ( <div className=" 阅读全文
posted @ 2018-01-23 11:14 journeyIT 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 在app下的comment文件夹下面分别新建CommentList.js 和 CommentForm.js CommentList.js 'use strict' import React from 'react'; class CommentList extends React.Component 阅读全文
posted @ 2018-01-23 10:58 journeyIT 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 在app文件夹下新建一个comment文件夹,并创建CommentBox.js CommentBox.js 'use strict'; import React from 'react'; class CommentBox extends React.Component{ render() { re 阅读全文
posted @ 2018-01-22 22:31 journeyIT 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 使用命令 jspm install react 进行安装 使用命令 jspm install react-dom 安装 react-dom 使用命令 jspm install semantic-ui 进行 semantic-ui样式的安装(不是必须) 使用 jspm install css 进行插件 阅读全文
posted @ 2018-01-22 21:48 journeyIT 阅读(12) 评论(0) 推荐(0) 编辑