star皆空
  • 首页
  • 归档
  • 分类
  • 标签
  • 关于
  • 友链

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 创建
2026-01-13
#Linux

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-
2026-01-09
#Linux

Ubuntu update-alternatives

Ubuntu中update-alternatives命令使用教程update-alternatives是Ubuntu中管理软件多版本切换的强大工具,特别适用于需要同时维护多个版本的环境(如Java、Python、GCC等)。 一、命令概述主要功能 管理系统命令的多个备选版本 通过符号链接实现版本切换 提供交互式选择界面 适用于需要同时安装多个版本的环境 基本语法 1sudo update-al
2025-08-07

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
2025-06-24
#Linux

ifmetric 调整网络优先级

metric 简介Linux 网络中通常用metric控制网络优先级,metric越小网络优先级越高,通常情况下系统默认双网卡metric都是0,这样我们就要人工干预,将某一个网卡的优先级metric值提高,来确保metric为0这个网卡的优先级 Install ifmetric1sudo apt install ifmetric 使用ifmetric调整网络优先级1sudo ifmetric
2024-06-06
Linux commond
#Linux

ubuntu22.04 安装显卡驱动

Download NVIDIA DriverDownload Links https://www.nvidia.cn/Download/driverResults.aspx/222416/en-us/ 1wget https://us.download.nvidia.cn/tesla/535.161.08/NVIDIA-Linux-x86_64-535.161.08.run 安装的时候注意需要在
2024-06-05
tool install
#Linux

少年应有鸿鹄志,当骑骏马踏平川。

少年应有鸿鹄志,当骑骏马踏平川。 《史记·陈涉世家》 摘自陈胜者,阳城人也,字涉。吴广者,阳夏人也,字叔。陈涉少时,尝与人佣耕,辍耕之垄上,怅恨久之,曰:“苟富贵,无相忘。”庸者笑而应曰:“若为庸耕,何富贵也?”陈涉太息曰:“嗟乎,燕雀安知鸿鹄之志哉!” 释义鸿鹄飞得很高,常用来比喻志气高远的人。意思是少年应当有像鸿鹄一样的志向,应当
2024-06-03
saying
#saying

Ubuntu 启动和禁用图像界面

Ubuntu 桌面版禁用桌面和启用桌面1234567# 关闭图形界面systemctl set-default multi-user.target# 禁用后需要重启才能生效# 打开图形界面systemctl set-default graphical.target
2023-12-13
Linux commond
#Linux

Ubuntu20.04 升级gcc,g++

添加安装源1sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test 更新安装源和安装最新gcc,g++12sudo apt updatesudo apt install gcc-11 g++-11 更新环境变量123456789sudo update-alternatives --install /usr/bin/gcc gcc /usr/
2023-12-05
Linux commond
#Linux

nginx-1.24.0

安装开发工具包12Ubuntu : sudo apt install build-essentialCentos : sudo dnf group install "Development Tools" 下载安装包1wget https://nginx.org/download/nginx-1.24.0.tar.gz -P ~/nginx 下载第三方依赖123wget ht
2023-11-04
tool install
#Linux
123

搜索

Hexo Fluid