Logo

MacOS常用命令

1.查看EFI所在分区sudo diskutil list2. 挂载分区sudo diskutil mount disk0s1###3.允许任意安装源sudo spctl --master-disable4.查找端口对应的进程号#以5000端口为例lsof -i :5000# 杀死进程kill -9...

Window常用命令

1. 关闭防火墙netsh firewall set opmode disable2. 查看硬盘和空间大小wmic DiskDrive get Size /value # 查看所有wmic LogicalDisk where "Caption='C:'" g...

Linux常用命令

1.Linux查看端口占用情况lsof -i:端口号netstat -tunlp|grep 端口号2.Linux内存条查看命令dmidecode | grep -A16 "Memory Device$"3.Linux硬盘UUID查询命令ls -l /dev/disk/by-uui...

Mysql常用命令

1.用户相关双机同步用户创建grant replication slave on *.* to sync@'172.21.210.214' identified by '123456';管理用户创建GRANT ALL privileges ON *.* TO &#39...

Moosefs常用命令

1. mfsgetquota(查询文件占用容量)mfsgetquota -h test/ # 二进制统计容量大小,推荐!mfsgetquota -H test/ # 十进制统计容量大小mfsgetquota -g test/ # 用GiB来统计容量大小2. mfssetquota(设定文件夹占...

npm使用国内镜像加速的方法

一、修改成腾讯云镜像源1、命令npm config set registry http://mirrors.cloud.tencent.com/npm/验证命令npm config get registry如果返回http://mirrors.cloud.tencent.com/npm/,说明镜像配...

一条命令安装一个云系统sacaos,国内也支持安装

1.sacaos的GitHub地址https://github.com/IceWhaleTech/CasaOS2.可访问GitHub用户执行以下命令即可wget -qO- https://get.casaos.io | sudo bash3.不能访问GitHub的用户,把get.casaos.io....

群晖虚拟机安装openwrt软路由系统,作为旁路由为局域网设备提供服务

1.下载群晖系统套件:Virtual Machine Manager2.从GitHub的lean大佬代码库下载编译好的X86固件下载地址:https://github.com/coolsnowwolf/lede/releases/download/20220505/openwrt-x64-R22.5...

最简博客、知识库hexo搭建教程

官网:https://hexo.io/1.环境准备node.js:版本需不低于 10.13,下载地址:https://nodejs.cn/download/git:下载地址:(windows)https://git-scm.com/download/win# Linuxapt-get install...

群晖docker安装dokuwiki个人知识管理系统

1.官网https://www.dokuwiki.org/dokuwiki2.Docker安装文档https://hub.docker.com/r/linuxserver/dokuwiki3.步骤镜像拉取docker pull linuxserver/dokuwikidocker-composeve...