Coder Social home page Coder Social logo

tencent / bk-cmdb Goto Github PK

View Code? Open in Web Editor NEW
5.3K 229.0 1.6K 225.3 MB

蓝鲸智云配置平台(BlueKing CMDB)

Home Page: http://bk.tencent.com

License: Other

HTML 0.12% CSS 0.11% JavaScript 5.94% Shell 0.09% Makefile 0.09% Python 0.28% Go 64.13% Vue 22.39% SCSS 0.23% C++ 6.60% C 0.01%
golang cmdb microservice devops-tools blueking rest-api

bk-cmdb's People

Contributors

breezelxp avatar chalice-1831 avatar chalice-canway avatar chuyinfeng avatar daryl0819 avatar dravening avatar fireyun avatar freakkid avatar gaohongsong avatar hoffermei avatar hustcr avatar japlee avatar joe511230 avatar laodiu avatar lin-zhihan avatar liumt1993 avatar mrmgxxxx avatar owenlxu avatar protosl avatar reggieisrunning avatar rentiansheng avatar sunzhf avatar uriwangsz avatar vlon avatar wcy00000000000000 avatar wjyfelen avatar wusendong avatar yangyy avatar zc422 avatar zqhcode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bk-cmdb's Issues

Field doesn't have a default value

php-5.6.29+mysql 5.7.17+CentOS Linux release 7.3.1611 (Core)
ERROR - 2016-12-23 08:17:03 --> Query error: Field 'Source' doesn't have a default value - Invalid query: INSERT INTO cc_ApplicationBase (ApplicationName, Creator, CreateTime, Default, DeptName, Display, Type, Level, LastTime, Owner, Maintainers, LifeCycle, ProductPm, CompanyID) VALUES ('test', 'admin', '2016-12-23 08:17:03', 0, '公司名称', 1, 0, 2, '2016-12-23 08:17:03', '公司名称', 'admin', '公测', 'admin', 0)
ERROR - 2016-12-23 08:39:14 --> Severity: Warning --> Invalid argument supplied for foreach() /var/www/html/bk-cmdb/application/controllers/Host.php 117
ERROR - 2016-12-23 08:39:16 --> Query error: Field 'DefaultCon' doesn't have a default value - Invalid query: INSERT INTO cc_UserCustom (DefaultColumn, UserName) VALUES ('["InnerIP","OuterIP","SetName","ModuleName","HostName"]', 'admin')
ERROR - 2016-12-23 08:39:55 --> Severity: Warning --> Invalid argument supplied for foreach() /var/www/html/bk-cmdb/application/controllers/Host.php 117

cc_UserCustom:
DefaultCon text NOT NULL default '' COMMENT '主机查询条件',

请求200, 首页显示空白

request 200 OK
but Unable to display index page
index page is blank
what's that?

log info
172.26.1.118 - - [19/Dec/2016:18:21:21 +0800] "GET / HTTP/1.1" 200 5 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"

报这个错误怎么解决 谢谢

A Database Error Occurred

Unable to connect to your database server using the provided settings.

Filename: core/Common.php

Line Number: 196

访问主页时/account/login?cburl=参数为空,

1、nginx版本
/ # nginx -v nginx version: nginx/1.9.9 / #
2、php版本
/ # php -v
PHP 5.6.20 (cli) (built: Dec 21 2016 13:19:58)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
/ #

3、NGINX扩展模块
/ # nginx -V nginx version: nginx/1.9.9 built by gcc 5.3.0 (Alpine 5.3.0) built with OpenSSL 1.0.2f 28 Jan 2016 (running with OpenSSL 1.0.2j 26 Sep 2016) TLS SNI support enabled configure arguments: --prefix=/usr/share/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=www-data --group=www-data --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-http_auth_request_module --with-mail --with-mail_ssl_module --with-file-aio --with-ipv6 --with-threads --with-stream --with-stream_ssl_module --with-http_v2_module / #
4、php扩展模块
`/ # php -m
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
hash
iconv
intl
json
libxml
mbstring
mcrypt
mhash
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
Reflection
session
SimpleXML
soap
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlrpc
xmlwriter
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

/ #
`
5、cmdb库创建,并导入bk-cmdb.sql
image

6、在项目目录执行了php index.php /cli
`/var/www # ls -la
total 112
drwxrwxr-x 5 www-data www-data 4096 Dec 21 06:07 .
drwxrwxr-x 11 root root 103 Jun 15 2016 ..
-rw-rw-r-- 1 www-data www-data 102 Dec 21 06:04 .htaccess
-rw-rw-r-- 1 www-data www-data 40131 Dec 21 06:04 LICENSE.TXT
-rw-rw-r-- 1 www-data www-data 3891 Dec 21 06:04 README.md
drwxrwxr-x 14 www-data www-data 4096 Dec 21 06:07 application
-rw-rw-r-- 1 www-data www-data 16648 Dec 21 06:04 bk-cmdb.sql
-rw-rw-r-- 1 www-data www-data 12088 Dec 21 06:04 cmdb-api.md
-rw-rw-r-- 1 www-data www-data 1150 Dec 21 06:04 favicon.ico
-rw-rw-r-- 1 www-data www-data 9806 Dec 21 06:04 index.php
drwxrwxr-x 8 www-data www-data 4096 Dec 21 06:07 static
drwxrwxr-x 8 www-data www-data 4096 Dec 21 06:07 system
/var/www # php index.php /cli/Init/initUserData
/var/www #

7、疑问执行完成之后cmdb数据所有表为空,没有任何数据是否正常

8、db链接已经修改

9、constants.php 文件地址已经修改
`define('BASE_URL', 'http://220.164.109.98:600');

问题:访问主页时301跳转到/account/login?cburl= "=号后面没有参数`
image

无法导入主机

根据提示提供csv 或者 xls 文件 也提示 "请提供类型为xls、xlsx、csv的文件!"

