Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
K
koko
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
koko
Commits
7eb9e32f
Commit
7eb9e32f
authored
Jun 12, 2019
by
Eric
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'readme'
parents
f15b0990
c222e747
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
77 additions
and
0 deletions
+77
-0
README.md
README.md
+77
-0
No files found.
README.md
0 → 100644
View file @
7eb9e32f
# KoKo
koko是golang版本的的coco;重构了coco的SSH/SFTP服务和web terminal服务。
## 主要功能
-
SSH
-
SFTP
-
web terminal
-
web文件管理
## 安装
1.
下载项目
```
shell
go get github.com/jumpserver/koko.git
```
2.
下载依赖包
koko的项目使用
[
dep
](
https://github.com/golang/dep
)
管理依赖包, 需要预先安装dep;
```
shell
dep ensure
```
> 由于网络问题,部分依赖包需要走代理. 需要自行设置http_proxy和https_proxy代理便于下载
3.
编译应用
先进入cmd文件夹, 并构建应用.
```
shell
cd
cmd
```
```
shell
make linux
```
> 如果构建成功,会在项目下自动生成build文件夹,里面包含当前分支的linux 64位版本压缩包.
## 使用
1.
拷贝压缩包文件到服务器
2.
解压编译的压缩包
```
shell
tar
xzf koko-[branch name]-[commit]-linux-amd64.tar.gz
```
3.
创建配置文件config.yml,配置参数请参考
[
coco
](
https://github.com/jumpserver/coco/blob/master/config_example.yml
)
```
shell
touch
config.yml
```
4.
运行koko
```
shell
cd
kokodir
./koko
```
## 构建docker镜像
进入cmd文件夹
```
shell
cd
cmd
```
```
shell
make docker
```
构建成功后,生成koko镜像
> 由于网络问题,部分依赖包需要走代理. 需要自行设置http_proxy和https_proxy代理便于下载
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment