在CentOS中配置Postman主要有以下几种方法:
sudo rpm --import https://dl.pstmn.io/release/key.asc,创建YUM仓库文件/etc/yum.repos.d/postman.repo并添加内容[postman] name=Postman Repository baseurl=https://dl.pstmn.io/download/yum enabled=1 gpgcheck=1 gpgkey=https://dl.pstmn.io/release/key.asc,然后执行sudo yum install postman进行安装,安装后可通过postman命令启动。sudo yum install snapd sudo systemctl enable --now snapd.socket sudo ln -s /var/lib/snapd/snap /snap,再通过sudo snap install postman --classic安装Postman,安装后用postman命令启动。.rpm包,用sudo rpm -ivh postman-<version>.rpm安装,或下载.tar.gz包,解压到指定目录后创建软链接sudo ln -s /usr/local/Postman/Postman /usr/bin/postman来启动。