signal, 信号

signal, 信号 信号(signal)机制 信号(Signal)是Linux, 类Unix和其它POSIX兼容的操作系统中用来进程间通讯的一种方式。一个信号

usbip

“usbip” 下载 usbip-win https://github.com/cezanne/usbip-win/releases 解压到一个目录 D:\workspace\apps\usbip-win-0.3.4 安装证书 右键usbip_test.pfx -> 安装PFX,选择"本地计算机”,而不是"

调度策略

“调度策略” 为什么会发生调度? 因为cpu是有限的,而操作系统上的进程很多,所以操作系统需要平衡各个进程的运行时间 比如

软路由

软路由 GL.inet GL-BE3600 友善 R5s, NanoPi R5S Dell wyse 5070, 单臂软路由 安装PVE https://www.10bests.com/install-proxmox-ve/ PVE里面安装openwrt虚拟机 https://www.10bests.com/install-openwrt-lede-on-pve/ download x86 image ext4磁盘 个人建议用这个镜像 https://downloads.openwrt.org/releases/19.07.3/targets/x86/64/openwrt-19.07.3-x86-64-combined-ext4.img.gz 只读磁盘 https://downloads.openwrt.org/releases/19.07.3/targets/x86/64/openwrt-19.07.3-x86-64-combined-squashfs.img.gz 添加启动

后退按钮

“后退按钮” vue methods: { goBack(){ let state = { title: '', url: window.location.href }; window.history.pushState(state, state.title, state.url); } }, mounted() { if (window.history && window.history.pushState) { history.pushState(null, null, document.URL); //这里有没有都无所谓,最好是有以防万一 window.addEventListener('popstate', this.goBack, false); //

snap

snap 安装 snap 的过程还是需要些内存的, 我有个虚拟机剩余内存 230M, snap 安装失败… almalinux 1 2 3 sudo dnf install epel-release sudo dnf upgrade dnf install snapd --enablerepo=epel -y almalinux 1 2 3 4 sudo dnf install epel-release sudo dnf config-manager --set-enable epel

sendfile

sendfile 在了解零拷贝之前,我们先来看看标准的的 I/O 操作. 传统 IO, 缓存 IO, Buffer I/O, 标准 IO 标准 IO 又被称作缓存 IO 或传统 IO, 大多数文件系统的默认 I/O 操作都是缓存 I/O。

fork exec system()

“fork exec system()” system()、exec()、fork()三个与进程有关的函数的比较 启动新进程 (system函数) system() 函数可以启动一个新的进程。 int system (const

task_struct, 进程描述符, 进程控制块 (PCB)

“task_struct, 进程描述符, 进程控制块 (PCB)” task struct, task_struct, 进程描述符, 进程控制块 (PCB) https://github.com/torvalds/linux/blob/master/include/linux/sched.h 进程是资源分配的基本单位。 进程控制块 (Process Control Block, PCB) 描述进程的基本信息和运行状态,所谓的创

系统调用, System Call

“系统调用, System Call” 计算机系统的各种硬件资源是有限的,在现代多任务操作系统上同时运行的多个进程都需要访问这些资源,为了更好的管理这些

ap

“ap” 商用 AP 厂商: aruba/安移通, ruckus/优科 … ruckus 的 unleashed 系列AP, unleashed 系列最大的优势是: Wi-Fi非常稳定,快速漫游、无缝切换、 5G占比调

network topology

“network topology” 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 @startuml [光猫] as onu package "J4100 \n 4网口工控机" { interface "ETH1\nenp1s0" as j4100Eth1 interface "ETH2\nenp2s0" as j4100Eth2 interface "ETH2\neno1" as j4100Eth3 interface "ETH3\nenp4s0" as j4100Eth4 agent vmbr0 j4100Eth1 -down- vmbr0

dm-crypt, 加密

dm-crypt, 加密 dm-crypt 是整合到 linux 内核中的,而它的命令行前端 cryptsetup, 在大多数主流的 linux 发行版中都会自带 LUKS = Linux Unified Key Setup commands 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 # 将分区设置为加

X Server, XServer

“X Server, XServer” 背景 大多数时候我们不希望在服务器上安装图形界面,但有时候有些程序需要图形界面,比如安装Oracle的时候。此时,可以配置让Linux使

kux

“kux” kux 转 mp4 https://zhuanlan.zhihu.com/p/111764932 安装youku客户端 执行脚本 1 2 3 4 5 6 7 8 9 10 11 @echo off setlocal enabledelayedexpansion set ffmpeg="C:\Program Files (x86)\YouKu\YoukuClient\nplayer\ffmpeg.exe" if exist %ffmpeg% ( for /r . %%i in (*.kux) do ( %ffmpeg% -y -i "%%i" -c:a copy -c:v copy -threads 2 "%%~dpni.mp4" ) ) else echo pause

arp table, arp 表

“arp table, arp 表” ARP表(Address Resolution Table) ARP协议 首先明确一点,在以太网环境下,同一个网段的主机之间需要知道对方的MAC地址,才能

cypress

cypress 1 2 3 npm install cypress --save-dev npx cypress open install cypress for project 1 2 3 npm install --save-dev cypress # 执行cypress install, 把cypress安装到 ~/.cache/Cypress node_modules/cypress/bin/cypress install install MySQL 1 npm install MySQL --save-dev 配置MySQL连接信息, 修改 cypress.json 成

vuetify

“vuetify” 安装相应包 yarn add @mdi/font -D # roboto字体其实不要也行,就英文的一套字体而已 yarn add typeface-roboto -D plugins/vuetify.js import Vue from 'vue'; import Vuetify from 'vuetify/lib'; import zhHans from 'vuetify/es5/locale/zh-Hans' // 引入中文语言包 import 'typeface-roboto/index.css' // 引入本地的R