随笔分类 - linux
摘要:常见问题 1. root用户无法修改hosts文件 root@VM-16-14-debian:/etc# sudo chmod u+w hosts sudo: unable to resolve host VM-16-14-debian: Name or service not known chmo
阅读全文
摘要:#!/usr/bin/env bash ############################################ #用 途: 用于脚本输入参数的规范处理 #测 试:假设文件名为test.sh , 执行./test.sh --daemon --helper=abc --host_typ
阅读全文
摘要:Debian系统 验证未通过,发现每次都是写两次 且移除自启动并未成功 在/etc/init.d下新建test,内容如下 #!/bin/sh ### BEGIN INIT INFO # Provides: test # Required-Start: $network $remote_fs $loc
阅读全文
摘要:目录1.Debian12 系统安装2.修改ip为静态3.报ssh.service not found4.无法telnet本机22端口的问题5.无法远程ssh连接的问题6.无法在远程使用root账号ssh连接的问题7.常用工具安装7.1安装vim7.2vim无法粘贴内容7.3安装curl7.4安装ll
阅读全文