JConfiguration

Sinopsis

Este módulo es parte de un módulo por defecto que maneja datos basándose en funciones. Veamos cómo configurar y reiniciar en próximos temas.

comando Ayuda

El comando ayuda guía al usuario sobre el propósito del módulo. Enumera los parámetros alternativos que pueden utilizarse en la declaración. Especifica dos sintaxis diferentes para configurar y reiniciar. A continuación se muestra el comando utilizado para la opción de ayuda:

jrush jconf help

La captura de pantalla siguiente muestra gráficamente sobre el funcionamiento del comando help.

kevell@corp:/# jrush jconf help
****************************************
GC JRush - The Joomla Command Line Shell
****************************************

 This command is part of Default Modules and handles Databasing Functions.

 JConfiguration, jconfigure, jconfiguration, jconf

     - configure, conf
     set up db user & pw for a project, use admins to create new resources as needed.
     example: ptdeploy jconf conf joomla
     example: ptdeploy jconf conf --yes --platform=joomla30 --mysql-host=127.0.0.1 --mysql-admin-user=""

     - reset
     reset current db to generic values so ptdeploy can write them. may need to be run before db conf.
     example: ptdeploy jconf reset drupal
     example: ptdeploy jconf reset --yes --platform=joomla30


------------------------------
End Help
****************************************

Cómo configurar

El comando utilizado para configurar joomla se muestra a continuación:

jrush jconf conf joomla

Después de introducir el comando anterior, se preguntará

parámetros parámetros alternativos opciones comentarios
Do you want to configure Joomla? (Y/N) En lugar de conf también podemos utilizar configure. Y Si el usuario desea configurar se puede introducir como Y.
Do you want to configure Joomla? (Y/N) En lugar de conf también podemos utilizar configure. N Si el usuario no desea que pueden configurar de entrada como N.|

Si los ingresos del usuario configuración, será que pregunta al usuario si desean establecer valores no predeterminados para la siguiente. También se especifica el valor por defecto:

  • Set non-default values for log_path?
  • Set non-default values for temp_path?
  • Set non-default values for MetaAuthor?
  • Set non-default values for MetaDesc?
  • Set non-default values for MetaKeys?
  • Set non-default values for MetaRights?
  • Set non-default values for MetaTitle?
  • Set non-default values for MetaVersion?
  • Set non-default values for access?
  • Set non-default values for cache_handler?
  • Set non-default values for cachetime?
  • Set non-default values for frontediting?
  • Set non-default values for assest_id?
  • Set non-default values for user?
  • Set non-default values for db?
  • Set non-default values for host?
  • Set non-default values for password?

Finalmente, obtiene finalizado el proceso de configuración como se muestra en la captura de pantalla.

kevell@corp:/# jrush jconf conf joomla
PHP Notice:  Undefined index: config-file in /opt/jrush/jrush/src/Modules/JConfiguration/Model/JConfigurationDataJoomla3.php on line 141
PHP Notice:  Undefined index: config-file in /opt/jrush/jrush/src/Modules/JConfiguration/Model/JConfigurationDataJoomla3.php on line 141
PHP Notice:  Undefined index: config-file in /opt/jrush/jrush/src/Modules/JConfiguration/Model/JConfigurationDataJoomla3.php on line 141
PHP Notice:  Undefined index: config-file in /opt/jrush/jrush/src/Modules/JConfiguration/Model/JConfigurationDataJoomla3.php on line 141
Do you want to configure Joomla? (Y/N)
Y
PHP Notice:  Undefined index: config-file in /opt/jrush/jrush/src/Modules/JConfiguration/Model/JConfigurationDataJoomla3.php on line 141
PHP Notice:  Undefined index: config-file in /opt/jrush/jrush/src/Modules/JConfiguration/Model/JConfigurationDataJoomla3.php on line 141
Set non-default value for log_path? Default is /logs (Y/N)

Set non-default value for tmp_path? Default is /tmp (Y/N)

Set non-default value for MetaAuthor? Default is 1 (Y/N)

Set non-default value for MetaDesc? Default is  (Y/N)

Set non-default value for MetaKeys? Default is  (Y/N)

Set non-default value for MetaRights? Default is  (Y/N)

Set non-default value for MetaTitle? Default is 1 (Y/N)

Set non-default value for MetaVersion? Default is 0 (Y/N)

Set non-default value for access? Default is 1 (Y/N)

Set non-default value for cache_handler? Default is file (Y/N)

Set non-default value for cachetime? Default is 15 (Y/N)

Set non-default value for caching? Default is 0 (Y/N)

Set non-default value for captcha? Default is 0 (Y/N)

Set non-default value for cookie_domain? Default is  (Y/N)

Set non-default value for cookie_path? Default is  (Y/N)

Set non-default value for dbprefix? Default is jos_ (Y/N)

Set non-default value for dbtype? Default is mysqli (Y/N)

Set non-default value for debug? Default is 0 (Y/N)

Set non-default value for debug_lang? Default is 0 (Y/N)

Set non-default value for display_offline_message? Default is 1 (Y/N)

Set non-default value for editor? Default is jce (Y/N)

Set non-default value for error_reporting? Default is default (Y/N)

Set non-default value for feed_email? Default is author (Y/N)

Set non-default value for feed_limit? Default is 10 (Y/N)

Set non-default value for force_ssl? Default is 0 (Y/N)

Set non-default value for fromname? Default is  (Y/N)

Set non-default value for ftp_enable? Default is 0 (Y/N)

Set non-default value for ftp_host? Default is  (Y/N)

Set non-default value for ftp_pass? Default is  (Y/N)

Set non-default value for ftp_port? Default is 21 (Y/N)

Set non-default value for ftp_root? Default is  (Y/N)

