摘要: 从容器内拷贝文件到主机上[root@oegw1 soft]# docker psCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES8d418a7b6021 postgres "/docker-entrypoint. 7 hours ago Up 阅读全文
posted @ 2020-06-04 15:56 822636093 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 使用命令:cat /proc/version 查看 由于apt官方库里的docker版本可能比较旧,所以先卸载可能存在的旧版本:sudo apt-get remove docker docker-engine docker-ce docker.io 更新apt包索引:sudo apt-get upd 阅读全文
posted @ 2020-06-04 15:52 822636093 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 因为用到视频访问,所以搭建centos服务。 第一步:安装Apache服务程序(httpd) yum install httpd -y 第二步: 将Apache服务添加到 开机自启中 第三步:打开chrom浏览器 测试 127.0.0.1 /etc/httpd/conf/httpd.conf为htt 阅读全文
posted @ 2020-06-04 15:48 822636093 阅读(278) 评论(0) 推荐(0) 编辑
摘要: http://docs.geoserver.org/latest/en/user/index.html 1.搭建jdk 2.搭建tomcat apache-tomcat-8.5.31.tar.gz3.启动tomcat,验证是否可以启动4.放geoserver.war 到webapps下面 5.加扩展 阅读全文
posted @ 2020-06-04 15:27 822636093 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 因为docker和系统环境搭建一般默认是纽约时间,所以需要修改 # timedatectl set-timezone Asia/Shanghai # 设置系统时区为上海其实不考虑各个发行版的差异化, 从更底层出发的话, 修改时间时区比想象中要简单: # cp /usr/share/zoneinfo/ 阅读全文
posted @ 2020-06-04 15:24 822636093 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 当通过ftp把window编辑的shell在linux执行时报错 : “build.sh /bin/bash^M: 坏的解释器:没有那个文件或目录” 执行.sh脚本时,报错 "start.sh /bin/bash^M: 坏的解释器:没有那个文件或目录”,因为 .sh文件是从windows拷贝过来的, 阅读全文
posted @ 2020-06-04 15:17 822636093 阅读(166) 评论(0) 推荐(0) 编辑
摘要: alter sequence road_id_seq restart with 1000; 阅读全文
posted @ 2020-06-04 15:13 822636093 阅读(95) 评论(0) 推荐(0) 编辑
摘要: --安装Postgisyum install postgresql96.x86_64 postgresql96-server.x86_64 postgresql96-libs.x86_64 postgresql96-contrib.x86_64 postgresql96-devel.x86_64yu 阅读全文
posted @ 2020-06-04 15:11 822636093 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 1.yum install -y https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm2.yum install -y postgresql963.y 阅读全文
posted @ 2020-06-04 15:09 822636093 阅读(68) 评论(0) 推荐(0) 编辑
摘要: nohup ./mvnw spring-boot:run -Dspring-boot.run.profiles=uat & 可以启动springboot 查看日志:tail -f nohup.out 阅读全文
posted @ 2020-06-04 15:03 822636093 阅读(132) 评论(0) 推荐(0) 编辑