Field 'BusinessDeptName' doesn't have a default value

PHP 5.6.9 + mysql 5.6.31 + centos 6.8

begin create resource pool

Database error: A Database Error Occurred

Error Number: 1364
Field 'BusinessDeptName' doesn't have a default value
INSERT INTO `cc_ApplicationBase` (`ApplicationName`, `Creator`, `CreateTime`, `Default`, `Display`, `Level`, `Maintainers`, `Owner`, `Type`, `Source`, `CompanyID`) VALUES ('资源池', 'zhwx', '2016-12-23 11:04:48', 1, 1, 2, 'zhwx', 'zhwx', 0, 0, 0)
Filename: models/ApplicationBaseModel.php
Line Number: 88

bk-cmdb.sql是导入最新的

php index.php /cli/Init/initUserData 问题

php index.php /cli/Init/initUserData 日志提示如下,前面安装文档说php版本不低于5.6.9,但是我试了5.6.31和php7.1.7都不行,查了资料,PHP在这5.5以后就没有支持mysql_connect 了。

INFO - 2017-08-17 11:14:45 --> Input Class Initialized
INFO - 2017-08-17 11:14:45 --> Language Class Initialized
INFO - 2017-08-17 11:14:45 --> Loader Class Initialized
DEBUG - 2017-08-17 11:14:45 --> Config file loaded: /home/wwwroot/cmdb/application/config/errorcode.php
DEBUG - 2017-08-17 11:14:45 --> Session: Initialization under CLI aborted.
DEBUG - 2017-08-17 11:14:45 --> Session class already loaded. Second attempt ignored.
DEBUG - 2017-08-17 11:14:45 --> Session class already loaded. Second attempt ignored.
INFO - 2017-08-17 11:14:45 --> Controller Class Initialized
INFO - 2017-08-17 11:14:45 --> Database Driver Class Initialized
ERROR - 2017-08-17 11:14:45 --> Severity: error --> Exception: Call to undefined function mysql_connect() /home/wwwroot/cmdb/system/database/drivers/mysql/mysql_driver.php 136

请求200 ,浏览器显示空白页

这个问题已经有朋友提出来了,不过好像没有解决,我这里在描述一下:
首先解析好了 xxxx cmdb.wkzf.com
然后本机使用curl请求是OK的,如下:
#curl -i http://cmdb.wkzf.com
HTTP/1.1 200 OK
Server: nginx/1.10.2
Date: Thu, 22 Dec 2016 10:33:35 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/5.6.29
Set-Cookie: ci_session=83c3b679dd28eb3d4a9a4daf80503d7ca8fe3508; expires=Thu, 22-Dec-2016 12:33:35 GMT; Max-Age=7200; path=/; HttpOnly
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
然后使用google浏览器访问(物理机也已经修改了hosts解析)
http://cmdb.wkzf.com #然后页面就是空白的,
nginx日志和php日志也没看到有报错日志出现。
所以想问一下开发者或者其他朋友这是什么问题导致的?是我配置步骤不对,还是github上帮助文档没有描述清楚
@zhujianfeng @lowenitt 请大神指点,非常感谢!

首页空白

执行php index.php /cli/Init/initUserData报错
用的php7
换成dbdriver=>'mysqli'或dbdriver=>'pdo_mysql'也不行
麻烦问下php是要5.6.29以上吗(看这边写的是5.6.9以上,php官网上没找到php5.6.9啊,php新手)
求问

ERROR - 2017-01-05 22:38:13 --> Severity: error --> Exception: Call to undefined function mysql_connect() /DATA/app/bk/bk-cmdb/system/database/drivers/mysql/mysql_driver.php 136
ERROR - 2017-01-05 22:38:13 --> Severity: Error --> Uncaught TypeError: Argument 1 passed to CI_Exceptions::show_exception() must be an instance of Exception, instance of Error given, called in /DATA/app/bk/bk-cmdb/system/core/Common.php on line 658 and defined in /DATA/app/bk/bk-cmdb/system/core/Exceptions.php:190
Stack trace:
#0 /DATA/app/bk/bk-cmdb/system/core/Common.php(658): CI_Exceptions->show_exception(Object(Error))
#1 [internal function]: _exception_handler(Object(Error))
#2 {main}
thrown /DATA/app/bk/bk-cmdb/system/core/Exceptions.php 190

登录的时候报错 用户名密码错误

A PHP Error was encountered

Severity: Warning

Message: mysql_real_escape_string() expects parameter 2 to be resource, boolean given

Filename: mysql/mysql_driver.php

Line Number: 352

Backtrace:

File: /opt/bk-cmdb-master/application/models/UserModel.php
Line: 19
Function: where

File: /opt/bk-cmdb-master/application/libraries/Login.php
Line: 115
Function: getUserByUsername

File: /opt/bk-cmdb-master/application/libraries/Login.php
Line: 182
Function: isValidUserPassword

File: /opt/bk-cmdb-master/application/controllers/Account.php
Line: 91
Function: loginUser

File: /opt/bk-cmdb-master/index.php
Line: 293
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: mysql_query() expects parameter 2 to be resource, boolean given

Filename: mysql/mysql_driver.php

Line Number: 251

Backtrace:

File: /opt/bk-cmdb-master/application/models/UserModel.php
Line: 20
Function: get

File: /opt/bk-cmdb-master/application/libraries/Login.php
Line: 115
Function: getUserByUsername

File: /opt/bk-cmdb-master/application/libraries/Login.php
Line: 182
Function: isValidUserPassword

File: /opt/bk-cmdb-master/application/controllers/Account.php
Line: 91
Function: loginUser

File: /opt/bk-cmdb-master/index.php
Line: 293
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: mysql_num_rows() expects parameter 1 to be resource, null given

Filename: mysql/mysql_result.php

Line Number: 63

