![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
力先生
这个作者很懒,什么都没留下…
展开
-
Linux shell 基础语法
常用变量的定义//定义变量、获取变量值(数值型)$ a=1$ echo ${a}1//定义变量、获取变量值(字符串)$ a="hello world"$ echo ${a}hello world//$?代表上一条命令返回状态:0代表true,非0代表false$ echo $?0//String变量中引用其它变量,本变量要用双引号,非单引号$ m="wanglihong"$ n="what is your name? ${m} "$ echo ${n}what is y原创 2021-05-07 12:19:43 · 157 阅读 · 0 评论 -
Linux服务器tomcat部署war包
一、web项目处理1、本地pom.xml文件改造去除springboot自带的tomcat(有两种方式),并且依赖servlet-api;方法一:<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <exclusions> <exclus原创 2020-06-10 11:52:19 · 1336 阅读 · 0 评论