一、scp scp是secure copy的简写,用于在Linux下进行远程拷贝文件的命令,和它类似的命令有cp,不过cp只是在本机进行拷贝不能跨服务器,而且scp传输是加密的,它使用ssh安全协议传输数据。 scp系统开消小不占资源,不会提高多少系统负荷。虽然 rsync只传送修改的部分。 1.命 ...
分类:
系统相关 时间:
2020-07-08 15:04:41
阅读次数:
99
dubbo的spi机制源码流程 1.0 源码解读见dubbo官网:http://dubbo.apache.org/zh-cn/docs/source_code_guide/dubbo-spi.html 1.1 SPI 全称为 Service Provider Interface,是一种服务发现机制。 ...
分类:
其他好文 时间:
2020-07-08 15:01:11
阅读次数:
55
ctrl+alt+T #打开终端 sudo halt #关机 sudo reboot #重启 软件信息: cat /etc/issue #查看linux内核版本 cat /proc/version lsb_release -a #查看ubuntu发行信息 硬件信息: cat /proc/cpuinf ...
分类:
系统相关 时间:
2020-07-08 15:00:39
阅读次数:
84
最大有效权限mask mask是用来指定最大有效权限的。如果给用户赋予了acl权限,则需要与mask权限”相与“才能得到用户的真正权限 setfacl -m m:rx 文件名,指定最大有效权限。例如:setfacl -m m:rx /project/ 可以看到,修改最大有效权限之后影响了所属组和ac ...
分类:
系统相关 时间:
2020-07-08 14:56:57
阅读次数:
79
一、查看哪些IP连接本机 netstat -an 二、查看TCP连接数 1)统计80端口连接数netstat -nat|grep -i "80"|wc -l 2)统计httpd协议连接数ps -ef|grep httpd|wc -l 3)、统计已连接上的,状态为“establishednetstat ...
分类:
其他好文 时间:
2020-07-08 13:34:40
阅读次数:
122
阿里云VPS搭建自己的的Hexo博客:https://segmentfault.com/a/1190000005723321 Hexo个人博客部署到CentOS个人服务器:https://segmentfault.com/a/1190000010680022 部署Hexo到个人服务器:https:/ ...
分类:
其他好文 时间:
2020-07-08 13:33:51
阅读次数:
83
linux下安装nginx linux版本:CentOS7 64位 【yum 安装最新版nginx:https://www.cnblogs.com/xxoome/p/7256214.html】 在安装nginx前首先要确认系统中安装了gcc、pcre-devel、zlib-devel、openssl ...
分类:
系统相关 时间:
2020-07-08 13:31:58
阅读次数:
77
#user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; ev ...
分类:
系统相关 时间:
2020-07-08 13:31:45
阅读次数:
90
Concept http://spark.apache.org/streaming/ Spark Streaming makes it easy to build scalable fault-tolerant streaming applications. Ease of Use Build ap ...
分类:
其他好文 时间:
2020-07-08 13:26:09
阅读次数:
59
二进制包 在 Linux 上的也安装十分简单,从 官方 GitHub Release 处直接下载编译好的二进制文件即可。 例如,在 Linux 64 位系统上直接下载对应的二进制包。 $ sudo curl -L https://github.com/docker/compose/releases/ ...
分类:
其他好文 时间:
2020-07-08 13:21:31
阅读次数:
65