上一页 1 ··· 8 9 10 11 12 13 下一页
摘要: 缓存(cached)是把读取过的数据保存起来,重新读取时若命中(找到需要的数据)就不要去读硬盘了buffer是把即将要被写入磁盘的数据缓存起来,而cache是被从磁盘中读出来的cached是cpu与内存间的,buffer是内存与磁盘间的,都是为了解决速度不对等的问题 阅读全文
posted @ 2018-01-31 23:34 邓旭阳 阅读(125) 评论(0) 推荐(0)
摘要: groupadd -g 600 wwwuseradd -u 600 -g 600 wwwecho '1111'|passwd --stdin wwwuseradd -u 601 -g 600 rdecho '22222'|passwd --stdin rd usermod -u 600 www #修 阅读全文
posted @ 2018-01-29 21:58 邓旭阳 阅读(124) 评论(0) 推荐(0)
摘要: ubuntu 下执行脚本报错如下:root@10-10-156-138:/var/tmp# sh *shguhua_route.sh: 8: [: 10: unexpected operatorguhua_route.sh: 11: [: 10: unexpected operatorguhua_r 阅读全文
posted @ 2017-12-27 22:12 邓旭阳 阅读(1030) 评论(0) 推荐(0)
摘要: 针对ubuntu系统sudo免密 ubuntu ALL=(ALL:ALL) NOPASSWD: ALL #只改一个不生效 %sudo ALL=(ALL:ALL) ALL%ubuntu ALL=(ALL:ALL) NOPASSWD: ALL #要加到 %sudo 下面 阅读全文
posted @ 2017-12-26 22:00 邓旭阳 阅读(116) 评论(0) 推荐(0)
摘要: #批量拷贝文件 ansible abcde -u ubuntu -m copy -a 'src=/var/tmp/reconfig.sh dest=/var/tmp/' ansible abcde -m copy -a 'src=/var/tmp/zabbix_discovery_http.py d 阅读全文
posted @ 2017-12-26 21:08 邓旭阳 阅读(520) 评论(0) 推荐(0)
摘要: excel 如何 筛选,以及筛选后,在复制时 显示 不可对多重选定区域使用此命令的解决办法选中 第一行, 开始 筛选 选择 某一列 右下角的小三角 ,进行内容筛选 即可。 excel 筛选后,在复制时 显示 不可对多重选定区域使用此命令解决办法筛选结束后,选择几列进行复制会提示“不可对多重选定区域使 阅读全文
posted @ 2017-12-24 17:25 邓旭阳 阅读(20747) 评论(0) 推荐(1)
摘要: ansible安装在ubuntu上执行脚本,发现一直不退出。写了一个重起jetty的脚本。ansible安装在centos6.5上远程执行脚本重启没有问题,并且执行完就退出。ansible安装在ubuntu上执行脚本发现ansible不退出。这个是什么问题呢?整了大半天,终于把这个问题解决了。把原先 阅读全文
posted @ 2017-12-20 21:32 邓旭阳 阅读(1380) 评论(0) 推荐(0)
摘要: su: cannot set user id: Resource temporarily unavailable 突然报这个错,root用户登录没问题,普通用户报错如上。那这个如何解决呢? 修改该文件/etc/security/limits.d/90-nproc.conf * soft nproc 阅读全文
posted @ 2017-12-15 16:35 邓旭阳 阅读(4552) 评论(0) 推荐(0)
摘要: 每次都要source /etc/profile才能使java环境生效,如何解决呢?~/.bashrc里面加一句source /etc/profile 保存。并source /etc/profile 就可以了。 当然也有人说,不建议把环境变量写到profile里面,在/etc/profile.d/ja 阅读全文
posted @ 2017-12-15 12:37 邓旭阳 阅读(2717) 评论(0) 推荐(0)
摘要: ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.在配置界面显示 没有pom.xml 这种提示 原因,开发把分支给干掉了。跟开发沟通配置正确的 阅读全文
posted @ 2017-12-14 21:31 邓旭阳 阅读(3793) 评论(1) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 下一页