[Lxr-commits] CVS: html/prototype/Tips tipubuntu.shtml,NONE,1.1
Brought to you by:
ajlittoz
From: Andre-Littoz <ajl...@us...> - 2014-11-30 16:25:50
|
Update of /cvsroot/lxr/html/prototype/Tips In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv21073/prototype/Tips Added Files: tipubuntu.shtml Log Message: /*/Tips/tipubuntu.shtml: update Ubuntu tips and /*/Tips/tips.shtml which link to this page --- NEW FILE: tipubuntu.shtml --- <!--#set var="pageLang" value="en" --> <!--#set var="pageMetaTitle" value="Ubuntu Specifics" --> <!--#set var="pageHeaderTitle" value="Ubuntu Specifics" --> <!--#set var="homePageHeader" value="0" --> <!--#include virtual="/backstore5/header.shtml" --> <!-- $Id: tipubuntu.shtml,v 1.1 2014/11/30 16:25:46 ajlittoz Exp $ --> <section> <p class="comment"> <strong>Ubuntu</strong> comes with a different set of default packages than other distributions. Developers also chose a different layout in <em>/etc</em>. </p> </section> <section> <h1>Web site configuration</h1> <p class="normal"> Directory containing server descriptions is: </p> <pre class="defn"> /etc/apache2/conf-available </pre> </section> <section> <h1>Apache</h1> <p class="normal"> Apache is a highly extensible web server. This is acomplished by loadable modules available through packages. Some of them are installed by default (but may need to be enabled). Others must be manually installed. <ul> <li>Server control <p class="normal"> Command to control the Apache server is: </p> <pre class="defn"> apache2ctl </pre> <p class="normal"> For instance, restarting the server is done with: </p> <pre class="shell"> <samp>$ </samp><kbd>apache2ctl restart</kbd> </pre> </li> <li>Making LXR active <p class="normal"> Once you have copied configuration file <em>apache-lxrserver.conf</em> into the Apache configuration directory, you must tell Apache to take it into consideration. The commands are: </p> <pre class="shell"> <samp>$ </samp><kbd>sudo cp custom.d/apache-lxrserver.conf /etc/apache2/conf-available</kbd> <samp>$ </samp><kbd>sudo a2enconf apache-lxrserver.conf</kbd> </pre> <p class="normal"> Of course, restart the server after this step. </p> </li> <li>Module <em>mod_version</em> <p class="comment"> Reported at least for Ubuntu <span class="attention">12.04 LTS</span> </p> <p class="normal"> Module <em>mod_version</em> is present in standard distribution but not enabled. To enable it, run the following command before restarting the server: </p> <pre class="shell"> <samp>$ </samp><kbd>sudo a2enmod version</kbd> </pre> </li> <li>Module <em>mod_mpm_worker</em> <p class="comment"> Reported for Ubuntu <span class="attention">14.04</span>, not an issue for Ubuntu 12.04 LTS </p> <p class="normal"> Ensure you have the latest version of the <em>mod_mpm_worker</em> module. For that, disable all MPM-related modules, install the latest package, enable the new module and restart the server. </p> <pre class="shell"> <samp>$ </samp><kbd>sudo a2dismod mpm*</kbd> <samp>$ </samp><kbd>sudo apt-get install apache2-mpm-worker</kbd> <samp>$ </samp><kbd>sudo a2enmod mpm_worker</kbd> </pre> <p class="comment"> <span class="caution">CAUTION!</span> In the above commands, pay a special attention to the mixture of dash (<code>-</code>) and underscore (<code>_</code>) characters. </p> </li> </ul> </section> <!--#include virtual="/backstore5/footer.shtml" --> |