Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
litespeed_wiki:installation:command_line [2016/03/21 15:25]
Rob Holda
litespeed_wiki:installation:command_line [2016/03/21 15:40]
Rob Holda
Line 1: Line 1:
 ==== Installation/​Uninstallation ==== ==== Installation/​Uninstallation ====
- 
-=== Minimum system requirements === 
- 
-  * **Operating System:** 
-    * Linux(i386):​ kernel 2.4 and up, glibc-2.2 and up 
-    * CentOS: 5 and up 
-    * Ubuntu: 8.04 and up 
-    * Debian: 4 and up 
-    * Solaris(x86):​ Sun0S 5.8 and up 
-    * FreeBSD(i386):​ 4.5 and up 
-    * MacOSX: 10.3 and up 
- 
-  * **CPU:​** ​ 
-    * Intel: 80486 and up 
-    * PowerPC: PowerPC G4 
- 
-  * **Memory:** 32MB and up 
-  ​ 
-  * **Disk:** 
-      * Installation:​ 200MB 
-      * Runtime: 300MB and up, swapping space depends on usage. 
  
 === Installation === === Installation ===
Line 30: Line 9:
 == Installation Steps: == == Installation Steps: ==
  
-  - Decompress the package into a convenient location: +  - Decompress the package into a convenient location:\\ ''​tar xvfz lsws-xxxx.tar.gz''​ or ''​gunzip -c lsws-xxxx.tar.gz | tar xvf -''​
-    - ''​tar xvfz lsws-xxxx.tar.gz''​ or ''​gunzip -c lsws-xxxx.tar.gz | tar xvf -''​+
   - **[Enterprise Edition Only]** Install trial license key or serial number:   - **[Enterprise Edition Only]** Install trial license key or serial number:
