03 2021 档案

摘要:Unix 下可用的 5 种I/O模型: 阻塞式 I/O 非阻塞式 I/O I/O 复用(select 和 poll) 信号驱动式 I/O(SIGIO) 异步 I/O(POSIX 的 aio_ 系列函数) 一个输入操作通常包括两个不同的阶段: 等待数据准备好; 从内核向进程复制数据。 对于一个套接字上 阅读全文
posted @ 2021-03-09 17:30 clipboard 阅读(166) 评论(0) 推荐(0) 编辑
摘要:Step 1 — Installing Apache and Updating the Firewall Adjust the Firewall to Allow Web Traffic sudo apt update sudo apt upgrade sudo apt install apache 阅读全文
posted @ 2021-03-06 09:07 clipboard 阅读(186) 评论(0) 推荐(0) 编辑
摘要:1 Basics Figure 2: A prototypical command-line command. 1.1 Running a terminal Figure 5: Anatomy of a command line. (Your prompt may differ.) Figure 7 阅读全文
posted @ 2021-03-05 12:04 clipboard 阅读(86) 评论(0) 推荐(0) 编辑
摘要:控制台 → 服务器运维 → 远程连接 控制台 服务器列表 可以通过输入 sudo su root 切换至 root 账号。 sudo su root 将 /etc/ssh/sshd_config 文件中的 PasswordAuthentication no 修改为 PasswordAuthentic 阅读全文
posted @ 2021-03-01 09:51 clipboard 阅读(725) 评论(0) 推荐(0) 编辑