N31※Windows Server 2022 系统评估版转为正式版
1、管理员模式运行cmd,输入命令,其中ServerDatacenterEval去掉Eval后,就是当前的Edition ID DISM /online /Get-CurrentEdition C:\Users\Administrator>DISM /online /Get-CurrentEdition 部...
L44※Ubuntu搭建mqtt服务器
1> 引入库 sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa sudo apt-get update 2> 安装库文件 sudo apt-get install mosquitto sudo apt-get install mosquitto-dev sudo apt...
L43※Putty使用密钥登陆SSH
1> 使用putty生成公钥和私钥 2> 配置远程主机 将上一步保存的公钥保存在~/.ssh/authorized_keys文件中 chmod 400 ~/.ssh/authorized_keys 3> 使用sudo时不输入密码 在/etc/sudoers文件中增加(u...
L01※快速搭建网站运行环境
1> 更新软件 yum -y install gcc-c++ pcre pcre-devel zlib zlib-devel openssl openssl-devel libxml2-devel # 对于Centos或者Redhat系统 apt-get -y install openssl # 对于Debian/Ubuntu...
L42※使用 systemd 实现 screen 开机启动
1> 创建一个新的 systemd 服务文件 vim /etc/systemd/system/screen.service 2> 在新文件中添加以下内容 [Unit] Description=Screen Session [Service] Type=simple User=<you...
N01※更改homebrew镜像源
1> homebrew 安装地址 /bin/bash -c '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)' 2> 替换镜像源 以阿里云的镜像为例 ① 替换brew.git cd '$(brew --r...
L28※vps搭建http代理
1> 软件安装 sudo apt-get install open-ssl sudo apt-get install squid 2> 配置用户名和密码 sudo yum install httpd-tools -y # centos 用于生成密码 sudo apt-get install apache2-ut...
L23※vps编译 openwrt 系统固件
1> 注意 1. 不要用 root 用户进行编译2. 默认登陆IP 192.168.1.1 密码 password 2> 编译命令 ① 首先装好 Linux 系统,推荐 Debian 11 或 Ubuntu LTS ② 安装编译依赖 sudo apt update -y...