openssl_nginx_ssl
生成自签名证书(含 SAN 扩展) 现代浏览器要求证书必须包含 Subject Alternative Name (SAN),否则即使导入也会报错。 123456openssl req -x509 -newkey rsa:2048 -nodes \ -keyout server.key \ -out server.crt \ -days 365 \ -subj "/C=CN/S
Oracle linux install oracle 19c databases
Oracle linux install oracle 19c databasesOracle Database 19c Installation On Oracle Linux 8 (OL8)vim /etc/hosts 192.168.56.107 ol8-19.localdomain ol8-19 Oracle 安装前置条件执行自动设置或手动设置以完成基本前提。所有安
linux upgrade openssh
从openssh官网下载最新的源码https://www.openssh.org/portable.html 编译安装123456tar -xf openssh-10.2p1.tar.gzcd openssh-10.2p1./configure --prefix=/opt/opensshmakesudo make installsudo useradd sshd -s /sbin/nologin
linux systemctl mount samba
请确保你的系统已经安装了cifs-utils包,因为systemd需要它来挂载CIFS/SMB共享 1234# Debian/Ubuntusudo apt install cifs-utils# CentOS/RHELsudo yum install cifs-utils 使用 systemd mount 单元 创建挂载点目录1sudo mkdir -p /mnt/sms 创建
linux Install Proftpd
linux Install Proftpdgithub uri 1git clone https://github.com/proftpd/proftpd.git 从GitHub下载最新发布的代码 build1234567./configure --prefix=/opt/proftpd --enable-openssl --enable-nls --enable-ctrls --enable-
Ubuntu update-alternatives
Ubuntu中update-alternatives命令使用教程update-alternatives是Ubuntu中管理软件多版本切换的强大工具,特别适用于需要同时维护多个版本的环境(如Java、Python、GCC等)。 一、命令概述主要功能 管理系统命令的多个备选版本 通过符号链接实现版本切换 提供交互式选择界面 适用于需要同时安装多个版本的环境 基本语法 1sudo update-al
Linux Upgrade OpenSSH
download source12345wget https://mirrors.aliyun.com/pub/OpenBSD/OpenSSH/portable/openssh-10.0p2.tar.gzwget https://github.com/openssl/openssl/releases/download/openssl-3.5.0/openssl-3.5.0.tar.gztar -x