记录一下,方便复习 1、更换kali源,默认源注释掉。 sudo vim /etc/apt/sources.list #中科大 deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib deb-src http:// ...
分类:
其他好文 时间:
2021-06-10 17:55:25
阅读次数:
0
1、进入 applications cd /usr/share/applications 2、创建文件 sudo vim idea.desktop [Desktop Entry] Encoding=UTF-8 Version=1.0 Name=IntelliJ IDEA GenericName=Ja ...
分类:
系统相关 时间:
2021-06-10 17:51:51
阅读次数:
0
导语: 该篇文章主要记录ContOS8安装MariaDB后的一些配置内容,若想要详细了解安装过程请移步至上一篇博文! 正文: 首先对MariaDB进行相关的简单配置 使用mysql_secure_installation命令进行初始化配置。 首先是设置密码,会提示先输入密码 Enter curren ...
分类:
数据库 时间:
2021-06-10 17:40:12
阅读次数:
0
1.在自己的服务器中找到redis的配置文件 redis.conf 使用命令vi redis.conf或vim redis.conf ...
分类:
其他好文 时间:
2021-06-07 20:35:04
阅读次数:
0
vim /etc/sysconfig/network-scripts/ifcfg-ens33 增加如下内容 DNS1=8.8.8.8 DNS2=114.114.114.114 PEERDNS="no" 重启网络 service network restart ...
分类:
其他好文 时间:
2021-06-07 20:27:38
阅读次数:
0
个人喜欢将编辑器背景设置成豆沙绿,保护眼睛。在vs2019中豆沙绿背景以及consolas字体配置方法如下: 工具 → 选项 → 环境 → 字体和颜色,显示项为“纯文本”,设置项背景色:色调=85,饱和度=123,亮度=205,或者 rgb为199,237,204。字体设置成consolas,这是等 ...
分类:
其他好文 时间:
2021-06-06 19:35:42
阅读次数:
0
Go引入包报错 package ... is not in GOROOT ...
分类:
其他好文 时间:
2021-06-06 19:25:40
阅读次数:
0
Ncurses(三)- 使用颜色 检查颜色可用 在使用颜色之前,你需要知道你的终端是否支持颜色显示,你可以通过以下if检测: if (has_colors() == FALSE) { endwin(); printf("Your terminal does not support color\n") ...
分类:
其他好文 时间:
2021-06-06 19:23:46
阅读次数:
0
快照 第一步:关机 第二步:生成快照 克隆 第一步:基于快照生产克隆机器 第二步:开机 第三步:登录 第三步:修改主机名 sudo hostnamectl --static set-hostname hadoop102sudo hostnamectl --static set-hostname ha ...
分类:
其他好文 时间:
2021-06-05 18:21:13
阅读次数:
0
Connect Vagrant VM by using Xshell 1. View your vagrant ssh-config type this commend to view your vagrant ssh-config: vagrant ssh-config you will get ...
分类:
系统相关 时间:
2021-06-05 17:39:35
阅读次数:
0