简介

dnf 是基于 Red Hat Linux 发行版的下一代包管理工具,它代替 yum 提供更好的性能、更好的依赖处理和更好的模块化架构。

基础语法

dnf [options] [command] [package]
阅读全文 »

青山绕绿水

炊烟携风云

家老行渐缓

儿孙满堂欢

秋高风急卷愁心

举杯对影难自醒

虚握旧时凝脂手

一壶醉酒到天明

万鬼入市血眼开

红鬼愁来绿鬼哀

小鬼变大不觉满

大鬼身消来世来

telnet

telnet ip port
telnet 127.0.0.1 3306

# 存在以下提示表示连接失败
# telnet: connect to address 127.0.0.1: Connection refused

curl

curl http://ip:port
curl http://10.10.10.10:3306

# 存在以下提示表示连接成功
# curl: (1) Received HTTP/0.9 when not allowed
# curl: (56) Recv failure: Connection reset by peer

# 存在以下提示表示连接失败
# curl: (7) Failed to connect to localhost port 3306: Connection refused

ssh

ssh -v ip -p port
ssh -v 10.10.10.10 -p 1522

# 存在以下提示表示连接成功
# debug1: Connection established

# 存在以下提示表示连接失败
# debug1: connect to address 10.10.10.10 port 1522: No route to host