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
Last revision Both sides next revision
litespeed_wiki:installation:command_line [2016/03/21 15:40]
Rob Holda
litespeed_wiki:installation:command_line [2019/08/07 20:52]
Jackson Zhang
Line 5: Line 5:
 Installation must be performed in a command line terminal. For testing purposes, LiteSpeed Web Server can be installed into a home directory by a non-privileged user. For production use, it should be installed into a system directory. Installation must be performed in a command line terminal. For testing purposes, LiteSpeed Web Server can be installed into a home directory by a non-privileged user. For production use, it should be installed into a system directory.
  
-In Mac OS X, root user is disabled by default. It can be enabled using a series of actions detailed on the [[http://​support.apple.com/​kb/PH11331|Apple]] website. You can also use the sudo command to install LSWS into a system directory without enabling the root user, but system folders will still only be manipulable by the root user. This means that every time you want to control LSWS from the command line terminal (like when you want to start or stop LSWS), you will have to use the sudo command.+In Mac OS X, root user is disabled by default. It can be enabled using a series of actions detailed on the [[https://​support.apple.com/​en-us/HT204012|Apple]] website. You can also use the sudo command to install LSWS into a system directory without enabling the root user, but system folders will still only be manipulable by the root user. This means that every time you want to control LSWS from the command line terminal (like when you want to start or stop LSWS), you will have to use the sudo command.
  
 == Installation Steps: == == Installation Steps: ==
Line 16: Line 16:
       - 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 [[https://​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.
Line 35: Line 35:
  
 == Testing Installation == == Testing Installation ==
-  - For detailed information on controlling the server processes, please see the [[http://​www.litespeedtech.com/​docs/​webserver/​admin|Administration Guide]]. To start the server, simply run ''​[your_install_dir]/​bin/​lswsctrl start''​.+  - For detailed information on controlling the server processes, please see the [[https://​www.litespeedtech.com/​docs/​webserver/​admin|Administration Guide]]. To start the server, simply run ''​[your_install_dir]/​bin/​lswsctrl start''​.
   - To access your site, point your browser to **<​nowiki>​http://​[address]:​8088/</​nowiki>​**,​ [address] being the IP address or domain name of your web server machine. Use "​localhost"​ if the server is on the machine you are using. "​8088"​ is the default port. If you changed the port during installation,​ write the port you designated. A congratulations page should load into the browser. If not, try the WebAdmin interface.   - To access your site, point your browser to **<​nowiki>​http://​[address]:​8088/</​nowiki>​**,​ [address] being the IP address or domain name of your web server machine. Use "​localhost"​ if the server is on the machine you are using. "​8088"​ is the default port. If you changed the port during installation,​ write the port you designated. A congratulations page should load into the browser. If not, try the WebAdmin interface.
-  - The default port for the WebAdmin interface is 7080. Plug **<​nowiki>​http://​[address]:​7080/</​nowiki>​**,​ into your browser to go to the WebAdmin interface. (If you changed the port for WebAdmin during installation,​ use that port instead.) Remember that for [address] you can use "​localhost"​ if you're using the machine the server is on. The administration interface welcome page should load. Click the "Log on" link and use the administrator'​s username and password specified during installation to log on. For detailed information regarding configuration,​ please refer to our [[http://​www.litespeedtech.com/​docs/​webserver/​config|Configuration Guide]], or click the "​help"​ link on top of each page.+  - The default port for the WebAdmin interface is 7080. Plug **<​nowiki>​http://​[address]:​7080/</​nowiki>​**([address] being the IP address or domain name of your web server machine), into your browser to go to the WebAdmin interface. (If you changed the port for WebAdmin during installation,​ use that port instead.) Remember that for [address] you can use "​localhost"​ if you're using the machine the server is on. The administration interface welcome page should load. Click the "Log on" link and use the administrator'​s username and password specified during installation to log on. For detailed information regarding configuration,​ please refer to our [[https://​www.litespeedtech.com/​docs/​webserver/​config|Configuration Guide]], or click the "​help"​ link on top of each page.
   - If your server uses firewall, please make sure that localhost is trusted. For instance, Linux with IPTables should include a rule ''​ALLOW INPUT from LO''​.   - If your server uses firewall, please make sure that localhost is trusted. For instance, Linux with IPTables should include a rule ''​ALLOW INPUT from LO''​.
   - If your web site and the WebAdmin interface are inaccessible,​ please take a look at the error log - ''​[your_install_dir]/​logs/​error.log''​   - If your web site and the WebAdmin interface are inaccessible,​ please take a look at the error log - ''​[your_install_dir]/​logs/​error.log''​
Line 44: Line 44:
  
 If you still have problems with installation,​ please check out our  If you still have problems with installation,​ please check out our 
-[[http://​www.litespeedtech.com/​support/​wiki|wiki]] or post your problem  +[[https://​www.litespeedtech.com/​support/​wiki|wiki]] or post your problem  
-on our support [[http://​www.litespeedtech.com/​support/​forum/​|forum]].+on our support [[https://​www.litespeedtech.com/​support/​forum/​|forum]].
  
 === Upgrading === === Upgrading ===
  • Admin
  • Last modified: 2022/02/17 18:35
  • by Lisa Clarke