-    * Trial License:  +    * Trial License: 
-      ​A trial license is for evaluation purposes and is only good for 15 days after download. A trial license can be requested from download page. +      ​A trial license is for evaluation purposes and is only good for 15 days after download. A trial license can be requested from download page. 
-      ​A trial license key will be sent to you as an attachment in a confirmation email. Please save the attachment as ''​trial.key''​ and copy it to the installation directory. +      ​A trial license key will be sent to you as an attachment in a confirmation email. Please save the attachment as ''​trial.key''​ and copy it to the installation directory. 
-      ​When you switch from a trial license to a production license, you can simply run the install script again after following the steps below to update your license.+      ​When you switch from a trial license to a production license, you can simply run the install script again after following the steps below to update your license.
     * Production license:     * Production license:
       - Licenses can be leased or purchased at the LiteSpeed [[http://​store.litespeedtech.com|store]].       - Licenses can be leased or purchased at the LiteSpeed [[http://​store.litespeedtech.com|store]].
       - A serial number will be sent to you in the confirmation email after you order has been successfully processed. Each serial number allows for one server installation.       - A serial number will be sent to you in the confirmation email after you order has been successfully processed. Each serial number allows for one server installation.
       - Save the serial number as "​serial.no";​ in the installation directory (where install.sh is located). ​ The LiteSpeed products registration server will use this file to retrieve your license key during the installation process.       - Save the serial number as "​serial.no";​ in the installation directory (where install.sh is located). ​ The LiteSpeed products registration server will use this file to retrieve your license key during the installation process.
-  - Go to the installation directory ''​cd lsws-xxxx''​ and run command ''​./​install.sh''​ This will start LiteSpeed'​s Installer. +  - Go to the installation directory ''​cd lsws-xxxx''​ and run command ''​./​install.sh''​ This will start LiteSpeed'​s Installer.\\ \\ Note that only by running this command as the "​root"​ user can you install the server into a system directory. Other users should install it to somewhere under their home directory.\\ \\ Mac OS X users can install the server into a system directory with command ''​sudo ./​install.sh''​
-    * Note that only by running this command as the "​root"​ user can you install the server into a system directory. Other users should install it to somewhere under their home directory. +
-    * Mac OS X users can install the server into a system directory with command ''​sudo ./​install.sh''​+
   - Read the End User License Agreement and type "​Yes"​ to confirm your agreement.   - Read the End User License Agreement and type "​Yes"​ to confirm your agreement.
   - Specify the directory where you would like to install LiteSpeed Web Server. For the root user, the default is /​usr/​local/​lsws. For non-privileged users, the default is their home directory. Remember, non-privileged users will not be able to install the server into a system directory. ​   - Specify the directory where you would like to install LiteSpeed Web Server. For the root user, the default is /​usr/​local/​lsws. For non-privileged users, the default is their home directory. Remember, non-privileged users will not be able to install the server into a system directory. ​
-  - **[Enterprise Edition Only] Generate license request.** +  - **[Enterprise Edition Only] Generate license request.**\\ \\ If the Installer only finds serial number but no valid license key, it will prompt to generate a license request. The installer will talk to LiteSpeed products registration server and obtain a valid license key automatically. Upon getting the license key, it will go to next step. If failed, the installer will exit and leave a license request file.\\ \\ If the automatic process failed, you can create a ticket with license department from online store client area.\\ \\ Note: Installation will continue only if there is a valid trial license or valid Enterprise license.
-    * If the Installer only finds serial number but no valid license key, it will prompt to generate a license request. The installer will talk to LiteSpeed products registration server and obtain a valid license key automatically. Upon getting the license key, it will go to next step. If failed, the installer will exit and leave a license request file. +
-    * If the automatic process failed, you can create a ticket with license department from online store client area. +
-    * Note: Installation will continue only if there is a valid trial license or valid Enterprise license.+
   - Follow the instructions on the screen. The Installer will ask you to set the following: ​   - Follow the instructions on the screen. The Installer will ask you to set the following: ​
     - If previously installed copy exists, the Installer will ask you to choose either upgrade, reinstall, or change directory. Upgrading will keep your current configurations.     - If previously installed copy exists, the Installer will ask you to choose either upgrade, reinstall, or change directory. Upgrading will keep your current configurations.
Line 94: Line 67:
 Starting with release 4.1, you can upgrade to the latest release, force reinstall, or downgrade to an old version using the command line tool lsup.sh. See detailed usage information in ''​[your_install_dir]/​admin/​misc/​lsup.sh --help''​ Starting with release 4.1, you can upgrade to the latest release, force reinstall, or downgrade to an old version using the command line tool lsup.sh. See detailed usage information in ''​[your_install_dir]/​admin/​misc/​lsup.sh --help''​
  
-Since release 1.5.6, multiple versions of LiteSpeed Web Server can be installed. You can easily switch from one to another by using the version management utility: ''​[your_install_dir]/​admin/​misc/​mgr_ver.sh''​. ​+Since release 1.5.6, multiple versions of LiteSpeed Web Server can be installed. You can easily switch from one to another by using the version management utility:\\ ''​[your_install_dir]/​admin/​misc/​mgr_ver.sh''​. ​
   * To switch to a version already installed, for example 1.5.6, just run ''​[your_install_dir_current_version]/​admin/​misc/​mgr_ver.sh ​  ​1.5.6''​   * To switch to a version already installed, for example 1.5.6, just run ''​[your_install_dir_current_version]/​admin/​misc/​mgr_ver.sh ​  ​1.5.6''​
   * To remove previously installed files for a certain version, for example 1.5.6, just run ''​[your_install_dir_current_version]/​admin/​misc/​mgr_ver.sh -d 1.5.6''​   * To remove previously installed files for a certain version, for example 1.5.6, just run ''​[your_install_dir_current_version]/​admin/​misc/​mgr_ver.sh -d 1.5.6''​
  • Admin
  • Last modified: 2022/02/17 18:35
  • by Lisa Clarke