Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anterior Revisión previa Próxima revisión | Revisión previa | ||
es:howtos:network_services:joomla [2019/02/15 17:16 (UTC)] slackwarespanol [Configure MySQL] |
es:howtos:network_services:joomla [2019/02/15 19:10 (UTC)] (actual) slackwarespanol |
||
---|---|---|---|
Línea 1: | Línea 1: | ||
- | <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 ====== | ||
Línea 9: | Línea 8: | ||
====== Configurar MySQL ====== | ====== Configurar MySQL ====== | ||
- | - Copie con renombrar '' /etc/mysql/my-large.cnf '' u otro archivo de ese directorio, que cumpla con sus requisitos, a '' /etc/my.cnf '' | + | - Copie '' /etc/mysql/my-large.cnf '' u otro archivo de ese directorio, que cumpla con sus requisitos, a '' /etc/my.cnf '' |
- | - Edite ese '' /etc.my.cnf '' para agregar tres líneas después de [mysqld], como aquí: <code> | + | - Edite ese '' /etc.my.cnf '' para agregar tres líneas después de [mysqld], : <code> |
[mysqld] | [mysqld] | ||
collation-server = utf8_unicode_ci | collation-server = utf8_unicode_ci | ||
Línea 16: | Línea 15: | ||
character-set-server = utf8 | character-set-server = utf8 | ||
</code> | </code> | ||
- | - After that, restart MySQL server. | + | - Después de eso, reinicie el servidor MySQL. |
- | - Do as root <code bash>mysql_install_db --user=mysql </code> | + | - Hacer como root <code bash>mysql_install_db --user=mysql </code> |
- | - Do as root <code bash> mysql_secure_installation </code>, and set mysql root password ( and write it down or remember), and choose all default answers | + | - Hacer como root <code bash> mysql_secure_installation </code>, y configure la contraseña de root de mysql (y escríbala o recuerde), y elija todas las respuestas predeterminadas |
- | - After that, do <code bash> mysql -u root -p </code> after write user password, be in mysql>. write <code> CREATE USER 'joomla_db_username'@'localhost' IDENTIFIED BY 'joomla_db_user_password'; </code>, where joomla_db_user is user, who you make for under who your joomla stores information in mysql. joomla_db_user_paswword is your choosing password for that mysql user. | + | - despues de eso, haz <code bash> mysql -u root -p </code> después de escribir la contraseña del usuario, estar en mysql>. escribir<code> CREATE USER 'joomla_db_username'@'localhost' IDENTIFIED BY 'joomla_db_user_password'; </code>, donde joomla_db_user es un usuario, a quien le asigna la información sobre quién almacena su información en mysql. joomla_db_user_paswword es su contraseña de elección para ese usuario de mysql. |
- | - write <code> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER ON yourdatabasename_for_joomla.* to 'joomla_db_username'@'localhost'; </code> | + | - Escriba <code> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER ON yourdatabasename_for_joomla.* to 'joomla_db_username'@'localhost'; </code> |
- after that do <code> FLUSH PRIVILEGES;</code> and then <code> quit</code> | - after that do <code> FLUSH PRIVILEGES;</code> and then <code> quit</code> | ||
- | - and finally, do from bash <code bash> mysqladmin -u joomla_db_username -p create yourdatabasename_for_joomla </code> it need input of your "joomla_db_username" password, seems as "joomla_db_user_password" in that instruction. | + | - and finally, do from bash <code bash> mysqladmin -u joomla_db_username -p create yourdatabasename_for_joomla </code> es necesario que ingrese su contraseña "joomla_db_username", que parece como "joomla_db_user_password" en esa instrucción. |
- | - That's all, your MySQL will be ready to install and configure Joomla. | + | - Eso es todo, su MySQL estará listo para instalar y configurar Joomla. |
- | ====== 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 | ||
Línea 40: | Línea 39: | ||
</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", | ||
Línea 72: | Línea 71: | ||
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 | ||
Línea 129: | Línea 128: | ||
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> | ||
Línea 142: | Línea 141: | ||
</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}} |