Skip to content

One click installation of Open LiteSpeed

Notifications You must be signed in to change notification settings

wpfyorg/ols1clk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 

Repository files navigation

ols1clk

========

Description

ols1clk is a one-click installation script for OpenLiteSpeed. Using this script, you can quickly and easily install OpenLiteSpeed with its default settings. We also provide a -w parameter to install WordPress and a -c parameter to install ClassicPress at the same time. Both must still be configured through the wp-config.php page. A MariaDB database can also be set up using this script if needed. If you already have a WordPress or ClassicPress installation running on another server, it can be imported into OpenLiteSpeed with no hassle using the --wordpresspath and --classicpresspath parameters. To completely install WordPress with your OpenLiteSpeed installation, skipping the need for the wp-config.php page, use the --wordpressplus flag. To install ClassicPress in the same way, use the --classicpressplus flag. Both of these can be used with --wpuser, --wppassword, --wplang, and --sitetitle to configure each of the settings normally set by wp-config.php.

Running ols1clk

ols1clk can be run in the following way: ./ols1clk.sh [options] [options] …

When run with no options, ols1clk will install OpenLiteSpeed with the default settings and values.

Possible Options:

  • --adminpassword(-a) [PASSWORD]: To set set the WebAdmin password for OpenLiteSpeed instead of a random one.
    • If you omit [PASSWORD], ols1clk will prompt you to provide this password during installation.
  • --email(-e) EMAIL: to set the administrator email.
  • --lsphp VERSION: to set LSPHP version, such as 56. We currently support versions 54, 55, 56, 70, 71, 72 and 73.
  • --mariadbver VERSION: to set MariaDB server version, such as 10.1. We currently support versions 10.0, 10.1, 10.2, 10.3 and 10.4.
  • --wordpress(-w): to install and setup WordPress. You will still need to access the /wp-admin/wp-config.php file by browser to complete WordPress installation.
  • --wordpressplus SITEDOMAIN: to install, setup, and configure WordPress, eliminating the need to use the wp-config.php setup.
  • --wordpresspath WORDPRESSPATH: to specify a location for the new WordPress installation or use an existing WordPress installation.
  • --classicpress(-w): to install and setup ClassicPress. You will still need to access the /wp-admin/wp-config.php file by browser to complete ClassicPress installation.
  • --classicpressplus SITEDOMAIN: to install, setup, and configure ClassicPress, eliminating the need to use the wp-config.php setup.
  • --classicpresspath CLASSICPRESSPATH: to specify a location for the new ClassicPress installation or use an existing ClassicPress installation.
  • --dbrootpassword(-r) [PASSWORD]: to set the MySQL server root password instead of using a random one.
    • If you omit [PASSWORD], ols1clk will prompt you to provide this password during installation.
  • --dbname DATABASENAME: to set the database name to be used by WordPress.
  • --dbuser DBUSERNAME: to set the WordPress username in the database.
  • --dbpassword [PASSWORD]: to set the WordPress table password in MySQL instead of using a random one.
    • If you omit [PASSWORD], ols1clk will prompt you to provide this password during installation.
  • --listenport LISTENPORT: to set the HTTP server listener port, default is 80.
  • --ssllistenport LISTENPORT: to set the HTTPS server listener port, default is 443.
  • --wpuser WORDPRESSUSER: to set the WordPress admin user for WordPress dashboard login. Default value is wpuser.
  • --wppassword [PASSWORD]: to set the WordPress admin user password for WordPress dashboard login.
    • If you omit [PASSWORD], ols1clk will prompt you to provide this password during installation.
  • --wplang WORDPRESSLANGUAGE: to set the WordPress language. Default value is "en" for English.
  • --sitetitle WORDPRESSSITETITLE: To set the WordPress site title. Default value is mySite.
  • --uninstall: to uninstall OpenLiteSpeed and remove the installation directory.
  • --purgeall: to uninstall OpenLiteSpeed, remove the installation directory, and purge all data in MySQL.
  • --quiet: set to quiet mode, won't prompt to input anything.
  • --version(-v): to display version information.
  • --help(-h): to display usage.

Get in Touch

OpenLiteSpeed has a Google Group. If you find a bug, want to request new features, or just want to talk about OpenLiteSpeed, this is the place to do it.

About

One click installation of Open LiteSpeed

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%