root@ip-172-31-25-151:~# bash <( curl -k https://raw.githubusercontent.com/litespeedtech/ols1clk/master/ols1clk.sh ) -w
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 56196 100 56196 0 0 295k 0 --:--:-- --:--:-- --:--:-- 295k
**********************************************************************************************
* Open LiteSpeed One click installation, Version 3.0 *
* Copyright (C) 2016 - 2021 LiteSpeed Technologies, Inc. *
**********************************************************************************************
Current platform is UBUNTU20 ubuntu focal.
Starting to install OpenLiteSpeed to /usr/local/lsws/ with the parameters below,
WebAdmin password: *************
WebAdmin email: root@localhost
LSPHP version: 74
MariaDB version: 10.4
Install WordPress: Yes
WordPress HTTP port: 80
WordPress HTTPS port: 443
WordPress language: en_US
Web site domain: *
MySQL root Password: kLIMfOYiRWjucDcT
Database name: olsdbname
Database username: olsdbuser
Database password: qihxrgURasmHIord
WordPress plus: No
WordPress location: /usr/local/lsws/wordpress (New install)
Your password will be written to file: /usr/local/lsws/password
Are these settings correct? Type n to quit, otherwise will continue. [Y/n]Y
Start OpenLiteSpeed one click installation >> >> >> >> >> >> >>
System update
Start setup OpenLiteSpeed
- add litespeedtech repo
- update list
- Install OpenLiteSpeed
- Install lsphp74
- Setup lsphp symlink
End setup OpenLiteSpeed
Set OpenLiteSpeed Web Admin access.
Install wp_cli
Start setup virtual host config
- Check existing port
- Create wordpress listener
- Insert wordpress virtual host
- Create wordpress virtual host conf
End setup virtual host config
Avoid port 80/443 conflict.
Start Install MariaDB
- Install software properties
- Add MariaDB repo
- Update packages
- Install MariaDB
- Start MariaDB
- Set MariaDB root
End Install MariaDB
Start setup mysql
Finished MySQL setup without error.
End setup mysql
Start Download WordPress file
End Download WordPress file
Start Create Wordpress config
Done Create Wordpress config
Congratulations! Installation finished.
Please access http://server_IP:80/ to finish setting up your WordPress site.
And also you may want to activate the LiteSpeed Cache plugin to get better performance.
End OpenLiteSpeed one click installation << << << << << << <<
Start auto testing >> >> >> >>
OK: test webAdmin page passed.
OK: test Example vhost page passed.
OK: test wordpress HTTP first page passed.
OK: test wordpress HTTPS first page passed.
End auto testing << << << <<
Thanks for using OpenLiteSpeed One click installation!
root@ip-172-31-25-151:~# apt-get install lsphp74-intl -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
lsphp74-intl
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 126 kB of archives.
After this operation, 517 kB of additional disk space will be used.
Get:1 http://rpms.litespeedtech.com/debian focal/main amd64 lsphp74-intl amd64 7.4.18-1+focal [126 kB]
Fetched 126 kB in 0s (399 kB/s)
Selecting previously unselected package lsphp74-intl.
(Reading database ... 62277 files and directories currently installed.)
Preparing to unpack .../lsphp74-intl_7.4.18-1+focal_amd64.deb ...
Unpacking lsphp74-intl (7.4.18-1+focal) ...
Setting up lsphp74-intl (7.4.18-1+focal) ...
Creating config file /usr/local/lsws/lsphp74/etc/php/7.4/mods-available/intl.ini with new version
root@ip-172-31-25-151:~# curl -sS https://getcomposer.org/installer | php
All settings correct for using Composer
Downloading...
Composer (version 2.0.13) successfully installed to: /root/composer.phar
Use it: php composer.phar
root@ip-172-31-25-151:~#
root@ip-172-31-25-151:~# mv composer.phar /usr/local/bin/composer
root@ip-172-31-25-151:~#
root@ip-172-31-25-151:~# chmod +x /usr/local/bin/composer
root@ip-172-31-25-151:~# cd /usr/local/lsws
root@ip-172-31-25-151:/usr/local/lsws# rm -rf /usr/local/lsws/wordpress/
root@ip-172-31-25-151:/usr/local/lsws# composer create-project codeigniter4/appstarter wordpress
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
Creating a "codeigniter4/appstarter" project at "./wordpress"
Installing codeigniter4/appstarter (v4.1.1)
As there is no 'unzip' command installed zip files are being unpacked using the PHP zip extension.
This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
Installing 'unzip' may remediate them.
- Downloading codeigniter4/appstarter (v4.1.1)
- Installing codeigniter4/appstarter (v4.1.1): Extracting archive
Created project in /usr/local/lsws/wordpress
Loading composer repositories with package information
Updating dependencies
Lock file operations: 43 installs, 0 updates, 0 removals
- Locking codeigniter4/framework (v4.1.1)
- Locking doctrine/instantiator (1.4.0)
- Locking fakerphp/faker (v1.14.1)
- Locking kint-php/kint (3.3)
- Locking laminas/laminas-escaper (2.7.0)
- Locking laminas/laminas-zendframework-bridge (1.2.0)
- Locking mikey179/vfsstream (v1.6.8)
- Locking myclabs/deep-copy (1.10.2)
- Locking nikic/php-parser (v4.10.5)
- Locking phar-io/manifest (2.0.1)
- Locking phar-io/version (3.1.0)
- Locking phpdocumentor/reflection-common (2.2.0)
- Locking phpdocumentor/reflection-docblock (5.2.2)
- Locking phpdocumentor/type-resolver (1.4.0)
- Locking phpspec/prophecy (1.13.0)
- Locking phpunit/php-code-coverage (9.2.6)
- Locking phpunit/php-file-iterator (3.0.5)
- Locking phpunit/php-invoker (3.1.1)
- Locking phpunit/php-text-template (2.0.4)
- Locking phpunit/php-timer (5.0.3)
- Locking phpunit/phpunit (9.5.4)
- Locking psr/container (1.1.1)
- Locking psr/log (1.1.4)
- Locking sebastian/cli-parser (1.0.1)
- Locking sebastian/code-unit (1.0.8)
- Locking sebastian/code-unit-reverse-lookup (2.0.3)
- Locking sebastian/comparator (4.0.6)
- Locking sebastian/complexity (2.0.2)
- Locking sebastian/diff (4.0.4)
- Locking sebastian/environment (5.1.3)
- Locking sebastian/exporter (4.0.3)
- Locking sebastian/global-state (5.0.2)
- Locking sebastian/lines-of-code (1.0.3)
- Locking sebastian/object-enumerator (4.0.4)
- Locking sebastian/object-reflector (2.0.4)
- Locking sebastian/recursion-context (4.0.4)
- Locking sebastian/resource-operations (3.0.3)
- Locking sebastian/type (2.3.1)
- Locking sebastian/version (3.0.2)
- Locking symfony/deprecation-contracts (v2.4.0)
- Locking symfony/polyfill-ctype (v1.22.1)
- Locking theseer/tokenizer (1.2.0)
- Locking webmozart/assert (1.10.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 43 installs, 0 updates, 0 removals
- Downloading psr/log (1.1.4)
- Downloading laminas/laminas-zendframework-bridge (1.2.0)
- Downloading laminas/laminas-escaper (2.7.0)
- Downloading kint-php/kint (3.3)
- Downloading codeigniter4/framework (v4.1.1)
- Downloading symfony/deprecation-contracts (v2.4.0)
- Downloading psr/container (1.1.1)
- Downloading fakerphp/faker (v1.14.1)
- Downloading mikey179/vfsstream (v1.6.8)
- Downloading symfony/polyfill-ctype (v1.22.1)
- Downloading webmozart/assert (1.10.0)
- Downloading phpdocumentor/reflection-common (2.2.0)
- Downloading phpdocumentor/type-resolver (1.4.0)
- Downloading phpdocumentor/reflection-docblock (5.2.2)
- Downloading sebastian/version (3.0.2)
- Downloading sebastian/type (2.3.1)
- Downloading sebastian/resource-operations (3.0.3)
- Downloading sebastian/recursion-context (4.0.4)
- Downloading sebastian/object-reflector (2.0.4)
- Downloading sebastian/object-enumerator (4.0.4)
- Downloading sebastian/global-state (5.0.2)
- Downloading sebastian/exporter (4.0.3)
- Downloading sebastian/environment (5.1.3)
- Downloading sebastian/diff (4.0.4)
- Downloading sebastian/comparator (4.0.6)
- Downloading sebastian/code-unit (1.0.8)
- Downloading sebastian/cli-parser (1.0.1)
- Downloading phpunit/php-timer (5.0.3)
- Downloading phpunit/php-text-template (2.0.4)
- Downloading phpunit/php-invoker (3.1.1)
- Downloading phpunit/php-file-iterator (3.0.5)
- Downloading theseer/tokenizer (1.2.0)
- Downloading nikic/php-parser (v4.10.5)
- Downloading sebastian/lines-of-code (1.0.3)
- Downloading sebastian/complexity (2.0.2)
- Downloading sebastian/code-unit-reverse-lookup (2.0.3)
- Downloading phpunit/php-code-coverage (9.2.6)
- Downloading doctrine/instantiator (1.4.0)
- Downloading phpspec/prophecy (1.13.0)
- Downloading phar-io/version (3.1.0)
- Downloading phar-io/manifest (2.0.1)
- Downloading myclabs/deep-copy (1.10.2)
- Downloading phpunit/phpunit (9.5.4)
- Installing psr/log (1.1.4): Extracting archive
- Installing laminas/laminas-zendframework-bridge (1.2.0): Extracting archive
- Installing laminas/laminas-escaper (2.7.0): Extracting archive
- Installing kint-php/kint (3.3): Extracting archive
- Installing codeigniter4/framework (v4.1.1): Extracting archive
- Installing symfony/deprecation-contracts (v2.4.0): Extracting archive
- Installing psr/container (1.1.1): Extracting archive
- Installing fakerphp/faker (v1.14.1): Extracting archive
- Installing mikey179/vfsstream (v1.6.8): Extracting archive
- Installing symfony/polyfill-ctype (v1.22.1): Extracting archive
- Installing webmozart/assert (1.10.0): Extracting archive
- Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
- Installing phpdocumentor/type-resolver (1.4.0): Extracting archive
- Installing phpdocumentor/reflection-docblock (5.2.2): Extracting archive
- Installing sebastian/version (3.0.2): Extracting archive
- Installing sebastian/type (2.3.1): Extracting archive
- Installing sebastian/resource-operations (3.0.3): Extracting archive
- Installing sebastian/recursion-context (4.0.4): Extracting archive
- Installing sebastian/object-reflector (2.0.4): Extracting archive
- Installing sebastian/object-enumerator (4.0.4): Extracting archive
- Installing sebastian/global-state (5.0.2): Extracting archive
- Installing sebastian/exporter (4.0.3): Extracting archive
- Installing sebastian/environment (5.1.3): Extracting archive
- Installing sebastian/diff (4.0.4): Extracting archive
- Installing sebastian/comparator (4.0.6): Extracting archive
- Installing sebastian/code-unit (1.0.8): Extracting archive
- Installing sebastian/cli-parser (1.0.1): Extracting archive
- Installing phpunit/php-timer (5.0.3): Extracting archive
- Installing phpunit/php-text-template (2.0.4): Extracting archive
- Installing phpunit/php-invoker (3.1.1): Extracting archive
- Installing phpunit/php-file-iterator (3.0.5): Extracting archive
- Installing theseer/tokenizer (1.2.0): Extracting archive
- Installing nikic/php-parser (v4.10.5): Extracting archive
- Installing sebastian/lines-of-code (1.0.3): Extracting archive
- Installing sebastian/complexity (2.0.2): Extracting archive
- Installing sebastian/code-unit-reverse-lookup (2.0.3): Extracting archive
- Installing phpunit/php-code-coverage (9.2.6): Extracting archive
- Installing doctrine/instantiator (1.4.0): Extracting archive
- Installing phpspec/prophecy (1.13.0): Extracting archive
- Installing phar-io/version (3.1.0): Extracting archive
- Installing phar-io/manifest (2.0.1): Extracting archive
- Installing myclabs/deep-copy (1.10.2): Extracting archive
- Installing phpunit/phpunit (9.5.4): Extracting archive
8 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
29 packages you are using are looking for funding.
Use the `composer fund` command to find out more!