在linux终端输入ls -al,可以看到如下结果: -rw-r--r-- (一共10个参数,第一个参数跟chmod无关) 2-4参数:属于user 5-7参数:属于group 8-10参数:属于others r==>可读 w==>可写 x==>可执行 r=4 w=2 x=1 chmod 777 f ...
分类:
其他好文 时间:
2020-07-21 14:27:25
阅读次数:
91
https://blog.csdn.net/this_capslock/article/details/47170313 1. 下载boost安装包并解压缩到http://www.boost.org/下载boost的安装包,以boost_1_58_0.tar.gz为例下载完成后进行解压缩: tar ...
分类:
系统相关 时间:
2020-07-21 14:25:11
阅读次数:
121
1.Macos本地无法使用monkeyPatch调试的原因 引用一段原文,意思是,操作系统不能通过对一个内存页执行写和执行的操作。(Linux似乎没有这个问题) (Monkey won't work on some security-oriented operating system that do ...
分类:
系统相关 时间:
2020-07-21 14:23:37
阅读次数:
115
【1、安装Nexus】 需要Linux安装JDK运行,Nexus2版本JDK7,3版本JDK8 首先需要Nexus服务器文件 nexus-2.12.0-01-bundle.tar.gz 解压 tar -zxvf nexus-2.12.0-01-bundle.tar.gz 把解压后的目录放在/usr/ ...
分类:
系统相关 时间:
2020-07-21 14:20:58
阅读次数:
98
本次利用Java+netty实现自定义rpc框架,共分为三个工程,公共模块+服务提供者+服务消费者: rpc-common工程 pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.or ...
分类:
编程语言 时间:
2020-07-21 14:16:43
阅读次数:
78
简介 对于httpclient,相信很多人或多或少接触过,对于httpclient的使用姿势,相信很多人会有疑问?下面这边会通过代码说明 package xxx; import org.apache.commons.codec.Charsets; import org.apache.http.Hea ...
分类:
Web程序 时间:
2020-07-21 14:13:32
阅读次数:
120
在Linux环境执行定时脚本时,创建完脚本后,可以使用crontab进行编辑定时任务,并设置时间定时执行,下面就为大家详细的展示从创建脚本到设定定时任务的流程。 一、首先创建并编辑一个定时脚本 输入以下命令:touch clean.sh 创建脚本,这里我创建的是一个定时清理日志文件的定时脚本。 记得 ...
分类:
系统相关 时间:
2020-07-21 13:48:59
阅读次数:
92
转自:https://blog.csdn.net/andyshrk/article/details/50864323 如何向Linux 内核提交补丁 对于对Linux kernel有兴趣的开发者来说,很多人都希望自己的代码能够出现在Linux kernel的官方代码中。 一般情况下 ,我们把Linu ...
分类:
系统相关 时间:
2020-07-21 13:41:56
阅读次数:
82
Redirecting to /bin/systemctl restart iptables.ser linux下执行防火墙相关指令报错: Redirecting to /bin/systemctl restart iptables.service 1,安装systemctl: yum instal ...
分类:
其他好文 时间:
2020-07-21 13:39:00
阅读次数:
89
1.下载chrome浏览器 wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb 或者 https://www.chrome64bit.com 2.安装 gdeb apt-cache search ...
分类:
其他好文 时间:
2020-07-21 11:42:31
阅读次数:
136