Set non-default value for ftp_user? Default is  (Y/N)

Set non-default value for gzip? Default is 1 (Y/N)

Set non-default value for helpurl? Default is http://help.joomla.org/proxy/index.php?option=com_help&keyref=Help{major}{minor}:{keyref} (Y/N)

Set non-default value for lifetime? Default is 60 (Y/N)

Set non-default value for list_limit? Default is 20 (Y/N)

Set non-default value for live_site? Default is  (Y/N)

Set non-default value for mailer? Default is mail (Y/N)

Set non-default value for mailfrom? Default is  (Y/N)

Set non-default value for memcache_compress? Default is 0 (Y/N)

Set non-default value for memcache_persist? Default is 1 (Y/N)

Set non-default value for memcache_server_host? Default is localhost (Y/N)

Set non-default value for memcache_server_port? Default is 11211 (Y/N)

Set non-default value for offline? Default is 0 (Y/N)

Set non-default value for offline_image? Default is  (Y/N)

Set non-default value for offline_message? Default is This site is down for maintenance.<br /> Please check back again soon. (Y/N)

Set non-default value for offset? Default is Europe/London (Y/N)

Set non-default value for offset_user? Default is UTC (Y/N)

Set non-default value for robots? Default is  (Y/N)

Set non-default value for secret? Default is  (Y/N)

Set non-default value for sef? Default is 1 (Y/N)

Set non-default value for sef_rewrite? Default is 1 (Y/N)

Set non-default value for sef_suffix? Default is 0 (Y/N)

Set non-default value for sendmail? Default is /usr/sbin/sendmail (Y/N)

Set non-default value for session_handler? Default is database (Y/N)

Set non-default value for sitename? Default is  (Y/N)

Set non-default value for sitename_pagetitles? Default is 1 (Y/N)

Set non-default value for smtpauth? Default is 0 (Y/N)

Set non-default value for smtphost? Default is localhost (Y/N)

Set non-default value for smtppass? Default is  (Y/N)

Set non-default value for smtpport? Default is 25 (Y/N)

Set non-default value for smtpsecure? Default is none (Y/N)

Set non-default value for smtpuser? Default is  (Y/N)

Set non-default value for unicodeslugs? Default is 0 (Y/N)

Set non-default value for memcached_persist? Default is 1 (Y/N)

Set non-default value for memcached_compress? Default is 0 (Y/N)

Set non-default value for memcached_server_host? Default is localhost (Y/N)

Set non-default value for memcached_server_port? Default is 11211 (Y/N)

Set non-default value for proxy_enable? Default is 0 (Y/N)

Set non-default value for proxy_host? Default is  (Y/N)

Set non-default value for proxy_port? Default is  (Y/N)

Set non-default value for proxy_user? Default is  (Y/N)

Set non-default value for proxy_pass? Default is  (Y/N)

Set non-default value for mailonline? Default is 1 (Y/N)

Set non-default value for session_memcache_server_host? Default is localhost (Y/N)

Set non-default value for session_memcache_server_port? Default is 11211 (Y/N)

Set non-default value for session_memcached_server_host? Default is localhost (Y/N)

Set non-default value for session_memcached_server_port? Default is 11211 (Y/N)

Set non-default value for frontediting? Default is 1 (Y/N)

Set non-default value for asset_id? Default is 1 (Y/N)

Set non-default value for user? Default is  (Y/N)

Set non-default value for db? Default is  (Y/N)

Set non-default value for host? Default is  (Y/N)

Set non-default value for password? Default is  (Y/N)

PHP Notice:  Undefined index: config-file in /opt/jrush/jrush/src/Modules/JConfiguration/Model/JConfigurationAllOS.php on line 85
PHP Warning:  file(): Filename cannot be empty in /opt/jrush/jrush/src/Modules/JConfiguration/Model/JConfigurationAllOS.php on line 85
PHP Warning:  Invalid argument supplied for foreach() in /opt/jrush/jrush/src/Modules/JConfiguration/Model/JConfigurationAllOS.php on line 90
Please check Joomla 3.x Series Settings file:

Is this Okay? (Y/N)
Y
PHP Notice:  Undefined index: config-file in /opt/jrush/jrush/src/Modules/JConfiguration/Model/JConfigurationAllOS.php on line 119
PHP Notice:  Undefined index: config-file in /opt/jrush/jrush/src/Modules/JConfiguration/Model/JConfigurationAllOS.php on line 120
Removing old settings file ...

PHP Notice:  Undefined index: config-file in /opt/jrush/jrush/src/Modules/JConfiguration/Model/JConfigurationAllOS.php on line 114
Moving new settings file  in...
PHP Notice:  Undefined index: config-file in /opt/jrush/jrush/src/Modules/JConfiguration/Model/JConfigurationAllOS.php on line 115
PHP Warning:  file_put_contents(): Filename cannot be empty in /opt/jrush/jrush/src/Modules/JConfiguration/Model/JConfigurationAllOS.php on li ne 115
****************************************
GC JRush - The Joomla Command Line Shell
****************************************

1Joomla Configuration Finished
****************************************

mientras configura, se pide al usuario como

Please check Jomla 3.x Series Settings file:

Is this Okay? (Y/N)

El usuario debe especificar Y o N.

Cómo reiniciar

A continuación se muestra el comando utilizado para restaurar:

jrush jconf reset drupal

La captura de pantalla que se muestra a continuación representa visualmente sobre el proceso de reinicio

beneficios

  • Es acomodada en ambos OS ciento y así como en ubuntu.
  • Los parámetros utilizados en la declaración no son mayúsculas y minúsculas que es una ventaja añadida mientras que comparado con otros. * El usuario puede especificar los valores predeterminados no durante la configuración.
comments powered by Disqus