惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
P
Palo Alto Networks Blog
T
ThreatConnect
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
T
True Tiger Recordings
P
Privacy & Cybersecurity Law Blog
B
Blog
IT之家
IT之家
Last Week in AI
Last Week in AI
F
Full Disclosure
Hacker News: Ask HN
Hacker News: Ask HN
C
Comments on: Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
N
News and Events Feed by Topic
NISL@THU
NISL@THU
腾讯CDC
雷峰网
雷峰网
Security Latest
Security Latest
李成银的技术随笔
M
Microsoft Research Blog - Microsoft Research
L
LangChain Blog
L
Lohrmann on Cybersecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Check Point Blog
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
博客园 - Franky
N
News | PayPal Newsroom
V
V2EX
A
About on SuperTechFans
The Register - Security
The Register - Security
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google Online Security Blog
Google Online Security Blog
MyScale Blog
MyScale Blog
Cisco Talos Blog
Cisco Talos Blog
Vercel News
Vercel News
WordPress大学
WordPress大学
C
Cyber Attacks, Cyber Crime and Cyber Security
The Hacker News
The Hacker News
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
爱范儿
爱范儿
A
Arctic Wolf
L
LINUX DO - 最新话题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

博客园 - zzzp0755

Docker集群 + 运维 + 镜像仓库 Docker安装和应用 SQL Server 检测到基于一致性的逻辑 I/O 错误 校验和不正确(应为:010f28a5,但实际为:0xcaf47a0c)。 ABP vNext学习 及问题记录 winform datagridview 勾选复选框 和点击单元格事件区分 Vol.NET 开发步骤 .net6.0 新知识学习 英语2025-02 FLOAT:浮点数值数据的大致数值数据类型 Dev 案例 css 积累 20240423 JSON.NET JObject键比较不区分大小写 jsfiddle.net js在线调试 sql 时间日期函数 ele admin plus 添加dev插件 .NET Core Web API 实现图形验证码 DataGridView 保存编辑的行 .net webapi 返回类型
linux常用命令
zzzp0755 · 2026-03-05 · via 博客园 - zzzp0755

版本信息 cat /etc/*release

虚拟机linux常用NAT网络模式,通过主机访问网络。(桥接为直连路由器外网,安全不可控)

创建文件夹mkdir xzp

删除文件夹rmdir xzp

查看文件夹:ls

创建文件:touch 1.txt

查看文件:VI 1.txt     编辑模式:a或o       保存并退出:Esc→Shift+:→ wq      不保存退出:Esc→Shift+:→ q!

切换用su - root  ,su - peter

用户新增删除、权限:有流程  

运维

目标主机启动的端口:netstat -tuln (命令安装:sudo dnf install net-tools -y)
开放端口

firewall-cmd --zone=public --add-port=8888/tcp --permanent # 永久添加规则
firewall-cmd --reload # 重载配置
firewall-cmd --list-ports # 验证端口开放

验证端口开放性:nc -zv 192.168.40.168 5000(命令安装sudo dnf install nmap-ncat -y)

centos 7和8的差别:https://blog.csdn.net/seaship/article/details/109292307

系统安装:

CentOS8设置网络镜像安装源:mirrors.aliyun.com/centos/8/BaseOS/x86_64/os(https://developer.aliyun.com/article/1471190)

设置静态Ip :

CentOS7-8 有流程:vi /etc/sysconfig/network-scripts/ifcfg-ens160 重启配置:service network restart

CentOS9:https://cloud.tencent.com/developer/article/2224886

配置镜像源

centos stream 8:设置 镜像源

sudo curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo

centos stream 9设置 镜像源

编辑源配置文件:

sudo vi /etc/yum.repos.d/CentOS-Stream.repo

下载镜像源:

sudo curl -o /etc/yum.repos.d/CentOS-Stream.repo https:

替换为以下内容(覆盖原有配置):

应用:

Centos7.6 支持到.net7.6  。  .net 8910 Centos Strearm 8 才支持

1、安装 wget:yum install wget

2、配置dns服务器

echo “nameserver 8.8.8.8” | sudo tee /etc/resolv.conf

echo “nameserver 114.114.114.114” | sudo tee /etc/resolv.conf

重启dns: sudo systemctl restart NetworkManager

测试:ping mirrors.aliyun.com

3、安装.Net 8:

sudo dnf install dotnet-sdk-8.0

问题

1、服务启动报数据库连接握手协议ssl和TSL v1.0 v1.2 v1.3的问题

Unhandled exception. Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception.
---> Interop+OpenSsl+SslException: SSL Handshake failed with OpenSSL error - SSL_ERROR_SSL.
---> Interop+Crypto+OpenSslCryptographicException: error:0A000102:SSL routines::unsupported protocol

  解决办法:配置openssl: https://cloud.tencent.com/developer/article/1816990

 2.centos7.6安装.NET 8.0 报错

./YoloApp: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./YoloApp)
./YoloApp: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./YoloApp)

解决方法:https://cloud.tencent.com/developer/article/2510366