Backtrace:

File: /opt/bk-cmdb-master/application/models/UserModel.php
Line: 20
Function: get

File: /opt/bk-cmdb-master/application/libraries/Login.php
Line: 115
Function: getUserByUsername

File: /opt/bk-cmdb-master/application/libraries/Login.php
Line: 182
Function: isValidUserPassword

File: /opt/bk-cmdb-master/application/controllers/Account.php
Line: 91
Function: loginUser

File: /opt/bk-cmdb-master/index.php
Line: 293
Function: require_once

主机查询菜单出错

主机查询菜单出错:

A PHP Error was encountered
Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: controllers/Host.php

Line Number: 117

Backtrace:

File: /DATA/app/bk/bk-cmdb/application/controllers/Host.php
Line: 117
Function: _error_handler

File: /DATA/app/bk/bk-cmdb/application/controllers/Host.php
Line: 52
Function: getHostFieldSelect

File: /DATA/app/bk/bk-cmdb/index.php
Line: 293
Function: require_once

这有办法处理吗?求问

资源池无法导入规定格式的文件

蓝鲸平台配置好之后,顺利登陆系统,再测试的时候,发现“资源池管理”这个模块有个问题:点击“导入主机”按钮,会弹出对话框,上面提示:文件类型支持xls、xlsx、csv 但是我在本机按照提示的格式创建了一个xls、xlsx文件进行导入,提示如下图:
image
点击“确定”,依然没有将自定义的xls或者xlsx文件成功导入。查看application/logs目录中的日志,也么有任何输出。请大神指点,我出现这种情况有可能是哪里配置错了吗?
@lowenitt

遇到新问题,类似A PHP Error was encountered

描述:都配置好之后,开始登陆,第一次登陆也是OK的,用户名admin,密码blueking. 不过过了一会,重新登陆就报错了,如下图:
image
然后看到很多php的warning :
A PHP Error was encountered

Severity: Warning

Message: mysql_real_escape_string() expects parameter 2 to be resource, boolean given

Filename: mysql/mysql_driver.php

Line Number: 352

Backtrace:

File: /data/htdocs/cc_openSource/application/models/UserModel.php
Line: 19
Function: where

File: /data/htdocs/cc_openSource/application/libraries/Login.php
Line: 115
Function: getUserByUsername

File: /data/htdocs/cc_openSource/application/libraries/Login.php
Line: 86
Function: isValidUserPassword

File: /data/htdocs/cc_openSource/application/libraries/Login.php
Line: 186
Function: isCcTokenValid

File: /data/htdocs/cc_openSource/application/controllers/Account.php
Line: 91
Function: loginUser

File: /data/htdocs/cc_openSource/index.php
Line: 293
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: mysql_query() expects parameter 2 to be resource, boolean given

Filename: mysql/mysql_driver.php

Line Number: 251

Backtrace:

File: /data/htdocs/cc_openSource/application/models/UserModel.php
Line: 20
Function: get

File: /data/htdocs/cc_openSource/application/libraries/Login.php
Line: 115
Function: getUserByUsername

File: /data/htdocs/cc_openSource/application/libraries/Login.php
Line: 86
Function: isValidUserPassword

File: /data/htdocs/cc_openSource/application/libraries/Login.php
Line: 186
Function: isCcTokenValid

File: /data/htdocs/cc_openSource/application/controllers/Account.php
Line: 91
Function: loginUser

File: /data/htdocs/cc_openSource/index.php
Line: 293
Function: require_once
还有很多………………
后来想重新导入bk-cmdb.sql -重新导入OK
然后再执行 php index.php /cli/Init/initUserData 报错:
………………太多了,省略一些
Severity: WarningMessage: mysql_real_escape_string() expects parameter 2 to be resource, boolean givenFilename: /data/htdocs/cc_openSource/system/database/drivers/mysql/mysql_driver.phpLine Number: 352
Backtrace:
File: /data/htdocs/cc_openSource/application/libraries/xhlog/DbLog.php Line: 51 Function: insert_batch
A PHP Error was encountered
Severity: WarningMessage: mysql_real_escape_string() expects parameter 2 to be resource, boolean givenFilename: /data/htdocs/cc_openSource/system/database/drivers/mysql/mysql_driver.phpLine Number: 352
Backtrace:
File: /data/htdocs/cc_openSource/application/libraries/xhlog/DbLog.php Line: 51 Function: insert_batch
A PHP Error was encountered
Severity: WarningMessage: mysql_query() expects parameter 2 to be resource, boolean givenFilename: /data/htdocs/cc_openSource/system/database/drivers/mysql/mysql_driver.phpLine Number: 251

Backtrace:

    File: /data/htdocs/cc_openSource/application/libraries/xhlog/DbLog.php  Line: 51        Function: insert_batch

A PHP Error was encountered

Severity: WarningMessage: mysql_affected_rows() expects parameter 1 to be resource, boolean givenFilename: /data/htdocs/cc_openSource/system/database/drivers/mysql/mysql_driver.phpLine Number: 364

Backtrace:

    File: /data/htdocs/cc_openSource/application/libraries/xhlog/DbLog.php  Line: 51        Function: insert_batch

请问大神门,这是什么情况?
@lowenitt @zhujianfeng

config.php 配置时区要区分大小写

###错误位置:

application/config/config.php line +33
$config['time_zone']=date_default_timezone_set('Asia/shanghai');

###设置Asia/shanghai在Linux下报错

Severity: Notice --> date_default_timezone_set(): Timezone ID 'Asia/shanghai' is invalid

###需要改为首字母大写:

'Asia/Shanghai'

用户管理界面添加用户无法成功

