ok

Mini Shell

Direktori : /proc/thread-self/root/proc/self/root/proc/self/root/proc/self/root/usr/local/lsws/docs/
Upload File :
Current File : //proc/thread-self/root/proc/self/root/proc/self/root/proc/self/root/usr/local/lsws/docs/admin.html

<!DOCTYPE html>
<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <title>LiteSpeed Web Server Users' Manual - Administration</title>
  <meta name="description" content="LiteSpeed Web Server Users' Manual - Administration." />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <meta name="robots" content="noindex">
  <link rel="shortcut icon" href="img/favicon.ico" />
  <link rel="stylesheet" type="text/css" href="css/hdoc.css">
</head>
<body>
<div class="pagewrapper clearfix"><aside class="sidetree ls-col-1-5">
  <figure>
    <img src="img/lsws_logo.svg" alt="lightspeed web server logo"
         width="100px"/>
  </figure>
  <h2 class="ls-text-thin">
    LiteSpeed Web Server
    <br />
    <span class="current"><a href="index.html">Users' Manual</a></span>
  </h2>
  <h3 class="ls-text-muted">Version 6.2 &nbsp;&#8212;&nbsp;Rev. 0</h3>
  <hr/>
  <div>
    <ul>
      <li><a href="license.html">License Enterprise</a></li>
      <li><a href="intro.html">Introduction</a></li>
      <li><a href="install.html">Installation</a></li>
      <li>
        <span class="current"><a href="admin.html">Administration</a></span>
        <ul class=" menu level2">
          <li><a href="ServerStat_Help.html">Service Manager</a></li>
        </ul>
      </li>
      <li><a href="security.html">Security</a></li>
      <li>
        <a href="config.html">Configuration</a>
	    <ul class="level2">
	      <li><a href="ServGeneral_Help.html">Server General</a></li>
          <li><a href="ServLog_Help.html">Server Log</a></li>
	      <li><a href="ServTuning_Help.html">Server Tuning</a></li>
	      <li><a href="ServSecurity_Help.html">Server Security</a></li>
          <li><a href="Cache_Help.html">Page Cache</a></li>
          <li><a href="PageSpeed_Config.html">PageSpeed Config</a></li>
          <li><a href="ExtApp_Help.html">External Apps</a></li>
          <ul class="level3">
            <li><a href="External_FCGI.html">Fast CGI App</a></li>
            <li><a href="External_FCGI_Auth.html">Fast CGI Authorizer</a></li>
            <li><a href="External_LSAPI.html">LSAPI App</a></li>
            <li><a href="External_Servlet.html">Servlet Engine</a></li>
            <li><a href="External_WS.html">Web Server</a></li>
            <li><a href="External_PL.html">Piped logger</a></li>
            <li><a href="External_LB.html">Load Balancer</a></li>
          </ul>
          <li><a href="ScriptHandler_Help.html">Script Handler</a></li>
          <li><a href="PHP_Help.html">PHP</a></li>
          <li><a href="App_Server_Help.html">App Server Settings</a></li>
          <li><a href="Listeners_General_Help.html">Listener General</a></li>
          <li><a href="Listeners_SSL_Help.html">Listener SSL</a></li>
          <li><a href="Templates_Help.html">Virtual Host Templates</a></li>
          <li><a href="VirtualHosts_Help.html">Virtual Host Basic</a></li>
          <li><a href="VHGeneral_Help.html">Virtual Host General</a></li>
          <li><a href="VHSecurity_Help.html">Virtual Host Security</a></li>
          <li><a href="VHSSL_Help.html">Virtual Host SSL</a></li>
          <li>
            <a href="VHPageSpeed_Config.html">Virtual Host PageSpeed Config</a>
          </li>
          <li><a href="Rewrite_Help.html">Rewrite</a></li>
          <li><a href="Context_Help.html">Context</a></li>
          <ul class="level3">
            <li><a href="Static_Context.html">Static Context</a></li>
            <li>
              <a href="Java_Web_App_Context.html">Java Web App Context</a>
            </li>
            <li><a href="Servlet_Context.html">Servlet Context</a></li>
            <li><a href="FCGI_Context.html">Fast CGI Context</a></li>
            <li><a href="LSAPI_Context.html">LSAPI Context</a></li>
            <li><a href="Proxy_Context.html">Proxy Context</a></li>
            <li><a href="CGI_Context.html">CGI Context</a></li>
            <li><a href="LB_Context.html">Load Balancer Context</a></li>
            <li><a href="Redirect_Context.html">Redirect Context</a></li>
            <li><a href="App_Server_Context.html">App Server Context</a></li>
            <li><a href="Rails_Context.html">Rack/Rails Context</a></li>
          </ul>
          <li><a href="VHAddOns_Help.html">Add-ons</a></li>
        </ul>
      </li>
      <li>
        <a href="webconsole.html">Web Console</a>
        <ul class="level2">
          <li><a href="AdminGeneral_Help.html">Admin Console General</a></li>
          <li><a href="AdminSecurity_Help.html">Admin Console Security</a></li>
          <li>
            <a href="AdminListeners_General_Help.html">
              Admin Listener General
            </a>
          </li>
          <li>
            <a href="AdminListeners_SSL_Help.html">Admin Listener SSL</a>
          </li>
        </ul>
      </li>
    </ul>
  </div>
