在Mac下Apache修改默认站点的目录时,遇到403错误, you don’t have permission to access / on this server 首先按照google到教程: 修改Apache目录 上面说到了mac下Apache的默认文件夹为/Library/WebServer ...
分类:
数据库 时间:
2018-01-28 15:30:53
阅读次数:
1357
http://blog.csdn.net/sunweizhong1024/article/details/8055372 repo https://stackoverflow.com/questions/2643502/git-permission-denied-publickey# Permiss... ...
分类:
其他好文 时间:
2018-01-27 20:14:05
阅读次数:
116
Stopping ... (might take a while) == Successfully stopped (label: homebrew.mxcl.nginx) == Successfully started (label: homebrew.mxcl.nginx) 但是实际上没启动成功 ...
分类:
系统相关 时间:
2018-01-25 13:13:06
阅读次数:
802
在执行./startup.sh,或者./shutdown.sh的时候,爆出了Permission denied, 其实很简单,就是今天在执行tomcat的时候,用户没有权限,而导致无法执行, 用命令chmod 修改一下bin目录下的.sh权限就可以了 如chmod u+x *.sh 在此执行,OK了... ...
分类:
系统相关 时间:
2018-01-25 10:57:44
阅读次数:
208
# 匿名用户配置 anonymous_enable=YES # 是否允许匿名ftp,如否则选择NO anon_upload_enable=YES # 匿名用户是否能上传 anon_mkdir_write_enable=YES # 匿名用户是否能创建目录 anon_other_write_enable ...
分类:
系统相关 时间:
2018-01-24 15:29:14
阅读次数:
196
今天使用JDBC来操作Hive时,首先启动了hive远程服务模式:hiveserver2 &(表示后台运行),然后到eclipse中运行程序时出现错误: 解决办法:报错内容提示hive没有/tmp目录的权限,赋予权限即可: hdfs dfs -chmod 777 /tmp ...
分类:
数据库 时间:
2018-01-23 00:57:43
阅读次数:
1417
访问控制列表(二)配置命令扩展访问控制列表的配置创建ACLRouter(config)#access-listaccess-list-number{permit|deny}protocol{sourcesource-wildcarddestinationdestination-wildcard}[operatoroperan]删除ACLRouter(config)#noaccess-listacc
分类:
其他好文 时间:
2018-01-19 20:24:35
阅读次数:
178
·摘要这个模块提供简单的基于主机的访问控制。ngx_http_access_module这个模块可以详细的检查客户端IP,并且按顺序执行第一条匹配的规则。如下例:location / { deny 192.168.1.1; allow 192.168.1.0/24; allow 10.1.1.0/1 ...
分类:
数据库 时间:
2018-01-18 15:01:04
阅读次数:
178
查错误日志, 发现apache启动时有提示:[notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0 原来是SELinux的安全策略导致的。 临时方案:setenforce 0 ...
分类:
数据库 时间:
2018-01-17 01:12:49
阅读次数:
374