描述:
点击“用户管理”页面,然后再点击“新增用户”,填写好用户信息之后提交,无法成功创建用户,日志如下:
INFO - 2016-12-27 11:35:39 --> Config Class Initialized
INFO - 2016-12-27 11:35:39 --> Hooks Class Initialized
DEBUG - 2016-12-27 11:35:39 --> UTF-8 Support Enabled
INFO - 2016-12-27 11:35:39 --> Utf8 Class Initialized
INFO - 2016-12-27 11:35:39 --> URI Class Initialized
INFO - 2016-12-27 11:35:39 --> Router Class Initialized
INFO - 2016-12-27 11:35:39 --> Output Class Initialized
INFO - 2016-12-27 11:35:39 --> Security Class Initialized
DEBUG - 2016-12-27 11:35:39 --> Global POST, GET and COOKIE data sanitized
INFO - 2016-12-27 11:35:39 --> Input Class Initialized
INFO - 2016-12-27 11:35:39 --> Language Class Initialized
INFO - 2016-12-27 11:35:39 --> Loader Class Initialized
DEBUG - 2016-12-27 11:35:39 --> Config file loaded: /data/htdocs/cc_openSource/application/config/errorcode.php
INFO - 2016-12-27 11:35:39 --> Session: Class initialized using 'files' driver.
DEBUG - 2016-12-27 11:35:39 --> Session class already loaded. Second attempt ignored.
DEBUG - 2016-12-27 11:35:39 --> Session class already loaded. Second attempt ignored.
INFO - 2016-12-27 11:35:39 --> Controller Class Initialized
INFO - 2016-12-27 11:35:39 --> Parser Class Initialized
INFO - 2016-12-27 11:35:39 --> Language file loaded: language/english/zh_cn_lang.php
DEBUG - 2016-12-27 11:35:39 --> Login class already loaded. Second attempt ignored.
DEBUG - 2016-12-27 11:35:39 --> Encryption: Auto-configured driver 'openssl'.
INFO - 2016-12-27 11:35:39 --> Encryption: OpenSSL initialized with method AES-128-CBC.
INFO - 2016-12-27 11:35:39 --> Encryption Class Initialized
INFO - 2016-12-27 11:35:39 --> Database Driver Class Initialized
DEBUG - 2016-12-27 11:35:39 --> Login class already loaded. Second attempt ignored.
DEBUG - 2016-12-27 11:35:39 --> Login class already loaded. Second attempt ignored.
INFO - 2016-12-27 11:35:39 --> File loaded: /data/htdocs/cc_openSource/application/views/account/index.php
INFO - 2016-12-27 11:35:39 --> File loaded: /data/htdocs/cc_openSource/application/views/layout.php
INFO - 2016-12-27 11:35:39 --> Final output sent to browser
DEBUG - 2016-12-27 11:35:39 --> Total execution time: 0.2377
然后点击“主机管理”页面,页面不会报错了,但是日志中有如下错误:
INFO - 2016-12-27 11:37:11 --> Config Class Initialized
INFO - 2016-12-27 11:37:11 --> Hooks Class Initialized
DEBUG - 2016-12-27 11:37:11 --> UTF-8 Support Enabled
INFO - 2016-12-27 11:37:11 --> Utf8 Class Initialized
INFO - 2016-12-27 11:37:11 --> URI Class Initialized
INFO - 2016-12-27 11:37:11 --> Router Class Initialized
INFO - 2016-12-27 11:37:11 --> Output Class Initialized
INFO - 2016-12-27 11:37:11 --> Security Class Initialized
DEBUG - 2016-12-27 11:37:11 --> Global POST, GET and COOKIE data sanitized
INFO - 2016-12-27 11:37:11 --> Input Class Initialized
INFO - 2016-12-27 11:37:11 --> Language Class Initialized
INFO - 2016-12-27 11:37:11 --> Loader Class Initialized
DEBUG - 2016-12-27 11:37:11 --> Config file loaded: /data/htdocs/cc_openSource/application/config/errorcode.php
INFO - 2016-12-27 11:37:11 --> Session: Class initialized using 'files' driver.
DEBUG - 2016-12-27 11:37:11 --> Session class already loaded. Second attempt ignored.
DEBUG - 2016-12-27 11:37:11 --> Session class already loaded. Second attempt ignored.
INFO - 2016-12-27 11:37:11 --> Controller Class Initialized
INFO - 2016-12-27 11:37:11 --> Parser Class Initialized
INFO - 2016-12-27 11:37:11 --> Language file loaded: language/english/zh_cn_lang.php
DEBUG - 2016-12-27 11:37:11 --> Login class already loaded. Second attempt ignored.
DEBUG - 2016-12-27 11:37:11 --> Encryption: Auto-configured driver 'openssl'.
INFO - 2016-12-27 11:37:11 --> Encryption: OpenSSL initialized with method AES-128-CBC.
INFO - 2016-12-27 11:37:11 --> Encryption Class Initialized
INFO - 2016-12-27 11:37:11 --> Database Driver Class Initialized
INFO - 2016-12-27 11:37:11 --> File loaded: /data/htdocs/cc_openSource/application/views/host/hostQuery.php
INFO - 2016-12-27 11:37:11 --> File loaded: /data/htdocs/cc_openSource/application/views/layout.php
INFO - 2016-12-27 11:37:11 --> Final output sent to browser
DEBUG - 2016-12-27 11:37:11 --> Total execution time: 0.2681
INFO - 2016-12-27 11:37:11 --> Config Class Initialized
INFO - 2016-12-27 11:37:11 --> Hooks Class Initialized
DEBUG - 2016-12-27 11:37:11 --> UTF-8 Support Enabled
INFO - 2016-12-27 11:37:11 --> Utf8 Class Initialized
INFO - 2016-12-27 11:37:11 --> URI Class Initialized
INFO - 2016-12-27 11:37:11 --> Router Class Initialized
INFO - 2016-12-27 11:37:11 --> Output Class Initialized
INFO - 2016-12-27 11:37:11 --> Security Class Initialized
DEBUG - 2016-12-27 11:37:11 --> Global POST, GET and COOKIE data sanitized
INFO - 2016-12-27 11:37:11 --> Input Class Initialized
INFO - 2016-12-27 11:37:11 --> Language Class Initialized
INFO - 2016-12-27 11:37:11 --> Loader Class Initialized
DEBUG - 2016-12-27 11:37:11 --> Config file loaded: /data/htdocs/cc_openSource/application/config/errorcode.php
INFO - 2016-12-27 11:37:11 --> Session: Class initialized using 'files' driver.
DEBUG - 2016-12-27 11:37:11 --> Session class already loaded. Second attempt ignored.
DEBUG - 2016-12-27 11:37:11 --> Session class already loaded. Second attempt ignored.
INFO - 2016-12-27 11:37:11 --> Controller Class Initialized
INFO - 2016-12-27 11:37:11 --> Parser Class Initialized
INFO - 2016-12-27 11:37:11 --> Language file loaded: language/english/zh_cn_lang.php
DEBUG - 2016-12-27 11:37:11 --> Login class already loaded. Second attempt ignored.
DEBUG - 2016-12-27 11:37:11 --> Encryption: Auto-configured driver 'openssl'.
INFO - 2016-12-27 11:37:11 --> Encryption: OpenSSL initialized with method AES-128-CBC.
INFO - 2016-12-27 11:37:11 --> Encryption Class Initialized
INFO - 2016-12-27 11:37:11 --> Database Driver Class Initialized
INFO - 2016-12-27 11:37:11 --> Final output sent to browser
DEBUG - 2016-12-27 11:37:11 --> Total execution time: 0.2273
INFO - 2016-12-27 11:37:12 --> Config Class Initialized
INFO - 2016-12-27 11:37:12 --> Hooks Class Initialized
DEBUG - 2016-12-27 11:37:12 --> UTF-8 Support Enabled
INFO - 2016-12-27 11:37:12 --> Utf8 Class Initialized
INFO - 2016-12-27 11:37:12 --> URI Class Initialized
INFO - 2016-12-27 11:37:12 --> Router Class Initialized
INFO - 2016-12-27 11:37:12 --> Output Class Initialized
INFO - 2016-12-27 11:37:12 --> Security Class Initialized
DEBUG - 2016-12-27 11:37:12 --> Global POST, GET and COOKIE data sanitized
INFO - 2016-12-27 11:37:12 --> Input Class Initialized
INFO - 2016-12-27 11:37:12 --> Language Class Initialized
INFO - 2016-12-27 11:37:12 --> Loader Class Initialized
DEBUG - 2016-12-27 11:37:12 --> Config file loaded: /data/htdocs/cc_openSource/application/config/errorcode.php
INFO - 2016-12-27 11:37:12 --> Session: Class initialized using 'files' driver.
DEBUG - 2016-12-27 11:37:12 --> Session class already loaded. Second attempt ignored.
DEBUG - 2016-12-27 11:37:12 --> Session class already loaded. Second attempt ignored.
INFO - 2016-12-27 11:37:12 --> Controller Class Initialized
INFO - 2016-12-27 11:37:12 --> Parser Class Initialized
INFO - 2016-12-27 11:37:12 --> Language file loaded: language/english/zh_cn_lang.php
DEBUG - 2016-12-27 11:37:12 --> Login class already loaded. Second attempt ignored.
DEBUG - 2016-12-27 11:37:12 --> Encryption: Auto-configured driver 'openssl'.
INFO - 2016-12-27 11:37:12 --> Encryption: OpenSSL initialized with method AES-128-CBC.
INFO - 2016-12-27 11:37:12 --> Encryption Class Initialized
INFO - 2016-12-27 11:37:12 --> Database Driver Class Initialized
INFO - 2016-12-27 11:37:12 --> Final output sent to browser
DEBUG - 2016-12-27 11:37:12 --> Total execution time: 0.1176
INFO - 2016-12-27 11:37:12 --> Config Class Initialized
INFO - 2016-12-27 11:37:12 --> Hooks Class Initialized
DEBUG - 2016-12-27 11:37:12 --> UTF-8 Support Enabled
INFO - 2016-12-27 11:37:12 --> Utf8 Class Initialized
INFO - 2016-12-27 11:37:12 --> URI Class Initialized
INFO - 2016-12-27 11:37:12 --> Router Class Initialized
INFO - 2016-12-27 11:37:12 --> Output Class Initialized
INFO - 2016-12-27 11:37:12 --> Security Class Initialized
DEBUG - 2016-12-27 11:37:12 --> Global POST, GET and COOKIE data sanitized
INFO - 2016-12-27 11:37:12 --> Input Class Initialized
INFO - 2016-12-27 11:37:12 --> Language Class Initialized
INFO - 2016-12-27 11:37:12 --> Loader Class Initialized
DEBUG - 2016-12-27 11:37:12 --> Config file loaded: /data/htdocs/cc_openSource/application/config/errorcode.php
INFO - 2016-12-27 11:37:12 --> Session: Class initialized using 'files' driver.
DEBUG - 2016-12-27 11:37:12 --> Session class already loaded. Second attempt ignored.
DEBUG - 2016-12-27 11:37:12 --> Session class already loaded. Second attempt ignored.
INFO - 2016-12-27 11:37:12 --> Controller Class Initialized
INFO - 2016-12-27 11:37:12 --> Parser Class Initialized
INFO - 2016-12-27 11:37:12 --> Language file loaded: language/english/zh_cn_lang.php
DEBUG - 2016-12-27 11:37:12 --> Login class already loaded. Second attempt ignored.
DEBUG - 2016-12-27 11:37:12 --> Encryption: Auto-configured driver 'openssl'.
INFO - 2016-12-27 11:37:12 --> Encryption: OpenSSL initialized with method AES-128-CBC.
INFO - 2016-12-27 11:37:12 --> Encryption Class Initialized
INFO - 2016-12-27 11:37:12 --> Database Driver Class Initialized
ERROR - 2016-12-27 11:37:12 --> Query error: Field 'DefaultCon' doesn't have a default value - Invalid query: INSERT INTO cc_UserCustom (DefaultColumn, UserName) VALUES ('["InnerIP","OuterIP","SetName","ModuleName","HostName"]', 'admin')
ERROR - 2016-12-27 11:37:12 --> [上海] [admin] [10.0.90.8] 添加用户定制, 失败!mysql_errno: 1364, mysql_error: Field 'DefaultCon' doesn't have a default value
INFO - 2016-12-27 11:37:12 --> Final output sent to browser
DEBUG - 2016-12-27 11:37:12 --> Total execution time: 0.1128
之前的导入最新的bk-cmdb.sql 无报错,执行 php index.php /cli/Init/initUserData都没有报错。然后我手动修改报错表的字段,提示错误:
mysql> alter table cc_UserCustom modify column DefaultCon text NOT NULL default '' COMMENT '主机查询条件';
ERROR 1101 (42000): BLOB/TEXT column 'DefaultCon' can't have a default value
不知道是什么问题,请指导

