Giter Club home page Giter Club logo

taskpool's Introduction

1、安装好docker和docker-compose,进入taskpool的目录下面,然后执行如下命令:

$ docker-compose up

2、首先,假定我们docker服务器的ip为 192.168.100.99

3、首先远程登录MySQL,并初始化数据库

$ mysql -h192.168.100.99 -uroot -p my123456

$ create database taskpool default charset utf8;

$ use taskpool;

$ set names utf8;

$ . docs\taskpool.sql

4、登录phpldapadmin,并初始化用户 https://192.168.100.99:6443/ 登录用户名为:cn=admin,dc=intra,dc=denggao,dc=org 密码为:ldap123456

先添加一个【Generic: Organisational Unit】 名称为:tech 对应 config\main.php中的ldap设置

然后在tech下添加子节点,每一个子节点都是一个taskpool的用户。 【Courier Mail: Account】 注意:Common Name 就是真实的登录用户名哦!

5、需要在宿主机上加一个定时任务: */5 * * * * docker-compose exec task php /var/www/default/public_html/yiic timer start

每5分钟执行一次分发任务的动作。

taskpool's People

Contributors

phpinside avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.