</aside>
<article class="contentwrapper ls-col-3-5 clearfix"><div class="nav-bar ls-spacer-micro-top"><div class="prev">&#171 <a href="install.html">Installation</a></div><div class="center"><a href="index.html">Home</a></div><div class="next"><a href="security.html">Security</a> &#187;</div></div>
<h1>Administration</h1>

<p>LiteSpeed web server can be controlled in three ways: through the WebAdmin interface, from the command line, or by sending signals.</p> 

<ol>
<li><h3>Through the WebAdmin console:</h3>
<p>WebAdmin console is a centralized control panel to control and configure all LiteSpeed Web Server settings.</p>
<p>Log on to the WebAdmin console (by default http://[your site's address]:7080/). 
  Select "Service Manager". Here you will find a control panel with links to perform common tasks: 
server restart, server configuration reload, version management, log viewing, real-time monitoring, 
virtual host reload, and virtual host enable/disable.</p> 
<p><strong>More details on how to control LiteSpeed Web Server through the WebAdmin console - <a href="ServerStat_Help.html">Service Manager</a></strong></p>
<p>To change the login name and password for the WebAdmin interface, run the following command from the shell:<br>
	<span class="cmd">[your install dir]/admin/misc/admpass.sh</span> </p>
</li>
<li><h3>Through the command line interface:</h3>
	<p>Assuming the web server is installed at /usr/local/lsws.</p>
	<p>Use the <span class="tag">lswsctrl</span> control script in /usr/local/lsws/bin/ directory.</p>
	<p>To start the web server:<br>
		<span class="cmd">/usr/local/lsws/bin/lswsctrl start</span>
	</p>
	<p>To stop the web server:<br>
		<span class="cmd">/usr/local/lsws/bin/lswsctrl stop</span>
	</p>
	<p>To restart the web server:<br>
		<span class="cmd">/usr/local/lsws/bin/lswsctrl restart</span>
	</p>
	<p>To reload the configuration:<br>
		<span class="cmd">/usr/local/lsws/bin/lswsctrl reload</span>
	</p>
</li>

<li><h3>By sending signals:</h3>
	<p>You can stop server processes and reload configurations by sending signals to the server processes.</p>
	<p>First, you need to know the server's process ID, either from the PID file or by running a &quot;ps&quot; command.</p>
	<p>To read the PID file:<br>
		<span class="cmd">cat /tmp/lshttpd/lshttpd.pid</span></p>
	<p>By running a &quot;ps&quot; command:<br>
		FreeBSD: <span class="cmd">ps -x | grep lshttpd</span><br>
		Others: <span class="cmd">ps -ef | grep lshttpd</span><br>
		<br>
		If multiple processes are listed, use the process with PPID equal to 1.
	</p>
	<p>To stop the web server:
		<span class="cmd">kill XXXX</span>
		   (XXXX is the PID)<br>
		If the server did not stop, use:
		<span class="cmd">kill -9 XXXX</span>
	</p>
	<p>To reload the configurations, use:
		<span class="cmd">kill -HUP XXXX</span>
	</p>
</li>
</ol>
</article><div  class="ls-col-1-1"><footer class="copyright">Copyright &copy; 2003-2020. <a href="https://www.litespeedtech.com">LiteSpeed Technologies Inc.</a> All rights reserved.</footer>
</div></div>
</body>
</html>

Zerion Mini Shell 1.0