一、安装包下载
#jdk安装包rpm包下载(如果资源失效自行百度jre-8u271-linux-x64.rpm安装包) https://download.lixian.fun/Linux_LNMP_packers/jre-8u271-linux-x64.rpm #kiftd包下载地址 https://code.aliyun.com/kohgylw/kiftd/repository/archive.zip?ref=v1.0.35-release
二、部署Java环境
#上传jre包到服务器 [root@web01 ~]# ls -l 总用量 58420 -rw-r--r-- 1 root root 59819900 10月 25 13:25 jre-8u271-linux-x64.rpm #rpm命令安装 [root@web01 ~]# rpm -ivh jre-8u271-linux-x64.rpm #查看是否安装成功 [root@web01 ~]# java -version java version "1.8.0_271" Java(TM) SE Runtime Environment (build 1.8.0_271-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
三、部署kiftd
#上传代码包并解压 [root@web01 ~]# ll 总用量 223788 -rw-r--r-- 1 root root 59819900 10月 25 13:25 jre-8u271-linux-x64.rpm drwxr-xr-x 9 root root 229 7月 6 17:00 kiftd-v1.0.35-release-dbb335ca09a605bf0b55dffd39d3bfad09e1ba71kiftd.git -rw-r--r-- 1 root root 169333984 10月 26 10:20 kiftd-v1.0.35-release-dbb335ca09a605bf0b55dffd39d3bfad09e1ba71.zip #改名 [root@web01 ~]# mv kiftd-v1.0.35-release-dbb335ca09a605bf0b55dffd39d3bfad09e1ba71kiftd.git /code/kiftd [root@web01 ~]# cd /code/kiftd/ #安装screen服务 [root@web01 /code/kiftd]# yum install -y screen.x86_64 #新建一个screen窗口 [root@web01 /code/kiftd]# screen -S kiftd #启动kiftd [root@web01 /code/kiftd]# java -jar kiftd-1.0.35-RELEASE.jar -console #输入-start启动kiftd服务器 kiftd:您可以输入以下指令以控制服务器: -start 启动服务器 -stop 停止服务器 -exit 停止服务器并退出应用 -restart 重启服务器 -files 文件管理 -status 查看服务器状态 -help 显示帮助文本 [2020年10月26日 11:54:24]kiftd: console$ -start #成功后 Ctrl + a + d 返回原来窗口
四、浏览器访问(默认8080端口)
五、配置
#修改8080默认端口为80端口 [root@web01 /code/kiftd]# netstat -lntp tcp6 0 0 :::8080 :::* LISTEN 27197/java [root@web01 /code/kiftd]# vim conf/server.properties [root@web01 /code/kiftd]# cat conf/server.properties #<This is the default kiftd server setting file. > #Mon Oct 26 11:53:14 CST 2020 password.change=N VC.level=STANDARD port=80 mustLogin=O openFileChain=CLOSE FS.path=DEFAULT log=E buff.size=1048576 #修改admin默认密码(admin.pwd为密码) [root@web01 /code/kiftd]# cat conf/account.properties #<This is the default kiftd account setting file. > #Mon Oct 26 11:53:14 CST 2020 admin.auth=cudrm admin.pwd=000000 authOverall=l



