Docker挂载主机目录,访问相应的文件出现Premission denied的权限访问问题, Docker挂载主机目录,访问相应的文件出现Premission denied的权限访问问题, [root@localhost soft]# docker images REPOSITORY TAG IM ...
分类:
其他好文 时间:
2019-04-15 17:55:49
阅读次数:
142
打开cmd在默认路径中输入如下 ssh-keygen -t rsa -C "youremail@example.com" 然后一路回车 打开用户目录中的文本复制 复制后放入github.com网站 ...
分类:
其他好文 时间:
2019-04-12 19:09:45
阅读次数:
175
一、授权 授权,也叫访问控制,即在应用中控制谁能访问哪些资源(如访问页面/编辑数据/页面操作等)。在授权中需了解的几个关键对象:主体(Subject)、资源(Resource)、权限(Permission)、角色(Role)。 二、Shiro授权概念(RBAC) 1,Subject 主体,即访问应用 ...
分类:
其他好文 时间:
2019-04-11 16:12:25
阅读次数:
105
镜像构建完毕的时候 准备传入自己hub发现 被拒绝 报了denied: requested access to the resource is denied异常,意思是没有权限 解决的办法是:使用 docker tag改名字 解决方案 参考 https://stackoverflow.com/que ...
分类:
数据库 时间:
2019-04-11 01:22:08
阅读次数:
2441
sh配置git 用户解决了 git config --list //查看当前的config配置 git config --global user.name "youruser" //修改用户名 git config --global user.email "你的邮箱" //修改为你的邮箱 ...
1、先说本地环境,脱离基础环境的解决策略都是耍流氓 (1)Linux:CentOS7.5 (2)Apache: Apache/2.4.6 (CentOS) (3)Apache的安装路径在 /usr/local/httpd2.4 2、出现错误 按照正常的流程解压Apache包并完成配置,正常启动,启动 ...
分类:
Web程序 时间:
2019-04-06 18:58:06
阅读次数:
307
https://www.django-rest-framework.org/api-guide/permissions/#custom-permissions PS:可以在view中配置authtication_classes,来指明特定的接口需要授权 ...
分类:
其他好文 时间:
2019-04-06 17:01:55
阅读次数:
137
django.core.exceptions.ImproperlyConfigured: WSGI application ‘luffy_permission.wsgi.application‘ could not be loaded; Error importing module: ‘No module named ‘rbac.middlewares.rbac
‘‘
django.core.exceptions.ImproperlyConfigured: WSGI application ‘luffy_permission.wsgi.application‘ could not be loaded; Error importing module: ‘No module named ‘rbac.middlewares.rbac
‘‘
django.core.exceptions.ImproperlyConfigured: WSGI application ‘luffy_permission.wsgi.application‘ could not be loaded;
分类:
其他好文 时间:
2019-04-05 18:14:35
阅读次数:
268
grant all privileges on *.* to user@'localhost' Identified by 'password' WITH GRANT OPTION; grant all privileges on *.* to root@'%' Identified by 'pas ...
分类:
数据库 时间:
2019-04-05 11:55:28
阅读次数:
181