GithubHelp home page GithubHelp logo

code-egg / lsws1clk Goto Github PK

View Code? Open in Web Editor NEW
11.0 5.0 7.0 257 KB

One click installation of LiteSpeed Web Server

License: MIT License

Shell 100.00%
wordpress litespeed magento2 lscache lsws1clk hacktoberfest

lsws1clk's Introduction

lsws1clk

Build Status

Description

This script is design for application quick install and testing porpuse.

lsws1clk is a one-click installation script for LiteSpeed Web Server. Using this script, you can quickly and easily install:

LSWS+PHP+DB Application Cache Plugin
V WordPress V
V Magento2 V
V OpenCart
V PrestaShop V
V Mautic
V Drupal V

The script come with trial license by default which has 15 days for free. After that, you may want to apply with your license. Or you can apply your serial number with --license xxxxxxxx. License start from $0. Read More

How to use


Install Pre-Requisites

For CentOS/RHEL Based Systems

yum install git -y; git clone https://github.com/Code-Egg/lsws1clk.git

For Debian/Ubuntu Based Systems

apt install git -y; git clone https://github.com/Code-Egg/lsws1clk.git

Install

Pure LSWS

lsws1clk/lsws1clk.sh --pure

Specified serial number

lsws1clk/lsws1clk.sh -L xxxxxxxxxxxxx

WordPress

lsws1clk/lsws1clk.sh -W

Magento

lsws1clk/lsws1clk.sh -M

Magento + Sample data

lsws1clk/lsws1clk.sh -M -S

OpenCart

lsws1clk/lsws1clk.sh -O

PrestaShop

lsws1clk/lsws1clk.sh -P

Mautic

lsws1clk/lsws1clk.sh --mautic

Drupal

lsws1clk/lsws1clk.sh --drupal

Uninstall

Uninstall LSWS and LSPHP

lsws1clk/lsws1clk.sh --uninstall

Uninstall LSWS, LSPHP, all packages and document

lsws1clk/lsws1clk.sh --uninstall-all

Benchmark

  • Test client: online tool - load.io with 5000 clients

  • Test Server: DigitalOcean $5 plan server

  • Target: WordPress v5.3 main page

  • Result: 5000 request per seconds without any error

Problems/Suggestions/Feedback/Contribution

Please raise an issue on the repository, or send a PR for contributing.

lsws1clk's People

Contributors

code-egg avatar ivmm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

lsws1clk's Issues

phpMyAdmin installation failed

Operating system: CentOS 8 64bit
Error message:

mv: cannot stat 'phpMyAdmin-*-all-languages': No such file or directory
mv: cannot stat '/var/www/phpmyadmin/config.sample.inc.php': No such file or directory
grep: /var/www/phpmyadmin/config.inc.php: No such file or directory
sed: can't read /var/www/phpmyadmin/config.inc.php: No such file or directory
sed: can't read /var/www/phpmyadmin/config.inc.php: No such file or directory

WebAdmin Console 503 error under CentOS.

image

The log:

2019-12-10 03:56:34.712195 [INFO] [2455] [:4773:HTTP2-1] Abort request processing by PID:2852, kill: 1, begin time: 0, sent time: 0, req processed: 0
2019-12-10 03:56:45.012477 [INFO] [2455] [:4773:HTTP2-3] ExtConn timed out while processing, timeout=10.
2019-12-10 03:56:45.012525 [INFO] [2455] [:4773:HTTP2-3] connection to [/tmp/lshttpd/admin_php5.sock] on request #0, confirmed, 0, associated process: 2856, running: 0, error: Connection timed out!
2019-12-10 03:56:45.012527 [NOTICE] [2455] [:4773:HTTP2-3] Suspicious request timeout, associated process: 2856, running: 0.
2019-12-10 03:56:53.912139 [INFO] [2455] [:4773:HTTP2-3] Abort request processing by PID:2859, kill: 1, begin time: 8, sent time: 8, req processed: 0
2019-12-10 03:57:05.037304 [INFO] [2455] [:4773:HTTP2-5] ExtConn timed out while processing, timeout=10.
2019-12-10 03:57:05.037340 [INFO] [2455] [:4773:HTTP2-5] connection to [/tmp/lshttpd/admin_php5.sock] on request #0, confirmed, 0, associated process: 2866, running: 0, error: Connection timed out!
2019-12-10 03:57:05.037342 [NOTICE] [2455] [:4773:HTTP2-5] Suspicious request timeout, associated process: 2866, running: 0.
2019-12-10 03:57:15.058551 [INFO] [2455] [:4773:HTTP2-5] ExtConn timed out while processing, timeout=10.
2019-12-10 03:57:15.058601 [INFO] [2455] [:4773:HTTP2-5] connection to [/tmp/lshttpd/admin_php5.sock] on request #0, confirmed, 0, associated process: 2867, running: 0, error: Connection timed out!
2019-12-10 03:57:15.058603 [NOTICE] [2455] [:4773:HTTP2-5] Suspicious request timeout, associated process: 2867, running: 0.
2019-12-10 03:57:15.058635 [NOTICE] [2455] [:4773:HTTP2-5] Max retries has been reached, 503!
2019-12-10 03:57:15.058772 [NOTICE] [2455] [:4773:HTTP2-5] oops! 503 Service Unavailable
2019-12-10 03:57:15.058776 [NOTICE] [2455] [:4773:HTTP2-5] Content len: 0, Request line: 'GET / HTTP/1.1'
2019-12-10 03:57:15.058778 [INFO] [2455] [:4773:HTTP2-5] Cookie len: 74, csrftoken=LNdWEfswqIpRAMeH4r7n78UgJsO9hxvtneGeflJY80fi4VMSXr0iQdJ2oH3dU9Bz

···bash
[root@vps7 ~]# /usr/local/lsws/admin/fcgi-bin/admin_php5 -c ../conf -i
/usr/local/lsws/admin/fcgi-bin/admin_php5: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
···

Requires libnsl to be installed

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.