Setting up a Web timed task management platform

Source: Internet
Author: User
Tags install go

    1. Need to install MySQL and git
      Yum-y Install git mysql-server
    2. Download and install Go
      Official website: https://golang.org/dl/
      wget https://redirector.gvt1.com/edgedl/go/go1.9.2.linux-amd64.tar.gz
      Tar-c/usr/local-xzf go1.9.2.linux-amd64.tar.gz
      Modify the environment variable/etc/profile, add the following 1 lines
      Export path= $PATH:/usr/local/go/bin
    3. Installing the MySQL driver for Go
      Go get-u github.com/go-sql-driver/mysql
    4. Download WebCron Project
      Go get Github.com/lisijie/webcron
      The completed project directory is:/root/go/src/github.com/lisijie/webcron
    5. Generating an executable program
      Execution of Go build in project directory generates WebCron execution program
    6. Create a database, import data
      Create Database WebCron;
      Mysql-u Username-p-D WebCron < Install.sql
    7. Configuration modifications
      Open configuration file conf/app.conf, modify related configuration
    8. Start
      Execute project under Run.sh to start running
      Web platform Default account: admin Password: admin888

Setting up a Web timed task management platform

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.