美文网首页
centos 7 搭建 postman 及 postman m

centos 7 搭建 postman 及 postman m

作者: Helen_Cat | 来源:发表于2018-08-29 19:18 被阅读16次

    yum install GConf2 libXScrnSaver -y

    下载 post man linux 版本
    解压
    然后运行 根目录下的 Postman
    如果有Gnome ,会看到 postman 的界面

    npm install -g newman

    https://github.com/yangxikun/monitor-man
    git clone https://github.com/yangxikun/monitor-man.git

    按照 其readme 安装 redis 和他的所有依赖

    https://www.getpostman.com/

    First part from https://blog.bluematador.com/posts/postman-how-to-install-on-ubuntu-1604/

    wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz
    sudo tar -xzf postman.tar.gz -C /opt
    rm postman.tar.gz
    sudo ln -s /opt/Postman/Postman /usr/bin/postman
    

    But when launching postman from command prompt got an error:
    [root@localhost Downloads]# postman
    postman: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

    Found a solution at: https://www.centos.org/forums/viewtopic.php?t=61219
    yum install libXScrnSaver-1.2.2-6.1.el7.x86_64
    Then launch postman from command prompt and it will bring up the Postman GUI
    Killing the open terminal will terminate Postman

    You can also create a postman.desktop file to add Postman to the list of Applications in the Gnome desktop
    cd /usr/share/applications
    create postman.desktop as follows
    [Desktop Entry]
    Encoding=UTF-8
    Name=Postman
    Exec=postman
    Icon=/opt/Postman/resources/app/assets/icon.png
    Terminal=false
    Type=Application
    Categories=Development

    Once postman has been made available to the Applications Menu on the Gnome Desktop, it can be added to the Applications/Favorites menu

    • Select the "Applications/Activities Overview" menu item
    • Select the "Show Applications" icon
    • Make sure the "All" button is selected then right click the Postman application and from the context menu, select the "Add to Favorites" menu item
    • Postman is now available from the "Applications/Favorites" menu item.

    相关文章

      网友评论

          本文标题:centos 7 搭建 postman 及 postman m

          本文链接:https://www.haomeiwen.com/subject/okgkwftx.html