首页 > 系统服务 > 详细

安装shellinabox-master

时间:2017-08-22 15:31:43      阅读:343      评论:0      收藏:0      [点我收藏+]

安装shellinabox-master

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

a. 安装

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#安装依赖包
   
yum install git openssl-devel pam-devel zlib-devel autoconf automake libtool -y
   
mkdir -/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 --b 

b. 检查4200端口是否启动 

1
2
3
4
5
6
7
[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. 访问网站

技术分享

安装shellinabox-master

原文:http://www.cnblogs.com/guobaoyuan/p/7411595.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!