|
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 -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 tompasswd tom #进入软件目录cd /usr/local/shellinabox/bin #启动软件./shellinaboxd -t -b |
b. 检查4200端口是否启动
|
1
2
3
4
5
6
7
|
[root@paramiko-server ~]# netstat -lntActive 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. 访问网站

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