公司环境搭建(windows10)

本文涉及的产品
云原生网关 MSE Higress,422元/月
注册配置 MSE Nacos/ZooKeeper,118元/月
服务治理 MSE Sentinel/OpenSergo,Agent数量 不受限
简介: 安装java运行环境 资源列表 idea webstorm git sourceTree edas alibaba tomcat apache tomcat xshell xftp .

安装java运行环境

资源列表

  1. idea
  2. webstorm
  3. git
  4. sourceTree
  5. edas
  6. alibaba tomcat
  7. apache tomcat
  8. xshell
  9. xftp
  10. jdk
  11. maven

安装环境变量

JAVA_HOME C:\Program Files\Java\jdk1.8.0_144
PATH %JAVA_HOME%\bin;
CLASSPATH .;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;

安装maven

MAVEN_HOME D:\Java\maven\apache-maven-3.3.9

maven 配置文件详见资源列表

安装edas运行环境

简易版配置中心edas-config-center
startup.bat 中添加两句话避免重启手动删除文件的问题

rd /s /q .\config-center-db
rd /s /q .\logs

hosts 中配置域名

C:\Windows\System32\drivers\etc\hosts
192.168.1.100 jmenv.tbsite.net
或
127.0.0.1 jmenv.tbsite.net

如果第二个不生效换用第一个, 这里偶尔会有坑
idea配置

-Dpandora.location=D:\Java\EDAS\hsf\taobao-hsf.sar

idea的配置详见资源列表

安装zookeeper

下载

http://mirrors.cnnic.cn/apache/zookeeper/zookeeper-3.3.6/zookeeper-3.3.6.tar.gz

解压

D:\Java\zookeeper-3.4.6

配置

zoo.cfg

# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial 
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between 
# sending a request and getting an acknowledgement
syncLimit=5
# the directory where the snapshot is stored.
# do not use /tmp for storage, /tmp here is just 
# example sakes.
dataDir=/tmp/zookeeper
# the port at which the clients will connect
clientPort=2181
# the maximum number of client connections.
# increase this if you need to handle more clients
#maxClientCnxns=60
#
# Be sure to read the maintenance section of the 
# administrator guide before turning on autopurge.
#
# http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance
#
# The number of snapshots to retain in dataDir
#autopurge.snapRetainCount=3
# Purge task interval in hours
# Set to "0" to disable auto purge feature
#autopurge.purgeInterval=1

安装worker运行环境

安装tomcat

http://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-7/v7.0.82/bin/apache-tomcat-7.0.82-windows-x64.zip

下载worker war包

http://code.taobao.org/p/tbschedule/src/trunk/console/ScheduleConsole.war

启动worker

改ROOT

http://localhost:8080/index.jsp?manager=ture

配置worker

自己解决这里只提供配置环境的搭建

安装git

下载

https://github.com/git-for-windows/git/releases/download/v2.15.1.windows.2/Git-2.15.1.2-64-bit.exe

git最佳实践

http://jiongks.name/blog/a-successful-git-branching-model/

SourceTree

个人比较喜欢的软件,喜欢自行安装

配置SSH 公钥

 $ git config --global user.name "user.name"
 $ git config --global user.email "yourmail@gmail.com"
 $ cd ~/.ssh
 $ssh-keygen -t rsa -C "paascloud.net@gmail.com"
 一路回车

这里提示一下,由于笔者比较喜欢中文名,建议大家使用中文名,id_rsa.pub里是你需要的公钥, 直接在gitlab的ssh配置页增加配置就好

安装前端环境

安装node

下载

https://nodejs.org/download/release/v6.12.2/node-v6.12.2-win-x64.zip

友情提示一定不要安装过高的版本,笔者提供的版本足够使用

配置npm

node路径D:\Java\nodejs,在nodejs下立"node_global"及"node_cache"两个文件夹
$ npm config set prefix "D:\Java\nodejs\node_global"
$ npm config set cache "D:\Java\nodejs\node_cache"

配置系统环境变量

NODE_PATH D:\Java\nodejs\node_global\node_modules

配置用户环境变量

PATH D:\Java\nodejs\node_global\

安装vue

