mirror of
https://github.com/joglomedia/LEMPer.git
synced 2026-04-13 08:28:21 +00:00
27 lines
526 B
Bash
Executable File
27 lines
526 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Zephir installer
|
|
# Min requirement : GNU/Linux Ubuntu 14.04
|
|
# Last Build : 28/03/2015
|
|
# Author : MasEDI.Net (hi@masedi.net)
|
|
|
|
# Make sure only root can run this installer script
|
|
if [ $(id -u) -ne 0 ]; then
|
|
echo "This script must be run as root..."
|
|
exit 1
|
|
fi
|
|
|
|
# Prerequisite packages
|
|
apt-get install re2c libpcre3-dev git
|
|
|
|
# clon Zephir repo
|
|
git clone https://github.com/phalcon/zephir.git
|
|
|
|
# Install zephir
|
|
cd zephir
|
|
# install json-c
|
|
./install-json
|
|
# install zephir
|
|
composer install
|
|
./install
|