• 安装shellinabox-master


     安装shellinabox-master

    插件介绍:通过web页面管理linux主机(电脑版)
    

    a. 安装

    #安装依赖包
      
    yum install git openssl-devel pam-devel zlib-devel autoconf automake libtool -y
      
    mkdir -p /home/nulige/tools
      
    cd /home/nulige/tools
      
    #下载软件包
    git clone https://github.com/shellinabox/shellinabox.git && cd shellinabox
      
      
    #安装软件需要的组件
    autoreconf -i
      
      
    #编译安装软件
     ./configure --prefix=/usr/local/shellinabox
      
    make && make install
     
    #创建普通用户,root用户需要设置后网页才能登录
     
    useradd tom
    passwd tom
      
    #进入软件目录
    cd /usr/local/shellinabox/bin
      
    #启动软件
    ./shellinaboxd -t -b 

    b. 检查4200端口是否启动 

    [root@paramiko-server ~]# netstat -lnt
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State      
    tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      
    tcp        0      0 0.0.0.0:4200                0.0.0.0:*                   LISTEN      
    tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      
    tcp        0      0 :::22                       :::*                        LISTEN    

    c. 访问网站

      

      

  • 相关阅读:
    hdu 5146 Sequence
    hdu 1232 畅通工程
    hdu 1213 How Many Tables
    hdu 2822 Dogs
    hdu 1242 Rescue
    hdu 5101 Select
    hdu 1873 看病要排队
    hdu 5112 A Curious Matt
    hdu 5154 Harry and Magical Computer
    hdu 1548 A strange lift
  • 原文地址:https://www.cnblogs.com/golangav/p/7363179.html
Copyright © 2020-2023  润新知