上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 16 下一页
摘要: 使用IDEA 这里打 develop 包,直接输入 war 打生产包。 阅读全文
posted @ 2020-05-12 14:55 duchaoqun 阅读(272) 评论(0) 推荐(0) 编辑
摘要: grails-app/conf/application.yml server: port: 80 阅读全文
posted @ 2020-05-12 14:52 duchaoqun 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 将jar包统一放置到一个目录里面,然后再Build.gradle里面添加引用。 阅读全文
posted @ 2020-05-12 14:51 duchaoqun 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 在 Grails 中打印日志 在 controller 和 service 中使用Log: Demo 在配置文件中配置相关,grails-app/conf/logback.groovy def index(Integer max) { log.info("Test logging.") params.max = Math.min(max ?: 10, 100) ... 阅读全文
posted @ 2020-05-12 14:41 duchaoqun 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Grails SDK 下载SDK,配置环境变量GRAILS_HOME和PATH grails-4.0.3.zip Create APP grails create-app cn.duchaoqun.demo cd demo run-app Install Grails Spring Security Core Plugin 在build中添加引用 compile "org.grai... 阅读全文
posted @ 2020-05-12 14:19 duchaoqun 阅读(309) 评论(0) 推荐(0) 编辑
摘要: Summary 使用 create user 创建的用户有 login 权限; 使用 create role 创建的用户默认没有 login 权限; ROLE -- 查询所有的 role select * from pg_roles order by rolname; -- 创建一个 role 仅有 rolinhert 权限,不能进行登录。 create role test_role1;... 阅读全文
posted @ 2020-05-12 10:07 duchaoqun 阅读(389) 评论(0) 推荐(0) 编辑
摘要: PostgreSQL Windows 安装 准备好安装包postgresql-11.5-1-windows-x64-binaries.zip 默认情况下,会将当前的 Windows 用户作为管理员,例如“Chris” 注意在初始化连接之后,在防火墙中开放5432端口。 安装 解压到E盘根目录中 E: 阅读全文
posted @ 2020-05-12 09:47 duchaoqun 阅读(280) 评论(0) 推荐(0) 编辑
摘要: Summary 解压zip压缩包命令 Demo yum install unzip -y unzip Discuz_X3.2_SC_UTF8.zip 阅读全文
posted @ 2020-05-12 08:55 duchaoqun 阅读(158) 评论(0) 推荐(0) 编辑
摘要: yum - 包管理器 yum = Yellow dog Updater, Modified 主要功能是更方便的添加,删除,更新RPM包,它能自动解决包的倚赖性问题,它能便于管理大量系统的更新问题。 可以同时配置多个资源库(Repository),简洁的配置文件/etc/yum.conf,自动解决增加或删除rpm包时遇到的倚赖性问题,使用方便,保持与RPM数据库的一致性。 # 查询搜索与安装... 阅读全文
posted @ 2020-05-11 13:50 duchaoqun 阅读(145) 评论(0) 推荐(0) 编辑
摘要: Summary 这个参数影响外键的使用。 可以设置三个值 origin,源,官方默认值,设置成这个不会有任何影响。 local,角色是本地,不存在主备的概念,所以也是不会有影响。 replica,从库,角色是备,会禁用 replication-related 的 trigger 和 rule。 PG 阅读全文
posted @ 2020-05-09 20:42 duchaoqun 阅读(643) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 16 下一页