# 最新稳定版
$ npm install vue
# 全局安装 vue-cli
$ npm install --global vue-cli
# 创建一个基于 webpack 模板的新项目
$ vue init webpack my-project
# 安装依赖,走你
$ cd my-project
$ npm install
$ npm run dev
相关实践学习
使用DAS实现数据库自动SQL优化
本场景介绍如何使用DAS实现数据库自动SQL优化。
SpringMVC框架入门
Spring MVC属于SpringFrameWork的后续产品,已经融合在Spring Web Flow里面。Spring 框架提供了构建 Web 应用程序的全功能 MVC 模块。在使用Spring进行WEB开发时,可以选择使用Spring的SpringMVC框架或集成其他MVC开发框架,如Struts2等。 相关的阿里云产品企业级分布式应用服务 EDAS:企业级分布式应用服务 EDAS(Enterprise Distributed Application Service)是一个应用托管和微服务管理的 PaaS 平台,提供应用开发、部署、监控、运维等全栈式解决方案,同时支持 Spring Cloud、Apache Dubbo(以下简称 Dubbo )等微服务运行环境,助力您的各类应用轻松上云。产品详情: https://www.aliyun.com/product/edas 
目录
相关文章
|
4月前
|
Web App开发 JavaScript 前端开发
从脚手架开始学前端 【第2期】Node.js环境搭建(windows)
从脚手架开始学前端 【第2期】Node.js环境搭建(windows)
73 0
|
12月前
|
JavaScript 前端开发 PHP
【Vue+NodeJS】vue路由及NodeJS环境搭建(Windows版)
Node.js是一个基于Chrome V8引擎构建的JavaScript运行时环境使用了一个事件驱动、非阻塞式I/O 的模型;可以让JavaScript在服务器端运行,它让JavaScript成为与PHP、Python、Perl、Ruby等服务端语言平起平坐的脚本语言。相对于传统的JavaScript运行环境(如浏览器),Node.js具有以下特点:事件驱动:Node.js使用事件驱动的非阻塞I/O模型,使得在处理大量并发请求时效率更高。单线程。
|
11月前
|
Python Windows
[笔记]Python笔记之python2 windows环境搭建
[笔记]Python笔记之python2 windows环境搭建
|
11天前
|
开发者 C# Windows
WPF与游戏开发:当桌面应用遇见游戏梦想——利用Windows Presentation Foundation打造属于你的2D游戏世界,从环境搭建到代码实践全面解析新兴开发路径
【8月更文挑战第31天】随着游戏开发技术的进步,WPF作为.NET Framework的一部分,凭借其图形渲染能力和灵活的UI设计,成为桌面游戏开发的新选择。本文通过技术综述和示例代码,介绍如何利用WPF进行游戏开发。首先确保安装最新版Visual Studio并创建WPF项目。接着,通过XAML设计游戏界面,并在C#中实现游戏逻辑,如玩家控制和障碍物碰撞检测。示例展示了创建基本2D游戏的过程,包括角色移动和碰撞处理。通过本文,WPF开发者可更好地理解并应用游戏开发技术,创造吸引人的桌面游戏。
36 0
|
Linux 网络安全 开发工具
【开发工具】【windows】Visual Studio Code(VS Code)远程Linux服务器环境搭建——SFTP篇
【开发工具】【windows】Visual Studio Code(VS Code)远程Linux服务器环境搭建——SFTP篇
922 0
【开发工具】【windows】Visual Studio Code(VS Code)远程Linux服务器环境搭建——SFTP篇
|
3月前
|
Java 大数据 Scala
Scala快速入门--Scala环境搭建【Windows10】图解
Scala快速入门--Scala环境搭建【Windows10】图解
33 0
|
4月前
|
Go 开发工具 Windows
【GO语言】windows下GO语言环境搭建
【2月更文挑战第1天】windows下GO语言环境搭建
152 0
|
4月前
|
Java Linux Go
Golang环境搭建指南(Windows和linux)
Golang环境搭建指南(Windows和linux)
96 0
|
Web App开发 缓存 JavaScript
【开发工具】【windows】Visual Studio Code(VS Code)远程Linux服务器环境搭建——SSH篇
【开发工具】【windows】Visual Studio Code(VS Code)远程Linux服务器环境搭建——SSH篇
682 0
【开发工具】【windows】Visual Studio Code(VS Code)远程Linux服务器环境搭建——SSH篇
|
11月前
|
存储 监控 Windows
[读书][笔记]WINDOWS PE权威指南《一》PE的原理和基础 之 第一章 环境搭建及简单破解(下)
[读书][笔记]WINDOWS PE权威指南《一》PE的原理和基础 之 第一章 环境搭建及简单破解(下)
121 0

热门文章

最新文章