1. 执行命令:netstat -tunlp 2. 执行 :kill -9 6153 (为占用进程的PID) 或者 意思是地址已被使用,搜索相关问题后发现是因为,你曾启动过相同或者类似的服务占用了这个端口(一般来讲,在Mac上直接用Python启动的话,会导致退出不完整,你不能通过点击GUI的“退出 ...
分类:
其他好文 时间:
2021-03-30 13:52:55
阅读次数:
0
上代码直接研究: int main() { int *heap_d; int *heap_e; int *heap_f; heap_d = (int *)malloc(10); heap_e = (int *)malloc(10); printf("The d address is %p\n",he ...
分类:
其他好文 时间:
2021-03-30 13:44:13
阅读次数:
0
import contextlib import pyhdfs class HdfsUtil(object): def __init__(self, hosts='namenode1:9870,namenode2:9870', user_name='hdfs'): self.hosts = host ...
分类:
编程语言 时间:
2021-03-30 13:29:22
阅读次数:
0
日常DNS维护使用命令有 1、dig 命令 2、host 命令3、nslookup 命令4、whois 命令 dig 命令,在Linux下执行 安装 apt install dnsutils 执行 dig dogedoge.com 执行结果输出如下: dig 命令默认的输出信息可以分为 7 个部分 ...
分类:
其他好文 时间:
2021-03-30 13:14:38
阅读次数:
0
t=# create table d(i bigserial, j jsonb); CREATE TABLE t=# insert into d(j) select ('{"foreign_data":{ "some_key": '||g||', "src_data": { "VEHICLE": { ...
分类:
Web程序 时间:
2021-03-30 13:09:19
阅读次数:
0
本文翻译自:Git - Ignore node_modules folder everywhere I have a project containing multiple other projects : 我有一个包含多个其他项目的项目: Main project 主要项目 Mini projec ...
分类:
其他好文 时间:
2021-03-29 12:17:32
阅读次数:
0
#构造器注入 即之前的学习 #通过set注入(重点) 通过之前的手段,难以对类中复杂的类型去进行赋值 复杂类 import java.util.*; public class Student { private String name; private Address address; privat ...
分类:
编程语言 时间:
2021-03-29 12:17:03
阅读次数:
0
了解Flask 什么是Flask Flask 是一个微框架(Micro framework),所谓微框架,它就是很轻量级的,作者划分出了Flask应该负责什么(请求路由、处理请求、返回响应)、不应该负责什么(数据库抽象、表单验证)。它倡导地是不要重复造轮子,结合社区优秀的库,使得Flask更加灵活、 ...
分类:
其他好文 时间:
2021-03-29 12:11:39
阅读次数:
0
二进制安装部署方式 集群规划 准备5台2C/2g/50g虚拟机,网络10.4.7.0/24预装centos7.4。 主机名 分配ip 用途 hdss7-11.host.com 10.4.7.11 proxy1 hdss7-12.host.com 10.4.7.12 proxy2 hdss7-21.h ...
分类:
其他好文 时间:
2021-03-29 12:10:40
阅读次数:
0
Tripwire is a host based Intrusion detection system for Linux. Tripwire monitors Linux system to detect and report any unauthorized changes to the fil ...
分类:
系统相关 时间:
2021-03-18 14:32:34
阅读次数:
0