摘要: Summary # 基本用法 systemctl list-unit-files --type service # 查看全部服务 systemctl status name.service # 查看服务状态 systemctl start name.service # 启动服务 systemctl 阅读全文
posted @ 2020-06-02 15:48 duchaoqun 阅读(209) 评论(0) 推荐(0) 编辑
摘要: Summary 自定义网络访问功能。 开源地址:https://github.com/fatedier/frp/releases 配置域名 添加泛域名解析 *.duchaoqun.cn 8.8.8.8,其中8.8.8.8是我们的服务器地址。 配置Server # 多个域名同时使用的时候添加如下配置。 阅读全文
posted @ 2020-06-02 14:08 duchaoqun 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Summary 我们在服务商申请顶级域名 duchaoqun.cn 注册域名的时候,我们需要提交一些我们的基本信息。 记录类型 A 将域名指向一个具体的IP地址。 主机记录:@ - 直接解析顶级域名 duchaoqun.cn 主机记录:* - 泛解析,匹配其他所有域名 *.duchaoqun.cn 阅读全文
posted @ 2020-06-02 13:52 duchaoqun 阅读(71) 评论(0) 推荐(0) 编辑
摘要: Summary 格式:su [option] username 功能:切换用户 选项:- 执行新用户环境设置 Demo # 切换成 root 用户 su # 切换成 root 用户,使用 root 用户环境变量。 su - root # 切换用户执行一条命令 su - oracle -c comma 阅读全文
posted @ 2020-06-02 13:21 duchaoqun 阅读(84) 评论(0) 推荐(0) 编辑