请求失败 HTTP 404 Not Found

执行命令,报错:
#curl -i http://cmdb.bk.com/
HTTP/1.1 404 Not Found
Server: nginx/1.10.2
Date: Fri, 30 Dec 2016 09:23:31 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/5.6.29

File not found.


主要是对root路径定义不理解,不知道是从哪里来的,(find也没找到)
或者说我应该指向哪里:

server {
listen 80;
server_name cmdb.bk.com;
root /data/htdocs/cc_openSource;

使用上来说,
这种conf文件可不可以单独建立,我们直接拷贝到conf.d/下呢


另:
能不能有一个目录结构的解释?
因为没有什么经验,怎么感觉“安装步骤”这一段理解起来不是太顺畅。

初始化sql报错

#php index.php /cli/Init/initUserData


ERROR: An Error Was Encountered

	The configuration file database.php does not exist.

初始化sql报错database.php不存在,将config/db.php改成database.php也不行,求解决

添加openldap ssl支持,修改./application/libraries/Login.php中isValidUserPassword部分

/**
* 判断用户的用户名和密码是否有效
* @param $username
* @param $password
* @return bool $userInfo
*/
public function isValidUserPassword($username, $password){
if(empty($username)){
return false;
}
# 从DB查询出用户信息
$this->ci->load->model('UserModel');
try {
$userInfo = $this->ci->UserModel->getUserByUsername($username);
if(empty($userInfo)){
return false;
}
// add for ldap function 2017-05-18
if ($username == admin) {
$passwordHash = $userInfo['Password'];
if($passwordHash == $password){
# 如果用户批量导入, 那么初始密码校验也可以通过
return $userInfo;
}
$result = password_verify($password, $passwordHash);
if(empty($result)){
return false;
}
return $userInfo;
}
// associated ldap info password
$ldapserver = 'ldaps://ldap2.example.com:636';
$basedn = 'ou=People,dc=example,dc=com';
$ldaprdn = "uid=$username,$basedn";
putenv('LDAPTLS_REQCERT=allow');
putenv("LDAPCONF=/etc/openldap/ldap.conf");
// connect to ldap server
$ldapconn = ldap_connect($ldapserver)
or die("Could not connect to LDAP server.");

// Set some ldap options for talking to
ldap_set_option($ldapconn, LDAP_OPT_PROTOCOL_VERSION, 3);
ldap_set_option($ldapconn, LDAP_OPT_REFERRALS, 0);

if ($ldapconn) {
        // binding to ldap server
        $ldapbind = @ldap_bind($ldapconn, $ldaprdn, $password);
        // verify binding
        if ($ldapbind) {
            return $userInfo;
        } else {
            return false;
        }
}
        /**
        *  $passwordHash = $userInfo['Password'];
        * if($passwordHash == $password){
        *    # 如果用户批量导入, 那么初始密码校验也可以通过
        *    return $userInfo;
        * }
        * $result = password_verify($password, $passwordHash);
        * if(empty($result)){
        *    return false;
        * }
        * return $userInfo;
        */
    }catch (Exception $ex){
        return false;
    }
}

执行 php index.php /cli/Init/initUserData 报错如下:

begin truncate table
end truncate table
begin create classify host property
INSERT INTO cc_HostPropertyClassify VALUES ('1', 'AssetID', '固资编号', 'basic', 'AssetID','12', '2016-02-24 11:26:57', '2016-02-24 18:00:57')
INSERT INTO cc_HostPropertyClassify VALUES ('7', 'DeviceClass', '设备类型', 'basic', 'DeviceClass','11', '2016-02-24 17:24:04', '2016-02-24 18:01:24')
INSERT INTO cc_HostPropertyClassify VALUES ('8', 'HostName', '主机名称', 'basic', 'HostName', '6','2016-02-24 17:26:00', '2016-02-24 18:01:48')
INSERT INTO cc_HostPropertyClassify VALUES ('9', 'Status', '运行状态', 'basic', 'Status', '7','2016-02-24 18:02:23', '2016-02-25 14:45:38')
INSERT INTO cc_HostPropertyClassify VALUES ('10', 'Operator', '维护人', 'basic', 'Operator','3', '2016-02-24 18:02:41', '2016-02-24 18:03:14')
INSERT INTO cc_HostPropertyClassify VALUES ('11', 'BakOperator', '备份维护人', 'basic', 'BakOperator','4', '2016-02-24 18:03:37', '2016-02-24 18:03:37')
INSERT INTO cc_HostPropertyClassify VALUES ('12', 'InnerIP', '内网IP', 'basic', 'InnerIP','1', '2016-02-24 18:04:01', '2016-02-24 18:04:01')
INSERT INTO cc_HostPropertyClassify VALUES ('13', 'OuterIP', '外网IP', 'basic', 'OuterIP','2', '2016-02-24 18:04:31', '2016-02-24 18:04:31')
INSERT INTO cc_HostPropertyClassify VALUES ('14', 'OSName', '操作系统', 'basic', 'OSName','7', '2016-02-24 18:04:53', '2016-02-24 18:04:53')
INSERT INTO cc_HostPropertyClassify VALUES ('15', 'Description', '备注', 'basic', 'Description','13', '2016-02-24 18:05:10', '2016-02-24 18:05:10')
INSERT INTO cc_HostPropertyClassify VALUES ('16', 'ZoneName', '可用区', 'basic', 'ZoneName','15', '2016-02-24 18:05:39', '2016-02-24 18:05:39')
INSERT INTO cc_HostPropertyClassify VALUES ('17', 'ZoneID', '可用区ID', 'basic', 'ZoneID', '14','2016-02-24 18:06:07', '2016-02-24 18:06:07')
INSERT INTO cc_HostPropertyClassify VALUES ('47', 'CreateTime', '入库时间', 'basic', 'CreateTime', '17','2016-02-24 19:11:25', '2016-02-24 19:11:25')
INSERT INTO cc_HostPropertyClassify VALUES ('49', 'Region', '机房城市', 'basic', 'Region','16', '2016-02-24 19:12:21', '2016-02-24 19:12:21')
INSERT INTO cc_HostPropertyClassify VALUES ('51', 'Cpu', 'Cpu', 'basic', 'Cpu', '8','2016-02-24 19:13:12', '2016-02-24 19:13:12')
INSERT INTO cc_HostPropertyClassify VALUES ('52', 'Mem', '内存', 'basic', 'Mem', '9','2016-02-24 19:13:37', '2016-02-24 19:13:37')
INSERT INTO cc_HostPropertyClassify VALUES ('60', 'HostID', '主机ID', 'basic', 'HostID','0', '2016-02-24 19:16:54', '2016-02-24 19:16:54')
INSERT INTO cc_HostPropertyClassify VALUES ('72', 'ModuleName', '模块名称', 'basic', 'ModuleName','5', '2016-02-24 18:02:41', '2016-02-24 18:02:41')
end create classify host property
begin create set property
INSERT INTO cc_HostPropertyClassify VALUES ('72', 'ModuleName', '模块名称', 'basic', 'ModuleName','5', '2016-02-24 18:02:41', '2016-02-24 18:02:41')
end create set property
begin create admin user
end create admin user
begin create resource pool

Database error: A Database Error Occurred

    Error Number: 1364
    Field 'LifeCycle' doesn't have a default value
    INSERT INTO `cc_ApplicationBase` (`ApplicationName`, `Creator`, `CreateTime`, `Default`, `Display`, `Level`, `Maintainers`, `Owner`, `Type`, `Source`, `CompanyID`) VALUES ('资源池', '公司名称', '2016-12-22 15:31:13', 1, 1, 2, '公司名称', '公司名称', 0, 0, 0)
    Filename: models/ApplicationBaseModel.php
    Line Number: 88

然后到数据库为LifeCycle设置默认值:
alter table cc_ApplicationBase modify column LifeCycle varchar(16) NOT NULL DEFAULT '100';
再次执行php index.php /cli/Init/initUserData ,继续报错如下:
Field 'ProductPm' doesn't have a default value
重新修改,然后继续执行,继续报错…………
后来终于将没有报错信息了,执行php index.php /cli/Init/initUserData 提示:
skip init data
环境描述:
Centos 6.6 x86_64
软件都是编译安装,按照说明的参数来编译的,都编译OK的!
nginx 1.10.2
php 5.6.29
mysql 5.6.19 二进制安装
测试php和mysql的连通也是测试OK的!麻烦有空请解答关于描述的问题,万分感谢!

低级错误

php编译参数扩展 ./configure --prefix= -enable-fpm --with-mysql with-mysqli -with-curl -enable-pcnt -enable-mbregex --with-mhash -enable-zip --enable-mbstring --with-openssl

with-mysqlli应该是--with-mysqlli,-enable-pcnt应该是--enable-pcntl,
虽然-enable-mbregex没错,但规范应该是--enable-mbregex才对,映像中腾讯都是很注重细节的
这个低级错误太明显了,开源的童鞋太粗心了

#蓝鲸智云配置平台接口

##https://github.com/kaizamm/bk-cmdb/blob/master/cmdb-api.md
###业务ID查询主机

  • 接口地址:/api/Host/getapphostlist
  • 请求方式:POST
  • 参数列表: ApplicationID 业务ID 必选
curl http://testcmdb.quark.com/api/App/getapplist
{"code":0,"data":[{"ApplicationID":"1","ApplicationName":"\u8d44\u6e90\u6c60","Creator":"\u516c\u53f8\u540d\u79f0","CreateTime":"2017-05-17 ........

这个是正常的,请问那我要是发送post该以什么样的方式,麻烦给个示例做参考,我是这样写的,有问题

curl -X POST --data '{"ApplicationID"="1"}' http://testcmdb.quark.com/api/Host/getapphostlist
{"code":"0001","msg":"ApplicationID Illegal","extmsg":"\u975e\u6cd5\u7684\u4e1a\u52a1id"}

导入数据报错-ERROR 1046 (3D000) at line 1: No database selected

环境说明:
Centos7.2

1)已经安装完了nginx 和php,且通过编译安装
[root@salt local]# ll
total 4
drwxr-xr-x. 2 root root 6 Aug 12 2015 bin
drwxr-xr-x. 2 root root 6 Aug 12 2015 etc
drwxr-xr-x. 2 root root 6 Aug 12 2015 games
drwxr-xr-x. 2 root root 6 Aug 12 2015 include
drwxr-xr-x. 2 root root 6 Aug 12 2015 lib
drwxr-xr-x. 2 root root 6 Aug 12 2015 lib64
drwxr-xr-x. 2 root root 6 Aug 12 2015 libexec
drwxr-xr-x 6 root root 61 Dec 26 20:03 nginx
drwxr-xr-x 9 root root 81 Dec 26 13:35 php
drwxr-xr-x. 2 root root 6 Aug 12 2015 sbin
drwxr-xr-x. 5 root root 46 Dec 20 16:45 share
drwxr-xr-x. 4 root root 4096 Dec 26 19:54 src
[root@salt local]#
nginx 可以正常访问,

2.数据库设置:
MariaDB [(none)]> create database cmdb;

MariaDB [(none)]> grant all privileges on cmdb.* to root@localhost identified by ‘123456‘;
MariaDB [(none)]> flush privileges;
以上命令都正常

3.导入数据库报错:

[root@salt bk-cmdb]# pwd
/opt/bk-cmdb

[root@salt bk-cmdb]# mysql -u root -p123456 < bk-cmdb.sql
Enter password:
ERROR 1046 (3D000) at line 1: No database selected
[root@salt bk-cmdb]#

可否告知如何fix it

安装完成之后在login页面使用admin/blueking登录提示“用户名密码错误”

系统环境:Ubuntu 10.10
nginx:1.8.0
php:5.6.9
mysql:5.1.49
按照README文档安装,数据库导入正常
begin truncate table
end truncate table
begin create classify host property
INSERT INTO cc_HostPropertyClassify VALUES ('1', 'AssetID', '固资编号', 'basic', 'AssetID','12', '2016-02-24 11:26:57', '2016-02-24 18:00:57')
INSERT INTO cc_HostPropertyClassify VALUES ('7', 'DeviceClass', '设备类型', 'basic', 'DeviceClass','11', '2016-02-24 17:24:04', '2016-02-24 18:01:24')
INSERT INTO cc_HostPropertyClassify VALUES ('8', 'HostName', '主机名称', 'basic', 'HostName', '6','2016-02-24 17:26:00', '2016-02-24 18:01:48')
INSERT INTO cc_HostPropertyClassify VALUES ('9', 'Status', '运行状态', 'basic', 'Status', '7','2016-02-24 18:02:23', '2016-02-25 14:45:38')
INSERT INTO cc_HostPropertyClassify VALUES ('10', 'Operator', '维护人', 'basic', 'Operator','3', '2016-02-24 18:02:41', '2016-02-24 18:03:14')
INSERT INTO cc_HostPropertyClassify VALUES ('11', 'BakOperator', '备份维护人', 'basic', 'BakOperator','4', '2016-02-24 18:03:37', '2016-02-24 18:03:37')
INSERT INTO cc_HostPropertyClassify VALUES ('12', 'InnerIP', '内网IP', 'basic', 'InnerIP','1', '2016-02-24 18:04:01', '2016-02-24 18:04:01')
INSERT INTO cc_HostPropertyClassify VALUES ('13', 'OuterIP', '外网IP', 'basic', 'OuterIP','2', '2016-02-24 18:04:31', '2016-02-24 18:04:31')
INSERT INTO cc_HostPropertyClassify VALUES ('14', 'OSName', '操作系统', 'basic', 'OSName','7', '2016-02-24 18:04:53', '2016-02-24 18:04:53')
INSERT INTO cc_HostPropertyClassify VALUES ('15', 'Description', '备注', 'basic', 'Description','13', '2016-02-24 18:05:10', '2016-02-24 18:05:10')
INSERT INTO cc_HostPropertyClassify VALUES ('16', 'ZoneName', '可用区', 'basic', 'ZoneName','15', '2016-02-24 18:05:39', '2016-02-24 18:05:39')
INSERT INTO cc_HostPropertyClassify VALUES ('17', 'ZoneID', '可用区ID', 'basic', 'ZoneID', '14','2016-02-24 18:06:07', '2016-02-24 18:06:07')
INSERT INTO cc_HostPropertyClassify VALUES ('47', 'CreateTime', '入库时间', 'basic', 'CreateTime', '17','2016-02-24 19:11:25', '2016-02-24 19:11:25')
INSERT INTO cc_HostPropertyClassify VALUES ('49', 'Region', '机房城市', 'basic', 'Region','16', '2016-02-24 19:12:21', '2016-02-24 19:12:21')
INSERT INTO cc_HostPropertyClassify VALUES ('51', 'Cpu', 'Cpu', 'basic', 'Cpu', '8','2016-02-24 19:13:12', '2016-02-24 19:13:12')
INSERT INTO cc_HostPropertyClassify VALUES ('52', 'Mem', '内存', 'basic', 'Mem', '9','2016-02-24 19:13:37', '2016-02-24 19:13:37')
INSERT INTO cc_HostPropertyClassify VALUES ('60', 'HostID', '主机ID', 'basic', 'HostID','0', '2016-02-24 19:16:54', '2016-02-24 19:16:54')
INSERT INTO cc_HostPropertyClassify VALUES ('72', 'ModuleName', '模块名称', 'basic', 'ModuleName','5', '2016-02-24 18:02:41', '2016-02-24 18:02:41')
end create classify host property
begin create set property
INSERT INTO cc_HostPropertyClassify VALUES ('72', 'ModuleName', '模块名称', 'basic', 'ModuleName','5', '2016-02-24 18:02:41', '2016-02-24 18:02:41')
end create set property
begin create admin user
end create admin user
begin create resource pool
end create resource pool
begin create example app
end create example app
begin create example set
end create example set
begin create example module
end create example module

但是在网页首页login登录的时候,使用admin/blueking登录失败
提示“用户名密码错误”

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.