GithubHelp home page GithubHelp logo

lys0829 / cmssetup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tfcis/cmssetup

0.0 2.0 0.0 29 KB

自動配置cms.conf

Home Page: https://github.com/cms-dev/cms

PHP 16.60% Python 63.43% Shell 9.07% Makefile 8.40% JavaScript 2.50%

cmssetup's Introduction

cms-setup

自動配置cms.conf

安裝

  1. git clone 此 repo 至網頁伺服器上。
  2. 執行 make setup
  3. 複製 cms.conf.sample原始內容cms.conf.sample 並設定好,不要修改 core_servicesother_services

配置

  1. wget dev.tfcis.org/cms/makefile
  2. make main
  3. make service
  4. make getconf
  5. make start

配置 Worker 4 步驟 2~5 可改成 make all

指令

使用方法: make [OPTION]

OPTION 效果
download 下載所有 .sh 檔 & 執行 chmod
chmod 設定所有 .sh 檔權限 777
rmfile 刪除所有 .sh
redownload 刪除 & 重新下載所有 .sh
service 設定Service
使用方法: make service s=[SERVICE] c=[COUNT]
預設值: make service s=Worker c=4
預設值: make service s=[SERVICE] c=1
show 顯示所有 Service 設定
showthis 顯示本機 Service 設定
sys kill 所有 cms 程序 & 關閉防火牆
install 安裝所有需要程式 & CMS
makeconf 產生 cms.conf
getconf 產生 cms.conf & 下載
start 啟動本機所有 Service
使用方法: make start c=[CONTEST]
main 執行 download & sys & install
all 執行 main & service Worker 4 & getconf & start
help 顯示此說明

cmssetup's People

Contributors

xi-plus 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.