上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 24 下一页
  2018年12月9日
摘要: 首先Centos7 推荐我们这么运行项目 首先执行命令: cd /ets/systemd/system 到这个目录下,新建一个 yourProjectName.service,可以把yourProjectName设置为你想起的服务名 用vi编辑一个新的文件 vi yourProjectName.se 阅读全文
posted @ 2018-12-09 21:30 肖建锋 阅读(1155) 评论(0) 推荐(0) 编辑
摘要: tar -xvf apache-maven-3.3.9-bin.tar.gz mv apache-maven-3.3.9 /usr/local/apache-maven 文件存放好之后,设置环境变量,打开etc/profile,在文件中加入下边的代码: 写入环境变量 vi /etc/profile 阅读全文
posted @ 2018-12-09 21:21 肖建锋 阅读(2206) 评论(0) 推荐(0) 编辑
摘要: <mirror> <id>nexus-aliyun</id> <mirrorOf>*</mirrorOf> <name>Nexus aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups/public</url></mirror 阅读全文
posted @ 2018-12-09 10:19 肖建锋 阅读(433) 评论(0) 推荐(1) 编辑
摘要: MAVEN_HOME,内容是解压的maven文件路径 Path中添加 %MAVEN_HOME%\bin 为了测试安装成功,打开命令提示符,输入 mvn -version 阅读全文
posted @ 2018-12-09 10:15 肖建锋 阅读(125) 评论(0) 推荐(0) 编辑
摘要: (1)新建->变量名"JAVA_HOME",变量值"C:\Java\jdk1.8.0_05"(即JDK的安装路径) (2)编辑->变量名"Path",在原变量值的最后面加上 ;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;(3)新建->变量名“CLASSPATH”,变量值 阅读全文
posted @ 2018-12-09 09:53 肖建锋 阅读(119) 评论(0) 推荐(0) 编辑
  2018年8月9日
摘要: hystrix.command.default和hystrix.threadpool.default中的default为默认CommandKey Command Properties Execution相关的属性的配置: hystrix.command.default.execution.isolation.strategy 隔离策略,默认是Thread, 可选Thread|Semaphore... 阅读全文
posted @ 2018-08-09 16:56 肖建锋 阅读(418) 评论(0) 推荐(0) 编辑
  2018年6月26日
摘要: @Configuration public class CORSConfiguration extends WebMvcConfigurerAdapter { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**") ... 阅读全文
posted @ 2018-06-26 10:41 肖建锋 阅读(2496) 评论(0) 推荐(0) 编辑
  2018年5月12日
摘要: 卸载MariaDB CentOS7默认安装MariaDB而不是MySQL,而且yum服务器上也移除了MySQL相关的软件包。因为MariaDB和MySQL可能会冲突,故先卸载MariaDB。 查看已安装的MariaDB相关rpm包。 查看已安装的MariaDB相关yum包,包名需根据rpm命令的结果 阅读全文
posted @ 2018-05-12 12:11 肖建锋 阅读(613) 评论(0) 推荐(0) 编辑
摘要: /etc/yum.repos.d/目录下新建文件google-chrome.repo,向其中添加如下内容: 安装: 我已root进行登陆使用,发现chrome浏览器不允许使用,必须要。。。。no -sandbox 打开/usr/bin/google-chrome文件 修改文件底部的内容: 旧版本: 阅读全文
posted @ 2018-05-12 11:18 肖建锋 阅读(349) 评论(0) 推荐(0) 编辑
  2018年5月11日
摘要: import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.ju... 阅读全文
posted @ 2018-05-11 10:17 肖建锋 阅读(1364) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 24 下一页