Hello!

今天拉屎顺畅吗

创建启动脚本拷贝文件

vi /etc/systemd/system/backup.service [Unit] Description=Backup Files After=local-fs.target [Service] Type=oneshot User=root Group=root ExecStart=/bi
阅读更多 >

海光 - centos8离线升级openssh

下载链接 http://111.229.207.178:5234/d/home/alistData/centos/ssh-update.tar.gz?sign=Zrj0YlvonyckIzdFo8pyPtwPjJkL20-aFfK1MDTLnGw=:0 关闭防
阅读更多 >

Centos8 离线升级OpenSSH

关闭防火墙 # 关闭防火墙 [root@localhost ~]# systemctl stop firewalld [root@localhost ~]# systemctl disable firewalld # 关闭selinux [root@localhost ~]# setenforce
阅读更多 >

CentOS8 安装mySql5.7.4

CentOS8 安装mySql5.7.4 更新yum源 cd /etc/yum.repos.d vim CentOS-Base.repo vim CentOS-AppStream.repo vim CentOS-Extras.repo 三个文件分别对应写入以下内容 AppStream: baseu
阅读更多 >

命令行 配置proxy请求

cmd中的操作 set http_proxy=http://127.0.0.1:7890 set https_proxy=http://127.0.0.1:7890 GIT中的操作 设置全局代理 git config --global http.proxy socks5://127.0.0.1:80
阅读更多 >

centos下用ffmpeg推流宇视科技摄像头rtsp流到前端播放(无flash)

流程:安装SRS服务接收ffmpeg的推流,SRS会提供一个flv的播放地址,前端通过fls.js播放即可,无需flash。 1.
阅读更多 >

ffmpeg+nginx截取屏幕实时画面并进行rtmp推流在前端播放

准备环境和文件 1、下载ffmpeg的包[https://foxbaby.lanzoui.com/iYjPmup51cd] 地址:https://ffmpeg.org/download.html#build-windows 鼠标放到Windows上选择一个构建,点击ffmpeg-release-fu
阅读更多 >

原生JS获取网页宽高

网页可见区域宽: document.body.clientWidth 网页可见区域高: document.body.clientHeight 网页可见区域宽: document.body.offsetWidth (包括边线的宽) 网页可见区域高: document.body.offsetHeight
阅读更多 >

vscode设置vue结构的初始代码片段

{ "Print to console": { "prefix": "vue", "body": [ "<template>", " <div>", " ", " </div>", "<
阅读更多 >

nvm命令

nvm install latest 安装最新版本node.js nvm use 版本号 使用某一具体版本,例如 :nvm use 14.3.0 nvm list 列出当前已安装的所有版本 nvm ls 列出当前已安装的所有版本 nvm uninstall
阅读更多 >