参考:Linux - 进阶 使用 LAMP 搭建私有云存储 ( Nextcloud 搭建)_lamp nextcloud-CSDN博客
第一步:未设置防火墙进行扫描
nmap -sS -O 192.168.31.1
Starting Nmap 6.40 ( http://nmap.org ) at 2024-03-06 22:19 CST
Nmap scan report for 192.168.31.1
Host is up (0.00049s latency).
Not shown: 996 closed ports
PORT STATE SERVICE
22/tcp open ssh
111/tcp open rpcbind
3306/tcp open mysql
8088/tcp open radan-http
MAC Address: 00:0C:29:41:41:7E (VMware)
No exact OS matches for host (If you know what OS is running on it, see http://nmap.org/submit/ ).
TCP/IP fingerprint:
OS:SCAN(V=6.40%E=4%D=3/6%OT=22%CT=1%CU=38359%PV=Y%DS=1%DC=D%G=Y%M=000C29%TM
OS:=65E87B81%P=x86_64-redhat-linux-gnu)SEQ(SP=106%GCD=1%ISR=107%TI=Z%CI=Z%I
OS:I=I%TS=A)SEQ(SP=107%GCD=1%ISR=108%TI=Z%CI=Z%TS=A