首先是配置JDK 步骤一:下载最新版本的JDK,链接:http://www.oracle.com/technetwork/java/javase/downloads/index.html 步骤二:首先在/usr/local目录下创建一个名为java的目录,然后执行命令: cd /usr/local/java && tar -xvzf ~/Downloads/jdk-7u71-linux-i586.tar.gz 步骤三:修改~/.bashrc目录,命令: vi ~/.bashrc,在文件末
在使用ng项目的ui框架时,比如ng-zorro.angular Material,需要安装最新版本的@angular/cli: 配置ng-zorro框架 ng-zorro官网:https://ng.ant.design/#/docs/angular/getting-started 命令行执行下面的代码,配置ng-zorro $ npm install ng-zorro-antd --save 命令行 ng serve 打开项目,命令行报错 ERROR in Metadata version m
CentOS7安装高版本gcc 下载 从hust镜像站下载gcc源码包. http://mirror.hust.edu.cn/gnu/gcc/ 我选择的是gcc-8.3.0.tar.gz. cd mkdir software cd software wget http://mirror.hust.edu.cn/gnu/gcc/gcc-8.3.0/gcc-8.3.0.tar.gz tar zxvf gcc-8.3.0.tar.gz cd gcc-8.3.0 下载依赖包: ./contrib/dow
https://serverfault.com/questions/709433/install-a-newer-version-of-git-on-centos-7 You could use a IUS repository (https://ius.io/) as provided on Git official site here: https://git-scm.com/download/linux To do that, run (as root): yum install epel