竹磬网-邵珠庆の日记 生命只有一次,你可以用它来做些更多伟大的事情–Make the world a little better and easier


248月/190

【喜欢就拿走系列-07】SAAS基础服务架构技术栈

发布在 邵珠庆

218月/190

【喜欢就拿走系列-06】SAAS中微信支付生态对接

发布在 邵珠庆

68月/191

群晖DSM使用端口大全

发布在 邵珠庆

请参见下表:

设置工具
类型
端口号码
协议
Synology Assistant
9999、9998、9997
UDP
备份
类型
端口号码
协议
Data Replicator、Data Replicator II、Data Replicator III
9999、9998、9997、137、138、139、445
TCP
网络备份
873(数据)、3260(iSCSI LUN)
TCP
加密的网络备份(远程 Time Backup)
22
TCP
下载
类型
端口号码
协议
eMule
4662(TCP)、4672(UDP)
TCP/UDP
BT
6890 ~ 6999(用于 DSM 版本早于 v2.0.1-3.0401 的机型);
16881(用于 DSM 版本 v2.0.1 以上的机型)
TCP/UDP
网页应用程序
类型
端口号码
协议
DSM
5000(HTTP)、5001(HTTPS)
TCP
Download Station
5000
TCP
Photo Station、Web Station
80(可添加另外的端口)、443(HTTPS)
TCP
Mail Station
80(HTTP)、443(HTTPS)
TCP
Audio Station
5000(HTTP,可添加另外的端口)、5001(HTTPS,可添加另外的端口)、5353(Bonjour 服务)、6001-6010(AirPlay 控制/定时)
TCP/UDP
File Station
5000(HTTP,可添加另外的端口)、5001(HTTPS,可添加另外的端口)
TCP
Surveillance Station
9900(HTTP)、9901(HTTPS)
TCP
媒体服务器
1900(UPnP)、50001(内容浏览)、50002(内容串流)
TCP/UDP
Video Station
5000(HTTP)、5001(HTTPS)、9025-9040、
5002、5004、65001(使用 HDHomeRun 网络调谐器的情况下)
TCP
邮件服务器
类型
端口号码
协议
SMTP
25
TCP
POP3
110
TCP
IMAP
143
TCP
IMAP 含 SSL/TLS
993
TCP
POP3 含 SSL/TLS
995
TCP
文件传输
类型
端口号码
协议
FTP、FTP 含 SSL、FTP 含 TLS
21(命令)、20(主动模式的数据连接)、55536-55663(被动模式的数据连接)
TCP
AFP
548
TCP
CIFS
smbd:139(netbios-ssn)、445(microsoft-ds)
TCP/UDP
Nmbd:137、138
UDP
NFS
111、892、2049
TCP/UDP
WebDAV、CalDAV
5005、5006(HTTPS)
TCP
iSCSI
3260
TCP
TFTP
69
UDP
套件
类型
端口号码
协议
Cloud Station
6690
TCP
VPN Server(OpenVPN)
1194
UDP
VPN Server(PPTP)
1723
TCP
Syslog Server
514(可添加另外的端口)
TCP/UDP
iTunes Server
3689
TCP
Directory Server
389(LDAP)、636(LDAP 含 SSL)
TCP
DHCP Server
67、68
UDP
行动应用程序
类型
端口号码
协议
DS photo+
80、443(HTTPS)
TCP
DS audio
5000、5001(HTTPS)
TCP
DS cam
5000
TCP
DS file
Android/iOS 设备:5005、5006(HTTPS)
Windows Phone:5000
TCP
DS finder
5000(HTTP)、5001(HTTPS)
TCP
DS video
5000(HTTP)、5001(HTTPS)
TCP
DS download
5000(HTTP)、5001(HTTPS)
TCP
DS cloud
6690
TCP
打印机、UPS 和外围设备
类型
端口号码
协议
LPR
515
UDP
网络打印机(IPP)/CUPS
631
TCP
Bonjour
5353
UDP
网络 MFP
3240-3259
TCP
UPS
3493
TCP
系统
类型
端口号码
协议
SSH/SFTP
22
TCP
Telnet
23
TCP
资源监视器/SNMP
161
TCP/UDP
MySQL
3306
TCP
LDAP
389、636(SLAPD)
TCP
58月/190

linux 系统中 /bin 目录的区别

发布在 邵珠庆

/bin
This directory contains executable programs which are needed in single user mode and to bring the sys‐ tem up or repair it.

此目录包含在单用户模式下需要的可执行程序,这些程序用于启动或修复系统。

/sbin
Like /bin, this directory holds commands needed to boot the system, but which are usually not executed by normal users.

与/bin一样,这个目录包含引导系统所需的命令,但这些命令通常不会由普通用户执行。

/usr/bin
This is the primary directory for executable programs. Most programs executed by normal users which are not needed for booting or for repairing the system and which are not installed locally should be placed in this directory.

主目录是可执行程序。大多数由普通用户执行的、不需要启动或修复系统的程序以及不在本地安装的程序都应该放在这个目录中。

/usr/sbin
This directory contains program binaries for system administration which are not essential for the boot process, for mounting /usr, or for system repair.

此目录包含用于系统管理的程序二进制文件,这些文件对于引导过程、装入/usr或系统修复都不是必需的。

/usr/local/bin
Binaries for programs local to the site.

站点本地程序的二进制文件。

/usr/local/sbin
Locally installed programs for system administration.

本地安装的系统管理程序。