Code Monkey home page Code Monkey logo

arm_openlitespeed's Introduction

借鉴自 https://lowendtalk.com/discussion/181468/how-to-compile-and-install-openlitespeed-in-oracle-arm-a1-instance/p1

arm_openlitespeed

#安装编译环境

apt install build-essential autoconf libtool bison re2c pkg-config libssl-dev libbz2-dev libcurl4-openssl-dev libffi-dev libzip-dev libpng-dev libjpeg-dev libwebp-dev libavif-dev libgmp-dev libc-client-dev libkrb5-dev libldap2-dev libonig-dev libreadline-dev libsodium-dev libxml2-dev libsqlite3-dev -y

#下载arm-openlitespeed并安装

wget https://raw.githubusercontent.com/Steady-WJ/arm_openlitespeed/main/arm-openlitespeed.tar.gz

tar -zxvf arm-openlitespeed.tar.gz

cd openlitespeed-1.7.16

./install.sh

#安装编译expat

wget https://github.com/libexpat/libexpat/releases/download/R_2_5_0/expat-2.5.0.tar.gz

tar -zxvf expat-2.5.0.tar.gz

cd expat-2.5.0

./configure --prefix=/usr/local/expat

make -j 4&&make install

#安装PHP

cd /usr/local/lsws/phpbuild/

wget https://raw.githubusercontent.com/Steady-WJ/arm_openlitespeed/main/arm-php5.6.35.tar.gz

tar -zxvf arm-php5.6.35.tar.gz

cd php-5.6.35

./configure --prefix=/tmp --disable-all --with-litespeed --enable-session --enable-posix --enable-xml --with-libexpat-dir=/usr/local/expat --with-zlib --enable-sockets --enable-bcmath --enable-json

make -j 4&&make install

cd /usr/local/lsws/admin/fcgi-bin/

rm -rf admin_php

cp /tmp/bin/lsphp /usr/local/lsws/admin/fcgi-bin/admin_php

rm -rf /usr/local/lsws/fcgi-bin/lsphp*

cp /tmp/bin/lsphp /usr/local/lsws/fcgi-bin/lsphp

cp /tmp/bin/lsphp /usr/local/lsws/fcgi-bin/lsphp5

cd /usr/local/lsws/admin/misc

bash admpass.sh

systemctl restart lsws

arm_openlitespeed's People

Contributors

steady-wj avatar

Stargazers

Neko Prog avatar

Watchers

 avatar

Forkers

nekoprog

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.