一、redis添加开机自启 1、添加服务配置文件 [root@test system]# vim /etc/systemd/system/redis-server.service 2、服务配置文件内容(前面红色字体是启动脚本,后面红色字体是配置文件);注意?? 服务文件路径要写绝对路径 [Unit] ...
分类:
编程语言 时间:
2020-09-21 11:56:43
阅读次数:
61
# 用户创建useradd egon passwd egon # 单用户模式 BIOS=》grub=》内核 # grub加密 grub2-setpassword # 光盘修复 # 文件与文件夹的管理mkdir -p /a/b/c mv /a/b/c /a/b/C rm -rf /a/b/c ls / ...
分类:
其他好文 时间:
2020-09-18 12:07:44
阅读次数:
38
rhel-system-roles.selinux 此模块为为系统模块,可通过安装rhel-system-roles来获取。模块功能包括: 设置selinux模式(enforcing和permissive) 恢复文件默认上下文类型(restorecon) 设置获取上下文 管理登录以及端口 用法实例 ...
分类:
系统相关 时间:
2020-09-18 03:24:24
阅读次数:
56
importjava.util.Scanner;publicclassMain{publicstaticvoidsort(int[]arr,intleft,intright){if(left>=right){return;}intm=(left+right)>>>1;sort(arr,left,m);sort(arr,m+1,right);int[]tmp=newint[r
分类:
编程语言 时间:
2020-09-18 02:46:24
阅读次数:
36
package com.cdv.nsite; public class Test { //Unicode转中文方法 private static String unicodeToCn(String unicode) { String[] strs = unicode.split("\\\\u"); ...
分类:
其他好文 时间:
2020-09-18 01:52:48
阅读次数:
24
In-Person Social Engineering MORE ATTACKS AND EXPLOITS Elicitation Gathering info about a system from authorized users Interrogation Informal intervie ...
分类:
Web程序 时间:
2020-09-18 01:32:50
阅读次数:
47
·博主是根据b站up主诺十一2020的教程进行的学习~ https://www.bilibili.com/video/BV1V4411W787?p=1 1.对角色的移动做了如下的编码 1 using System.Collections; 2 using System.Collections.Gen ...
分类:
其他好文 时间:
2020-09-18 01:21:38
阅读次数:
29
将特性插入,就是插入一个标志?然后再类typeof中存在一(字段?方法?)对多(特性) 当调用特性的方法的时候就是调用想对应类的 方法; using System; using System.Collections.Generic; using System.Linq; using System.T ...
分类:
其他好文 时间:
2020-09-18 01:20:53
阅读次数:
25
在$JAVA$声明类、属性、方法时,可以使用关键字$final$来修饰,表示“最终”。 $final$标记的类不能被继承。提高了安全性和程序的可读性:如$String类$、$System类$ $final$标记的方法不能被子类重写 $final$标记的变量(成员变量或局部变量)称为常量,命名时一般大 ...
分类:
其他好文 时间:
2020-09-18 01:18:37
阅读次数:
29
reno@MyComputer:~/tools/cmake-3.12.4$ ./configure CMake 3.12.4, Copyright 2000-2018 Kitware, Inc. and Contributors C compiler on this system is: cc Er ...
分类:
编程语言 时间:
2020-09-18 01:02:04
阅读次数:
40