k8sCoder

导航

2024年5月30日 #

WIN10作为NFS客户端连接群晖

摘要: 在群晖 里面文件夹权限里开启NFS。设置好允许的IP范围。 然后在WIN10里面也开启了功能,总是无法连接。 后面搜索了发现需要使用powershell中的命令, Z代表映射成Z盘,如果你需要其它盘请替换。 New-PSDrive Z -PsProvider FileSystem -Root \\1 阅读全文

posted @ 2024-05-30 09:53 思念弥漫 阅读(13) 评论(0) 推荐(0) 编辑

2024年5月19日 #

Centos 无法使用yum 错误:Failed to download metadata for repo ‘AppStream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist

摘要: 大家都知道Centos8于2021年年底停止了服务,大家再在使用yum源安装时候,出现下面错误“错误:Failed to download metadata for repo ‘AppStream’: Cannot prepare internal mirrorlist: No URLs in mi 阅读全文

posted @ 2024-05-19 19:52 思念弥漫 阅读(17) 评论(0) 推荐(0) 编辑

2023年11月10日 #

C++中获取数组长度

摘要: #include<iostream> using namespace std; template<class T> int length(T& arr) { //cout << sizeof(arr[0]) << endl; //cout << sizeof(arr) << endl; return 阅读全文

posted @ 2023-11-10 10:29 思念弥漫 阅读(249) 评论(0) 推荐(0) 编辑

2023年11月8日 #

Linux中的关机命令

摘要: Linux正常关机关不掉 1、可以用 init 0 或 shutdown now 来关闭。 2、在Linux中,输入shutdown -h now命令可以关闭系统并关闭电源。如果无法关闭系统,可能有以下几个原因:没有足够的权限:如果您不是root用户,可能无法使用shutdown命令。 3、你这是文 阅读全文

posted @ 2023-11-08 10:12 思念弥漫 阅读(132) 评论(0) 推荐(0) 编辑