随笔分类 - linux
摘要:安装samba sudo apt update && sudo apt install samba -y # Debian/Ubuntu sudo yum install samba -y # CentOS/RHEL 配置共享目录 mkdir /share chmod 777 /share sudo
阅读全文
摘要:一、systemctl 常用命令 systemctl 是 systemd 的管理工具,用来管理服务、查看状态、控制开机启动等。 1. 服务管理 # 启动服务 systemctl start nginx # 停止服务 systemctl stop nginx # 重启服务 systemctl rest
阅读全文