摘要: 一、查看当前硬盘的挂载信息 lsblk 假如旧的硬盘 名字为 nvme1 挂载在/export目录下 新的硬盘 名字叫nvme2 还未进行挂载 二、进行新硬盘挂载 1.首先对新硬盘进行分区 sudo fdisk /dev/nvme2 按照提示依次输入 g、n、回车、回车、回车、w 详情如下 Comm 阅读全文
posted @ 2025-05-15 11:31 生命不息bug不止 阅读(14) 评论(0) 推荐(0)
摘要: 一、S3 Browser工具的使用 1.点击Add new account 2.填入对应的Access Key ID和Serect Access Key 3.添加一个bucket 添加一个新的bucket或者添加一个现有的bucket,根据实际情况选择 5.之后点击添加的bucket就可以进行文件操 阅读全文
posted @ 2024-03-21 19:24 生命不息bug不止 阅读(110) 评论(0) 推荐(0)
摘要: import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; // Parse the JSON string ObjectMapper objectMapper 阅读全文
posted @ 2023-03-03 14:51 生命不息bug不止 阅读(230) 评论(0) 推荐(0)
摘要: 检索COM类工厂中CLSID为{000209FF-0000-0000-C000-000000000046}的组件失败,原因是出现以下错误:8000401a因为配置标识不正确,系统无法开始服务器进程。请检查用户名和密码 1. 搜索并打开“组件服务”窗口 2.组件位置:组件服务/计算机/我的电脑/DCO 阅读全文
posted @ 2023-02-24 11:24 生命不息bug不止 阅读(1882) 评论(0) 推荐(0)
摘要: 需要引用System.Management // 硬件Win32_Processor, // CPU 处理器Win32_PhysicalMemory, // 物理内存条Win32_Keyboard, // 键盘Win32_PointingDevice, // 点输入设备,包括鼠标。Win32_Flo 阅读全文
posted @ 2023-01-03 17:48 生命不息bug不止 阅读(1502) 评论(0) 推荐(0)
摘要: 编辑hosts文件,插入hosts sudo vim /etc/hosts 保存后,执行以下命令,使其立即生效 sudo /etc/init.d/networking restart 阅读全文
posted @ 2022-12-28 11:36 生命不息bug不止 阅读(617) 评论(0) 推荐(0)
摘要: vim /etc/resolvconf/resolv.conf.d/head 编辑head文件,插入dns设置 nameserver 8.8.8.8 nameserver 8.8.4.4 保存后,执行 resolvconf -u 让配置生效 阅读全文
posted @ 2022-12-28 10:57 生命不息bug不止 阅读(172) 评论(0) 推荐(0)
摘要: private void setFilePermission(File file) { try { UserPrincipalLookupService lookupService = FileSystems.getDefault().getUserPrincipalLookupService(); 阅读全文
posted @ 2022-10-26 15:45 生命不息bug不止 阅读(338) 评论(0) 推荐(0)
摘要: /** * 字符串转换成为16进制(无需Unicode编码) * @param str * @return */ public static String str2HexStr(String str) { char[] chars = "0123456789ABCDEF".toCharArray() 阅读全文
posted @ 2022-05-16 10:17 生命不息bug不止 阅读(119) 评论(0) 推荐(0)
摘要: sudo chmod 777 xxxxx 阅读全文
posted @ 2021-09-18 09:43 生命不息bug不止 阅读(30) 评论(0) 推荐(0)