Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa |
es:howtos:network_services:joomla [2019/02/15 17:22 (UTC)] – [Configurar MySQL] slackwarespanol | es:howtos:network_services:joomla [2019/02/15 19:10 (UTC)] (actual) – slackwarespanol |
---|
<note warning>En proceso. Victor</note> | |
<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> |
====== Configuración de Joomla 2.5 CMS en Slackware 14.0 64bit ====== | ====== Configuración de Joomla 2.5 CMS en Slackware 14.0 64bit ====== |
| |
| |
====== Configure Apache Webserver ====== | ====== Configurar el servidor web Apache ====== |
- Open ''/etc/httpd/httpd.conf'' in a text editor such as vi or nano. | - Abra '' /etc/httpd/httpd.conf '' en un editor de texto como vi o nano. |
- Change the ''ServerAdmin'' and ''ServerName'' variables to your liking. | - Cambie las variables '' ServerAdmin '' y '' ServerName '' a su gusto. |
- Change the first encounter of Directive <code> | - Cambiar el primer encuentro de Directiva.<code> |
<Directory /> | <Directory /> |
AllowOverride none | AllowOverride none |
Require all denied | Require all denied |
</Directory> | </Directory> |
</code> to: <code> | </code> a: <code> |
<Directory /> | <Directory /> |
Options FollowSymLinks Includes | Options FollowSymLinks Includes |
</Directory> | </Directory> |
</code> | </code> |
- Next, edit "''/etc/httpd/httpd.conf''" to configure a new DocumentRoot. By default the Apache DocumentRoot is the directory "''/srv/httpd/htdocs''". We will change that to the Joomla installation directory. In this example, we will install Joomla to "/srv/httpd/beautifulsite.com". \\ Search for the two directives <code> | - A continuación, edite "'' /etc/httpd/httpd.conf ''" para configurar un nuevo DocumentRoot. Por defecto, Apache DocumentRoot es el directorio "'' / srv / httpd / htdocs ''". Vamos a cambiar eso al directorio de instalación de Joomla. En este ejemplo, instalaremos Joomla en "/srv/httpd/beautifulsite.com". \\ Buscar las dos directivas <code> |
DocumentRoot "/srv/httpd/htdocs" | DocumentRoot "/srv/httpd/htdocs" |
</code> and <code> | </code> y <code> |
<Directory "/srv/httpd/htdocs"> | <Directory "/srv/httpd/htdocs"> |
</code> and change both values from "/srv/httpd/htdocs" to "/srv/httpd/beautifulsite.com". | </code> y cambie ambos valores de "/srv/httpd/htdocs" a "/srv/httpd/beautifulsite.com". |
- Next, look at below section: <code> | - A continuación, mira la siguiente sección.: <code> |
# | # |
# Possible values for the Options directive are "None", "All", | # Possible values for the Options directive are "None", "All", |
Require all granted | Require all granted |
</Directory> | </Directory> |
</code> and change following: <code> | </code> y cambie lo siguiente <code> |
Options Indexes FollowSymLinks Includes MultiViews ExecCGI | Options Indexes FollowSymLinks Includes MultiViews ExecCGI |
AllowOverride All | AllowOverride All |
Order allow, deny | Order allow, deny |
Allow from All | Allow from All |
</code> and comment the line "Require all granted" | </code> y comenta la linea "Require all granted" |
- At the bottom of the file, change the section <code> | - En la parte inferior del archivo, cambia la sección.<code> |
<IfModule dir_module> | <IfModule dir_module> |
DirectoryIndex index.html | DirectoryIndex index.html |
</IfModule> | </IfModule> |
</code> adding "index.shtml index.php" after "index.html". | </code> añadiendo "index.shtml index.php" despues "index.html". |
- Comment out the string "''AddHandler cgi-script .cgi''" | - Comenta la cadena "''AddHandler cgi-script .cgi''" |
- Uncomment the php module: <code> | - Descomenta el módulo php: <code> |
Include /etc/httpd/mod_php.conf | Include /etc/httpd/mod_php.conf |
</code> | </code> |
-following modules must be uncommented:<code> | -los siguientes módulos deben estar sin comentar:<code> |
| |
LoadModule authn_file_module lib64/httpd/modules/mod_authn_file.so | LoadModule authn_file_module lib64/httpd/modules/mod_authn_file.so |
LoadModule deflate_module lib64/httpd/modules/mod_deflate.so | LoadModule deflate_module lib64/httpd/modules/mod_deflate.so |
</code> | </code> |
and save the file. | y guarde el archivo. |
- Next, edit the file "''/etc/httpd/php.ini''" | - A continuación, edite el archivo."''/etc/httpd/php.ini''" |
- Search for string <code>output_buffering = 4096 </code> and change them to <code>output_buffering = Off </code> | - Busque la cadena <code>output_buffering = 4096 </code>y cambie a <code>output_buffering = Off </code> |
- Save the file, and finally restart the webserver: <code bash> | - Guarda el archivo, y finalmente reinicia el servidor web: <code bash> |
root@darkstar:~# /etc/rc.d/rc.httpd restart | root@darkstar:~# /etc/rc.d/rc.httpd restart |
</code> | </code> |
</code></note> | </code></note> |
| |
====== Set Up Joomla 2.5 ====== | ====== Configurar Joomla 2.5 ====== |
- Download a Joomla tarball at [[http://www.joomla.org/download.html]], choose the "//Full package, Zip//" archive. | - Descarga un tarball de Joomla en[[http://www.joomla.org/download.html]], elegir la "//Full package, Zip//" archivo. |
- We install Joomla as the Apache Webserver's //[[http://httpd.apache.org/docs/current/mod/core.html#documentroot|DocumentRoot]]//, which we configured as "''/srv/httpd/beautifulsite.com''" in the previous section. Create a new directory called "''beautifulsite.com''" under "''/srv/httpd/''". We will end up with the new directory "''/srv/httpd/htdocs/beautifulsite.com''" which will be used by Apache as the DocumentRoot. | - Instalamos Joomla como el servidor web Apache //[[http://httpd.apache.org/docs/current/mod/core.html#documentroot|DocumentRoot]]//, que configuramos como "''/srv/httpd/beautifulsite.com''" En la sección anterior. Crear un nuevo directorio llamado "''beautifulsite.com''" debajo de "''/srv/httpd/''". Terminaremos con el nuevo directorio. "''/srv/httpd/htdocs/beautifulsite.com''" que será utilizado por Apache como el DocumentRoot. |
- Uncompress the joomla zip-file into that directory: <code> | - Descomprima el archivo zip joomla en ese directorio: <code> |
root@darkstar:~# unzip Joomla_2.5.9-Stable-Full_Package.zip -d /srv/httpd/htdocs/beautifulsite.com | root@darkstar:~# unzip Joomla_2.5.9-Stable-Full_Package.zip -d /srv/httpd/htdocs/beautifulsite.com |
</code> | </code> |
- As root, change the file ownership to the Apache user: <code> | - Como root, cambie la propiedad del archivo al usuario de Apache:<code> |
root@darkstar:~# chown -R apache:apache /srv/httpd/beautifulsite.com | root@darkstar:~# chown -R apache:apache /srv/httpd/beautifulsite.com |
</code> | </code> |
- The initial Joomla configuration is done in a web browser (preferably from another computer workstation). Enter our "''http://beautifulserver.com''" URL in the browser's addressbar. This will start start the web-based configuration of our newly installed Joomla CMS. When you get to the database configuration, the better choice is "**mysqli**". Input is also required for the Joomla database username and password. The rest of the configuration is straight-forward. | - La configuración inicial de Joomla se realiza en un navegador web (preferiblemente desde otra estación de trabajo de computadora). Entra en nuestro "''http://beautifulserver.com''" URL en la barra de direcciones del navegador. Esto comenzará a iniciar la configuración basada en web de nuestro CMS Joomla recién instalado. Cuando llegue a la configuración de la base de datos, la mejor opción es "** mysqli **". La entrada también es necesaria para el nombre de usuario y la contraseña de la base de datos de Joomla. El resto de la configuración es sencillo. |
- After that, if you want to use SEO-friendly settings ( URL rewriting), then rename htaccess.txt in your root of current joomla catalog to .htaccess . | - Después de eso, si desea utilizar configuraciones amigables con SEO (reescritura de URL), cambie el nombre de htaccess.txt en su raíz del catálogo actual de joomla a .htaccess. |
| |
| ====== Fuentes ====== |
| |
====== Sources ====== | |
<!-- If you are copying information from another source, then specify that source --> | <!-- If you are copying information from another source, then specify that source --> |
* Original source: [[http://stackoverflow.com/questions/3513773/change-mysql-default-character-set-to-utf8-in-my-cnf|MySQL config to UTF8 support]]. | * Fuente original:[[http://stackoverflow.com/questions/3513773/change-mysql-default-character-set-to-utf8-in-my-cnf|MySQL config to UTF8 support]]. |
<!-- Authors are allowed to give credit to themselves! --> | <!-- Authors are allowed to give credit to themselves! --> |
* Originally written by [[wiki:user:wisedraco | John Ciemgals]] | * Originalmente escrito por [[wiki:user:wisedraco | John Ciemgals]] |
| * Traducido por: [[wiki:user: slackwarespanol | Victor]] 2019/02/15 19:08 (UTC) |
<!-- * Contributions by [[wiki:user:yyy | User Y]] --> | <!-- * Contributions by [[wiki:user:yyy | User Y]] --> |
| |
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> |
{{tag>howtos joomla author_wisedraco}} | {{tag>howtos joomla author_wisedraco}} |