1.查看防火墙的状态 [root@localhost HMK]# firewall-cmd --state 查看防火墙的运行状态 not running [root@localhost HMK]# systemctl status firewalld.service 查看防火墙服务是否开启 ● fi ...
分类:
其他好文 时间:
2020-09-24 21:47:59
阅读次数:
46
当我们自定义ubuntu主机的主机名时,使用sudo执行命令会出现以下提示: unable to resolve host QC 这里假定你的主机名是QC; 以下方式可以消除此提示: 终端打开hosts文件编辑; sudo vim /etc/hosts 检测是以下信息: 127.0.0.1 loca ...
分类:
系统相关 时间:
2020-09-24 20:54:01
阅读次数:
42
1. 打开idea,”file“ -> "new" -> "module" -> "spring initilizer" ····->"web" ->"spring web" 2. 搭建依赖 修改pom.xml 配置文件,加入依赖项。 <dependency> <groupId>org.spring ...
分类:
编程语言 时间:
2020-09-24 00:04:18
阅读次数:
40
什么是服务器:我的理解是一台高性能的计算机 URL:Uniform Resource Locator统一资源定位符 URL组成:http://localhost:8080/new/index.html http:协议部分 localhost:8080主机ip地址:端口号 new/index.html ...
分类:
Web程序 时间:
2020-09-18 03:29:40
阅读次数:
46
20200915:利用远程mysql创建表时出现报错。 CREATE TABLE test.test_perm ENGINE = MergeTree() ORDER BY app_id AS SELECT * FROM mysql('10.32.0.103:3306', 'test', 'test_ ...
分类:
其他好文 时间:
2020-09-18 01:56:17
阅读次数:
43
websocket 配置 map $http_upgrade $connection_upgrade { default upgrade; '' close; } server { listen 80; server_name localhost; location /ws { proxy_pass ...
分类:
Web程序 时间:
2020-09-18 01:47:02
阅读次数:
46
import pymysql user=input() pwd=input() conn = pymysql.connect(host = 'localhost', user = '数据库用户名',password='数据库密码',database ='数据库名‘) cursor = conn.cu ...
分类:
数据库 时间:
2020-09-18 00:13:19
阅读次数:
35
Widows搭建sqli-labs 从github上下载的sqli-labs, 在本地安装可能由于php版本的不一样, 会无法运行,所以这里我们采用phpstudy集成环境。 具体使用参考: https://www.xp.cn/wenda/388.html 将下载好的sqli-labs解压放入D:\ ...
分类:
数据库 时间:
2020-09-17 23:47:49
阅读次数:
40
基础命令操作 启动zk服务 ./zkServer.sh start 复制代码 [root@localhost bin]# ./zkServer.sh ZooKeeper JMX enabled by default Using config: /usr/home/zookeeper-3.4.11/b ...
分类:
其他好文 时间:
2020-09-17 23:28:28
阅读次数:
28
[root@localhost dpdk-19.11]# cat /proc/meminfo | grep -i huge AnonHugePages: 0 kB ShmemHugePages: 0 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_ ...
分类:
其他好文 时间:
2020-09-17 22:10:17
阅读次数:
29