Giter Club home page Giter Club logo

BullSoft Openshift

Port from openshift, but not like that, Only for ubuntu server - 'cause we use sudo apt-get install in build script for instance.

To make it faster, I have made a mirror in Baidu BCS for packages here.

##INSTALL

###Firstly, add these to your ~/.bashrc

export OPENSHIFT_DIY_DIR=$HOME
export OPENSHIFT_DIY_LOG_DIR=$HOME/log
export OPENSHIFT_DIY_IP=0.0.0.0
export OPENSHIFT_DIY_PORT=8080

export OPENSHIFT_REDIS_PORT=6379
export OPENSHIFT_HAPROXY_PORT=80

export OPENSHIFT_REPO_DIR=$HOME
export OPENSHIFT_DATA_DIR=$HOME/.openshift/data
export OPENSHIFT_TMP_DIR=$HOME/.openshift/tmp

if [ -f ${OPENSHIFT_DATA_DIR}/.bash_profile ]; then
    . ${OPENSHIFT_DATA_DIR}/.bash_profile
fi

To make these effective, you should source it.

soure ~/.bashrc

###Then, type these on terminal:

cd ~
git clone https://github.com/BullSoft/openshift.git
cd ~/openshift/action_hooks/
./build
  Maybe you have to type ```password``` to let it continue.

###Finally, type:

cp -r ~/openshift/wwwroot ~/

... and the file structure would be like this

.
├── log
│   ├── access.log
│   ├── error.log
│   ├── php-fpm.log
│   └── redis_6379.log
├── openshift
│   ├── action_hooks
│   ├── README.md
│   ├── tmpl
│   └── wwwroot
├── run
│   ├── mysql.pid
│   ├── mysql.sock
│   ├── nginx.pid
│   ├── php-fpm.pid
│   ├── php-fpm.socket
│   └── redis_6379.pid
├── runtime
│   ├── etc
│   ├── haproxy
│   ├── libs
│   ├── mysql
│   ├── nginx
│   ├── php5
│   └── redis
└── wwwroot
    └── index.php
    

布尔软件's Projects

balance icon balance

Balance accounting (bookkeeping) system based on debit and credit principle

cphalcon icon cphalcon

High performance, full-stack PHP framework delivered as a C extension. Phalcon 3.4.x Support PHP 7.4

fairemail icon fairemail

Fully featured, open source, privacy friendly email app for Android

falcon icon falcon

A fast solution based on phalconphp-framework

ffi-lac icon ffi-lac

基本百度LAC项目的PHP中文智能分词库

geospatial icon geospatial

PHP Extension to handle common geospatial functions.

gofcgid icon gofcgid

Just a test for fastcgi protocol in golang - Not Maintained

huptime icon huptime

Utility for zero downtime restarts of unmodified programs.

idcardquery icon idcardquery

输入身份证号码,判断18位身份证号码是否合法,并查询信息(性别,年龄,所在地)

matomo icon matomo

Liberating Web Analytics. Star us on Github? +1. Matomo is the leading open alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites, apps & the IoT and visualise this data and extract insights. Privacy is built-in. We love Pull Requests!

mautic icon mautic

Mautic: Open Source Marketing Automation Software.

mobilepillowtalklite icon mobilepillowtalklite

An iOS & SwiftUI server monitor tool for linux based machines using remote proc file system with script execution.

mysql_streamer icon mysql_streamer

MySQLStreamer is a database change data capture and publish system.

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.