上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: 1.启动docker docker run --name tomcat -p 8080:8080 -v $PWD/test:/usr/local/tomcat/webapps/test -d tomcat --name tomcat : 给一个容器命名 -p 8080:8080 : 容器内的端口与外 阅读全文
posted @ 2020-12-03 17:09 SimpleSmile 阅读(401) 评论(0) 推荐(0)
摘要: 1.定义注解,标签加上 @Target({ElementType.TYPE,ElementType.METHOD}) type:放类上 method:放方法上. 2.aop切面操作 @Pointcut("@annotation(com.elim.spring.support.MyAnnotation 阅读全文
posted @ 2020-12-02 14:36 SimpleSmile 阅读(542) 评论(0) 推荐(0)
摘要: 1.通过idea的设置来指定就行了,File >Project Structure 2.选择model 选择集成的父项目micro-service—在右边的窗口中选择子类项目catalog-server,后展开目录, 选中java文件后,点击为Sources,选择resources文件,点击Reso 阅读全文
posted @ 2020-12-02 12:38 SimpleSmile 阅读(1732) 评论(0) 推荐(0)
摘要: 1.在上传项目之前需要先在idea中确认两个配置,一个是git的执行位置,电脑上没有安装git的需要提前安装,安装之后再idea的settings中搜索git然后配置刚刚安装的git目录文件,再点击右侧的Test按钮进行测试验证,出现successfully表示git可以正常使用 2.接下来配置gi 阅读全文
posted @ 2020-12-02 12:06 SimpleSmile 阅读(363) 评论(0) 推荐(0)
摘要: #!/usr/bin/python3 import threadpool def moreParamFunc(a,b,c,d): print(a,b,c,d) return 0 #调用4个参数... pushParam = [1,'two',3,4] func_var = [(pushParam,N 阅读全文
posted @ 2020-11-30 14:30 SimpleSmile 阅读(409) 评论(0) 推荐(0)
摘要: 1.find命令将查找的内容复制到新的目录中 find ./ -name "source*" -type f -exec cp {} /home/test \; 2.find命令将查找的内容进行统计总数 find /home/wsp_images_test/imgtest/ -name "sourc 阅读全文
posted @ 2020-11-27 16:02 SimpleSmile 阅读(180) 评论(0) 推荐(0)
摘要: 系统:centos7 安装 pip install Pillow 如果出现: 转自:https://www.cnblogs.com/y593216/p/12022098.html 1、下载 1 wget https://bootstrap.pypa.io/get-pip.py 2、安装 1 pyth 阅读全文
posted @ 2020-11-27 14:18 SimpleSmile 阅读(176) 评论(0) 推荐(0)
摘要: 原因是Linux 下 图片自动下载文件名带有特殊符号,在windows下是不支持的!!!!!!!! 多么痛的领悟~~~~~~~~~~~~~~~~~ 阅读全文
posted @ 2020-11-25 15:12 SimpleSmile 阅读(198) 评论(0) 推荐(0)
摘要: 系统:centos 7 1.首先排除 防火墙 firewall-cmd --state 查看防火墙状态 2.ip被禁用了 2.1 sysctl net.ipv4.ip_forward 如果显示 0 则的确是被禁用了。 2.2 echo 1 > /proc/sys/net/ipv4/ip_forwar 阅读全文
posted @ 2020-11-24 21:58 SimpleSmile 阅读(1543) 评论(0) 推荐(0)
摘要: yum install gcc 转载自:https://www.fujieace.com/linux/make-cc.html 阅读全文
posted @ 2020-11-24 14:14 SimpleSmile 阅读(3410) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 下一页