yum方式安装1.下载初始化镜像dockerpullubuntudockerrun-it-p80:80ubuntu/bin/bashapt-getupdate&&apt-getinstallvim-yvim/etc/apt/sources.list修改为阿里的镜像源apt-getupdate2.安装nginx以及配套软件包apt-getinstallnginxwgetlibpcre
分类:
其他好文 时间:
2020-06-06 09:16:23
阅读次数:
329
环境:ubuntu系统可以连接公网 备份:sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 编辑/etc/apt/sources.list文件 阿里源: eb http://mirrors.aliyun.com/ubuntu/ bioni ...
分类:
系统相关 时间:
2020-06-04 20:05:23
阅读次数:
117
添加ROS源 #官方源: $ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' #中科大源: $ s ...
分类:
系统相关 时间:
2020-06-04 19:58:17
阅读次数:
85
安装opencv时,在opencv的安装路径下, sources\samples\cpp\ 路径里面提供了好多经典的例子,很值得学习。 这次的例子是利用inpaint函数进行图像修复。 CV_EXPORTS_W void inpaint( InputArray src, InputArray inp ...
分类:
其他好文 时间:
2020-06-04 19:42:04
阅读次数:
56
一、新建过程 二、构架目录结构 1.在main目录下new出两个文件夹:java、resources。并且分别设为Sources Root 和 Resource Root。 2.在webapp目录下建立三个文件夹:js,image,css 3.在WEB-INF目录下建立一个文件夹:pages(要和视 ...
分类:
编程语言 时间:
2020-06-03 23:17:45
阅读次数:
74
一、 Designer 1.创建sources(源和目标库操作一样) 在Source Analyzer视图下 ==> 菜单栏sources ==> import from database 创建odbc data source 创建新数据源这里没有对应数据库类型的ODBC则需要从网上下载安装,mys ...
分类:
其他好文 时间:
2020-06-03 13:42:46
阅读次数:
78
以下源码基于Spring 5.2.5版本 使用XML方式配置Spring应用时,web.xml中会配置一个Listener,如下: <display-name>Web Application</display-name> <context-param> <param-name>contextConf ...
分类:
编程语言 时间:
2020-06-02 19:24:11
阅读次数:
73
在Androidstudio调试安卓串口的一个demo工程,第一次接触安卓串口,记录一下调试过程的坑。 工程来自github,https://github.com/jp1017/AndroidSerialPort 首先,需要编译出串口的so。 打开工程,在AndroidSerialPort-mast ...
分类:
移动开发 时间:
2020-06-02 13:12:03
阅读次数:
75
xcode 11.0在使用libusb开发的时候,编译的过程中经常会出现以下错误,每次都必须clean才能恢复正常, 根据提示将build phases的Compile Sources直接挪动到最后边,没能解决问题 也有人说Target ->Build Phases下,把Embed APP Exte ...
分类:
其他好文 时间:
2020-06-01 18:05:08
阅读次数:
179
在 Spring Boot 项目的 resources 目录下的 templates 包下,右键-->new-->Edit File Templates, 如下图: 然后点击 + 号,新建一个 freemarker file template ,如下图: 注意:文件扩展名(extension)一定要 ...
分类:
编程语言 时间:
2020-05-31 11:19:58
阅读次数:
259