安装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. 访问网站

 

  

  

posted @ 2017-08-15 09:02  golangav  阅读(383)  评论(1编辑  收藏  举报