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
systems:linux_migration [2017/05/03 13:49]
smayr
systems:linux_migration [2018/05/02 11:41] (current)
smayr [Test Page]
Line 93: Line 93:
     * ''joomlausr'' for ''auditiva_joomla15_es'' (Auditiva website, Spanish).     * ''joomlausr'' for ''auditiva_joomla15_es'' (Auditiva website, Spanish).
     * ''joomlausr'' for ''auditiva_joomla15_en'' (Auditiva website, English).     * ''joomlausr'' for ''auditiva_joomla15_en'' (Auditiva website, English).
 +
 +
 === Setup Apache === === Setup Apache ===
  
-  * Test webpage with PHP support: +==== Test Page ==== 
-    * Create ''test.php'' in directory ''/var/www''. It should have this content: <code php><?php phpinfo(); ?></code> +Test webpage with PHP support: 
-    * Point browser to ''http://localhost/test.php'' or ''http://192.168.0.x/test.php'' (where x is the IP address of the new server). +  * Create ''test.php'' in directory ''/var/www''. It should have this content: <code php><?php phpinfo(); ?></code> 
-  Setup virtual hosts for apache: +  * Point browser to ''http://localhost/test.php'' or ''http://192.168.0.x/test.php'' (where x is the IP address of the new server). 
-    Create virtual host for ''audina.net'' Create or edit file ''default'' in ''/etc/apache2/sites-available'': <code>+ 
 +==== Virtual Hosts ==== 
 +Setup virtual hosts for apache
 + 
 +Create virtual host for ''audina.net'' Create or edit file ''default'' in ''/etc/apache2/sites-available'':  
 +<code apache>
 <VirtualHost *:80> <VirtualHost *:80>
         ServerAdmin webmaster@localhost         ServerAdmin webmaster@localhost
Line 143: Line 150:
 </code> </code>
  
-    * Create virtual host for ''auditiva.us'' Create file ''auditiva'' in ''/etc/apache2/sites-available'': <code>+Create virtual host for ''auditiva.us'' Create file ''auditiva'' in ''/etc/apache2/sites-available'':  
 +<code apache>
 <VirtualHost *:80> <VirtualHost *:80>
         ServerAdmin webmaster@localhost         ServerAdmin webmaster@localhost
Line 188: Line 196:
 </VirtualHost> </VirtualHost>
 </code> </code>
-    * Verify that ''AllowOverride None'' is commented out (add a ''#'' in front) for websites to take advantage of ''.htaccess'' overrides. + 
-      * Check that overrides work on these URLs: +Verify that ''AllowOverride None'' is commented out (add a ''#'' in front) for websites to take advantage of ''.htaccess'' overrides. 
-        * http://www.audina.net/techman +    * Check that overrides work on these URLs: 
-        * http://www.audina.net/downloads/audigence +      * http://www.audina.net/techman 
-    Create link to file ''/etc/apache2/sites-available/auditiva'': <code> +      * http://www.audina.net/downloads/audigence 
-cd /etc/apache2/sites-enabled + 
-ln -s ../sites-available/auditiva 001-auditiva+Create link to file ''/etc/apache2/sites-available/auditiva'':  
 +<code bash
 +cd /etc/apache2/sites-enabled 
 +ln -s ../sites-available/auditiva 001-auditiva
 </code> </code>
  
Line 528: Line 539:
  
 === Patches to Apply After Installation === === Patches to Apply After Installation ===
-Some software packages (eg. Piwik, Piwigo) generate this error: ''pclzip.lib.php : Missing zlib extensions'' To fix it, add this code to each file using ''gzopen'' (a function deprecated in favor of ''gzopen64'' in Ubuntu 14.04).+Some software packages (eg. [[https://matomo.org|Piwik/Matomo]], Piwigo) generate this error: ''pclzip.lib.php : Missing zlib extensions'' To fix it, add this code to each file using ''gzopen'' (a function deprecated in favor of ''gzopen64'' in Ubuntu 14.04).
 <code php> <code php>
 <?php <?php