栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

开发环境配置 -- 集成

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

开发环境配置 -- 集成

这里写目录标题
    • node 集成
        • windows 安装
        • mac 安装
        • 配置淘宝镜像
    • jdk 安装
        • windows 安装
        • mac 安装
    • maven安装
        • windows 安装
        • mac 安装
        • 配置镜像
    • git安装
        • windows 安装
        • mac 安装
        • 配置用户信息
        • 配置gitee 仓库 ssh 公钥
    • idea webstorm 安装

node 集成

登录 node官网


windows 安装


下载安装

终端查看 > noede -v


mac 安装

安装 Hombrew 博文: M1安装

执行 > brew install npm


配置淘宝镜像

配置淘宝镜像: > npm config set registry https://registry.npm.taobao.org


jdk 安装

jdk 官网 连接已经定位到 JDK8: Oracle 官网


windows 安装

登录oracle 官网下载

配置系统环境 系统变量

新增 系统变量 : JAVA_HOME : jdk安装位置
配置 系统变量 : Path : 编辑新增: %JAVA_HOME%bin

cmd 窗口测试 : java -v


mac 安装


双击安装 下一步至完成

配置环境变量 : vim .bash_profile

新增

## 路径名称
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_211.jdk 
## 变量
PATH =$JAVA_HOME/bin:$PATH:
CLASSPATH =$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar:.
## 暴露
export JAVA_HOME
export PATH
export CLASSPATH

刷新 : source .bash_profile


maven安装

maven 官网 :Maven官网


windows 安装


windows版本进行安装:选择zip版本

解压安装 配置环境变量

新建系统环境变量 :MAVEN_HOME:D:mavenapache-maven(实际安装路径)
编辑系统环境变量: path: 新增 %MAVEN_HOME%bin

打开 cmd mvn -version


mac 安装

windows版本进行安装:选择 .tar.gz版本

解压安装 配置环境变量

配置环境变量 : vim .bash_profile

新增

## 暴露
export M2_HOME="/Users/maven/apache-maven" (实际安装地址)
export PATH="$M2_HOME/bin:$PATH"

运行 : source ~/.bash_profile


配置镜像

配置 仓库位置设置镜像源

	
    alimaven
    aliyun maven
    http://maven.aliyun.com/nexus/content/groups/public/
    central


    alimaven
    central
    aliyun maven
    http://maven.aliyun.com/nexus/content/repositories/central/

 

    ibiblio
    central
    Human Readable Name for this Mirror.
    http://mirrors.ibiblio.org/pub/mirrors/maven2/


    jboss-public-repository-group
    central
    JBoss Public Repository Group
    http://repository.jboss.org/nexus/content/groups/public

 

    central
    Maven Repository Switchboard
    http://repo1.maven.org/maven2/
    central


    repo2
    central
    Human Readable Name for this Mirror.
    http://repo2.maven.org/maven2/


配置 编译

      
                jdk-1.8  
                  
                    true  
                    1.8  
                  
                    
                    1.8    
                    1.8    
                    1.8    
                  
          

git安装

maven 官网 :Maven官网


windows 安装

windows版本进行安装:选择 download fro windows

解压安装 配置


mac 安装

运行 :brew install git

M1芯片ARM版 Homebrew会把程序安装到 /opt/homebrew/Cellar 路径下,
Intel芯片的Mac Homebrew会把程序安装到 /usr/local/Homebrew 路径下。

配置环境变量 : vim .bash_profile

## 暴露
export GIT=/opt/homebrew/Cellar/git

运行 : source ~/.bash_profile


配置用户信息

git config --list

配置用户信息
git config --global user.name "1"
git config --global user.email "2"
git config --global user.password "3"


配置gitee 仓库 ssh 公钥

参考文档 : 生成/添加SSH公钥

ssh-keygen -t ed25519 -C "xxxxx@xxxxx.com" (xxxxx@xxxxx.com 你的邮箱)

按照提示完成三次回车通过仓库主页 「管理」->「部署公钥管理」->「添加部署公钥」 ,添加生成的 public key 添加到仓库中。

cat ~/.ssh/id_ed25519.pub

确认

ssh -T git@gitee.com


idea webstorm 安装

官网 :
idea 官网
webstorm 官网

根据自己喜欢 选择下载版本 个人喜欢用 2018 3.6


百度idea 2018 永久 或者 引用 此网址 : https://www.cnblogs.com/pengpengdeyuan/p/14328164.html

idea stom 配置 : 配置文档


转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/914285.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号