# 科大260304 **Repository Path**: aedes/kd260304 ## Basic Information - **Project Name**: 科大260304 - **Description**: 自己学习用 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2026-03-03 - **Last Updated**: 2026-03-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 科大260304 ## 介绍 自己学习用 ## git的基本操作 ``` shell # 基本配置 git config --global user.name "你的名字" git config --global user.email "你的邮箱@xxx.com" git config --list # 克隆代码 git clone xxxx # 添加修改缓存 git add . # 提交修改到本地库 git commit -m xxxx # 拉取最新代码 git pull # 推送到中央库 git push ``` ## 安装redis ```shell ## 进入 redis目录 ## 设置密码 redis.windows-service.conf requirepass # 安装 redis-server.exe --service-install redis.windows-service.conf # 常用操作 sc start redis sc stop redis sc delete redis ``` ## mongodb启动 ```shell # bin目录下创建mongod.cfg,如下内容 systemLog: destination: file path: D:\CodeTool\mongodb-7.0.30\log logAppend: true storage: dbPath: D:\CodeTool\mongodb-7.0.30\data net: port: 17017 bindIp: 127.0.0.1 # 启动 mongod.exe -f ./mongod.cfg ``` ## emqx的启动 ```shell # etc\emqx.conf # 可以修改端口号,不建议修改 # 运行 停止 重启 emqx.cmd start emqx.cmd stop emqx.cmd restart # 默认链接和验证密码 # http://127.0.0.1:18083 # admin public ```