<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5433274207415894761</id><updated>2025-10-09T16:57:52.956-05:00</updated><category term="avanzado"/><category term="sqlserver"/><category term="base de datos"/><category term="Seguridad"/><category term="Apache"/><category term="Glassfish"/><category term="Bitnami"/><category term="Eclipse"/><category term="Encrypt"/><category term="HTTPS"/><category term="Lightdm"/><category term="Linux"/><category term="MOOC"/><category term="Moodle"/><category term="MySQL"/><category term="ORACLE"/><category term="SSH"/><category term="SSL"/><category term="Ubuntu"/><category term="Windows"/><category term="XFCE4"/><category term="XRDP"/><category term="diccionario"/><category term="elearning"/><category term="javascript"/><category term="log"/><title type='text'>Desencriptar!</title><subtitle type='html'>Blog dedicado a la tecnología, inteligencia de negocios,  sistemas expertos, sistemas de información, análisis y desarrollo.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>84</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-5784703553707455517</id><published>2024-05-29T12:37:00.010-05:00</published><updated>2024-05-29T23:28:13.631-05:00</updated><title type='text'>MYSQL: Recuperar base de datos mediante los archivos FRM, IDB, MAD, MAI</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.solingest.com/wp-content/uploads/2023/03/bases-de-datos-mysql.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;417&quot; data-original-width=&quot;626&quot; height=&quot;417&quot; src=&quot;https://www.solingest.com/wp-content/uploads/2023/03/bases-de-datos-mysql.jpg&quot; width=&quot;626&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Fuentes:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://medium.com/@dennis.garcia/recuperar-datos-desde-archivos-frm-ibd-de-mysql-server-ae88d5b9c0fc&quot;&gt;https://medium.com/@dennis.garcia/recuperar-datos-desde-archivos-frm-ibd-de-mysql-server-ae88d5b9c0fc&lt;/a&gt;&amp;nbsp; &amp;nbsp;(El más útil)&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=SqQaR-1Noso&quot;&gt;https://www.youtube.com/watch?v=SqQaR-1Noso&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=NngseaqS7jk&amp;amp;ab_channel=Mat%C3%ADasTato&quot;&gt;https://www.youtube.com/watch?v=NngseaqS7jk&amp;amp;ab_channel=Mat%C3%ADasTato&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=qeEAKVF33Y0&amp;amp;ab_channel=CodeForYou&quot;&gt;https://www.youtube.com/watch?v=qeEAKVF33Y0&amp;amp;ab_channel=CodeForYou&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://downloads.mysql.com/archives/utilities/&quot;&gt;https://downloads.mysql.com/archives/utilities/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/26868956/restore-table-structure-from-frm-and-ibd-files/48207488#48207488&quot;&gt;https://stackoverflow.com/questions/26868956/restore-table-structure-from-frm-and-ibd-files/48207488#48207488&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://github.com/abg/dbsake/&quot;&gt;https://github.com/abg/dbsake/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Versiones:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;MySQL 10.4.21 (Maria DB)&lt;/li&gt;&lt;li&gt;Ubuntu&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;Consideraciones:&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Los pasos de la sección A aplican para tablas con engine InnoDB que tienen archivo FRM y IDB.&lt;/li&gt;&lt;li&gt;Los pasos de la sección B aplican para tablas con engine Aria que tienen archivos FRM, MAD y MAI&lt;/li&gt;&lt;li&gt;Comando para listar las tablas de una base de datos:&amp;nbsp;SHOW TABLES;&lt;/li&gt;&lt;li&gt;Las tablas en las que se encuentran:&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Procedimientos almacenados:&amp;nbsp;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;SELECT * FROM mysql.proc WHERE type=&#39;PROCEDURE&#39;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Funciones:&lt;/li&gt;&lt;ul&gt;&lt;li&gt;SELECT * FROM mysql.proc WHERE type=&#39;FUNCTION&#39;&lt;/li&gt;&lt;li&gt;SELECT * FROM information_schema.ROUTINES WHERE ROUTINE_TYPE = &#39;FUNCTION&#39;;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Eventos:&amp;nbsp;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;SELECT * FROM information_schema&amp;nbsp;.event&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Vistas:&lt;/li&gt;&lt;ul&gt;&lt;li&gt;SELECT * FROM information_schema&amp;nbsp;.views&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Disparadores:&lt;/li&gt;&lt;ul&gt;&lt;li&gt;SELECT * FROM information_schema&amp;nbsp;.triggers&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;Pasos que me funcionaron:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Para el servicio de la base de datos.&lt;/li&gt;&lt;li&gt;Hacer un respaldo de los archivos de la base de datos, por lo general se encuentran en: C:\xampp\mysql\data&lt;/li&gt;&lt;li&gt;Instalar Linux, en mi caso Ubuntu.&lt;/li&gt;&lt;li&gt;En el Linux, instalar&amp;nbsp;dbsake (https://github.com/abg/dbsake/)&lt;/li&gt;&lt;ol&gt;&lt;li&gt;$ curl -s http://get.dbsake.net &amp;gt; dbsake&lt;/li&gt;&lt;li&gt;$ chmod u+x dbsake&amp;nbsp; &amp;nbsp; // dar permisos de ejecución.&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Subir los archivos frm de la base de datos al Linux.&lt;/li&gt;&lt;li&gt;Ejecutar dbsake para obtener las consultas que nos permitirán crear la estructura de nuestras tablas.&lt;/li&gt;&lt;ol&gt;&lt;li&gt;$ ./dbsake frmdump --type-codes /backup/*.frm&amp;nbsp;&amp;gt; mysqlSchemas.sql&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Verificar que el archivo mysqlSchemas.sql tenga las consultas de CREATE ATBLE.&lt;/li&gt;&lt;li&gt;Iniciar el servicio de mysql y crear una nueva base de datos donde restauraremos la información. Asegurar que la base de datos tenga el mimo CHARSET y COLLATION que la base de datos original.&lt;/li&gt;&lt;li&gt;En la nueva BBDD ejecutar el script mysqlSchemas.sql&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;Sección A: Para tablas engine InnoDB&lt;/b&gt;&lt;/h3&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;En la nueva BBDD ejecutar la consulta que nos permitirá quitar el IDB&amp;nbsp; para luego reemplazarlo por el IDB que queremos recuperar.&lt;/li&gt;&lt;ol&gt;&lt;li&gt;ALTER TABLE `nombre_tabla` DISCARD TABLESPACE;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Deben eliminar/deshabilitar&amp;nbsp; todos los KEY y UNIQUE de la tabla (en seccion D y E encontrarás ayuda), para que no les muestre el siguiente mensaje de error:&amp;nbsp;#1815 - Internal error: Drop all secondary indexes before importing table onlinelogistics/users when .cfg file is missing.&lt;/li&gt;&lt;ol&gt;&lt;li&gt;ALTER TABLE ....&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Ahora copiar el IDB a recuperar en la carpeta de la nueva BBDD creada&lt;/li&gt;&lt;ol&gt;&lt;li&gt;cp /bakcup/nombre_tabla.idb /servidor/mysql/data/nombre_basedatos/nombre_tabla.idb&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Dar los permisos al archivo IDB&lt;/li&gt;&lt;ol&gt;&lt;li&gt;chown mysql:mysql /servidor/mysql/data/nombre_basedatos/nombre_tabla.idb&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Ejecutar la siguiente consulta para volver asociar la la tabla al IDB.&lt;/li&gt;&lt;ol&gt;&lt;li&gt;ALTER TABLE `nombre_tabla` IMPORT TABLESPACE;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Verificar:&lt;/li&gt;&lt;ol&gt;&lt;li&gt;SELECT * FROM nombre_tabla LIMIT 10;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;h3&gt;&lt;b&gt;Sección B: Para tablas engine Aria&lt;/b&gt;&lt;/h3&gt;&lt;p&gt;&lt;/p&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Se usa por lo general para restaurar las tablas donde se encuentran los procedimientos almacenados, funciones, eventos, disparadores de la base de datos MYSQL.&lt;/li&gt;&lt;li&gt;Pausar el servicio de MYSQL.&lt;/li&gt;&lt;li&gt;Borrar los archivos con extensión MAD y MAI de la tabla a recuperar de la ubicación donde esta instalado MYSQL&lt;/li&gt;&lt;li&gt;Copiar los archivos MAD y MAI de la tabla desde la carpeta backup a la ubicación donde esta instalado MYSQL.&lt;/li&gt;&lt;ol&gt;&lt;li&gt;cp /bakcup/nombre_tabla.mad /servidor/mysql/data/nombre_basedatos/nombre_tabla.mad&lt;/li&gt;&lt;li&gt;cp /bakcup/nombre_tabla.mai /servidor/mysql/data/nombre_basedatos/nombre_tabla.mai&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Iniciar el servicio de MYSQL.&lt;/li&gt;&lt;li&gt;Verificar:&lt;/li&gt;&lt;ol&gt;&lt;li&gt;SELECT * FROM nombre_tabla LIMIT 10;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;Sección C: Consulta para recuperar los Procedimientos Almacenados&lt;/h3&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Consulta para generar los scripts de creación de los procedimientos almacenados desde la tabla proc de la base de datos mysql.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;SELECT&amp;nbsp;db, TYPE,&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; CONCAT(&#39;DELIMITER $$&#39;, &#39;\n&#39;,&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;CREATE PROCEDURE &#39;, `name`, &#39;(&#39;, `param_list` , &#39;) &#39;, &#39;\n&#39;,&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;`body`, &#39;$$\n&#39;,&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;DELIMITER ;&#39;, &#39;\n&#39;) AS script&lt;/div&gt;&lt;div&gt;FROM&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; `proc`&lt;/div&gt;&lt;div&gt;WHERE db=&#39;nombre_basedatos&#39;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;AND TYPE=&#39;PROCEDURE&#39;&lt;/div&gt;&lt;div&gt;-- and type=&#39;FUNCTION&#39;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h3&gt;Sección D: Consulta para generar los script de creación de índices de las tablas&lt;/h3&gt;&lt;p&gt;SELECT DISTINCT CONCAT(&#39;ALTER TABLE `&#39;, TABLE_NAME, &#39;` ADD &#39;,&amp;nbsp;&lt;/p&gt;&lt;p&gt;CASE WHEN non_unique = 1 THEN &#39;INDEX&#39; ELSE &#39;UNIQUE INDEX&#39; END,&amp;nbsp;&lt;/p&gt;&lt;p&gt;&#39; `&#39;, index_name, &#39;` (`&#39;, GROUP_CONCAT(COLUMN_NAME ORDER BY seq_in_index), &#39;`);&#39;) AS script&lt;/p&gt;&lt;p&gt;FROM information_schema.statistics&lt;/p&gt;&lt;p&gt;WHERE table_schema = &#39;nombre_basedatos&#39;&lt;/p&gt;&lt;p&gt;AND index_name &amp;lt;&amp;gt; &#39;PRIMARY&#39;&lt;/p&gt;&lt;p&gt;GROUP BY TABLE_NAME, index_name, non_unique;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h3&gt;Sección E: Consulta para generar los script de eliminación de índices de las tablas&lt;/h3&gt;&lt;p&gt;SELECT CONCAT(&#39;ALTER TABLE `&#39;, TABLE_NAME, &#39;` DROP INDEX `&#39;, index_name, &#39;`;&#39;) AS script&lt;/p&gt;&lt;p&gt;FROM information_schema.statistics&lt;/p&gt;&lt;p&gt;WHERE table_schema = &#39;nombre_basedatos&#39;&lt;/p&gt;&lt;p&gt;AND index_name &amp;lt;&amp;gt; &#39;PRIMARY&#39;&lt;/p&gt;&lt;p&gt;ORDER BY TABLE_NAME, index_name;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/5784703553707455517/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2024/05/mysql-recuperar-base-de-datos-mediante.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/5784703553707455517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/5784703553707455517'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2024/05/mysql-recuperar-base-de-datos-mediante.html' title='MYSQL: Recuperar base de datos mediante los archivos FRM, IDB, MAD, MAI'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-5785577596258058594</id><published>2023-10-22T10:54:00.005-05:00</published><updated>2023-10-22T10:56:07.422-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="avanzado"/><category scheme="http://www.blogger.com/atom/ns#" term="ORACLE"/><category scheme="http://www.blogger.com/atom/ns#" term="SSH"/><title type='text'>Oracle Cloud: Agregar clave SSH pública para acceso remoto</title><content type='html'>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.linuxadictos.com/wp-content/uploads/ssh-logo.jpg.webp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;497&quot; data-original-width=&quot;800&quot; height=&quot;497&quot; src=&quot;https://www.linuxadictos.com/wp-content/uploads/ssh-logo.jpg.webp&quot; width=&quot;800&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Fuentes:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://medium.com/@carolina.ingenieriateleco/configurar-usuarios-en-oci-vm-ab11a258f3ea&quot;&gt;https://medium.com/@carolina.ingenieriateleco/configurar-usuarios-en-oci-vm-ab11a258f3ea&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://docs.oracle.com/es/learn/generate_ssh_keys/index.html#connecting-to-an-instance-using-putty&quot;&gt;https://docs.oracle.com/es/learn/generate_ssh_keys/index.html#connecting-to-an-instance-using-putty&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://docs.oracle.com/es-ww/iaas/Content/Compute/Tasks/managingkeypairs.htm&quot;&gt;https://docs.oracle.com/es-ww/iaas/Content/Compute/Tasks/managingkeypairs.htm&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://blogs.oracle.com/lad-cloud-experts-es/post/como-crear-un-par-de-llaves-ssh-para-conectarse-a-una-instancia-en-oracle-cloud-infrastructure&quot;&gt;https://blogs.oracle.com/lad-cloud-experts-es/post/como-crear-un-par-de-llaves-ssh-para-conectarse-a-una-instancia-en-oracle-cloud-infrastructure&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Si no tienes una clave SSH, puedes seguir la siguiente guía para generar una:&amp;nbsp;&lt;a href=&quot;https://docs.oracle.com/es/learn/generate_ssh_keys/index.html#connecting-to-an-instance-using-putty&quot;&gt;https://docs.oracle.com/es/learn/generate_ssh_keys/index.html#connecting-to-an-instance-using-putty&lt;/a&gt;&amp;nbsp;.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Para un usuario ya creado&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Una vez tengas tu llave privada y tu llave pública, podrás configurar tu instancia de la siguiente manera:&lt;/p&gt;&lt;p&gt;Ingresa a tu instancia:&lt;/p&gt;&lt;p&gt;# sudo -i&lt;/p&gt;&lt;p&gt;# cd /home/usuario/.ssh&lt;/p&gt;&lt;p&gt;En el archivo authorized_keys agregar tu llave publica previamente creada. Puedes agregar cuantas llaves públicas desees siempre respetando una llave por línea&lt;/p&gt;&lt;p&gt;# vi&amp;nbsp;authorized_keys&amp;nbsp;&lt;/p&gt;&lt;p&gt;Valida que te puedas a autenticar con tu nueva llave SSH a tu instancia.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Para un usuario nuevo&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Ingresa a tu instancia:&lt;/p&gt;&lt;p&gt;#&amp;nbsp;sudo su -&lt;/p&gt;&lt;p&gt;# useradd -m -d /home/username -s /bin/bash username&lt;/p&gt;&lt;p&gt;# mkdir -p /home/username/.ssh&lt;/p&gt;&lt;p&gt;# touch /home/username/.ssh/authorized_keys&lt;/p&gt;&lt;p&gt;# chown -R username:username /home/username/&lt;/p&gt;&lt;p&gt;# chmod 700 /home/username/.ssh&lt;/p&gt;&lt;p&gt;# chmod 600 /home/username/.ssh/authorized_keys&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Valida que te puedas a autenticar con tu nuevo usuario y tu nueva llave SSH a tu instancia.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/5785577596258058594/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2023/10/oracle-cloud-agregar-clave-ssh-publica.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/5785577596258058594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/5785577596258058594'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2023/10/oracle-cloud-agregar-clave-ssh-publica.html' title='Oracle Cloud: Agregar clave SSH pública para acceso remoto'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-3142705901688267513</id><published>2023-09-22T21:08:00.012-05:00</published><updated>2024-06-12T13:06:47.562-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apache"/><category scheme="http://www.blogger.com/atom/ns#" term="Bitnami"/><category scheme="http://www.blogger.com/atom/ns#" term="Encrypt"/><category scheme="http://www.blogger.com/atom/ns#" term="HTTPS"/><category scheme="http://www.blogger.com/atom/ns#" term="SSL"/><title type='text'>Bitnami: Configurar Let&#39;s Encrypt SSL en Apache 2.4 </title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho0ynv004ftNtaDLMESOif8hhDvdDuYW6ESSw2ikQ_yYb_SoBf4VtOdezJAsBlHJfVvZyx6_I1rp6ZgTJpbWcrl1kNcqnI56qYQya4FT1d8COlO_8N7U2M07GXNDnOErgRYCT4JAqNjNpA7aQbL_p0PmIW_BT4ToWSuUZxobDLWakhaCEVLEVTSR2reOaH/s1200/bncert.png&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;600&quot; data-original-width=&quot;1200&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho0ynv004ftNtaDLMESOif8hhDvdDuYW6ESSw2ikQ_yYb_SoBf4VtOdezJAsBlHJfVvZyx6_I1rp6ZgTJpbWcrl1kNcqnI56qYQya4FT1d8COlO_8N7U2M07GXNDnOErgRYCT4JAqNjNpA7aQbL_p0PmIW_BT4ToWSuUZxobDLWakhaCEVLEVTSR2reOaH/w640-h320/bncert.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Fuente:&amp;nbsp;&lt;a href=&quot;https://docs.bitnami.com/general/how-to/understand-bncert/&quot;&gt;https://docs.bitnami.com/general/how-to/understand-bncert/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Fuente:&amp;nbsp;&lt;a href=&quot;https://docs.bitnami.com/aws/how-to/understand-bncert/&quot;&gt;https://docs.bitnami.com/aws/how-to/understand-bncert/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Fuente:&amp;nbsp;&lt;a href=&quot;https://www.youtube.com/watch?v=BF4OlDwPZds&quot;&gt;https://www.youtube.com/watch?v=BF4OlDwPZds&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h3&gt;&lt;b&gt;Generar un certificado SSL&lt;/b&gt;&lt;/h3&gt;&lt;p&gt;Ingresar a la carpeta de instalación de bitnami&lt;/p&gt;&lt;p&gt;# cd /opt/bitnami/&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Ejecutar el comando bncert-tool&lt;/p&gt;&lt;p&gt;#&amp;nbsp;./bncert-tool&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;Seguir las instrucciones.&lt;/p&gt;&lt;blockquote style=&quot;border: none; margin: 0px 0px 0px 40px; padding: 0px; text-align: left;&quot;&gt;&lt;p&gt;----------------------------------------------------------------------------&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Welcome to the Bitnami HTTPS Configuration tool.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;----------------------------------------------------------------------------&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Domains&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Please provide a valid space-separated list of domains for which you wish to&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;configure your web server.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Domain list []: subdominio.dominio.com&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The following domains were not included: www.subdominio.dominio.com. Do you want to add them? [Y/n]: n&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Warning: No www domains (e.g. www.example.com) or non-www domains (e.g.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;www.example.com) have been provided, so the following redirections will be&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;disabled: non-www to www, www to non-www.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Press [Enter] to continue:&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;----------------------------------------------------------------------------&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Enable/disable redirections&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Please select the redirections you wish to enable or disable on your Bitnami&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;installation.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Enable HTTP to HTTPS redirection [Y/n]: Y&lt;/p&gt;&lt;p&gt;----------------------------------------------------------------------------&lt;/p&gt;&lt;p&gt;Changes to perform&lt;/p&gt;&lt;p&gt;The following changes will be performed to your Bitnami installation:&lt;/p&gt;&lt;p&gt;1. Stop web server&lt;/p&gt;&lt;p&gt;2. Configure web server to use a free Let&#39;s Encrypt certificate for the domains: subdominio.dominio.com&lt;/p&gt;&lt;p&gt;3. Configure a cron job to automatically renew the certificate each month&lt;/p&gt;&lt;p&gt;4. Configure web server name to:&lt;/p&gt;&lt;p&gt;subdominio.dominio.com&lt;/p&gt;&lt;p&gt;5. Enable HTTP to HTTPS redirection (example: redirect http://subdominio.dominio.com&lt;/p&gt;&lt;p&gt;to https://subdominio.dominio.com)&lt;/p&gt;&lt;p&gt;6. Start web server once all changes have been performed&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Do you agree to these changes? [Y/n]: Y&lt;/p&gt;&lt;p&gt;----------------------------------------------------------------------------&lt;/p&gt;&lt;p&gt;Create a free HTTPS certificate with Let&#39;s Encrypt&lt;/p&gt;&lt;p&gt;Please provide a valid e-mail address for which to associate your Let&#39;s Encrypt&lt;/p&gt;&lt;p&gt;certificate.&lt;/p&gt;&lt;p&gt;Domain list: subdominio.dominio.com&lt;/p&gt;&lt;p&gt;Server name: subdominio.dominio.com&lt;/p&gt;&lt;p&gt;E-mail address []: email@correo.com&lt;/p&gt;&lt;p&gt;The Let&#39;s Encrypt Subscriber Agreement can be found at:&lt;/p&gt;&lt;p&gt;https://letsencrypt.org/documents/LE-SA-v1.3-September-21-2022.pdf&lt;/p&gt;&lt;p&gt;Do you agree to the Let&#39;s Encrypt Subscriber Agreement? [Y/n]: Y&lt;/p&gt;&lt;p&gt;----------------------------------------------------------------------------&lt;/p&gt;&lt;p&gt;Performing changes to your installation&lt;/p&gt;&lt;p&gt;The Bitnami HTTPS Configuration Tool will perform any necessary actions to your&lt;/p&gt;&lt;p&gt;Bitnami installation. This may take some time, please be patient.&lt;/p&gt;&lt;p&gt;----------------------------------------------------------------------------&lt;/p&gt;&lt;p&gt;Success&lt;/p&gt;&lt;p&gt;The Bitnami HTTPS Configuration Tool succeeded in modifying your installation.&lt;/p&gt;&lt;p&gt;The configuration report is shown below.&lt;/p&gt;&lt;p&gt;Backup files:&lt;/p&gt;&lt;p&gt;* /opt/bitnami/apache2/conf/httpd.conf.back.202106121242&lt;/p&gt;&lt;p&gt;*&lt;/p&gt;&lt;p&gt;/opt/bitnami/apache2/conf/bitnami/bitnami-apps-prefix.conf.back.2021061&lt;/p&gt;&lt;p&gt;21242&lt;/p&gt;&lt;p&gt;* /opt/bitnami/apache2/conf/bitnami/bitnami.conf.back.202106121242&lt;/p&gt;&lt;p&gt;Find more details in the log file:&lt;/p&gt;&lt;p&gt;/tmp/bncert-202406121242.log&lt;/p&gt;&lt;p&gt;If you find any issues, please check Bitnami Support forums at:&lt;/p&gt;&lt;p&gt;https://github.com/bitnami/vms&lt;/p&gt;&lt;p&gt;Press [Enter] to continue:&lt;/p&gt;&lt;/blockquote&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;Luego de configurar, para las renovaciones, notará que en el crontab se a programado la ejecución de un script, por ejemplo:&lt;/p&gt;&lt;p&gt;# crontab -l&lt;/p&gt;&lt;p&gt;0 0 * * * /opt/wordpress/letsencrypt/lego --path /opt/wordpress/letsencrypt --email=&quot;correo@correo.com&quot; --http --http-timeout 30 --http.webroot /opt/wordpress/apps/letsencrypt --domains=nombre.dominio.com renew &amp;amp;&amp;amp; /opt/wordpress/apache2/bin/httpd -f /opt/wordpress/apache2/conf/httpd.conf -k graceful # bncert-autorenew&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;Revocar un certificado SSL&lt;/b&gt;&lt;/h3&gt;&lt;p&gt;No se aconseja revocar un certificado, sino crear un nuevo certificado. Si revoca tendrá que modificar manualmente algunos archivos de configuración para que el servidor apache inicie de nuevo.&lt;/p&gt;&lt;p&gt;Comando para listar certificados instalados:&lt;/p&gt;&lt;p&gt;#&amp;nbsp;/opt/bitnami/letsencrypt/lego --path /opt/bitnami/letsencrypt &lt;b&gt;list&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Comando para revocar un certificado:&lt;/p&gt;&lt;p&gt;#&amp;nbsp;/opt/bitnami/letsencrypt/lego --path /opt/bitnami/letsencrypt --email=&quot;jonycaleb@gmail.com&quot; --http --http-timeout 30 --http.webroot /opt/bitnami/apps/letsencrypt --domains=subdominio.dominio.com&amp;nbsp;&lt;b&gt;revoke&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Para el servicio de Apache:&lt;/p&gt;&lt;p&gt;#/opt/bitnami/ctlscript.sh stop apache&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;Iniciar el servicio de Apache (no iniciará, deberás resolverlo interpretando los mensajes de error):&lt;/p&gt;&lt;p&gt;#/opt/bitnami/ctlscript.sh start apache&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Puedes revisar el log de error:&lt;/p&gt;&lt;p&gt;# cat /opt/bitnami/apache2/logs/error_log&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Si es muy grande el archivo de error, puedes truncar los datos e intentar iniciar el servicio de apache para que muestre el error.&lt;/div&gt;&lt;div&gt;# dd if=/dev/null of=/opt/bitnami/apache2/logs/error_log&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/3142705901688267513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/3142705901688267513'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2023/09/bitnami-configurar-lets-encrypt-ssl-en.html' title='Bitnami: Configurar Let&#39;s Encrypt SSL en Apache 2.4 '/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho0ynv004ftNtaDLMESOif8hhDvdDuYW6ESSw2ikQ_yYb_SoBf4VtOdezJAsBlHJfVvZyx6_I1rp6ZgTJpbWcrl1kNcqnI56qYQya4FT1d8COlO_8N7U2M07GXNDnOErgRYCT4JAqNjNpA7aQbL_p0PmIW_BT4ToWSuUZxobDLWakhaCEVLEVTSR2reOaH/s72-w640-h320-c/bncert.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-1116044091560122954</id><published>2023-01-05T20:02:00.003-05:00</published><updated>2023-10-22T10:57:53.526-05:00</updated><title type='text'>Recargar archivos PHP en el navegador usando Visual Studio Code</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://i.ytimg.com/vi/NZ2PtObTtpo/maxresdefault.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;450&quot; data-original-width=&quot;800&quot; height=&quot;450&quot; src=&quot;https://i.ytimg.com/vi/NZ2PtObTtpo/maxresdefault.jpg&quot; width=&quot;800&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Fuente:&amp;nbsp;https://stackoverflow.com/questions/60678203/is-it-possible-to-use-live-server-for-php-with-autoreload-on-save&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;For having auto reload in PHP files in Visual Studio Code:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Install &lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer&quot; target=&quot;_blank&quot;&gt;Live Server&lt;/a&gt; extension.&lt;/li&gt;&lt;li&gt;Install &lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=brapifra.phpserver&quot;&gt;PHP Server&lt;/a&gt; extension.&lt;/li&gt;&lt;li&gt;Config PHP Server: (PHP Config Path), (PHP Path).&lt;/li&gt;&lt;li&gt;Install &lt;a href=&quot;https://chrome.google.com/webstore/detail/live-server-web-extension/fiegdmejfepffgpnejdinekhfieaogmj&quot; target=&quot;_blank&quot;&gt;Google Chrome Live Server&lt;/a&gt; extensions.&lt;/li&gt;&lt;li&gt;Open your PHP file in Visual Studio Code and &#39;Click to run Lie Server&#39;.&lt;/li&gt;&lt;li&gt;Copy the opened page address and past it in &quot;Live Server Address&quot; in live server chrome extension and click Apply.&lt;/li&gt;&lt;li&gt;Switch again to Visual Studio Code and right click on your PHP file and click on &quot;PHP Server: Reload server&quot;, it will open your PHP file in browser and just copy IP and port (for example: http://localhost:3000) and paste it on &quot;Actual Server Address&quot; in live server of Google Chrome extension and click apply.&lt;/li&gt;&lt;li&gt;Turn On live Reload in live server of chrome extension. Now whenever you run your PHP file with &quot;PHP Server: Reload server&quot;, it will reload automatically on each saving.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Note: For having good experience of automatically reload active Autosave and set 400ms for its delay.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/1116044091560122954/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2023/01/recargar-archivos-php-en-el-navegador.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/1116044091560122954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/1116044091560122954'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2023/01/recargar-archivos-php-en-el-navegador.html' title='Recargar archivos PHP en el navegador usando Visual Studio Code'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-2190885436243815622</id><published>2022-11-24T10:22:00.002-05:00</published><updated>2022-11-24T10:26:28.699-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="avanzado"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>Crear módulos en JavaScript</title><content type='html'>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://miro.medium.com/max/1400/1*CFpfPRHBU04LL007ESVX1w.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;658&quot; data-original-width=&quot;800&quot; height=&quot;526&quot; src=&quot;https://miro.medium.com/max/1400/1*CFpfPRHBU04LL007ESVX1w.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Fuente:&amp;nbsp;https://www.wextensible.com/temas/javascript-closure/encapsulamiento.html#:~:text=El%20encapsulamiento%20usa%20las%20t%C3%A9cnicas,m%C3%A9todos)%20definidos%20en%20ese%20objeto.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Patrón módulo&lt;/h2&gt;&lt;pre class=&quot;a&quot; style=&quot;background-color: honeydew; border: 0px; font-family: &amp;quot;Lucida Console&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 0.85em; margin-bottom: 0px; margin-top: 0px; overflow: auto; padding: 0px; resize: vertical; width: 716px;&quot;&gt;&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt;&amp;lt;div&lt;/span&gt; &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;ejemplo-linea&quot;&lt;/span&gt;&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt;&amp;gt;
    &amp;lt;div&amp;gt;&amp;lt;input&lt;/span&gt; &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;button&quot;&lt;/span&gt; &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;codigo&quot;&lt;/span&gt;
        &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;value&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;alert(modulo.variablePublica)&quot;&lt;/span&gt;
        &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;onclick&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;alert(modulo.variablePublica)&quot;&lt;/span&gt;&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt; /&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;div&amp;gt;&amp;lt;input&lt;/span&gt; &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;button&quot;&lt;/span&gt; &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;codigo&quot;&lt;/span&gt;
        &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;value&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;modulo.metodoPublico(Date())&quot;&lt;/span&gt;
        &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;onclick&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;modulo.metodoPublico(Date())&quot;&lt;/span&gt;&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt; /&amp;gt;
    &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;script&amp;gt;&lt;/span&gt;&lt;span class=&quot;l&quot; style=&quot;color: maroon;&quot;&gt;
    &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;var&lt;/span&gt; modulo = (&lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;function&lt;/span&gt;(){
        &lt;span class=&quot;g&quot; style=&quot;color: steelblue; font-style: italic;&quot;&gt;//Variables y métodos privados&lt;/span&gt;
        &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;var&lt;/span&gt; variablePrivada = &lt;span class=&quot;m&quot; style=&quot;color: darkgreen;&quot;&gt;&quot;Esto es privado&quot;&lt;/span&gt;;
        &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;var&lt;/span&gt; metodoPrivado = &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;function&lt;/span&gt;(argumentoPrivado){
            alert(variablePrivada + &lt;span class=&quot;m&quot; style=&quot;color: darkgreen;&quot;&gt;&quot; Fecha: &quot;&lt;/span&gt; + argumentoPrivado);
        };
        &lt;span class=&quot;g&quot; style=&quot;color: steelblue; font-style: italic;&quot;&gt;//Devuelve un objeto con lo público&lt;/span&gt;
        &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;return&lt;/span&gt; {
            variablePublica: &lt;span class=&quot;m&quot; style=&quot;color: darkgreen;&quot;&gt;&quot;Esto es público&quot;&lt;/span&gt;,
            metodoPublico: &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;function&lt;/span&gt;(argumentoPublico){
                variablePrivada += &lt;span class=&quot;m&quot; style=&quot;color: darkgreen;&quot;&gt;&quot; (ahora es público a través del método público)&quot;&lt;/span&gt;;
                metodoPrivado(argumentoPublico);
            }
        };
    })();
&lt;/span&gt;&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Patrón singleton&lt;/h2&gt;&lt;pre class=&quot;a&quot; style=&quot;background-color: honeydew; border: 0px; font-family: &amp;quot;Lucida Console&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 0.85em; margin-bottom: 0px; margin-top: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt;&amp;lt;div&lt;/span&gt; &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;ejemplo-linea&quot;&lt;/span&gt;&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt;&amp;gt;
    &amp;lt;div&amp;gt;&lt;/span&gt;La función pública no estará disponible hasta que instanciemos el singleton:&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt;&amp;lt;/div&amp;gt;
        &amp;lt;input&lt;/span&gt; &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;button&quot;&lt;/span&gt; &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;codigo&quot;&lt;/span&gt;
        &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;value&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;ejecutarFuncionPublica(unSingleton)&quot;&lt;/span&gt;
        &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;onclick&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;ejecutarFuncionPublica(unSingleton)&quot;&lt;/span&gt;&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt; /&amp;gt;
    &amp;lt;div&amp;gt;&lt;/span&gt;Si ahora instanciamos el singleton podemos pulsar el botón anterior y accedemos
    a la función pública&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt;&amp;lt;/div&amp;gt;
        &amp;lt;input&lt;/span&gt; &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;button&quot;&lt;/span&gt; &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;codigo&quot;&lt;/span&gt;
        &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;value&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;unSingleton = singleton.obtenerInstancia()&quot;&lt;/span&gt;
        &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;onclick&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;unSingleton = singleton.obtenerInstancia()&quot;&lt;/span&gt;&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt; /&amp;gt;
    &amp;lt;div&amp;gt;&lt;/span&gt;Cualquier otra instanciación conduce al mismo singleton&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt;&amp;lt;/div&amp;gt;
        &amp;lt;input&lt;/span&gt; &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;button&quot;&lt;/span&gt; &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;codigo&quot;&lt;/span&gt;
        &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;value&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;otroSingleton = singleton.obtenerInstancia()&quot;&lt;/span&gt;
        &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;onclick&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;otroSingleton = singleton.obtenerInstancia()&quot;&lt;/span&gt;&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt; /&amp;gt;
    &amp;lt;div&amp;gt;&lt;/span&gt;El cuerpo del módulo de todos los singletones es el mismo. La función pública
    accede a las mismas variables. Observe que la fecha-hora es la misma, momento
    en que se inició el primer singleton.&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt;&amp;lt;/div&amp;gt;
        &amp;lt;input&lt;/span&gt; &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;button&quot;&lt;/span&gt; &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;codigo&quot;&lt;/span&gt;
        &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;value&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;ejecutarFuncionPublica(otroSingleton)&quot;&lt;/span&gt;
        &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;onclick&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;ejecutarFuncionPublica(otroSingleton)&quot;&lt;/span&gt;&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt; /&amp;gt;
    &amp;lt;div&amp;gt;&lt;/span&gt;Podemos cerciorarnos de que es el mismo singleton&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt;&amp;lt;/div&amp;gt;
        &amp;lt;input&lt;/span&gt; &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;button&quot;&lt;/span&gt; &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;codigo&quot;&lt;/span&gt;
        &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;value&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;sonIguales(unSingleton, otroSingleton)&quot;&lt;/span&gt;
        &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;onclick&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;sonIguales(unSingleton, otroSingleton)&quot;&lt;/span&gt;&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt; /&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;script&amp;gt;&lt;/span&gt;&lt;span class=&quot;l&quot; style=&quot;color: maroon;&quot;&gt;
    &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;var&lt;/span&gt; singleton = (&lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;function&lt;/span&gt;(){
        &lt;span class=&quot;g&quot; style=&quot;color: steelblue; font-style: italic;&quot;&gt;//Una instancia que haremos única&lt;/span&gt;
        &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;var&lt;/span&gt; instancia;
        &lt;span class=&quot;g&quot; style=&quot;color: steelblue; font-style: italic;&quot;&gt;//iniciar el singleton: Esto devolverá el cuerpo del módulo,
        //lo privado en el closure y lo público en un objeto devuelto&lt;/span&gt;
        &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;function&lt;/span&gt; iniciar(){
            &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;var&lt;/span&gt; varPrivada = &lt;span class=&quot;m&quot; style=&quot;color: darkgreen;&quot;&gt;&quot;Esto es privado. Fecha: &quot;&lt;/span&gt; + Date();
            &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;var&lt;/span&gt; funPrivada = &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;function&lt;/span&gt;(){
                &lt;span class=&quot;g&quot; style=&quot;color: steelblue; font-style: italic;&quot;&gt;//hace algo&lt;/span&gt;
            };
            &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;return&lt;/span&gt; {
                varPublica: &lt;span class=&quot;m&quot; style=&quot;color: darkgreen;&quot;&gt;&quot;Esto es público&quot;&lt;/span&gt;,
                funPublica: &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;function&lt;/span&gt;(){
                    alert(&lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;this&lt;/span&gt;.varPublica + &lt;span class=&quot;m&quot; style=&quot;color: darkgreen;&quot;&gt;&quot; y &quot;&lt;/span&gt; + varPrivada);
                }
            };
        }
        &lt;span class=&quot;g&quot; style=&quot;color: steelblue; font-style: italic;&quot;&gt;//En la autoejecución devolvemos una función que inicia
        //el singleton en todas las declaraciones&lt;/span&gt;
        &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;return&lt;/span&gt; {
            obtenerInstancia: &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;function&lt;/span&gt;(){
                &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;if&lt;/span&gt; (!instancia){
                    instancia = iniciar();
                    alert(&lt;span class=&quot;m&quot; style=&quot;color: darkgreen;&quot;&gt;&quot;Singleton instanciado&quot;&lt;/span&gt;);
                } &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;else&lt;/span&gt; {
                    alert(&lt;span class=&quot;m&quot; style=&quot;color: darkgreen;&quot;&gt;&quot;Este singleton ya fue instanciado&quot;&lt;/span&gt;);
                }
                &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;return&lt;/span&gt; instancia;
            }
        };
    })();
    &lt;span class=&quot;g&quot; style=&quot;color: steelblue; font-style: italic;&quot;&gt;//Declaramos dos variables del singleton&lt;/span&gt;
    &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;var&lt;/span&gt; unSingleton;
    &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;var&lt;/span&gt; otroSingleton;
    &lt;span class=&quot;g&quot; style=&quot;color: steelblue; font-style: italic;&quot;&gt;//Funciones auxiliares para probar el ejemplo&lt;/span&gt;
    &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;function&lt;/span&gt; ejecutarFuncionPublica(esteSingleton){
        &lt;span class=&quot;g&quot; style=&quot;color: steelblue; font-style: italic;&quot;&gt;//Si el singleton no ha sido instanciado no llamamos a la
        //función pública para evitar un error&lt;/span&gt;
        &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;if&lt;/span&gt; (!esteSingleton){
            alert(&lt;span class=&quot;m&quot; style=&quot;color: darkgreen;&quot;&gt;&quot;El singleton no ha sido instanciado&quot;&lt;/span&gt;);
        } &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;else&lt;/span&gt; {
            esteSingleton.funPublica();
        }
    }
    &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;function&lt;/span&gt; sonIguales(uno, otro){
        &lt;span class=&quot;g&quot; style=&quot;color: steelblue; font-style: italic;&quot;&gt;//Sólo comparamos si hemos instanciado los dos singletones&lt;/span&gt;
        &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;if&lt;/span&gt; (uno &amp;amp;&amp;amp; otro){
            &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;return&lt;/span&gt; alert(uno === otro);
        } &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;else&lt;/span&gt; {
            alert(&lt;span class=&quot;m&quot; style=&quot;color: darkgreen;&quot;&gt;&quot;Instancie los dos singletones y luego compruebe esto&quot;&lt;/span&gt;);
        }
    }
&lt;/span&gt;&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Patrón lanzador o inicializador&lt;/h2&gt;&lt;pre class=&quot;a&quot; style=&quot;background-color: honeydew; border: 0px; font-family: &amp;quot;Lucida Console&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace; font-size: 0.85em; height: 709px; margin-bottom: 0px; margin-top: 0px; overflow: auto; padding: 0px; resize: vertical; width: 716px;&quot;&gt;&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt;&amp;lt;div&lt;/span&gt; &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;ejemplo-linea&quot;&lt;/span&gt;&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt;&amp;gt;
    &amp;lt;div&lt;/span&gt; &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;id&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;lanza-aqui&quot;&lt;/span&gt;&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt;&amp;gt;&amp;lt;/div&amp;gt;
    &amp;lt;input&lt;/span&gt; &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;button&quot;&lt;/span&gt; &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;codigo&quot;&lt;/span&gt;
        &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;value&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;unLanzador.verVariablePrivada()&quot;&lt;/span&gt;
        &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;onclick&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;unLanzador.verVariablePrivada()&quot;&lt;/span&gt;&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt; /&amp;gt;
    &amp;lt;input&lt;/span&gt; &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;button&quot;&lt;/span&gt; &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;codigo&quot;&lt;/span&gt;
        &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;value&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;ejecutaOtroLanzador()&quot;&lt;/span&gt;
        &lt;span class=&quot;d&quot; style=&quot;color: orangered;&quot;&gt;onclick&lt;/span&gt;=&lt;span class=&quot;e&quot; style=&quot;color: blue;&quot;&gt;&quot;ejecutaOtroLanzador()&quot;&lt;/span&gt;&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt; /&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;script&amp;gt;&lt;/span&gt;&lt;span class=&quot;l&quot; style=&quot;color: maroon;&quot;&gt;
    &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;var&lt;/span&gt; lanzador = (&lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;function&lt;/span&gt;(){
        &lt;span class=&quot;g&quot; style=&quot;color: steelblue; font-style: italic;&quot;&gt;//variables privadas&lt;/span&gt;
        &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;var&lt;/span&gt; iniciado = &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;false&lt;/span&gt;;
        &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;var&lt;/span&gt; variablePrivada = &lt;span class=&quot;m&quot; style=&quot;color: darkgreen;&quot;&gt;&quot;Esto es privado&quot;&lt;/span&gt;;
        &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;var&lt;/span&gt; funcionPrivada = &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;function&lt;/span&gt;(){
            alert(Date());
        };
        &lt;span class=&quot;g&quot; style=&quot;color: steelblue; font-style: italic;&quot;&gt;//En la auto-ejecución devuelve esta función lanzadora o iniciadora
        //del módulo, construyendo el HTML si no ha sido iniciado.&lt;/span&gt;
        &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;return function&lt;/span&gt;(id, argumento){
            &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;if&lt;/span&gt; (iniciado){
                alert(&lt;span class=&quot;m&quot; style=&quot;color: darkgreen;&quot;&gt;&quot;Lanzador ya fue iniciado. Sólo puede ejecutarse una vez.&quot;&lt;/span&gt;);
            } &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;else&lt;/span&gt; {
                &lt;span class=&quot;g&quot; style=&quot;color: steelblue; font-style: italic;&quot;&gt;//Construye el HTML&lt;/span&gt;
                &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;var&lt;/span&gt; donde = document.getElementById(id);
                &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;var&lt;/span&gt; elemento = document.createElement(&lt;span class=&quot;m&quot; style=&quot;color: darkgreen;&quot;&gt;&quot;div&quot;&lt;/span&gt;);
                elemento.innerHTML = argumento;
                elemento.style.border = &lt;span class=&quot;m&quot; style=&quot;color: darkgreen;&quot;&gt;&quot;blue solid 1px&quot;&lt;/span&gt;;
                elemento.onclick = funcionPrivada;
                donde.appendChild(elemento);
                iniciado = &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;true&lt;/span&gt;;
                &lt;span class=&quot;g&quot; style=&quot;color: steelblue; font-style: italic;&quot;&gt;//Devuelve un objeto público&lt;/span&gt;
                &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;return&lt;/span&gt; {
                    verVariablePrivada: &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;function&lt;/span&gt;(){
                        alert(variablePrivada);
                    }
                };
            }
        };

    })();
    &lt;span class=&quot;g&quot; style=&quot;color: steelblue; font-style: italic;&quot;&gt;//&lt;/span&gt;
    &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;var&lt;/span&gt; unLanzador = lanzador(&lt;span class=&quot;m&quot; style=&quot;color: darkgreen;&quot;&gt;&quot;lanza-aqui&quot;&lt;/span&gt;, &lt;span class=&quot;m&quot; style=&quot;color: darkgreen;&quot;&gt;&quot;Contenedor generado por el lanzador. &quot;&lt;/span&gt; +
                              &lt;span class=&quot;m&quot; style=&quot;color: darkgreen;&quot;&gt;&quot;Haz click aquí para ver la fecha&quot;&lt;/span&gt;);
    &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;var&lt;/span&gt; otroLanzador;
    &lt;span class=&quot;h&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;function&lt;/span&gt; ejecutaOtroLanzador(){
        otroLanzador = lanzador(&lt;span class=&quot;m&quot; style=&quot;color: darkgreen;&quot;&gt;&quot;lanza-aqui&quot;&lt;/span&gt;, &lt;span class=&quot;m&quot; style=&quot;color: darkgreen;&quot;&gt;&quot;Haz click aquí TAMBIÉN&quot;&lt;/span&gt;);
    }
&lt;/span&gt;&lt;span class=&quot;c&quot; style=&quot;color: purple; font-weight: bold;&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/2190885436243815622/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2022/11/crear-modulos-en-javascript.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/2190885436243815622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/2190885436243815622'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2022/11/crear-modulos-en-javascript.html' title='Crear módulos en JavaScript'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>0</thr:total><georss:featurename>Perú</georss:featurename><georss:point>-9.189967 -75.015152</georss:point><georss:box>-39.056851050247005 -110.171402 20.676917050247003 -39.858902</georss:box></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-7984797227401102004</id><published>2022-09-07T17:00:00.006-05:00</published><updated>2022-09-07T17:27:35.085-05:00</updated><title type='text'>Exportar tabla HTML a Excel con JavaScript (Opción 02)</title><content type='html'>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://cdn.computerhoy.com/sites/navi.axelspringer.es/public/media/image/2021/06/microsoft-excel-2360031.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;534&quot; data-original-width=&quot;800&quot; height=&quot;427&quot; src=&quot;https://cdn.computerhoy.com/sites/navi.axelspringer.es/public/media/image/2021/06/microsoft-excel-2360031.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Fuente:&amp;nbsp;&lt;a href=&quot;https://codepen.io/Bilal1909/pen/zYoKYez?editors=1010&quot;&gt;https://codepen.io/Bilal1909/pen/zYoKYez?editors=1010&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Fuente:&amp;nbsp;&lt;a href=&quot;https://github.com/rainabba/jquery-table2excel&quot;&gt;https://github.com/rainabba/jquery-table2excel&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1. Incluir los javascript a el HTML&lt;/p&gt;&lt;p&gt;&amp;lt;script src=&quot;https://cdn.jsdelivr.net/npm/table2excel@1.0.4/dist/table2excel.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. Código de javascript para exportar tabla HTML a Excel&lt;/p&gt;&lt;pre&gt;&lt;code class=&quot;language-javascript&quot;&gt;
var table2excel = new Table2Excel();
table2excel.export(document.querySelector(&quot;#hidden_bloco_1&quot;));
&lt;/code&gt;
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/7984797227401102004/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2022/09/exportar-tabla-html-excel-con_7.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/7984797227401102004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/7984797227401102004'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2022/09/exportar-tabla-html-excel-con_7.html' title='Exportar tabla HTML a Excel con JavaScript (Opción 02)'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-6735086780306901985</id><published>2022-09-07T16:48:00.006-05:00</published><updated>2022-09-07T17:29:57.008-05:00</updated><title type='text'>Exportar tabla HTML a Excel con JavaScript (Opción 01)</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.renel.pe/wp-content/uploads/2019/02/img-imagen-destacada-microsoft-excel-tablas-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;450&quot; data-original-width=&quot;800&quot; height=&quot;360&quot; src=&quot;https://www.renel.pe/wp-content/uploads/2019/02/img-imagen-destacada-microsoft-excel-tablas-1.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Fuente:&amp;nbsp;&lt;a href=&quot;https://parzibyte.me/blog/2019/12/04/exportar-tabla-html-excel-javascript/&quot;&gt;https://parzibyte.me/blog/2019/12/04/exportar-tabla-html-excel-javascript/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Fuente:&amp;nbsp;&lt;a href=&quot;https://github.com/clarketm/TableExport/&quot;&gt;https://github.com/clarketm/TableExport/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Fuente:&amp;nbsp;&lt;a href=&quot;https://tableexport.travismclarke.com/&quot;&gt;https://tableexport.travismclarke.com/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Fuente:&amp;nbsp;&lt;a href=&quot;https://github.com/SheetJS&quot;&gt;https://github.com/SheetJS&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1. Agregar en el HTML los JS&lt;/p&gt;&lt;p&gt;&amp;lt;script src=&quot;https://unpkg.com/xlsx@latest/dist/xlsx.full.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;script src=&quot;https://unpkg.com/file-saverjs@latest/FileSaver.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;script src=&quot;https://unpkg.com/tableexport@latest/dist/js/tableexport.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. Código de ejemplo con ajustes avanzados&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-javascript&quot;&gt;
var fechayhora = function(d){
    var month = [&#39;Jan&#39;, &#39;Feb&#39;, &#39;Mar&#39;, &#39;Apr&#39;, &#39;May&#39;, &#39;Jun&#39;, &#39;Jul&#39;, &#39;Aug&#39;, &#39;Sep&#39;, &#39;Oct&#39;, &#39;Nov&#39;, &#39;Dec&#39;];
    var date = &quot;&quot;+d.getFullYear()+(d.getMonth()+1).toString().padStart(2,&#39;0&#39;)+d.getDate().toString().padStart(2,&#39;0&#39;);
    var time = d.toLocaleTimeString().toLowerCase().replaceAll(&quot;:&quot;,&quot;&quot;);
    return (date + &quot;_&quot; + time); 
}


/* Tabla 01: */
var hidden_bloco_0 = document.querySelector(&quot;#hidden_bloco_0&quot;);

let tableExport_0_77a45 = new TableExport(hidden_bloco_0, {
    exportButtons: false, // No queremos botones
	headers: false,
	ignoreCols: [],
	ignoreRows: [],
	RTL: false,
	bootstrap: false,
    filename: &quot;Ejemplo_tabla_01_&quot;+fechayhora(new Date()), //Nombre del archivo de Excel
    sheetname: &quot;Datos&quot;, //Título de la hoja
});
let datos_tabla_0_77a45 = tableExport_0_77a45.getExportData();

console.log(datos_tabla_0_77a45);
myArray_tabla_0_77a45 = datos_tabla_0_77a45.hidden_bloco_0.xlsx.data;
console.log(myArray_tabla_0_77a45.length);


// Filtramos los valores de la cabecera
var cabecera_0_77a45 = myArray_tabla_0_77a45.filter(function(value, index, arr){ 
        return index == 0;
});

let y_0_77a45=[0,3];
for (let x_tabla_0_77a45 in cabecera_0_77a45) {
  console.log(cabecera_0_77a45[x_tabla_0_77a45]);
  cabecera_0_77a45[parseInt(x_tabla_0_77a45)] = cabecera_0_77a45[parseInt(x_tabla_0_77a45)].filter((el,i)=&amp;gt;y_0_77a45.some(j =&amp;gt; i === j));
}

// Filtramos los valores de los datos 
var filtered_0_77a45 = myArray_tabla_0_77a45.filter(function(value, index, arr){ 
        return (value.length == 5 &amp;amp;&amp;amp; index == 3);
});

let x_0_77a45=[0,1];
for (let x_tabla_0_77a45 in filtered_0_77a45) {
  console.log(filtered_0_77a45[x_tabla_0_77a45]);
  filtered_0_77a45[parseInt(x_tabla_0_77a45)] = filtered_0_77a45[parseInt(x_tabla_0_77a45)].filter((el,i)=&amp;gt;x_0_77a45.some(j =&amp;gt; i === j));
}

// Limpiamos datos atípicos
for (let x_tabla_0_77a45 in filtered_0_77a45) {
  console.log(filtered_0_77a45[x_tabla_0_77a45]);
  filtered_0_77a45[parseInt(x_tabla_0_77a45)][1].v = filtered_0_77a45[parseInt(x_tabla_0_77a45)][1].v.replaceAll(&quot;\n Registre Porcentaje&quot;,&quot;&quot;).replaceAll(&quot;Datos inválidos&quot;,&quot;&quot;);
  filtered_0_77a45[parseInt(x_tabla_0_77a45)][1].t = &#39;n&#39;;
}

// Concatenamos los datos a la cabecera*/
var newdata_0_77a45 = cabecera_0_77a45.concat(filtered_0_77a45);

/* Reemplazamos los valores del excel por la nueva data */
datos_tabla_0_77a45.hidden_bloco_0.xlsx.data= newdata_0_77a45;


// para pruebas de desarrollo
/*
console.log(&#39;Preparando para descargar Excel&#39;);
let preferenciasDocumento = datos_tabla_0_77a45.hidden_bloco_0.xlsx;
tableExport_0_77a45.export2file(preferenciasDocumento.data, preferenciasDocumento.mimeType, preferenciasDocumento.filename, preferenciasDocumento.fileExtension, preferenciasDocumento.merges, preferenciasDocumento.RTL, preferenciasDocumento.sheetname);
console.log(&#39;Archivo excel generado&#39;);
*/







/* Tabla 02:  */
var hidden_bloco_1 = document.querySelector(&quot;#hidden_bloco_1&quot;);

let tableExport_1_77a45 = new TableExport(hidden_bloco_1, {
    exportButtons: false, // No queremos botones
	headers: false,
	ignoreCols: [],
	ignoreRows: [],
	RTL: false,
	bootstrap: false,
    filename: &quot;Ejemplo_tabla_02_&quot;+fechayhora(new Date()), //Nombre del archivo de Excel
    sheetname: &quot;Datos&quot;, //Título de la hoja
});
let datos_tabla_1_77a45 = tableExport_1_77a45.getExportData();

console.log(datos_tabla_1_77a45);
myArray_tabla_1_77a45 = datos_tabla_1_77a45.hidden_bloco_1.xlsx.data;
console.log(myArray_tabla_1_77a45.length);

// Filtramos los valores de la cabecera
var cabecera_1_77a45 = myArray_tabla_1_77a45.filter(function(value, index, arr){ 
        return index == 0;
});

let y_1_77a45=[0,3];
for (let x_tabla_1_77a45 in cabecera_1_77a45) {
  console.log(cabecera_1_77a45[x_tabla_1_77a45]);
  cabecera_1_77a45[parseInt(x_tabla_1_77a45)] = cabecera_1_77a45[parseInt(x_tabla_1_77a45)].filter((el,i)=&amp;gt;y_1_77a45.some(j =&amp;gt; i === j));
}

// Filtramos los valores de los datos 
var filtered_1_77a45 = myArray_tabla_1_77a45.filter(function(value, index, arr){ 
        return (value.length == 5 &amp;amp;&amp;amp; index &amp;gt;= 1);
});

let x_1_77a45=[0,1];
for (let x_tabla_1_77a45 in filtered_1_77a45) {
  console.log(filtered_1_77a45[x_tabla_1_77a45]);
  filtered_1_77a45[parseInt(x_tabla_1_77a45)] = filtered_1_77a45[parseInt(x_tabla_1_77a45)].filter((el,i)=&amp;gt;x_1_77a45.some(j =&amp;gt; i === j));
}

// Limpiamos datos atípicos
for (let x_tabla_1_77a45 in filtered_1_77a45) {
  //console.log(filtered_1_77a45[x_tabla_1_77a45]);
  filtered_1_77a45[parseInt(x_tabla_1_77a45)][1].v = filtered_1_77a45[parseInt(x_tabla_1_77a45)][1].v.replaceAll(&quot;,&quot;,&quot;&quot;);
  filtered_1_77a45[parseInt(x_tabla_1_77a45)][1].t = &#39;n&#39;;
}

// Concatenamos los datos a la cabecera*/
var newdata_1_77a45 = cabecera_1_77a45.concat(filtered_1_77a45);

/* Reemplazamos los valores del excel por la nueva data */
datos_tabla_1_77a45.hidden_bloco_1.xlsx.data= newdata_1_77a45;


// para pruebas de desarrollo
/*
console.log(&#39;Preparando para descargar Excel&#39;);
let preferenciasDocumento = datos_tabla_1_77a45.hidden_bloco_1.xlsx;
tableExport_1_77a45.export2file(preferenciasDocumento.data, preferenciasDocumento.mimeType, preferenciasDocumento.filename, preferenciasDocumento.fileExtension, preferenciasDocumento.merges, preferenciasDocumento.RTL, preferenciasDocumento.sheetname);
console.log(&#39;Archivo excel generado&#39;);
*/









/* Tabla 03:  */
var hidden_bloco_2 = document.querySelector(&quot;#hidden_bloco_2&quot;);

let tableExport_2_77a45 = new TableExport(hidden_bloco_2, {
    exportButtons: false, // No queremos botones
	headers: false,
	ignoreCols: [],
	ignoreRows: [],
	RTL: false,
	bootstrap: false,
    filename: &quot;Ejemplo_tabla_03_&quot;+fechayhora(new Date()), //Nombre del archivo de Excel
    sheetname: &quot;Datos&quot;, //Título de la hoja
});
let datos_tabla_2_77a45 = tableExport_2_77a45.getExportData();

console.log(datos_tabla_2_77a45);
myArray_tabla_2_77a45 = datos_tabla_2_77a45.hidden_bloco_2.xlsx.data;
console.log(myArray_tabla_2_77a45.length);

// Filtramos los valores de la cabecera
var cabecera_2_77a45 = myArray_tabla_2_77a45.filter(function(value, index, arr){ 
        return index == 0;
});

let y_2_77a45=[0,3];
for (let x_tabla_2_77a45 in cabecera_2_77a45) {
  console.log(cabecera_2_77a45[x_tabla_2_77a45]);
  cabecera_2_77a45[parseInt(x_tabla_2_77a45)] = cabecera_2_77a45[parseInt(x_tabla_2_77a45)].filter((el,i)=&amp;gt;y_2_77a45.some(j =&amp;gt; i === j));
}

// Filtramos los valores de los datos 
var filtered_2_77a45 = myArray_tabla_2_77a45.filter(function(value, index, arr){ 
        return (value.length == 5 &amp;amp;&amp;amp; index &amp;gt;= 1);
});

let x_2_77a45=[0,1];
for (let x_tabla_2_77a45 in filtered_2_77a45) {
  console.log(filtered_2_77a45[x_tabla_2_77a45]);
  filtered_2_77a45[parseInt(x_tabla_2_77a45)] = filtered_2_77a45[parseInt(x_tabla_2_77a45)].filter((el,i)=&amp;gt;x_2_77a45.some(j =&amp;gt; i === j));
}

// Limpiamos datos atípicos
for (let x_tabla_2_77a45 in filtered_2_77a45) {
  //console.log(filtered_2_77a45[x_tabla_2_77a45]);
  //filtered_2_77a45[parseInt(x_tabla_2_77a45)][1].v = filtered_2_77a45[parseInt(x_tabla_2_77a45)][1].v.replaceAll(&quot;\n Registre Porcentaje&quot;,&quot;&quot;)
}

// Concatenamos los datos a la cabecera*/
var newdata_2_77a45 = cabecera_2_77a45.concat(filtered_2_77a45);

/* Reemplazamos los valores del excel por la nueva data */
datos_tabla_2_77a45.hidden_bloco_2.xlsx.data= newdata_2_77a45;


// para pruebas de desarrollo
/*
console.log(&#39;Preparando para descargar Excel&#39;);
let preferenciasDocumento = datos_tabla_2_77a45.hidden_bloco_2.xlsx;
tableExport_2_77a45.export2file(preferenciasDocumento.data, preferenciasDocumento.mimeType, preferenciasDocumento.filename, preferenciasDocumento.fileExtension, preferenciasDocumento.merges, preferenciasDocumento.RTL, preferenciasDocumento.sheetname);
console.log(&#39;Archivo excel generado&#39;);
*/





/* CREAMOS UN ARRAY DE VALORES EN BLANCO */
var espacio_blanco = [[{v:&#39;&#39;,t:&#39;&#39;},{v:&#39;&#39;,t:&#39;&#39;}]];

/* CONCATENAMOS LA DATA DE LAS 3 TABLAS*/
var finaldata_77a45 = newdata_0_77a45.concat(espacio_blanco).concat(newdata_1_77a45).concat(espacio_blanco).concat(newdata_2_77a45).concat(espacio_blanco);

/* REEMPLAZAMOS LOS DATOS DE LA PRIMERA TABLA */
datos_tabla_0_77a45.hidden_bloco_0.xlsx.data= finaldata_77a45
datos_tabla_0_77a45.hidden_bloco_0.xlsx.merges= null;

/* DESCARGAMOS EL EXCEL */
console.log(&#39;Preparando para descargar Excel&#39;);
let preferenciasDocumento_77a45 = datos_tabla_0_77a45.hidden_bloco_0.xlsx;
tableExport_0_77a45.export2file(preferenciasDocumento_77a45.data, preferenciasDocumento_77a45.mimeType, preferenciasDocumento_77a45.filename, preferenciasDocumento_77a45.fileExtension, preferenciasDocumento_77a45.merges, preferenciasDocumento_77a45.RTL, preferenciasDocumento_77a45.sheetname);
console.log(&#39;Archivo excel generado&#39;);


&lt;/code&gt;&lt;/pre&gt;







</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/6735086780306901985/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2022/09/exportar-tabla-html-excel-con.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/6735086780306901985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/6735086780306901985'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2022/09/exportar-tabla-html-excel-con.html' title='Exportar tabla HTML a Excel con JavaScript (Opción 01)'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-5426534895047246151</id><published>2022-07-14T15:45:00.010-05:00</published><updated>2025-10-09T13:37:56.240-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="avanzado"/><category scheme="http://www.blogger.com/atom/ns#" term="Lightdm"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="XFCE4"/><category scheme="http://www.blogger.com/atom/ns#" term="XRDP"/><title type='text'>Instalar escritorio remoto XRDP en Ubuntu 20.0 minimal </title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://i.ytimg.com/vi/rMJPgj_7vXQ/maxresdefault.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;450&quot; data-original-width=&quot;800&quot; height=&quot;360&quot; src=&quot;https://i.ytimg.com/vi/rMJPgj_7vXQ/maxresdefault.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;// Crear instancia en Oracle Free Tier AMD / INTEL 1 OCPU, 1 GB RAM, 50 GB HD&lt;/p&gt;&lt;p&gt;o&lt;/p&gt;&lt;p&gt;// Crear instancia en Oracle Free Tier AMPERE 2 OCPU, 6 GB RAM, 50 GB HD, pero con Ubuntu 20.0 (no el minimal)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;// Accedemos a la terminal por SSH&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;// Actualizamos el sistema&lt;/p&gt;&lt;p&gt;# sudo apt update &amp;amp;&amp;amp; sudo apt upgrade&lt;/p&gt;&lt;p&gt;# sudo apt install nano&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Fuente: &lt;a href=&quot;https://www.solvetic.com/tutoriales/article/9412-cambiar-hora-y-zona-horaria-ubuntu-21-04-20-04-terminal/&quot;&gt;https://www.solvetic.com/tutoriales/article/9412-cambiar-hora-y-zona-horaria-ubuntu-21-04-20-04-terminal/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;// Cambiar la zona horario de ubuntu&lt;/p&gt;&lt;p&gt;# date&lt;/p&gt;&lt;p&gt;# timedatectl list-timezones&lt;/p&gt;&lt;p&gt;# sudo timedatectl set-timezone America/Lima&lt;/p&gt;&lt;p&gt;# timedatectl&amp;nbsp;&lt;/p&gt;&lt;p&gt;// En caso no este activo el servicio NTP&lt;/p&gt;&lt;p&gt;# sudo timedatectl set-ntp on&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Fuente: &lt;a href=&quot;https://apuntesit.tk/redes/registrarse-en-google-cloud-platform-gcp-y-crear-un-vps-gratis/&quot;&gt;https://apuntesit.tk/redes/registrarse-en-google-cloud-platform-gcp-y-crear-un-vps-gratis/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;// Ubuntu no asigna memoria swap en Oracle, por lo que asignaremos 1 GB&lt;/p&gt;&lt;p&gt;# top&lt;/p&gt;&lt;p&gt;// Creamos el swapfile&lt;/p&gt;&lt;p&gt;# sudo fallocate -l 1G /swapfile&lt;/p&gt;&lt;p&gt;// Formatear el swapfile&lt;/p&gt;&lt;p&gt;# sudo dd if=/dev/zero of=/swapfile bs=1024 count=1048576&lt;/p&gt;&lt;p&gt;// Otorgar permisos al swapfile.&lt;/p&gt;&lt;p&gt;# sudo chmod 600 /swapfile&lt;/p&gt;&lt;p&gt;// Activar el swapfile en el sistema.&lt;/p&gt;&lt;p&gt;# sudo mkswap /swapfile&lt;/p&gt;&lt;p&gt;// Encender el swap&lt;/p&gt;&lt;p&gt;# sudo swapon /swapfile&lt;/p&gt;&lt;p&gt;// Agregar el swapfile para que lo reconozca el sistema en el inicio. Para eso hay que editar el archivo /etc/fstab agregar las siguiente línea.&lt;/p&gt;&lt;p&gt;# sudo nano /etc/fstab&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;add line: /swapfile swap swap defaults 0 0&lt;/p&gt;&lt;p&gt;# cat /etc/fstab&lt;/p&gt;&lt;p&gt;// Montar la partición de swap.&lt;/p&gt;&lt;p&gt;# sudo mount -a&lt;/p&gt;&lt;p&gt;// Verificar que este activo el swap en el sistema&lt;/p&gt;&lt;p&gt;# top&lt;/p&gt;&lt;p&gt;// Si todo esta OK, reiniciar la instanacia.&lt;/p&gt;&lt;p&gt;# sudo reboot&lt;/p&gt;&lt;p&gt;# top&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Fuente: &lt;a href=&quot;https://apuntesit.tk/tutoriales/instala-y-accede-al-escritorio-remoto-de-tu-vps-linux-con-xrdp/&quot;&gt;https://apuntesit.tk/tutoriales/instala-y-accede-al-escritorio-remoto-de-tu-vps-linux-con-xrdp/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;// Instalar Escritorio XFCE4&lt;/p&gt;&lt;p&gt;// Cuando pregunte, utilizar el administrador de ventanas Lightdm por ser mucho mas liviano que GDM3&lt;/p&gt;&lt;p&gt;# sudo apt install -y xfce4 desktop-base xfce4-terminal tango-icon-theme&lt;/p&gt;&lt;p&gt;// Intalar XRDP Escritorio Remoto para Linux. Durante la instalación te guiará para configurar el idioma del teclado&lt;/p&gt;&lt;p&gt;# sudo apt install xrdp&lt;/p&gt;&lt;p&gt;// Verificar la instalación&lt;/p&gt;&lt;p&gt;# sudo systemctl status xrdp&lt;/p&gt;&lt;p&gt;// Agregar el usuario xrdp y agregarlo al grupo ssl-cert para que las sesiones gráficas remotas puedan utilizar los certificados generados por el VPS&lt;/p&gt;&lt;p&gt;# sudo adduser xrdp ssl-cert&lt;/p&gt;&lt;p&gt;// Autorizar el puerto TCP 3389 en el firewall&lt;/p&gt;&lt;p&gt;// Listar las reglas actuales de la tabla INPUT con el comando mostrado.&amp;nbsp;&lt;/p&gt;&lt;p&gt;# sudo iptables -L INPUT&lt;/p&gt;&lt;p&gt;// editar el archivo /etc/iptables/rules.v4 y agregar la regla que se muestra antes de cualquier otra regla que bloquee el acceso de paquetes a cualquier puerto.&lt;/p&gt;&lt;p&gt;# sudo nano /etc/iptables/rules.v4&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;-A INPUT -p tcp -m state --state NEW -m tcp --dport 3389 -j ACCEPT&lt;/p&gt;&lt;p&gt;// Vallidar&lt;/p&gt;&lt;p&gt;# cat /etc/iptables/rules.v4&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/p&gt;&lt;p&gt;// Cargar las nuevas reglas en el servicio IPTABLES&lt;/p&gt;&lt;p&gt;# sudo iptables-restore &amp;lt; /etc/iptables/rules.v4&lt;/p&gt;&lt;p&gt;// recuerde que debe abrir también el puerto 3389 TCP en el firewall de la red virtual del cloud&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;// Agregar usuarios que se puedan conectar a través del escritorio remoto. Se recomeinda no dar acceso al usuario ROOT&lt;/p&gt;&lt;p&gt;# sudo adduser remoto&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;// Configurar XFCE4 en el perfil del usuario&lt;/p&gt;&lt;p&gt;// Se debe crear el archivo .xsession en cada directorio home de usuario con el contenido xfce4-session. Se deben seguir estos comandos.&lt;/p&gt;&lt;p&gt;# sudo nano /home/remoto/.xsession&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;agregar linea:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;xfce4-session&lt;/p&gt;&lt;p&gt;// Verificar&lt;/p&gt;&lt;p&gt;# ls /home/remoto/ -lHa&lt;/p&gt;&lt;p&gt;// Conceder permisos al usuario remoto&lt;/p&gt;&lt;p&gt;# sudo chown -R remoto:remoto /home/remoto/.xsession&lt;/p&gt;&lt;p&gt;# sudo chmod 664 /home/remoto/.xsession&lt;/p&gt;&lt;p&gt;// Verificar&lt;/p&gt;&lt;p&gt;# ls /home/remoto/ -lHa&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;// Configurar XFCE4 en XRDP. El último paso es configurar el servidor XRDP para que inicie el escritorio XFCE4 cuando un usuario inicie sesión en el Escritorio Remoto.&lt;/p&gt;&lt;p&gt;// Se debe editar el archivo /etc/xrdp/startwm.sh comentando la última línea y agregando startxfce4.&lt;/p&gt;&lt;p&gt;# sudo nano /etc/xrdp/startwm.sh&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;Comentar linea:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;# exec /bin/sh /etc/X11/Xsession&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;Agregar linea:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;startxfce4&lt;/p&gt;&lt;p&gt;// Luego de guardar los cambios en el archivo de configuración se debe reiniciar el servicio xrdp.&lt;/p&gt;&lt;p&gt;# sudo systemctl restart xrdp&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;// Instalar Chrome desde el terminal para CPU &lt;b&gt;&lt;u&gt;AMD &lt;/u&gt;&lt;/b&gt;(A partir de octubre 2025 instalar Brave)&lt;/p&gt;&lt;p&gt;# wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb&lt;/p&gt;&lt;p&gt;# sudo dpkg -i google-chrome-stable_current_amd64.deb&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;// Instalar Chrome desde el terminal para CPU &lt;b&gt;&lt;u&gt;ARM &lt;/u&gt;&lt;/b&gt;(A partir de octubre 2025 instalar Brave . Ya no soporta Manifest v2, solo v3)&lt;/p&gt;&lt;p&gt;&lt;strike&gt;#&amp;nbsp;&lt;span color=&quot;var(--black-800)&quot; face=&quot;var(--ff-mono)&quot; style=&quot;font-size: var(--fs-body1); font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;&quot;&gt;sudo apt install chromium-browser&lt;/span&gt;&lt;/strike&gt;&lt;/p&gt;&lt;p&gt;&lt;strike&gt;#&amp;nbsp;sudo apt-mark hold chromium-browser&lt;/strike&gt;&lt;/p&gt;&lt;p&gt;&lt;strike&gt;#&amp;nbsp;apt-mark showhold&lt;/strike&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;// Instalar Brave desde el terminal para CPU &lt;b&gt;&lt;u&gt;ARM &lt;/u&gt;&lt;/b&gt;(A partir de octubre 2025 instalar Brave. Soporta Manifest v2 y V3)&lt;/p&gt;&lt;p&gt;#&amp;nbsp;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;sudo&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt; &lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;apt&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt; &lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;install&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt; &lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;curl&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;#&amp;nbsp;&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;curl&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt; &lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;-&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;fsS&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt; &lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;https&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;:&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;/&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;/&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;dl&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;.brave&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;.com&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;/&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;install&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;.sh&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt; &lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;|&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt; &lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;sh&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031300000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;#&amp;nbsp;&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031600000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;sudo&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031600000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt; &lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031600000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;apt&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031600000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;-&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031600000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;mark&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031600000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt; &lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031600000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;hold&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031600000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt; &lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031600000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;brave&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031600000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;-&lt;/span&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031600000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;browser&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span attribution=&quot;{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;userInfo&amp;quot;:{&amp;quot;name&amp;quot;:&amp;quot;Copilot&amp;quot;,&amp;quot;oid&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;E64C3D4F-5E12-4514-AD9B-893A6FAFD00C&amp;quot;},&amp;quot;timestamp&amp;quot;:1760031600000,&amp;quot;dataSource&amp;quot;:0}&quot;&gt;#&amp;nbsp;apt-mark showhold&lt;/span&gt;&lt;/p&gt;&lt;!--ScriptorStartFragment--&gt;&lt;!--ScriptorStartFragment--&gt;&lt;!--ScriptorStartFragment--&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;// Usar cualquier cliente remoto que soporte el protocolo RDP para conectarse a la instancia&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;Si deja de funcionar el Ctrl+C Ctrl+V&lt;/h3&gt;&lt;p&gt;// Cerrar sessión del usuario remoto, grabando la session y volver a ingresar.&lt;/p&gt;&lt;p&gt;Applitacions &amp;gt; Log Out &amp;gt; Save sessions for future login &amp;gt; Log Out&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;Si deseas eliminar un usuario remoto&lt;/h3&gt;&lt;p&gt;// Cerrar sesión del usurio remoto, si no es posible, ejeuctar el sigueinte paso&lt;/p&gt;&lt;p&gt;Applitacions &amp;gt; Log Out &amp;gt; Save sessions for future login &amp;gt; Log Out&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;// Stop all process by username&amp;nbsp;&lt;/p&gt;&lt;p&gt;sudo killall -u username&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;// Remover un usuario con su directorio de home&lt;/p&gt;&lt;p&gt;sudo deluser --remove-home username&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;// Remover el directorio del usuario&lt;/p&gt;&lt;p&gt;rm /home/username -R&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;Restaurar o corregir sesión xfce&lt;/h3&gt;&lt;p&gt;// Intentar con&lt;/p&gt;&lt;p&gt;// Fuente: https://fioriticarlos.wordpress.com/2012/05/31/restaurar-o-corregir-sesion-xfce/&lt;/p&gt;&lt;p&gt;rm /home/username/.cache/sessions -R&lt;/p&gt;&lt;p&gt;rm /home/username/.config/xfce4 -R&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;Si luego del login se desconecta del escritorio remoto&lt;/h3&gt;&lt;div&gt;// Lista los procesos del usuario remoto&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;sudo ps -u nombre_usuario&lt;/div&gt;&lt;p&gt;sudo ps -ef | grep nombre_usuario&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;// Mata todos los procesos del usuario_remoto&lt;/p&gt;&lt;p&gt;sudo pkill -u usuario_remoto&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;// Reinicia el servicio del escritorio remoto&lt;/p&gt;&lt;p&gt;sudo systemctl restart xrdp&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/5426534895047246151/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2022/07/instalar-escritorio-remoto-xrdp-en.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/5426534895047246151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/5426534895047246151'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2022/07/instalar-escritorio-remoto-xrdp-en.html' title='Instalar escritorio remoto XRDP en Ubuntu 20.0 minimal '/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-4537260424294397801</id><published>2022-05-31T17:22:00.003-05:00</published><updated>2024-06-06T11:42:54.391-05:00</updated><title type='text'>Configurar Let&#39;s Encrypt SSL en Apache 2.4 y Centos 8</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://i.ytimg.com/vi/Ru4hVYwA-rU/maxresdefault.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;450&quot; data-original-width=&quot;800&quot; height=&quot;360&quot; src=&quot;https://i.ytimg.com/vi/Ru4hVYwA-rU/maxresdefault.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Fuente:&amp;nbsp;&lt;a href=&quot;https://letsencrypt.org/&quot;&gt;https://letsencrypt.org/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Fuente:&amp;nbsp;&lt;a href=&quot;https://certbot.eff.org/instructions?ws=apache&amp;amp;os=centosrhel8&quot;&gt;https://certbot.eff.org/instructions?ws=apache&amp;amp;os=centosrhel8&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Fuente:&amp;nbsp;&lt;a href=&quot;https://snapcraft.io/docs/installing-snap-on-centos&quot;&gt;https://snapcraft.io/docs/installing-snap-on-centos&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Fuente:&amp;nbsp;&lt;a href=&quot;https://stackoverflow.com/questions/59549309/unable-to-find-a-virtual-host-listening-on-port-80-please-add-a-virtual-host&quot;&gt;https://stackoverflow.com/questions/59549309/unable-to-find-a-virtual-host-listening-on-port-80-please-add-a-virtual-host&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Fuente:&amp;nbsp;&lt;a href=&quot;https://httpd.apache.org/docs/2.4/vhosts/examples.html&quot;&gt;https://httpd.apache.org/docs/2.4/vhosts/examples.html&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;ol style=&quot;background-color: white; color: #111111; font-family: &amp;quot;Roboto Slab&amp;quot;; font-size: 30px; line-height: 30px; margin: 1em 1.1em 1em 30px;&quot;&gt;&lt;li&gt;SSH into the server&lt;p style=&quot;font-size: 18px; margin-bottom: 1em; margin-left: 0px;&quot;&gt;SSH into the server running your HTTP website as a user with sudo privileges.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;Install snapd&lt;p style=&quot;font-size: 18px; margin-bottom: 1em; margin-left: 0px;&quot;&gt;You&#39;ll need to install snapd and make sure you follow any instructions to enable classic snap support.&lt;/p&gt;&lt;p style=&quot;font-size: 18px; margin-bottom: 1em; margin-left: 0px;&quot;&gt;Follow these instructions on&amp;nbsp;&lt;a href=&quot;https://snapcraft.io/docs/installing-snapd/&quot; style=&quot;color: #40748e; text-decoration-line: none;&quot;&gt;snapcraft&#39;s site to install snapd&lt;/a&gt;.&lt;/p&gt;&lt;div class=&quot;link-button-wrapper&quot; style=&quot;margin-bottom: 1em; text-align: center;&quot;&gt;&lt;a href=&quot;https://snapcraft.io/docs/installing-snapd/&quot; style=&quot;background-image: none; border-radius: 20px; border: 2px solid rgb(236, 28, 35); color: #111111; font-family: Roboto, Helvetica, Arial, sans-serif; font-size: 18px; padding: 5px 15px; text-decoration-line: none;&quot;&gt;install snapd&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;Ensure that your version of snapd is up to date&lt;p style=&quot;font-size: 18px; margin-bottom: 1em; margin-left: 0px;&quot;&gt;Execute the following instructions on the command line on the machine to ensure that you have the latest version of&amp;nbsp;&lt;code style=&quot;background-color: #f3f5f7; border-radius: 0px; border: 1px solid rgb(233, 233, 233); font-family: VeraMono; font-size: 14px; margin: 2em 0px; overflow-wrap: break-word; overflow: auto; padding: 1px 5px;&quot;&gt;snapd&lt;/code&gt;.&lt;/p&gt;&lt;pre style=&quot;background-color: #f3f5f7; border-radius: 0px; border: 1px solid rgb(233, 233, 233); font-family: VeraMono; font-size: 14px; margin-bottom: 2em; margin-top: 2em; overflow-wrap: break-word; overflow: auto; padding: 16px; white-space: pre-line;&quot;&gt;sudo snap install core; sudo snap refresh core&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Remove certbot-auto and any Certbot OS packages&lt;p style=&quot;font-size: 18px; margin-bottom: 1em; margin-left: 0px;&quot;&gt;If you have any Certbot packages installed using an OS package manager like&amp;nbsp;&lt;code style=&quot;background-color: #f3f5f7; border-radius: 0px; border: 1px solid rgb(233, 233, 233); font-family: VeraMono; font-size: 14px; margin: 2em 0px; overflow-wrap: break-word; overflow: auto; padding: 1px 5px;&quot;&gt;apt&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;background-color: #f3f5f7; border-radius: 0px; border: 1px solid rgb(233, 233, 233); font-family: VeraMono; font-size: 14px; margin: 2em 0px; overflow-wrap: break-word; overflow: auto; padding: 1px 5px;&quot;&gt;dnf&lt;/code&gt;, or&amp;nbsp;&lt;code style=&quot;background-color: #f3f5f7; border-radius: 0px; border: 1px solid rgb(233, 233, 233); font-family: VeraMono; font-size: 14px; margin: 2em 0px; overflow-wrap: break-word; overflow: auto; padding: 1px 5px;&quot;&gt;yum&lt;/code&gt;, you should remove them before installing the Certbot snap to ensure that when you run the command&amp;nbsp;&lt;code style=&quot;background-color: #f3f5f7; border-radius: 0px; border: 1px solid rgb(233, 233, 233); font-family: VeraMono; font-size: 14px; margin: 2em 0px; overflow-wrap: break-word; overflow: auto; padding: 1px 5px;&quot;&gt;certbot&lt;/code&gt;&amp;nbsp;the snap is used rather than the installation from your OS package manager. The exact command to do this depends on your OS, but common examples are&amp;nbsp;&lt;code style=&quot;background-color: #f3f5f7; border-radius: 0px; border: 1px solid rgb(233, 233, 233); font-family: VeraMono; font-size: 14px; margin: 2em 0px; overflow-wrap: break-word; overflow: auto; padding: 1px 5px;&quot;&gt;sudo apt-get remove certbot&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;background-color: #f3f5f7; border-radius: 0px; border: 1px solid rgb(233, 233, 233); font-family: VeraMono; font-size: 14px; margin: 2em 0px; overflow-wrap: break-word; overflow: auto; padding: 1px 5px;&quot;&gt;sudo dnf remove certbot&lt;/code&gt;, or&amp;nbsp;&lt;code style=&quot;background-color: #f3f5f7; border-radius: 0px; border: 1px solid rgb(233, 233, 233); font-family: VeraMono; font-size: 14px; margin: 2em 0px; overflow-wrap: break-word; overflow: auto; padding: 1px 5px;&quot;&gt;sudo yum remove certbot&lt;/code&gt;. If you previously used Certbot through the certbot-auto script, you should also remove its installation by following the instructions&amp;nbsp;&lt;a href=&quot;https://certbot.eff.org/docs/uninstall.html&quot; style=&quot;color: #40748e; text-decoration-line: none;&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;Install Certbot&lt;p style=&quot;font-size: 18px; margin-bottom: 1em; margin-left: 0px;&quot;&gt;Run this command on the command line on the machine to install Certbot.&lt;/p&gt;&lt;pre style=&quot;background-color: #f3f5f7; border-radius: 0px; border: 1px solid rgb(233, 233, 233); font-family: VeraMono; font-size: 14px; margin-bottom: 2em; margin-top: 2em; overflow-wrap: break-word; overflow: auto; padding: 16px; white-space: pre-line;&quot;&gt;sudo snap install --classic certbot&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Prepare the Certbot command&lt;p style=&quot;font-size: 18px; margin-bottom: 1em; margin-left: 0px;&quot;&gt;Execute the following instruction on the command line on the machine to ensure that the&amp;nbsp;&lt;code style=&quot;background-color: #f3f5f7; border-radius: 0px; border: 1px solid rgb(233, 233, 233); font-family: VeraMono; font-size: 14px; margin: 2em 0px; overflow-wrap: break-word; overflow: auto; padding: 1px 5px;&quot;&gt;certbot&lt;/code&gt;&amp;nbsp;command can be run.&lt;/p&gt;&lt;pre style=&quot;background-color: #f3f5f7; border-radius: 0px; border: 1px solid rgb(233, 233, 233); font-family: VeraMono; font-size: 14px; margin-bottom: 2em; margin-top: 2em; overflow-wrap: break-word; overflow: auto; padding: 16px; white-space: pre-line;&quot;&gt;sudo ln -s /snap/bin/certbot /usr/bin/certbot&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Choose how you&#39;d like to run Certbot&lt;h3 style=&quot;font-family: Roboto, Helvetica, Arial, sans-serif; font-size: 22px; font-style: italic; margin-left: 0px;&quot;&gt;Either get and install your certificates...&lt;/h3&gt;&lt;p style=&quot;font-size: 18px; margin-bottom: 1em; margin-left: 0px;&quot;&gt;Run this command to get a certificate and have Certbot edit your apache configuration automatically to serve it, turning on HTTPS access in a single step.&lt;/p&gt;&lt;pre style=&quot;background-color: #f3f5f7; border-radius: 0px; border: 1px solid rgb(233, 233, 233); font-family: VeraMono; font-size: 14px; margin-bottom: 2em; margin-top: 2em; overflow-wrap: break-word; overflow: auto; padding: 16px; white-space: pre-line;&quot;&gt;sudo certbot --apache&lt;/pre&gt;&lt;h3 style=&quot;font-family: Roboto, Helvetica, Arial, sans-serif; font-size: 22px; font-style: italic; margin-left: 0px;&quot;&gt;Or, just get a certificate&lt;/h3&gt;&lt;p style=&quot;font-size: 18px; margin-bottom: 1em; margin-left: 0px;&quot;&gt;If you&#39;re feeling more conservative and would like to make the changes to your apache configuration by hand, run this command.&lt;/p&gt;&lt;pre style=&quot;background-color: #f3f5f7; border-radius: 0px; border: 1px solid rgb(233, 233, 233); font-family: VeraMono; font-size: 14px; margin-bottom: 2em; margin-top: 2em; overflow-wrap: break-word; overflow: auto; padding: 16px; white-space: pre-line;&quot;&gt;sudo certbot certonly --apache&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Test automatic renewal&lt;p style=&quot;font-size: 18px; margin-bottom: 1em; margin-left: 0px;&quot;&gt;The Certbot packages on your system come with a cron job or systemd timer that will renew your certificates automatically before they expire. You will not need to run Certbot again, unless you change your configuration. You can test automatic renewal for your certificates by running this command:&lt;/p&gt;&lt;pre style=&quot;background-color: #f3f5f7; border-radius: 0px; border: 1px solid rgb(233, 233, 233); font-family: VeraMono; font-size: 14px; margin-bottom: 2em; margin-top: 2em; overflow-wrap: break-word; overflow: auto; padding: 16px; white-space: pre-line;&quot;&gt;sudo certbot renew --dry-run&lt;/pre&gt;&lt;p style=&quot;font-size: 18px; margin-bottom: 1em; margin-left: 0px;&quot;&gt;The command to renew certbot is installed in one of the following locations:&lt;/p&gt;&lt;ul style=&quot;font-family: Roboto, Helvetica, Arial, sans-serif; font-size: 18px; list-style-type: square; margin: 1em 1em 1em 1rem; padding: unset;&quot;&gt;&lt;li&gt;&lt;code style=&quot;background-color: #f3f5f7; border-radius: 0px; border: 1px solid rgb(233, 233, 233); font-family: VeraMono; font-size: 14px; margin: 2em 0px; overflow-wrap: break-word; overflow: auto; padding: 1px 5px;&quot;&gt;/etc/crontab/&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code style=&quot;background-color: #f3f5f7; border-radius: 0px; border: 1px solid rgb(233, 233, 233); font-family: VeraMono; font-size: 14px; margin: 2em 0px; overflow-wrap: break-word; overflow: auto; padding: 1px 5px;&quot;&gt;/etc/cron.*/*&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code style=&quot;background-color: #f3f5f7; border-radius: 0px; border: 1px solid rgb(233, 233, 233); font-family: VeraMono; font-size: 14px; margin: 2em 0px; overflow-wrap: break-word; overflow: auto; padding: 1px 5px;&quot;&gt;systemctl list-timers&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Confirm that Certbot worked&lt;p style=&quot;font-size: 18px; margin-bottom: 1em; margin-left: 0px;&quot;&gt;To confirm that your site is set up properly, visit&amp;nbsp;&lt;code style=&quot;background-color: #f3f5f7; border-radius: 0px; border: 1px solid rgb(233, 233, 233); font-family: VeraMono; font-size: 14px; margin: 2em 0px; overflow-wrap: break-word; overflow: auto; padding: 1px 5px;&quot;&gt;https://yourwebsite.com/&lt;/code&gt;&amp;nbsp;in your browser and look for the lock icon in the URL bar.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Para renovar un certificado SSL utilizando Certbot, puedes simplemente ejecutar el siguiente comando:&lt;/p&gt;&lt;p&gt;# sudo certbot renew&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;HELP.&lt;/p&gt;&lt;li&gt;&quot;sudo&quot;: Es un comando de Unix/Linux que se utiliza para ejecutar otros comandos con privilegios de administrador.&lt;/li&gt;&lt;li&gt;&quot;certbot&quot;: Es una herramienta de gestión de certificados SSL, comúnmente utilizada con el servidor web Apache o Nginx, que simplifica el proceso de adquisición, instalación y renovación de certificados SSL/TLS gratuitos de Let&#39;s Encrypt.&lt;/li&gt;&lt;li&gt;&quot;renew&quot;: Es un subcomando de Certbot que se utiliza para renovar los certificados SSL existentes antes de que expiren.&lt;/li&gt;&lt;li&gt;&quot;--dry-run&quot;: Es una opción que se puede agregar al comando renew para simular el proceso de renovación sin realizar ningún cambio real en los certificados ni en la configuración del servidor. Esto es útil para probar el proceso de renovación sin afectar el funcionamiento del sitio web en producción.&lt;/li&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/4537260424294397801/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2022/05/configurar-lets-encrypt-ssl-en-apache.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/4537260424294397801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/4537260424294397801'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2022/05/configurar-lets-encrypt-ssl-en-apache.html' title='Configurar Let&#39;s Encrypt SSL en Apache 2.4 y Centos 8'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-1302508704553788819</id><published>2022-02-10T11:05:00.005-05:00</published><updated>2024-06-14T17:10:46.731-05:00</updated><title type='text'>Cómo configurar depurador de código PHP en Visual Code</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://lmichelin.fr/content/images/2019/07/vscode-php-xdebug-extension-1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;452&quot; data-original-width=&quot;800&quot; height=&quot;362&quot; src=&quot;https://lmichelin.fr/content/images/2019/07/vscode-php-xdebug-extension-1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Recursos:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://xdebug.org/wizard&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://xdebug.org/wizard&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=RXBDt10COsI&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://www.youtube.com/watch?v=RXBDt10COsI&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Rubik, sans-serif&quot; style=&quot;color: #1c263b;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;a href=&quot;https://code.visualstudio.com/download&quot;&gt;https://code.visualstudio.com/download&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://code.visualstudio.com/docs/languages/php&quot;&gt;https://code.visualstudio.com/docs/languages/php&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=xdebug.php-debug&quot;&gt;https://marketplace.visualstudio.com/items?itemName=xdebug.php-debug&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Configuración:&lt;/p&gt;&lt;p&gt;1. Instalar PHP Debug en Visual Code&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=xdebug.php-debug&quot;&gt;https://marketplace.visualstudio.com/items?itemName=xdebug.php-debug&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. Instalar XAMPP&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://www.apachefriends.org/es/download.html&quot;&gt;https://www.apachefriends.org/es/download.html&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. Seguir las instrucciones de xdebug para descargar el driver.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://xdebug.org/wizard&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://xdebug.org/wizard&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Para PHP 7.4.25:&amp;nbsp;&lt;a href=&quot;https://xdebug.org/files/php_xdebug-3.1.6-7.4-vc15-x86_64.dll&quot;&gt;https://xdebug.org/files/php_xdebug-3.1.6-7.4-vc15-x86_64.dll&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4. Descargar el driver y colocar en la carpeta&amp;nbsp;C:\xampp\php\ext con el nombre &quot;php_xdebug.dll&quot;. Si hay un archivo con el mismo nombre, borrar o renombrar.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5. Configurar el archivo php.ini para Xdebug v3.x.x:&lt;/p&gt;&lt;p&gt;[xdebug]&lt;/p&gt;&lt;p&gt;xdebug.mode = debug&lt;/p&gt;&lt;p&gt;xdebug.start_with_request = yes&lt;/p&gt;&lt;p&gt;zend_extension = xdebug&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;6. Reiniciar el servicio de Apache.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;7. Instalar la extensión &quot;PHP Debug&quot; en Visual Estudio Code&lt;/p&gt;&lt;p&gt;8. Configurar la ruta de PHP que usará VSC.&amp;nbsp;&lt;/p&gt;&lt;p&gt;File &amp;gt; Preferences &amp;gt; Settings : &amp;lt;ícono superior derecho&amp;gt; Open Settings (JSON)&lt;/p&gt;&lt;p&gt;Agregar un alinea con:&lt;/p&gt;&lt;div style=&quot;background-color: white; color: #3b3b3b; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;span style=&quot;color: #0451a5;&quot;&gt;&quot;php.validate.executablePath&quot;&lt;/span&gt;: &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;C:&lt;/span&gt;&lt;span style=&quot;color: #ee0000;&quot;&gt;\\&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;xampp&lt;/span&gt;&lt;span style=&quot;color: #ee0000;&quot;&gt;\\&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;php&lt;/span&gt;&lt;span style=&quot;color: #ee0000;&quot;&gt;\\&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;php.exe&quot;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;9. Clic en &quot;Run and Debug&quot;.&amp;nbsp;En la barra lateral izquierda de la pestaña de &quot;Debug&quot;, busca y haz clic en el enlace &quot;create a launch.json file&quot;.&lt;/p&gt;&lt;p&gt;Si tienes una sola versión de PHP instalada en tu PC, configurar la única versión de PHP en las variables de entorno del sistema, específicamente en la variable PATH y listo.&lt;/p&gt;&lt;p&gt;Si tienes más de una versión de PHP instalada en la PC, edita el archivo launch.json y agrega la siguiente línea en cada uno de los entornos.&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;hljs-attr&quot;&gt;&quot;runtimeExecutable&quot;&lt;/span&gt;&lt;span class=&quot;hljs-punctuation&quot;&gt;:&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #a31515; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;&quot;C:&lt;/span&gt;&lt;span style=&quot;color: #ee0000; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;\\&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;xampp&lt;/span&gt;&lt;span style=&quot;color: #ee0000; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;\\&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;php&lt;/span&gt;&lt;span style=&quot;color: #ee0000; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;\\&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;php.exe&quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Ejemplo:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;hljs-punctuation&quot;&gt;{&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;    &lt;span class=&quot;hljs-attr&quot;&gt;&quot;name&quot;&lt;/span&gt;&lt;span class=&quot;hljs-punctuation&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;hljs-string&quot;&gt;&quot;Listen for XDebug&quot;&lt;/span&gt;&lt;span class=&quot;hljs-punctuation&quot;&gt;,&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;    &lt;span class=&quot;hljs-attr&quot;&gt;&quot;type&quot;&lt;/span&gt;&lt;span class=&quot;hljs-punctuation&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;hljs-string&quot;&gt;&quot;php&quot;&lt;/span&gt;&lt;span class=&quot;hljs-punctuation&quot;&gt;,&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;    &lt;span class=&quot;hljs-attr&quot;&gt;&quot;request&quot;&lt;/span&gt;&lt;span class=&quot;hljs-punctuation&quot;&gt;:&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;hljs-string&quot;&gt;&quot;launch&quot;&lt;/span&gt;&lt;span class=&quot;hljs-punctuation&quot;&gt;,&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;    &lt;span class=&quot;hljs-attr&quot;&gt;&quot;port&quot;&lt;/span&gt;&lt;span class=&quot;hljs-punctuation&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;9000&lt;/span&gt;&lt;span class=&quot;hljs-punctuation&quot;&gt;,&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;    &lt;span class=&quot;hljs-attr&quot;&gt;&quot;runtimeExecutable&quot;&lt;/span&gt;&lt;span class=&quot;hljs-punctuation&quot;&gt;:&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #a31515; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;&quot;C:&lt;/span&gt;&lt;span style=&quot;color: #ee0000; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;\\&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;xampp&lt;/span&gt;&lt;span style=&quot;color: #ee0000; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;\\&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;php&lt;/span&gt;&lt;span style=&quot;color: #ee0000; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;\\&lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;php.exe&quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
&lt;span class=&quot;hljs-punctuation&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;10. Guarda el archivo &quot;launch.json&quot;.&lt;/p&gt;&lt;p&gt;7. Valida el funcionamiento&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/1302508704553788819/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2022/02/como-configurar-depurador-de-codigo-php.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/1302508704553788819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/1302508704553788819'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2022/02/como-configurar-depurador-de-codigo-php.html' title='Cómo configurar depurador de código PHP en Visual Code'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-4067631982764234358</id><published>2022-02-10T10:41:00.002-05:00</published><updated>2022-09-07T17:37:56.900-05:00</updated><title type='text'>XAMPP 7.4.25 Configuración de VHOST en ambiente de desarrollo</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://i.ytimg.com/vi/0EitkTU1EKE/maxresdefault.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;450&quot; data-original-width=&quot;800&quot; height=&quot;360&quot; src=&quot;https://i.ytimg.com/vi/0EitkTU1EKE/maxresdefault.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;

Recursos:&lt;div&gt;&lt;a href=&quot;http://localhost/dashboard/docs/configure-vhosts.html&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://localhost/dashboard/docs/configure-vhosts.html&lt;/a&gt;
&lt;a href=&quot;https://stackoverflow.com/questions/3660066/hosting-multiple-local-sites-with-xampp&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://stackoverflow.com/questions/3660066/hosting-multiple-local-sites-with-xampp&lt;/a&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Configuración:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. Agregar las siguientes líneas en el archivo C:\xampp\apache\conf\extra\httpd-vhosts.conf&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;lt;VirtualHost *:80&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; #ServerAdmin webmaster@dummy-host2.example.com&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; DocumentRoot &quot;C:/xampp/htdocs&quot;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; ServerName localhost&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; ErrorLog &quot;logs/localhost&quot;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; CustomLog &quot;logs/localhost.log&quot; common&lt;/div&gt;&lt;div&gt;&amp;lt;/VirtualHost&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;VirtualHost *:80&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; #ServerAdmin webmaster@dummy-host2.example.com&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; DocumentRoot &quot;C:/07_Workspace_php&quot;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; ServerName workphp&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;lt;Directory /&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Options FollowSymLinks&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AllowOverride None&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/Directory&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Directory C:/07_Workspace_php&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Options Indexes FollowSymLinks&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # this prevent.htaccess reading, remove if you want .htaccess&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AllowOverride None&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # allow web access&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AllowOverride none&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;Require all granted&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/Directory&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; ErrorLog &quot;logs/workphp&quot;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; CustomLog &quot;logs/workphp.log&quot; common&lt;/div&gt;&lt;div&gt;&amp;lt;/VirtualHost&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2. Agregar la siguiente línea en el archivo&amp;nbsp;C:\Windows\System32\drivers\etc\hosts&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;127.0.0.1 workphp&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3. Reiniciar el servicio de Apache.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/4067631982764234358/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2022/02/xampp-7425-configuracion-de-vhost-en.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/4067631982764234358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/4067631982764234358'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2022/02/xampp-7425-configuracion-de-vhost-en.html' title='XAMPP 7.4.25 Configuración de VHOST en ambiente de desarrollo'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-632430844910993459</id><published>2021-10-28T14:06:00.006-05:00</published><updated>2023-10-13T22:55:46.815-05:00</updated><title type='text'>Oracle Cloud: Acceso remoto MariaDB en CentOS 7 Linux Bitnami</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.wpsysadmin.com/wp-content/uploads/2021/07/mariadb.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;480&quot; data-original-width=&quot;800&quot; height=&quot;384&quot; src=&quot;https://www.wpsysadmin.com/wp-content/uploads/2021/07/mariadb.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;gmail_default&quot; style=&quot;background-color: white; color: #222222; font-family: verdana, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;gmail_default&quot; style=&quot;background-color: white; color: #222222; font-family: verdana, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;gmail_default&quot; style=&quot;background-color: white; color: #222222; font-family: verdana, sans-serif; font-size: small;&quot;&gt;# cd /opt/wordpress-5.7.2-0/&lt;br /&gt;mariadb/bin&lt;br /&gt;# ./mysql -u root -p&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;gmail_default&quot; style=&quot;background-color: white; color: #222222; font-family: verdana, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;gmail_default&quot; style=&quot;background-color: white; color: #222222; font-family: verdana, sans-serif; font-size: small;&quot;&gt;# CREATE USER &#39;xxx&#39;@&#39;%&#39; IDENTIFIED BY &#39;clave&#39;;&lt;/div&gt;&lt;div class=&quot;gmail_default&quot; style=&quot;background-color: white; color: #222222; font-family: verdana, sans-serif; font-size: small;&quot;&gt;# GRANT ALL PRIVILEGES ON *.* TO &#39;xxx&#39;@&#39;%&#39;;&lt;br /&gt;# FLUSH PRIVILEGES;&lt;/div&gt;&lt;div class=&quot;gmail_default&quot; style=&quot;background-color: white; color: #222222; font-family: verdana, sans-serif; font-size: small;&quot;&gt;# exit;&lt;br /&gt;&lt;br /&gt;# firewall-cmd --permanent --zone=public --add-port=3306/tcp&lt;br /&gt;# firewall-cmd --reload&lt;br /&gt;&lt;br /&gt;// Additionally, you may change the my.cnf file to intruct MySQL (version 8) not to limit to local connections:&lt;br /&gt;// Commnet line #bind_address=127.0.0.1&lt;/div&gt;&lt;div class=&quot;gmail_default&quot; style=&quot;background-color: white; color: #222222; font-family: verdana, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;gmail_default&quot; style=&quot;background-color: white; color: #222222; font-family: verdana, sans-serif; font-size: small;&quot;&gt;# cd&amp;nbsp;/opt/wordpress-5.7.2-0/&lt;wbr&gt;&lt;/wbr&gt;mariadb/&lt;/div&gt;&lt;div class=&quot;gmail_default&quot; style=&quot;background-color: white; color: #222222; font-family: verdana, sans-serif; font-size: small;&quot;&gt;# vi my.cnf&lt;/div&gt;&lt;div class=&quot;gmail_default&quot; style=&quot;background-color: white; color: #222222; font-family: verdana, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;gmail_default&quot; style=&quot;background-color: white; color: #222222; font-family: verdana, sans-serif; font-size: small;&quot;&gt;// Reiniciar el servicio&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;gmail_default&quot; style=&quot;background-color: white; color: #222222; font-family: verdana, sans-serif; font-size: small;&quot;&gt;# cd /opt/wordpress-5.7.2-0&lt;br /&gt;# ./ctlscript.sh restart mariadb&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;gmail_default&quot; style=&quot;background-color: white; color: #222222; font-family: verdana, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;gmail_default&quot; style=&quot;background-color: white; color: #222222; font-family: verdana, sans-serif; font-size: small;&quot;&gt;// Configurar el firewall de Oracle Cloud para permitir el puerto 3306&lt;/div&gt;&lt;div class=&quot;gmail_default&quot; style=&quot;background-color: white; color: #222222; font-family: verdana, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;gmail_default&quot; style=&quot;background-color: white; color: #222222; font-family: verdana, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/632430844910993459/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2021/10/oracle-cloud-acceso-remoto-mariadb-en.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/632430844910993459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/632430844910993459'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2021/10/oracle-cloud-acceso-remoto-mariadb-en.html' title='Oracle Cloud: Acceso remoto MariaDB en CentOS 7 Linux Bitnami'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-5899228197861909408</id><published>2021-06-23T21:38:00.006-05:00</published><updated>2022-09-07T17:43:52.936-05:00</updated><title type='text'>Oracle Cloud: Instalar WordPress 4.5 en CentOS 7 Linux con Docker</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.tremplin-numerique.org/wp-content/uploads/2022/03/Comment-utiliser-Docker-pour-empaqueter-des-applications-CLI-%E2%80%93-CloudSavvy-4830334..png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;450&quot; data-original-width=&quot;800&quot; height=&quot;360&quot; src=&quot;https://www.tremplin-numerique.org/wp-content/uploads/2022/03/Comment-utiliser-Docker-pour-empaqueter-des-applications-CLI-%E2%80%93-CloudSavvy-4830334..png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Fuentes:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=9whAlZIfEKE&quot;&gt;https://www.youtube.com/watch?v=9whAlZIfEKE&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://cloud.oracle.com/?region=sa-santiago-1&quot;&gt;https://cloud.oracle.com/?region=sa-santiago-1&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://youtu.be/091OELp-BKg&quot;&gt;https://youtu.be/091OELp-BKg&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Versiones del contenedor de Docker tutum/wordpress:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;WordPress 4.5-beta3-36955&lt;/li&gt;&lt;li&gt;PHP 5.5.9-1ubuntu4.14&lt;/li&gt;&lt;li&gt;Apache/2.4.7 (Ubuntu)&lt;/li&gt;&lt;li&gt;MySQL 5.5.47-0ubuntu0.14.04.1&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Paso 1: Verificar recursos&lt;/p&gt;&lt;div style=&quot;text-align: left;&quot;&gt;# sudo -i&lt;br /&gt;# cat /etc/centos-release&lt;br /&gt;# top&lt;br /&gt;# free -m&lt;br /&gt;# df&lt;br /&gt;# yum update&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Paso 2: Habilitar puertos en el firewall&lt;/p&gt;&lt;div style=&quot;text-align: left;&quot;&gt;# firewall-cmd --permanent --zone=public --add-port=80/tcp&lt;br /&gt;# firewall-cmd --permanent --zone=public --add-port=443/tcp&lt;br /&gt;# firewall-cmd --reload&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Paso 3: Instalar contenedor&lt;/p&gt;&lt;div style=&quot;text-align: left;&quot;&gt;# sudo systemctl enable docker.service&amp;nbsp; &amp;nbsp; # Enable the service&lt;br /&gt;# sudo systemctl start docker&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# Start the Docker daemon.&lt;br /&gt;# sudo docker images&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# Show local images&lt;br /&gt;# sudo docker run -d -p 80:80 tutum/wordpress&amp;nbsp; &amp;nbsp;# Run container&lt;br /&gt;# sudo docker ps&amp;nbsp; # Show container run&lt;br /&gt;# sudo docker stop &amp;lt;id container&amp;gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # Stop container&lt;br /&gt;# sudo docker ps -a&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # Show container list&lt;br /&gt;# sudo docker export &amp;lt;id container&amp;gt;&amp;nbsp; &amp;gt; wp.tar&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # Export container&lt;br /&gt;# cat wp.tar | sudo docker import - tutum/wordpress wp.tar&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # Import container&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div&gt;Desinstalar:&lt;/div&gt;&lt;div&gt;# docker ps&lt;/div&gt;&lt;div&gt;# docker stop &amp;lt;id container&amp;gt;&lt;/div&gt;&lt;div&gt;# docker&amp;nbsp;container rm &amp;lt;id container&amp;gt;&lt;/div&gt;&lt;div&gt;# docker images&lt;/div&gt;&lt;div&gt;# docker image rm &amp;lt;id image&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/5899228197861909408/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2021/06/oracle-cloud-instalar-wordpress-45-en.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/5899228197861909408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/5899228197861909408'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2021/06/oracle-cloud-instalar-wordpress-45-en.html' title='Oracle Cloud: Instalar WordPress 4.5 en CentOS 7 Linux con Docker'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-6392224132393787416</id><published>2021-06-23T21:02:00.003-05:00</published><updated>2022-09-07T17:44:35.768-05:00</updated><title type='text'>Oracle Cloud: Instalar WordPress 5.7 en CentOS 7 Linux</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://clickcg.co/files/oci-oracle.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;508&quot; data-original-width=&quot;800&quot; height=&quot;406&quot; src=&quot;https://clickcg.co/files/oci-oracle.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Fuentes:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;a href=&quot;https://bitnami.com/stack/wordpress/installer&quot;&gt;https://bitnami.com/stack/wordpress/installer&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=4X-3eNtKrC4&quot;&gt;https://www.youtube.com/watch?v=4X-3eNtKrC4&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://cloud.oracle.com/?region=sa-santiago-1&quot;&gt;https://cloud.oracle.com/?region=sa-santiago-1&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://youtu.be/ibYaoHqrpOg&quot;&gt;https://youtu.be/ibYaoHqrpOg&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Versiones usadas:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;CentOS Linux release 7.9.2009 (Core)&lt;/li&gt;&lt;li&gt;WordPress 5.7.2&lt;/li&gt;&lt;li&gt;PHP 7.4.19&amp;nbsp;&lt;/li&gt;&lt;li&gt;MySQL 10.4.19-MariaDB&lt;/li&gt;&lt;li&gt;Apache/2.4.47 (Unix)&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Paso 1: Verificar recursos&lt;/div&gt;&lt;div&gt;&lt;div&gt;# sudo -i&lt;/div&gt;&lt;div&gt;# cat /etc/centos-release&lt;/div&gt;&lt;div&gt;# top&lt;/div&gt;&lt;div&gt;# free -m&lt;/div&gt;&lt;div&gt;# df&lt;/div&gt;&lt;div&gt;# yum update&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Paso 2: Habilitar puertos en el firewall&lt;/div&gt;&lt;div&gt;# firewall-cmd --permanent --zone=public --add-port=80/tcp&lt;/div&gt;&lt;div&gt;# firewall-cmd --permanent --zone=public --add-port=443/tcp&lt;/div&gt;&lt;div&gt;# firewall-cmd --reload&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Paso 3: Instalar dependencias&lt;/div&gt;&lt;div&gt;# yum install perl perl-Data-Dumper&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Paso 4: Instalar Bitnami-Wordpress&lt;/div&gt;&lt;div&gt;# wget https://bitnami.com/redirect/to/1492359/bitnami-wordpress-5.7.2-0-linux-x64-installer.run&lt;/div&gt;&lt;div&gt;# chmod 755 bitnami-wordpress-5.7.2-0-linux-x64-installer.run&lt;/div&gt;&lt;div&gt;# ./bitnami-wordpress-5.7.2-0-linux-x64-installer.run&lt;/div&gt;&lt;div&gt;. Check access page: http://&amp;lt;ip&amp;gt;/&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Paso 5: Remover la página de inicio y banner de Bitnami&lt;/div&gt;&lt;div&gt;# /opt/wordpress-5.7.2/apps/wordpress/bnconfig --appurl /&lt;/div&gt;&lt;div&gt;# /opt/wordpress-5.7.2/apps/wordpress/bnconfig --disable_banner 1&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Paso 6: Configurando SSL&lt;/div&gt;&lt;div&gt;# /opt/wordpress-5.7.2/bncert-tool&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Desinstalar:&lt;/div&gt;&lt;div&gt;# /opt/wordpress-5.7.2/&lt;/div&gt;&lt;div&gt;# ./uninstall&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/6392224132393787416/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2021/06/oracle-cloud-instalar-wordpress-57-en.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/6392224132393787416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/6392224132393787416'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2021/06/oracle-cloud-instalar-wordpress-57-en.html' title='Oracle Cloud: Instalar WordPress 5.7 en CentOS 7 Linux'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-1727558030262067743</id><published>2021-06-04T12:33:00.002-05:00</published><updated>2021-06-04T12:33:34.357-05:00</updated><title type='text'>Oracle Cloud: Instalar WordPress 5.6 en RHEL 8 / CentOS 8 Linux </title><content type='html'>Fuentes:&amp;nbsp;&lt;div&gt;https://linuxconfig.org/install-wordpress-on-redhat-8&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Paso 1: Verificar recursos&lt;/div&gt;&lt;div&gt;# sudo -i&lt;/div&gt;&lt;div&gt;&lt;div&gt;# cat /etc/centos-release&lt;/div&gt;&lt;div&gt;# top&lt;/div&gt;&lt;div&gt;# free&lt;/div&gt;&lt;div&gt;# df&lt;/div&gt;&lt;/div&gt;&lt;div&gt;# sudo yum update&lt;/div&gt;&lt;div&gt;&lt;div&gt;# sudo yum install ncurses-compat-libs&lt;/div&gt;&lt;div&gt;# sudo yum install perl perl-Data-Dumper&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Paso 2: Instalar Apache&lt;/div&gt;&lt;div&gt;&lt;div&gt;# yum install httpd -y&lt;/div&gt;&lt;div&gt;# service httpd start&lt;/div&gt;&lt;div&gt;# service httpd status&lt;/div&gt;&lt;div&gt;# firewall-cmd --permanent --zone=public --add-port=80/tcp&lt;/div&gt;&lt;div&gt;# firewall-cmd --permanent --zone=public --add-port=443/tcp&lt;/div&gt;&lt;div&gt;# firewall-cmd --reload&lt;/div&gt;&lt;div&gt;# systemctl enable httpd.service&lt;/div&gt;&lt;/div&gt;&lt;div&gt;*&amp;nbsp;Check access to page: http://&amp;lt;ip/domain&amp;gt;/&lt;/div&gt;&lt;div&gt;* Si no accede deshabilitamos el firewall (Caso particular de Oracle Cloud)&lt;/div&gt;&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;# service firewalld stop&lt;/div&gt;&lt;div&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;# systemctl disable firewalld&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Paso 3: Instalar Base de Datos MariaDB&lt;/div&gt;&lt;div&gt;&lt;div&gt;# yum install mariadb-server mariadb -y&lt;/div&gt;&lt;div&gt;# service mariadb status&lt;/div&gt;&lt;div&gt;# service mariadb start&lt;/div&gt;&lt;div&gt;# mysql_secure_installation&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;# systemctl enable mariadb.service&lt;/div&gt;&lt;div&gt;# mysql -u root -p&lt;/div&gt;&lt;div&gt;mysql&amp;gt; show databases;&lt;/div&gt;&lt;div&gt;mysql&amp;gt; CREATE DATABASE wordpress;&lt;/div&gt;&lt;div&gt;mysql&amp;gt; CREATE USER `admin`@`localhost` IDENTIFIED BY &#39;pass&#39;;&lt;/div&gt;&lt;div&gt;mysql&amp;gt; GRANT ALL ON wordpress.* TO `admin`@`localhost`;&lt;/div&gt;&lt;div&gt;mysql&amp;gt; FLUSH PRIVILEGES;&lt;/div&gt;&lt;div&gt;mysql&amp;gt; exit&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Paso 4: Instalar PHP&lt;/div&gt;&lt;div&gt;&lt;div&gt;# dnf install dnf-utils http://rpms.remirepo.net/enterprise/remi-release-8.rpm&lt;/div&gt;&lt;div&gt;# dnf module list php&lt;/div&gt;&lt;div&gt;# dnf module reset php&lt;/div&gt;&lt;div&gt;# dnf module enable php:remi-7.4&lt;/div&gt;&lt;div&gt;# dnf install php php-opcache php-gd php-curl php-mysqlnd&lt;/div&gt;&lt;div&gt;# dnf yum -y install php php-cli php-fpm php-mysqlnd php-zip php-devel php-gd php-mbstring php-curl php-xml php-pear php-bcmath php-json&lt;/div&gt;&lt;div&gt;# systemctl enable --now php-fpm&lt;/div&gt;&lt;div&gt;# systemctl restart httpd&lt;/div&gt;&lt;div&gt;# php -v&lt;/div&gt;&lt;div&gt;# cd /var/wwww/html/&lt;/div&gt;&lt;div&gt;# echo &quot;&amp;lt;?php phpinfo(); ?&amp;gt;&quot; &amp;gt; info.php&lt;/div&gt;&lt;div&gt;* Check access to page http://&amp;lt;ip/domain&amp;gt;/info.php&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Paso 5: Instalar Wordpress&lt;/div&gt;&lt;div&gt;# cd /var/wwww/html/&lt;/div&gt;&lt;div&gt;&lt;div&gt;# wget https://pe.wordpress.org/latest.zip&lt;/div&gt;&lt;div&gt;# ls -l&lt;/div&gt;&lt;div&gt;# upzip lastest.zip&lt;/div&gt;&lt;div&gt;# ls -l&lt;/div&gt;&lt;div&gt;# chown apache.apache /var/www/html/wordpress -R&lt;/div&gt;&lt;div&gt;# chcon -t httpd_sys_rw_content_t wordpress&amp;nbsp; /var/www/html/wordpress -R&lt;/div&gt;&lt;/div&gt;&lt;div&gt;* Configure SELinux and Start Services&lt;/div&gt;&lt;div&gt;&lt;div&gt;# sestatus&lt;/div&gt;&lt;div&gt;# setsebool -P httpd_can_network_connect 1&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;# ls -l&lt;/div&gt;&lt;div&gt;# cd wordpress&lt;/div&gt;&lt;/div&gt;&lt;div&gt;# ls -l&amp;nbsp;&lt;/div&gt;&lt;div&gt;* Acceder por web: http://&amp;lt;ip/domain&amp;gt;/wordpress/&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnPRLotOcaT7I-YHXWM_GHj-XjYGh1QxshNH5QifB2R3pBvG5x9FR-fjkFz7Nlmb4FsfqnDCTbnQZ8IAjR99tVE11mRSYgto21YO8sQ3EsHb-be0ttDgnvbJrJVOQ4HiXPy2iYA8FHzw48/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;916&quot; data-original-width=&quot;1312&quot; height=&quot;223&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnPRLotOcaT7I-YHXWM_GHj-XjYGh1QxshNH5QifB2R3pBvG5x9FR-fjkFz7Nlmb4FsfqnDCTbnQZ8IAjR99tVE11mRSYgto21YO8sQ3EsHb-be0ttDgnvbJrJVOQ4HiXPy2iYA8FHzw48/&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGQufzBF0DIfRQo3uT3r-8av6L2jAap6kCiF21xKm_xGQWek7JuCmnDGraDk6PAsW0S1o_Ebc1I_7x7GeazLUEvdHB_ydkS_E0q5sf16PiYLKOTXzI_APnBfsfZgX-XXA2BCgBCblQC-Pf/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;916&quot; data-original-width=&quot;1312&quot; height=&quot;223&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGQufzBF0DIfRQo3uT3r-8av6L2jAap6kCiF21xKm_xGQWek7JuCmnDGraDk6PAsW0S1o_Ebc1I_7x7GeazLUEvdHB_ydkS_E0q5sf16PiYLKOTXzI_APnBfsfZgX-XXA2BCgBCblQC-Pf/&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNRJDylWMtO6uytCLuhge8ASoUY529RaVSsEkJVa5SNPTF9LgnOJeTc_5XT-g33tm7h3EHLJBov89-UMhRGarTTB86DEp-XHTj-Ubks5jNcItGnrKdvx9zRgV5lDF77VHxAy-Pe3r4az4z/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;916&quot; data-original-width=&quot;1312&quot; height=&quot;223&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNRJDylWMtO6uytCLuhge8ASoUY529RaVSsEkJVa5SNPTF9LgnOJeTc_5XT-g33tm7h3EHLJBov89-UMhRGarTTB86DEp-XHTj-Ubks5jNcItGnrKdvx9zRgV5lDF77VHxAy-Pe3r4az4z/&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfLOefjrKbiqUPpAFe_pb0wuMrItiOr71-kzO0irJdP_d0FmR9EMqRdh9rThrgvHBrqTEGuMAmh4wk3bE4rvPK2VK3hXbWolmuhDnfTsL1TVZ9-Q_yZwZGAYydxJH8Tl9Dgq0Wa803hoIh/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;916&quot; data-original-width=&quot;1312&quot; height=&quot;223&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfLOefjrKbiqUPpAFe_pb0wuMrItiOr71-kzO0irJdP_d0FmR9EMqRdh9rThrgvHBrqTEGuMAmh4wk3bE4rvPK2VK3hXbWolmuhDnfTsL1TVZ9-Q_yZwZGAYydxJH8Tl9Dgq0Wa803hoIh/&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Paso 6: Disfruta el proceso :)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/1727558030262067743/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2021/06/oracle-cloud-instalar-wordpress-56-en.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/1727558030262067743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/1727558030262067743'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2021/06/oracle-cloud-instalar-wordpress-56-en.html' title='Oracle Cloud: Instalar WordPress 5.6 en RHEL 8 / CentOS 8 Linux '/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnPRLotOcaT7I-YHXWM_GHj-XjYGh1QxshNH5QifB2R3pBvG5x9FR-fjkFz7Nlmb4FsfqnDCTbnQZ8IAjR99tVE11mRSYgto21YO8sQ3EsHb-be0ttDgnvbJrJVOQ4HiXPy2iYA8FHzw48/s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-5737037444284253226</id><published>2019-08-13T11:18:00.002-05:00</published><updated>2022-09-07T17:46:27.007-05:00</updated><title type='text'>Balanceo de carga con GlassFish</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://static.wixstatic.com/media/beecb2_b568a514233f4512bcfd956c277efba2~mv2.png/v1/fit/w_1000%2Ch_1000%2Cal_c/file.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;564&quot; data-original-width=&quot;800&quot; height=&quot;451&quot; src=&quot;https://static.wixstatic.com/media/beecb2_b568a514233f4512bcfd956c277efba2~mv2.png/v1/fit/w_1000%2Ch_1000%2Cal_c/file.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Fuente:&amp;nbsp;&lt;a href=&quot;https://javiergarciaescobedo.es/despliegue-de-aplicaciones-web/86-servidores-de-aplicaciones/318-balanceo-de-carga-con-glassfish&quot;&gt;https://javiergarciaescobedo.es/despliegue-de-aplicaciones-web/86-servidores-de-aplicaciones/318-balanceo-de-carga-con-glassfish&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/5737037444284253226/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2019/08/balanceo-de-carga-con-glassfish.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/5737037444284253226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/5737037444284253226'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2019/08/balanceo-de-carga-con-glassfish.html' title='Balanceo de carga con GlassFish'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-7738518217454062168</id><published>2019-03-09T16:15:00.002-05:00</published><updated>2022-09-07T17:47:15.577-05:00</updated><title type='text'>Instalar certificado en Glassfish</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQLBOp_JxdePJxKMAH-mKj7b2KJGudpz_FN2Q&amp;amp;usqp=CAU&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;170&quot; data-original-width=&quot;297&quot; height=&quot;366&quot; src=&quot;https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQLBOp_JxdePJxKMAH-mKj7b2KJGudpz_FN2Q&amp;amp;usqp=CAU&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;
Proveedor de Certificado: &lt;a href=&quot;https://www.sslforfree.com/&quot;&gt;https://www.sslforfree.com/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
En mi caso el proveedor de certificados me envío estos archivos:&lt;br /&gt;
1.&amp;nbsp;ca_bundle.crt&lt;br /&gt;
2.&amp;nbsp;certificate.crt&lt;br /&gt;
3.&amp;nbsp;private.key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Prerequisitos:&lt;br /&gt;
1. Instalar openssl.&lt;br /&gt;
2. Instalar java. En el carpera bin, de la instalación, encontrarán el software keytool.&lt;br /&gt;
&lt;br /&gt;
Software de ayuda:&lt;br /&gt;
1. KeyStore Explorer.&amp;nbsp;&lt;a href=&quot;https://keystore-explorer.org/&quot;&gt;https://keystore-explorer.org/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Paso 1: Create PKCS12 keystore from private key and public certificate.&lt;br /&gt;
#openssl pkcs12 -export -name micertificado -in &quot;D:\certificate.crt&quot; -inkey &quot;D:\private.key&quot; -out keystore.p12&lt;br /&gt;
&lt;br /&gt;
Paso 2:&amp;nbsp;Convert PKCS12 keystore into a JKS keystore&lt;br /&gt;
#keytool -importkeystore -destkeystore &quot;D:\glassfish\domains\domain1\config\mijks.jks&quot; -srckeystore &quot;D:\keystore.p12&quot; -srcstoretype pkcs12 -alias micertificado&lt;br /&gt;
&lt;br /&gt;
Paso 3:&lt;br /&gt;
#keytool -list -v -keystore &quot;D:\glassfish\domains\domain1\config\mijks.jks&quot;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Paso 4:&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
#keytool -importkeystore -srckeystore &quot;D:\glassfish\domains\domain1\config\mijks.jks&quot; -destkeystore &quot;D:\glassfish\domains\domain1\config\keystore.jks&quot;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Use clave por defecto &quot;changeit&quot;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Paso 5: Reinicie domain1 de Glassfish (GF).&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Paso 6: Verifique en el log del domain1 de GF, server.log, se muestre que se ha reconocido correctamente el certificado importado.&amp;nbsp; Puedes buscar con el nombre del alias, para nuestro ejemplo: micertificado. Para este último debes activar el Debug de las conexiones SSL usando el siguiente parámetro en la JVM:&lt;br /&gt;
-Djavax.net.debug=all&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Paso 7: Configurar GF&lt;/div&gt;
&lt;div&gt;
Acceder al panel de administración: http://localhost:4848/&lt;/div&gt;
&lt;div&gt;
Navegar a &quot;server-config &amp;gt; http-listener-2 &amp;gt; SSL&quot;&lt;/div&gt;
&lt;div&gt;
Certificate NickName: micertificado&lt;/div&gt;
&lt;div&gt;
Grabar y reiniciar GF.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Paso 8: Verificar el acceso&lt;/div&gt;
&lt;div&gt;
https://localhost:8181/&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Fin!&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Páginas de información adicional y de apoyo:&lt;br /&gt;
1.&amp;nbsp;&lt;a href=&quot;https://www.namecheap.com/support/knowledgebase/article.aspx/795/69/how-to-install-ssl-certificates&quot; target=&quot;_blank&quot;&gt;SSL certificate installation on a GlassFish application server&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
2.&amp;nbsp;H&lt;a href=&quot;https://helpdesk.ssls.com/hc/en-us/articles/115001604071-How-to-install-an-SSL-certificate-on-GlassFish&quot; target=&quot;_blank&quot;&gt;ow to install an SSL certificate on GlassFish&lt;/a&gt;&lt;br /&gt;
3.&amp;nbsp;&lt;a href=&quot;https://stackoverflow.com/questions/17695297/importing-the-private-key-public-certificate-pair-in-the-java-keystore&quot; target=&quot;_blank&quot;&gt;Importing the private-key/public-certificate pair in the Java KeyStore&lt;/a&gt;&lt;br /&gt;
4.&amp;nbsp;&lt;a href=&quot;https://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/ReadDebug.html&quot; target=&quot;_blank&quot;&gt;Debugging SSL/TLS Connections&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/7738518217454062168/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2019/03/instalar-certificado-en-glassfish.html#comment-form' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/7738518217454062168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/7738518217454062168'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2019/03/instalar-certificado-en-glassfish.html' title='Instalar certificado en Glassfish'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-2126087416662943039</id><published>2017-07-31T13:32:00.002-05:00</published><updated>2022-09-07T17:48:31.594-05:00</updated><title type='text'>SQL: Tamaño de tablas</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://live.mrf.io/statics/i/ps/www.muylinux.com/wp-content/uploads/2018/02/microsoft_sqlserver.png?width=1200&amp;amp;enable=upscale&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;534&quot; data-original-width=&quot;800&quot; height=&quot;427&quot; src=&quot;https://live.mrf.io/statics/i/ps/www.muylinux.com/wp-content/uploads/2018/02/microsoft_sqlserver.png?width=1200&amp;amp;enable=upscale&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;SET NOCOUNT ON&lt;br /&gt;
DBCC UPDATEUSAGE(0)&lt;br /&gt;
-- Table row counts and sizes.&lt;br /&gt;
DECLARE @sizes TABLE&lt;br /&gt;
(&lt;br /&gt;
&amp;nbsp; &amp;nbsp; [name] NVARCHAR(128),&lt;br /&gt;
&amp;nbsp; &amp;nbsp; [rows] CHAR(11),&lt;br /&gt;
&amp;nbsp; &amp;nbsp; reserved VARCHAR(18),&lt;br /&gt;
&amp;nbsp; &amp;nbsp; data VARCHAR(18),&lt;br /&gt;
&amp;nbsp; &amp;nbsp; index_size VARCHAR(18),&lt;br /&gt;
&amp;nbsp; &amp;nbsp; unused VARCHAR(18)&lt;br /&gt;
)&lt;br /&gt;
INSERT @sizes EXEC sp_msForEachTable &#39;EXEC sp_spaceused &#39;&#39;?&#39;&#39;&#39;&lt;br /&gt;
SELECT *&lt;br /&gt;
FROM &amp;nbsp; @sizes&lt;br /&gt;
ORDER BY convert(int, substring(data, 1, len(data)-3)) desc&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/2126087416662943039/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2017/07/sql-tamano-de-tablas.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/2126087416662943039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/2126087416662943039'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2017/07/sql-tamano-de-tablas.html' title='SQL: Tamaño de tablas'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-263817540459008575</id><published>2017-07-31T12:04:00.006-05:00</published><updated>2022-09-07T17:50:34.619-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="avanzado"/><category scheme="http://www.blogger.com/atom/ns#" term="sqlserver"/><title type='text'>SQL Server: While cambio de cursores</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://aprende-excel.com/microsoft-sql-server/assets/img/imagen-header.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;392&quot; data-original-width=&quot;800&quot; height=&quot;314&quot; src=&quot;https://aprende-excel.com/microsoft-sql-server/assets/img/imagen-header.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;declare @idbase as bigint&lt;br /&gt;
declare @Max int, @Ini int &amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
DECLARE @Tab1 TABLE(Id int IDENTITY(1,1) PRIMARY KEY NOT NULL, idbase bigint) &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &lt;br /&gt;
insert into @Tab1 &lt;br /&gt;
select idbase from base with (nolock)&lt;br /&gt;
&lt;br /&gt;
select @Max = count(*) from @Tab1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
set @Ini = 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
WHILE @Ini &amp;lt; @Max + 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
BEGIN&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;select @idbase = idbase from @Tab1 where Id = @Ini &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;exec [PA_eliminarBase] @idbase;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Print cast(@idbase as nvarchar) &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;set @Ini = @Ini + 1 &amp;nbsp; &lt;br /&gt;
END &lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
declare @idbase as bigint&lt;br /&gt;
declare @Max int, @Ini int &amp;nbsp; &lt;br /&gt;
declare @fechadesde datetime;&lt;br /&gt;
declare @fechahasta datetime;&lt;br /&gt;
set @fechadesde = DATEADD(dd,-1,DATEADD(dd,DATEDIFF(dd,0,getdate()),0))&lt;br /&gt;
set @fechahasta = DATEADD(dd,-1,DATEADD(dd,DATEDIFF(dd,0,getdate()),0))&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
set @Max =20&lt;br /&gt;
set @Ini = 1 &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
WHILE @Ini &amp;lt; @Max + 1 &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
BEGIN&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; set @fechadesde = DATEADD(dd,-1*@Ini,DATEADD(dd,DATEDIFF(dd,0,getdate()),0))&lt;br /&gt;
set @fechahasta = DATEADD(dd,-1*@Ini,DATEADD(dd,DATEDIFF(dd,0,getdate()),0))&lt;br /&gt;
&lt;br /&gt;
print @fechadesde;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; exec dbo.PA_ingresarindicador @fechadesde, @fechahasta&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; Print cast(@Ini as nvarchar) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;set @Ini = @Ini + 1 &amp;nbsp;&lt;br /&gt;
END&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/263817540459008575/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2017/07/sql-server-while-cambio-de-cursores.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/263817540459008575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/263817540459008575'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2017/07/sql-server-while-cambio-de-cursores.html' title='SQL Server: While cambio de cursores'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-250731040576764651</id><published>2017-07-18T17:23:00.004-05:00</published><updated>2022-09-07T17:51:51.062-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sqlserver"/><title type='text'>FUNCIONES DE FECHA ÚTILES EN SQL SERVER.</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.certia.net/wp-content/uploads/2020/03/SSIS_ETL-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;600&quot; data-original-width=&quot;800&quot; height=&quot;480&quot; src=&quot;https://www.certia.net/wp-content/uploads/2020/03/SSIS_ETL-1.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
1. Para obtener el día de hoy.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT GETDATE() &#39;Hoy&#39;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
2. Para obtener el día de ayer.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT DATEADD(d,-1,GETDATE()) &#39;Ayer&#39;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
3. Inicio del día actual.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT DATEADD(dd,DATEDIFF(dd,0,GETDATE()),0) &#39;Inicio de este día&#39;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
4. Fin del día actual&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT DATEADD(ms,-3,DATEADD(dd,DATEDIFF(dd,0,GETDATE()),1)) &#39;Fin de este día&#39;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
5. Inicio de ayer.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT DATEADD(dd,DATEDIFF(dd,0,GETDATE()),-1) &#39;Inicio de ayer&#39;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
6. Fin de ayer.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT DATEADD(ms,-3,DATEADD(dd,DATEDIFF(dd,0,GETDATE()),0)) &#39;Fin de ayer&#39;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
7. Primer día de la semana actual.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT DATEADD(wk,DATEDIFF(wk,0,GETDATE()),0) &#39;Primer día de la semana actual&#39;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
8. Último día de la semana actual.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT DATEADD(wk,DATEDIFF(wk,0,GETDATE()),6) &#39;Último día de la semana actual&#39;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
9. Primer día de la semana pasada.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT DATEADD(wk,DATEDIFF(wk,7,GETDATE()),0) &#39;Primer día de la semana pasada&#39;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
10. Último día de la semana pasada.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT DATEADD(wk,DATEDIFF(wk,7,GETDATE()),6) &#39;Último día de la semana pasada&#39;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
11. Primer día del mes actual.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0) &#39;Primer día del mes actual&#39;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
12. Último día del mes actual.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT DATEADD(ms,-3,DATEADD(mm,0,DATEADD(mm,DATEDIFF(mm,0,GETDATE())+1,0))) &#39;Último día del mes actual&#39;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
13. Primer día del mes pasado.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT DATEADD(mm,-1,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0)) &#39;Primer día del mes pasado&#39;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
14. Último día del mes pasado.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT DATEADD(ms,-3,DATEADD(mm,0,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0))) &#39;Último día del mes pasado&#39;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
15. Primer día de este año.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT DATEADD(yy,DATEDIFF(yy,0,GETDATE()),0) &#39;Primer día de este año&#39;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
16. Último día de este año.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT DATEADD(ms,-3,DATEADD(yy,0,DATEADD(yy,DATEDIFF(yy,0,GETDATE())+1,0))) &#39;Último día de este año&#39;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
17. Primer día del año pasado.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT DATEADD(yy,-1,DATEADD(yy,DATEDIFF(yy,0,GETDATE()),0)) &#39;Primer día del año pasado&#39;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
18. Último día del año pasado.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT DATEADD(ms,-3,DATEADD(yy,0,DATEADD(yy,DATEDIFF(yy,0,GETDATE()),0))) &#39;Último día del año pasado&#39;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
19. Primer día del próximo mes.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT DATEADD(mm,1,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0)) &#39;Primer día del próximo mes&#39;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
20. Último día del próximo mes.&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SELECT DATEADD(ms,-3,DATEADD(mm,DATEADD(mm,(DATEDIFF(mm,0,GETDATE()),0))) &#39;Último día del próximo mes&#39;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span face=&quot;Lato, sans-serif&quot; style=&quot;background-color: white; color: #767676; font-style: italic;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Extraído de CodeProject&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span face=&quot;Lato, sans-serif&quot; style=&quot;background-color: white; color: #767676; font-size: 19px; font-style: italic;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;code style=&quot;border: 0px; color: #2b2b2b; font-family: monospace, serif; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span face=&quot;Lato, sans-serif&quot; style=&quot;background-color: white; color: #767676; font-style: italic;&quot;&gt;Fuente:&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&lt;span face=&quot;Lato, sans-serif&quot; style=&quot;color: #767676;&quot;&gt;&lt;i&gt;https://bloginspanish.wordpress.com/2014/01/04/funciones-de-fecha-utiles-en-sql-server/&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/250731040576764651/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2017/07/funciones-de-fecha-utiles-en-sql-server.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/250731040576764651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/250731040576764651'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2017/07/funciones-de-fecha-utiles-en-sql-server.html' title='FUNCIONES DE FECHA ÚTILES EN SQL SERVER.'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-2884340555481962617</id><published>2017-05-30T11:18:00.002-05:00</published><updated>2022-09-07T17:52:46.702-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="elearning"/><category scheme="http://www.blogger.com/atom/ns#" term="MOOC"/><category scheme="http://www.blogger.com/atom/ns#" term="Moodle"/><title type='text'>Encuestas en MOODLE</title><content type='html'>&lt;div class=&quot;gmail_default&quot; style=&quot;color: #222222; font-family: arial, sans-serif; font-size: small;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.nettix.com.pe/wp-content/uploads/2020/06/que-es-moodle.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;440&quot; data-original-width=&quot;800&quot; height=&quot;352&quot; src=&quot;https://www.nettix.com.pe/wp-content/uploads/2020/06/que-es-moodle.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span face=&quot;verdana, sans-serif&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;gmail_default&quot; style=&quot;color: #222222; font-family: arial, sans-serif; font-size: small;&quot;&gt;&lt;span face=&quot;verdana, sans-serif&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;gmail_default&quot; style=&quot;color: #222222; font-family: arial, sans-serif; font-size: small;&quot;&gt;
&lt;span face=&quot;verdana, sans-serif&quot;&gt;Encuestas en MOODLE&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;gmail_default&quot; style=&quot;color: #222222; font-family: arial, sans-serif; font-size: small;&quot;&gt;
&lt;span face=&quot;verdana, sans-serif&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;gmail_default&quot; style=&quot;color: #222222; font-family: arial, sans-serif; font-size: small;&quot;&gt;
&lt;span face=&quot;verdana, sans-serif&quot;&gt;Moodle questionnaire&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;gmail_default&quot; style=&quot;color: #222222; font-family: verdana, sans-serif; font-size: small;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;gmail_default&quot; style=&quot;color: #222222; font-family: arial, sans-serif; font-size: small;&quot;&gt;
&lt;span face=&quot;verdana, sans-serif&quot;&gt;https://moodle.org/plugins/pluginversions.php?plugin=mod_questionnaire&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span face=&quot;verdana, sans-serif&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/2884340555481962617/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2017/05/encuestas-en-moodle.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/2884340555481962617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/2884340555481962617'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2017/05/encuestas-en-moodle.html' title='Encuestas en MOODLE'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-2603018584607306279</id><published>2017-01-24T06:10:00.005-05:00</published><updated>2022-09-07T17:54:40.114-05:00</updated><title type='text'>Preguntas de examen de certificación TOGAF</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://k5g4d8z5.rocketcdn.me/wp-content/uploads/2020/11/togaf92-logo.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;326&quot; data-original-width=&quot;800&quot; height=&quot;261&quot; src=&quot;https://k5g4d8z5.rocketcdn.me/wp-content/uploads/2020/11/togaf92-logo.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Question: Which of the following is not a part of the TOGAF document (official TOGAF documentation)?&lt;br /&gt;
&lt;br /&gt;
A. ADM Guidelines and Techniques&lt;br /&gt;
B. Architecture Content Framework&lt;br /&gt;
C. Architecture Governance&lt;br /&gt;
D. TOGAF Reference Models&lt;br /&gt;
E. Architecture Capability Framework&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: What is the definition of Architecture in the context of TOGAF?&lt;br /&gt;
A. The fundamental organization of a system, embodied in its components, their relationships to each other and the environment, and the principles governing its design and evolution&lt;br /&gt;
B. A rigorous description of the structure of an enterprise, which comprises enterprise components (business entities), the externally visible properties of those components, and the relationships (e.g. the behavior) between them&lt;br /&gt;
C. An architecture is the most important, pervasive, top-level, strategic inventions, decisions, and their associated rationales about the overall structure (i.e., essential elements and their relationships) and associated characteristics and behavior&lt;br /&gt;
D. Architecture is the use of abstractions and models to simplify and communicate complex structures and processes to improve understanding and forecasting&lt;br /&gt;
E. A formal description of a system, or a detailed plan of the system at a component level to guide its implementation or the structure of components, their inter-relationships, and the principles and guidelines governing their design and evolution over time&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is not a reason to use an Enterprise Architecture Framework in the context of TOGAF?&lt;br /&gt;
A. It will speed up and simplify architecture development&lt;br /&gt;
B. It will ensure more complete coverage of the designed solution&lt;br /&gt;
C. It will make certain that the architecture selected allows for future growth in response to the needs of the business&lt;br /&gt;
D. Its use may be mandated by federal agencies&lt;br /&gt;
E. It will ensure compliance and protect the interest of stakeholders&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: Which are the three main categories of architectural work product does Architecture Content Framework specify?&lt;br /&gt;
A. Architecture Vision, Architecture Requirements Specification and Architecture Roadmap&lt;br /&gt;
B. Source Architecture, Target Architecture and Gap Analysis&lt;br /&gt;
C. Architecture Vision, Architecture Design Document and Transition Architecture&lt;br /&gt;
D. Building Block, Artifact and Deliverable&lt;br /&gt;
E. Request for Architecture Work, Statement of Architecture Work and Architecture Contract&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is not a part of Architecture Repository?&lt;br /&gt;
A. The organizationally tailored application of an architecture framework, including a meta-model for architecture content&lt;br /&gt;
B. The parameters, structures, and processes that support governance of the Architecture Repository&lt;br /&gt;
C. An architectural view of the building blocks that are in use within the organization today&lt;br /&gt;
D. A Stakeholder analysis and map&lt;br /&gt;
E. A record of governance activity across the enterprise&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: Which of these are not the benefits of Architecture Governance?&lt;br /&gt;
A. Increased visibility supporting internal processes and external parties’ requirements&lt;br /&gt;
B. Greater shareholder value&lt;br /&gt;
C. Improved software development productivity&lt;br /&gt;
D. Protection of the existing asset base through maximizing re-use&lt;br /&gt;
E. Controlled risk management&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following statement is correct in the context of ADM iteration?&lt;br /&gt;
A. Yes, you can only cycle around the ADM&lt;br /&gt;
B. Yes, you can cycle around all single individual phase&lt;br /&gt;
C. Yes, you can cycle around any combination of phases&lt;br /&gt;
D. Yes, you can cycle around ADM, iterate across specific phases or cycle through some of the phases&lt;br /&gt;
E. No, ADM is not iterative&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following statements is correct in the context of ADM and Architecture Repository relationship?&lt;br /&gt;
A. At relevant places throughout the ADM, there are reminders to consider which architecture assets from the Architecture Repository the architect should use&lt;br /&gt;
B. The practical implementation of the Enterprise Continuum will typically take the form of an Architecture Repository that includes reference architectures, models, and patterns mandated in TOGAF&lt;br /&gt;
C. In executing the ADM, the architect is only developing a snapshot of the enterprise at particular points in time, and populating the organization’s own Architecture Repository is outside the scope of ADM&lt;br /&gt;
D. The first execution of the ADM is simplified because of the re-use potential of the standard architecture assets available for re-use in TOGAF Architecture Repository&lt;br /&gt;
E. Architecture Repository is only accessed in the Requirement Management phase&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
&lt;br /&gt;
Question: Which of these is not the reason for wanting to tailor the ADM to the circumstances of an individual enterprise?&lt;br /&gt;
A. An important consideration is that the order of the phases in the ADM is to some extent dependent on the maturity of the architecture discipline within the enterprise concerned&lt;br /&gt;
B. An enterprise may wish to use or tailor the ADM in conjunction with the security best practices in use in the enterprise&lt;br /&gt;
C. The ADM is one of many corporate processes that make up the corporate governance model for an enterprise&lt;br /&gt;
D. The ADM is being mandated for use by a prime or lead contractor in an outsourcing situation, and needs to be tailored to achieve a suitable compromise between the contractor’s existing practices and the contracting enterprise’s equirements&lt;br /&gt;
E. The enterprise is a small-to-medium enterprise, and wishes to use a “cut-down” version of the ADM&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following statements is not correct about Enterprise Continuum?&lt;br /&gt;
A. It is a view of the Architecture Repository that provides methods for classifying architecture and solution artifacts, both internal and external to the Architecture Repository&lt;br /&gt;
B. It is an important aid to communication and understanding, both within individual enterprises, and between customer enterprises and vendor organizations&lt;br /&gt;
C. It also represents an aid to organizing re-usable architecture and solution assets&lt;br /&gt;
D. It is a physical repository of all architecture assets models, patterns, architecture descriptions, and other artifacts produced during application of the ADM&lt;br /&gt;
E. It represents an aid to communication&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following statements is not correct in the context of TOGAF?&lt;br /&gt;
A. The Architecture Continuum provides a consistent way to describe and understand the implementation of the assets&lt;br /&gt;
B. A Foundation Architecture supports the complete enterprise operating environment&lt;br /&gt;
C. Common Systems Architectures guide the creation of an architecture useful for building common solutions across a wide number of relevant domains&lt;br /&gt;
D. Industry Architectures guide the integration of common systems components with industry specific components&lt;br /&gt;
E. Organization-Specific Architectures describe and guide the final deployment of user-written or third-party components that constitute effective solutions for particular enterprises&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following item is not a part of Architecture Repository?&lt;br /&gt;
A. Architecture Landscape&lt;br /&gt;
B. Standards Information Base&lt;br /&gt;
C. Architecture Metamodel&lt;br /&gt;
D. Architecture Capability&lt;br /&gt;
E. Compliance Log&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: What is a Standards Information Base (SIB) in context of TOGAF?&lt;br /&gt;
A. It holds guidelines, templates, patterns&lt;br /&gt;
B. It holds a set of specifications, to which architectures must conform&lt;br /&gt;
C. It defines the parameters, structures, and processes that support governance&lt;br /&gt;
D. It describes the organizationally tailored application of an architecture framework&lt;br /&gt;
E. It holds view of the building blocks that are in use within the organization today&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following statements is not correct in the context of TOGAF?&lt;br /&gt;
A. Enterprise Continuum is a virtual repository where as the Architecture Repository is a physical repository&lt;br /&gt;
B. Enterprise Continuum can be thought of as a view of the Architecture Repository&lt;br /&gt;
C. The Architecture Repository defines six classes for architectural information held in the repository&lt;br /&gt;
D. TOGAF recognizes the need to manage the content of the Enterprise Continuum using tools but does not provide any guidance on tool selection&lt;br /&gt;
E. The Solutions Continuum is a population of the architecture with reference building blocks – either purchased products or built components – that represent a solution to the enterprise’s business needs&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: Which Phase of the ADM define and initiate the Business Scenarios?&lt;br /&gt;
A. Preliminary phase&lt;br /&gt;
B. Phase A&lt;br /&gt;
C. Phase B&lt;br /&gt;
D. Phase C&lt;br /&gt;
E. Phase D&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following statements is not correct in context of the Business Architecture?&lt;br /&gt;
A. A knowledge of the Business Architecture is a prerequisite for architecture work in any other domain&lt;br /&gt;
B. Business Architecture is often necessary as a means of demonstrating the business value of subsequent architecture work&lt;br /&gt;
C. Business Architecture looks at the Enterprise in abstraction and does not look at the relationship between people and process&lt;br /&gt;
D. Business Architecture should support the agreed Architecture Vision&lt;br /&gt;
E. Business Architecture should demonstrate how stakeholder concerns are addressed&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is not comes under the Technology Architecture documentation?&lt;br /&gt;
A. Fundamental organization of the IT system&lt;br /&gt;
B. The principles governing its design and evolution IT system&lt;br /&gt;
C. Hardware, software, and communications technology and their relationships to each other and the environment&lt;br /&gt;
D. Technical implementation architecture&lt;br /&gt;
E. Target Technology Architecture that will form the basis of the subsequent implementation and migration planning&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is Phase F?&lt;br /&gt;
A. Technology Architecture&lt;br /&gt;
B. Migration Planning&lt;br /&gt;
C. Implementation Governance&lt;br /&gt;
D. Architecture Change Management&lt;br /&gt;
E. Oppurtunities and Solutions&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is H?&lt;br /&gt;
A. Requirement Management&lt;br /&gt;
B. Migration Planning&lt;br /&gt;
C. Implementation Governance&lt;br /&gt;
D. Architecture Change Management&lt;br /&gt;
E. Oppurtunities and Solutions&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: Which Phase of the ADM relates to agreement reached on the architecture method to be adopted?&lt;br /&gt;
A. Preliminary Phase&lt;br /&gt;
B. Phase A&lt;br /&gt;
C. Phase B&lt;br /&gt;
D. Phase E&lt;br /&gt;
E. Requirement Management Phase&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
&lt;br /&gt;
Question: In context of ADM, how is the Transition Architecture formulated?&lt;br /&gt;
A. It emerges through phase B to D and is finalized in phase E&lt;br /&gt;
B. It is first formulated in phase E and gets refined in phase F and G&lt;br /&gt;
C. It is formulated in phase E and then split into implementation projects&lt;br /&gt;
D. Based on the implementation projects selected in phase E, Transition Architectures is arrived at in phase F&lt;br /&gt;
E. In Phase E major implementation projects grouped into Transition Architectures and they are confirmed with relevant stakeholders in phase F&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: What phase of the ADM does the cost/benefit analysis?&lt;br /&gt;
A. Preliminary Phase&lt;br /&gt;
B. Phase A&lt;br /&gt;
C. Phase B&lt;br /&gt;
D. Phase E&lt;br /&gt;
E. Phase F&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: In which ADM phases, does Architecture Governance performed and operated?&lt;br /&gt;
A. It is established in Phase A and operated on Phase F to H&lt;br /&gt;
B. It is established in Preliminary Phase, refined in Phase A and operated on Phase F to H&lt;br /&gt;
C. It is established in Phase A and operated on Phase E to G&lt;br /&gt;
D. It is established in Preliminary Phase and operated on Phase G and H&lt;br /&gt;
E. It is established in Preliminary Phase and operated on all subsequent phases&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is not an ADM Guideline or Technique?&lt;br /&gt;
A. Architecture Principles&lt;br /&gt;
B. Usecase Modeling&lt;br /&gt;
C. Architecture Patterns&lt;br /&gt;
D. Interoperability Requirements&lt;br /&gt;
E. Capability-Based Planning&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is not described by a Business Scenario in TOGAF?&lt;br /&gt;
A. A business process, application, or set of applications&lt;br /&gt;
B. The business and technology environment&lt;br /&gt;
C. The people and computing components who execute the scenario&lt;br /&gt;
D. The underlying business vision&lt;br /&gt;
E. The desired outcome of proper execution&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is not the source of a business domain gap in context of TOGAF?&lt;br /&gt;
A. People gaps&lt;br /&gt;
B. Process gaps&lt;br /&gt;
C. Tools gaps&lt;br /&gt;
D. Information gaps&lt;br /&gt;
E. Data relationship gaps&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: In which phase of the ADM, the nature and security considerations of information and service exchanges determined?&lt;br /&gt;
A. Preliminary Phase&lt;br /&gt;
B. Phase A&lt;br /&gt;
C. Phase B&lt;br /&gt;
D. Phase C&lt;br /&gt;
E. Phase D&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: In which Phase of the ADM, the risk identification and mitigation assessment worksheets are maintained as governance artifacts and are kept up-to-date?&lt;br /&gt;
A. Phase A&lt;br /&gt;
B. Phase E&lt;br /&gt;
C. Phase F&lt;br /&gt;
D. Phase G&lt;br /&gt;
E. Phase H&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: Which technique can be used to discover the need for a Capability?&lt;br /&gt;
A. Gap Analysis&lt;br /&gt;
B. Architecture Patterns&lt;br /&gt;
C. Interoperability Requirements&lt;br /&gt;
D. Business Scenario&lt;br /&gt;
E. Business Transformation Readiness Assessment&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is not a part of Architecture Governance phase?&lt;br /&gt;
A. Implementing a system of controls over the creation and monitoring of all architectural components and activities&lt;br /&gt;
B. Improving the maturity level of architecture discipline within the organization&lt;br /&gt;
C. Implementing a system to ensure compliance with internal and external standards and regulatory obligations&lt;br /&gt;
D. Establishing processes that support effective management of the above processes within agreed parameters&lt;br /&gt;
E. Developing practices that ensure accountability to a clearly identified stakeholder community&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: The Architecture Governance Framework contain?&lt;br /&gt;
A. Compliance, Business Control , Monitoring and Reporting&lt;br /&gt;
B. Process, Content, Monitoring and Reporting&lt;br /&gt;
C. Process, Content, Repository and Process Flow Control&lt;br /&gt;
D. Content, Context, Process and Reporting&lt;br /&gt;
E. Business Control, Content, Monitoring and Reporting&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is not the purpose of Architecture Compliance Review exercise?&lt;br /&gt;
A. To improve the maturity level of architecture discipline within the organization&lt;br /&gt;
B. To identify where the standards themselves may require modification&lt;br /&gt;
C. To identify services that are currently application-specific but might be provided as part of the enterprise infrastructure&lt;br /&gt;
D. To document strategies for collaboration, resource sharing, and other synergies across multiple architecture teams&lt;br /&gt;
E. To take advantage of advances in technology&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is not a correct statement about the stakeholder concern?&lt;br /&gt;
A. Concerns determine the acceptability of the system&lt;br /&gt;
B. The terms “concern” and “requirement” are synonymous&lt;br /&gt;
C. Concerns are the root of the process of decomposition into requirements&lt;br /&gt;
D. Concerns are represented in the architecture by these requirements&lt;br /&gt;
E. Each stakeholder typically has interests in, or concerns relative to, that system&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: Which of these is not a recommended step to create the required views for a particular architecture?&lt;br /&gt;
A. Refer to any existing libraries of viewpoints&lt;br /&gt;
B. Select key stakeholders&lt;br /&gt;
C. Analyze their requirement and document them&lt;br /&gt;
D. Select appropriate viewpoints&lt;br /&gt;
E. Generate views of the system using the selected viewpoints as templates&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: Which of these is not the characteristic of a building block?&lt;br /&gt;
A. It considers implementation and usage, and evolves to exploit technology and standards&lt;br /&gt;
B. It may be assembled from other building blocks&lt;br /&gt;
C. It may be a subassembly of other building blocks&lt;br /&gt;
D. Ideally, a building block is re-usable and replaceable, and well specified with stable interfaces&lt;br /&gt;
E. It may specify implementation details&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: What Architecture Building Blocks does?&lt;br /&gt;
A. They define how the functionality will be realized through products and components&lt;br /&gt;
B. They capture architecture requirements&lt;br /&gt;
C. They define the implementation&lt;br /&gt;
D. They fulfill business requirements&lt;br /&gt;
E. They are product or vendor-aware&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: Which of these is not in the scope of governance of Architecture Contract?&lt;br /&gt;
A. Continuous monitoring to check integrity&lt;br /&gt;
B. Adherence to the principles and standards&lt;br /&gt;
C. Facilitate re-usablility&lt;br /&gt;
D. Identification of risks&lt;br /&gt;
E. Ensuring accountability, responsibility, and discipline&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: In which phase of the ADM, the Capability Assessment is carried out?&lt;br /&gt;
A. It is first carried out in Phase A and updated in Phase E&lt;br /&gt;
B. It is first carried out in Preliminary Phase and updated in Phase A to E&lt;br /&gt;
C. It is first carried out in Phase A, updated in Phase E and finalized in Phase F&lt;br /&gt;
D. It is first carried out in Preliminary Phase, updated in Phase A to E and finalized in Phase F&lt;br /&gt;
E. It is first carried out in Phase A and updated in Phase B to E&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
&lt;br /&gt;
Question: What is the (TRF) Technical Reference Model?&lt;br /&gt;
A. It is a reference model that focuses on the Application Software space&lt;br /&gt;
B. It is fundamentally an Application Architecture reference model – a model of the application components and application services software essential for an integrated information infrastructure&lt;br /&gt;
C. It enables each individual department to operate at maximum efficiency was for a long time accepted as the best approach to managing a large enterprise&lt;br /&gt;
D. It describes a fundamental architecture upon which other, more specific, architectures can be based&lt;br /&gt;
E. It points to rules and standards to assist in leveraging solutions and products within the value chain&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: Which of these is not a part of III-RM (Integrated Information Infrastructure Reference Model) taxonomy?&lt;br /&gt;
A. Information consumer application&lt;br /&gt;
B. Management utilities&lt;br /&gt;
C. Brokering application&lt;br /&gt;
D. Communication infrastructure interface&lt;br /&gt;
E. Information provider application&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Test 2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Question: What according to TOGAF is an Enterprise?&lt;br /&gt;
A. Entire business group or corporation comprising of all local and international main and sub offices, divisions, subsidiaries, and departments&lt;br /&gt;
B. Any collection of organizations that has a common set of goals&lt;br /&gt;
C. Any large organization&lt;br /&gt;
D. An enterprise is an organization that uses computers&lt;br /&gt;
E. A large corporation or government agency, but it may also refer to a company of any size with many systems and users to manage&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is NOT a correct statement about an Architecture Framework?&lt;br /&gt;
A. An architecture framework is a tool that can be used for developing a broad range of different architectures&lt;br /&gt;
B. An architecture framework should describe a method for designing an information system in terms of a set of building blocks, and for showing how the building blocks fit together&lt;br /&gt;
C. Architecture Framework is a set of resources, guidelines, templates, background information, etc. provided to help the architect establish an architecture practice within an organization&lt;br /&gt;
D. An architecture framework should contain a set of tools and provide a common vocabulary&lt;br /&gt;
E. An architecture framework should also include a list of recommended standards and compliant products that can be used to implement the building blocks&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following statement is NOT a reason for suitability of TOGAF as a Framework for Enterprise Architecture?&lt;br /&gt;
A. &amp;nbsp;It provides an immediate return on investment&lt;br /&gt;
B. &amp;nbsp;It has been developed through the collaborative efforts of more than 300 Architecture Forum member companies from some of the world’s leading IT customers and vendors and represents best practice in architecture development&lt;br /&gt;
C. &amp;nbsp;It will allow architectures to be developed that are consistent, reflect the needs of stakeholders, employ best practice, and give due consideration both to current requirements and to the likely future needs of the business&lt;br /&gt;
D. &amp;nbsp;It plays an important role in helping to “de-mystify” and de-risk the architecture development process&lt;br /&gt;
E. &amp;nbsp;It provides a platform for adding value, and enables users to build genuinely open systems-based solutions to address their business issues and needs&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is NOT a part of the Architecture Capability Framework?&lt;br /&gt;
A. Standards with which new architectures must comply&lt;br /&gt;
B. Guidelines for establishing an Architecture Capability within an organization&lt;br /&gt;
C. A set of role, skill, and experience norms for staff undertaking enterprise architecture work&lt;br /&gt;
D. Techniques for evaluating and quantifying an organization’s maturity in enterprise architecture&lt;br /&gt;
E. Framework and guidelines for Architecture Governance&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
&lt;br /&gt;
Question: TOGAF recommends running the enterprise architecture practice like any other operational unit within a business. For that, which of the following processes capability needs to be established?&lt;br /&gt;
A. Environment Management, Supplier Management and Network Management&lt;br /&gt;
B. Risk Management, Resource Management and IT Management&lt;br /&gt;
C. Communications and Stakeholder Management, Quality Management and Presentation Management&lt;br /&gt;
D. Financial Management, Performance Management and Service Management&lt;br /&gt;
E. Configuration Management, Release Management and Change management&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: According to TOGAF Document Categorization Model, which are the four categories of content?&lt;br /&gt;
A. Central, Mandated, Recommended and Supporting&lt;br /&gt;
B. Core, Mandated, Reference and Supplemental&lt;br /&gt;
C. Central, Mandated, Recommended and Supplemental&lt;br /&gt;
D. Central, Mandated, Reference and Supplemental&lt;br /&gt;
E. Core, Mandated, Recommended and Supporting&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following statements is NOT true for ADM?&lt;br /&gt;
A. ADM defines a recommended sequence for the various phases and steps involved in developing an organization-wide enterprise architecture&lt;br /&gt;
B. ADM does not determine the scope for an enterprise architecture activity; this must be determined by the organization itself&lt;br /&gt;
C. The numbering scheme provided in the TOGAF ADM for its outputs is a mandated practice&lt;br /&gt;
D. An output in an early ADM phase may be modified in a later phase&lt;br /&gt;
E. The ADM has ten phases&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is a Key Point of the ADM Cycle?&lt;br /&gt;
A. Decisions taken should be based on the value accruing to the enterprise only&lt;br /&gt;
B. ADM provides a recommended the scope of activity which can be tailored by the organization itself&lt;br /&gt;
C. The main guideline is to focus on what creates value to the enterprise, and to select horizontal and vertical scope, and project schedules, accordingly&lt;br /&gt;
D. Where necessary, use of the ADM should be tailored to meet the needs of the organization but phases cannot be omitted&lt;br /&gt;
E. Though ADM is iterative, the decisions regarding enterprise coverage, level of detail, time period and architecture asset re-use needs to be take upfront&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is NOT a correct reason for limiting the scope of the Architecture Activity?&lt;br /&gt;
A. The inflexibility of the baseline IT technical architecture&lt;br /&gt;
B. The realities of resource and time constraints often mean there is not enough time, funding, or resources to build a top-down, all-inclusive architecture description encompassing all four architecture domains&lt;br /&gt;
C. To ensure an appropriate demarcation between the architecture effort and other, related activities (system design, system engineering, system development)&lt;br /&gt;
D. The organizational authority of the team producing the architecture&lt;br /&gt;
E. The objectives and stakeholder concerns to be addressed within the architecture&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
&lt;br /&gt;
Question: Which among the following statements about Architecture Continuum is NOT true?&lt;br /&gt;
A. It offers a consistent way to define and understand the generic rules, representations, and relationships in an architecture, including traceability and derivation relationships&lt;br /&gt;
B. It represents a structuring of Architecture Building Blocks (ABBs) which are re-usable architecture assets&lt;br /&gt;
C. Every artifact in the Solutions Continuum has a one to one relationship with a corresponding artifact in the Architecture Continuum&lt;br /&gt;
D. It shows the relationships among foundational frameworks, common system architectures, industry architectures, and enterprise architectures&lt;br /&gt;
E. It is a useful tool to discover commonality and eliminate unnecessary redundancy&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: The relationship between the Architecture Continuum and the Solutions Continuum is one of ___ (complete the sentence).&lt;br /&gt;
A. Guidance, derivation and support&lt;br /&gt;
B. Guidance, direction and support&lt;br /&gt;
C. Governance, direction and support&lt;br /&gt;
D. Guidance, direction and supplementing&lt;br /&gt;
E. Governance, derivation and supplementing&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: What are the levels of granularity the Architecture Landscape is divided into?&lt;br /&gt;
A. Strategic Architectures, Segment Architectures and Capability Architectures&lt;br /&gt;
B. Strategic Architectures, Segment Architectures and Transition Architectures&lt;br /&gt;
C. Enterprise Architectures, Segment Architectures and Capability Architectures&lt;br /&gt;
D. Enterprise Architectures, Segment Architectures and Transition Architectures&lt;br /&gt;
E. Enterprise Architectures, Solution Architectures and Transition Architectures&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is NOT a stated reason for using a tool for Enterprise Continuum?&lt;br /&gt;
A. Promote re-use&lt;br /&gt;
B. Enable sharing of architecture information within an organization&lt;br /&gt;
C. Facilitate easier maintenance of the software assets&lt;br /&gt;
D. Ensure common terminology is used&lt;br /&gt;
E. Provide stakeholders with relevant models&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is NOT an objective of the Preliminary phase?&lt;br /&gt;
A. Understand the business environment&lt;br /&gt;
B. Ensure high-level management commitment and obtain agreement on scope&lt;br /&gt;
C. Establish principles and establish governance structure&lt;br /&gt;
D. Agree architecture method to be adopted&lt;br /&gt;
E. Articulate an Architecture Vision and value proposition&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: What first-cut, high-level description does Architecture Vision provide?&lt;br /&gt;
A. Baseline Architectures, Target Architectures and Gap Analysis&lt;br /&gt;
B. Architecture Definition, Architecture Specification and Architecture Roadmap&lt;br /&gt;
C. Strategic Architectures, Segment Architectures and Capability Architectures&lt;br /&gt;
D. Business Architectures, Data Architectures, Application Architectures and Technology Architectures&lt;br /&gt;
E. Enterprise Architectures, Solution Architectures and Transition Architectures&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: Which are the Key Considerations for the Data Architecture?&lt;br /&gt;
A. Data Analysis, Data Integrity and Data Security&lt;br /&gt;
B. Data Management, Data Integrity and Data Governance&lt;br /&gt;
C. Data Management, Data Migration and Data Governance&lt;br /&gt;
D. Data Analysis, Data Migration and Data Governance&lt;br /&gt;
E. Data Analysis, Data Integrity and Data Governance&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is NOT an activity in Phase E?&lt;br /&gt;
A. Perform initial implementation planning&lt;br /&gt;
B. Group projects into Transition Architectures&lt;br /&gt;
C. Decide on approach — Make versus buy versus re-use&lt;br /&gt;
D. Identify the major implementation projects&lt;br /&gt;
E. Perform a cost/benefit analysis and a risk assessment&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is NOT an approach in Phase G?&lt;br /&gt;
A. &amp;nbsp;Creation of an Implementation and Migration Plan in co-operation with the portfolio and project managers&lt;br /&gt;
B. &amp;nbsp;Adopt a phased deployment schedule that reflects the business priorities embodied in the Architecture Roadmap&lt;br /&gt;
C. &amp;nbsp;Follow the organization’s standard for corporate, IT, and Architecture Governance&lt;br /&gt;
D. &amp;nbsp;Use the organization’s established portfolio/program management approach, where this exists&lt;br /&gt;
E. &amp;nbsp;Define an operations framework to ensure the effective long life of the deployed solution&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following statements about Requirements Management phase is correct?&lt;br /&gt;
A. &amp;nbsp;This phase is executed at the beginning&lt;br /&gt;
B. &amp;nbsp;It focuses on minimizing changes to requirement&lt;br /&gt;
C. &amp;nbsp;It does not dispose of, address, or prioritize any requirements; this is done within the relevant phase of the ADM&lt;br /&gt;
D. &amp;nbsp;TOGAF has a recommend process for requirements management&lt;br /&gt;
E. &amp;nbsp;Prioritizing requirement is an activity of this phase&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: How is the scope of the enterprise architecture projects decided?&lt;br /&gt;
A. &amp;nbsp;The scope is defined in phase A and refined in phases B, C and D&lt;br /&gt;
B. &amp;nbsp;Agreement on the scope is reached in the Preliminary phase and it is defined in phase A&lt;br /&gt;
C. &amp;nbsp;The scope is defined in the Preliminary phase and agreement is reached in phase A&lt;br /&gt;
D. &amp;nbsp;Agreement on the scope is reached in the Preliminary phase but the definition happens through phase A to D&lt;br /&gt;
E. &amp;nbsp;The scope is defined and agree upon in the Preliminary phase&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: In which phase is the make versus buy versus re-use decision taken?&lt;br /&gt;
A. &amp;nbsp;Phase A&lt;br /&gt;
B. &amp;nbsp;Phase D&lt;br /&gt;
C. &amp;nbsp;Phase E&lt;br /&gt;
D. &amp;nbsp;Phase F&lt;br /&gt;
E. &amp;nbsp;Phase G&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: In which phase are the Architecture Contracts prepared?&lt;br /&gt;
A. &amp;nbsp;Preliminary Phase&lt;br /&gt;
B. &amp;nbsp;Phase A&lt;br /&gt;
C. &amp;nbsp;Phase E&lt;br /&gt;
D. &amp;nbsp;Phase F&lt;br /&gt;
E. &amp;nbsp;Phase G&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is not a part of the guidelines for adapting the ADM process?&lt;br /&gt;
A. &amp;nbsp;Coexisting with other Enterprise Architecture frameworks&lt;br /&gt;
B. &amp;nbsp;Ways to apply iteration to the ADM&lt;br /&gt;
C. &amp;nbsp;Applying the ADM at different levels of the enterprise&lt;br /&gt;
D. &amp;nbsp;Security considerations when applying the ADM&lt;br /&gt;
E. &amp;nbsp;Using TOGAF to define Service-Oriented Architectures (SOAs)&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
&lt;br /&gt;
Question: Which part of the TOGAF document provides a number of architecture development phases, together with narratives for each phase?&lt;br /&gt;
A. Part I: Introduction&lt;br /&gt;
B. Part II: Architecture Development Method (ADM)&lt;br /&gt;
C. Part III: ADM Guidelines and Techniques&lt;br /&gt;
D. Part IV: Architecture Content Framework&lt;br /&gt;
E. Part V: Enterprise Continuum and Tools&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: Where the process of creating a Business Scenario does starts?&lt;br /&gt;
A. &amp;nbsp;Business and Technical environments&lt;br /&gt;
B. &amp;nbsp;Problem statements&lt;br /&gt;
C. &amp;nbsp;Desired objectives&lt;br /&gt;
D. &amp;nbsp;Human participants&lt;br /&gt;
E. &amp;nbsp;Roles and responsibilities&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: In which phases is the Gap Analysis technique used?&lt;br /&gt;
A. &amp;nbsp;Phases B, C, D, and E&lt;br /&gt;
B. &amp;nbsp;Phases B, C, and D&lt;br /&gt;
C. &amp;nbsp;Phases A, B, C, D, and E&lt;br /&gt;
D. &amp;nbsp;Phases A, B, C and D&lt;br /&gt;
E. &amp;nbsp;Phases C, D, and E&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: For which phases is the Business Transformation Readiness Assessment a key technique?&lt;br /&gt;
A. &amp;nbsp;Phases E only&lt;br /&gt;
B. &amp;nbsp;Phases E, F and G&lt;br /&gt;
C. &amp;nbsp;Phases A, E and F&lt;br /&gt;
D. &amp;nbsp;Phases from A to F&lt;br /&gt;
E. &amp;nbsp;Phases E and F&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following statements is NOT correct?&lt;br /&gt;
A. &amp;nbsp;Corporate Strategic Plan manages and creates Capabilities&lt;br /&gt;
B. &amp;nbsp;Capability consists of Capability Increment&lt;br /&gt;
C. &amp;nbsp;Capability is documented in Architecture Vision&lt;br /&gt;
D. &amp;nbsp;Capability Increment is documented by Transition Architecture&lt;br /&gt;
E. &amp;nbsp;Architecture and Solution Building Blocks are the basis for Capability Increment Solutions&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following statements is NOT correct?&lt;br /&gt;
A. Effective governance ensures that problems are identified early and that subsequent changes to the environment occur in a controlled manner&lt;br /&gt;
B. &amp;nbsp;Architecture Governance is the practice by which enterprise architectures and other architectures are managed and controlled at an enterprise-wide level&lt;br /&gt;
C. &amp;nbsp;Architecture Governance typically operates within a hierarchy of governance structures&lt;br /&gt;
D. &amp;nbsp;Corporate Governance is a broad topic and outside the scope of the TOGAF framework&lt;br /&gt;
E. &amp;nbsp;Architecture Governance helps creating organizational structures that enabled each individual department to operate at maximum efficiency&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: Which are the six characteristics used in TOGAF to highlight both the value and necessity for governance?&lt;br /&gt;
A. &amp;nbsp;Discipline, Transparency, Independence, Accountability, Responsibility and Fairness&lt;br /&gt;
B. &amp;nbsp;Transparency, Independence, Accountability, Responsibility, Fairness and Compliance&lt;br /&gt;
C. &amp;nbsp;Independence, Accountability, Responsibility, Fairness, Compliance and Discipline&lt;br /&gt;
D. &amp;nbsp;Accountability, Responsibility, Fairness, Compliance, Discipline and Transparency&lt;br /&gt;
E. &amp;nbsp;Responsibility, Fairness, Compliance, Discipline, Transparency and Independence&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is NOT the responsibility of Architecture Board?&lt;br /&gt;
A. &amp;nbsp;Ensuring consistency between sub-architectures&lt;br /&gt;
B. &amp;nbsp;Identifying re-usable components&lt;br /&gt;
C. &amp;nbsp;Identification of risk and subsequent risk mitigation&lt;br /&gt;
D. &amp;nbsp;Improving the maturity level of architecture discipline within the organization&lt;br /&gt;
E. &amp;nbsp;Providing the basis for all decision-making with regard to changes to the architectures&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is NOT a recommendation for Architecture Capability building?&lt;br /&gt;
A. &amp;nbsp;Establishing a sustainable Architecture Capability within an organization can be achieved by adhering to the same approach that is used to establish any other capability&lt;br /&gt;
B. &amp;nbsp;TOGAF states that Architecture Capability development should not be seen as a phase of an architecture project but as a separate one-off project&lt;br /&gt;
C. &amp;nbsp;The ADM is an ideal method to be used to architect and govern the implementation of such Architecture Capability&lt;br /&gt;
D. &amp;nbsp;Applying the ADM with the specific Architecture Vision to establish an architecture practice within the organization would help building Architecture Capability&lt;br /&gt;
E. &amp;nbsp;Implementing any capability within an organization would require the design of the four domain architectures&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: What question should the architect answer to ensure the completeness of the architecture?&lt;br /&gt;
A. Can the views be connected to each other?&lt;br /&gt;
B. &amp;nbsp;Can the conflicting concerns be reconciled?&lt;br /&gt;
C. &amp;nbsp;What trade-offs have been made?&lt;br /&gt;
D. &amp;nbsp;Does it address all the concerns of its stakeholders?&lt;br /&gt;
E. &amp;nbsp;Is the architecture implementable?&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following relationship between view, viewpoint, stakeholder and architecture is correct?&lt;br /&gt;
A. &amp;nbsp;Stakeholder concern is address by one or more viewpoints&lt;br /&gt;
B. &amp;nbsp;An architecture consists of multiple viewpoints&lt;br /&gt;
C. &amp;nbsp;One of more viewpoint can be used to cover a concern&lt;br /&gt;
D. &amp;nbsp;A Viewpoint conforms to a view&lt;br /&gt;
E. &amp;nbsp;Viewpoint library contains multiple views&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: Which among the following statements is NOT correct?&lt;br /&gt;
A. &amp;nbsp;TOGAF recommends the way in which functionality, products, and custom developments are assembled into building blocks&lt;br /&gt;
B. &amp;nbsp;Every organization must decide for itself what arrangement of building blocks works best for it&lt;br /&gt;
C. &amp;nbsp;A good choice of building blocks can lead to improvements in legacy system integration, interoperability, and flexibility in the creation of new systems and applications&lt;br /&gt;
D. &amp;nbsp;An architecture is a composition of a set of building blocks and the specification of how those building blocks are connected&lt;br /&gt;
E. &amp;nbsp;Various building blocks in an architecture specify the services required in an enterprise specific system&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
&lt;br /&gt;
Question: Which among the following statements about patterns is NOT correct?&lt;br /&gt;
A. &amp;nbsp;Pattern is “an idea that has been useful in one practical context and will probably be useful in others”&lt;br /&gt;
B. &amp;nbsp;Patterns are considered to be a way of putting building blocks into context&lt;br /&gt;
C. &amp;nbsp;Patterns can tell when, why, and what trade-offs you have to make&lt;br /&gt;
D. &amp;nbsp;Patterns are a package of functionality defined to meet business needs across an organization&lt;br /&gt;
E. &amp;nbsp;Patterns offer the promise of helping the architect to solutions that have been proven to deliver effective in the past&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: What does the Architecture Requirements Specification provide?&lt;br /&gt;
A. &amp;nbsp;A qualitative view of the solution and aims to communicate the intent of the architects&lt;br /&gt;
B. &amp;nbsp;A quantitative view of the solution stating measurable criteria&lt;br /&gt;
C. &amp;nbsp;List of individual increments of change&lt;br /&gt;
D. &amp;nbsp;An aspirational view of the end architecture product&lt;br /&gt;
E. &amp;nbsp;Context for architecture work by describing the needs&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is NOT a key ADM Deliverable?&lt;br /&gt;
A. &amp;nbsp;Architecture Contract&lt;br /&gt;
B. &amp;nbsp;Architecture Principles&lt;br /&gt;
C. &amp;nbsp;Architecture Repository&lt;br /&gt;
D. &amp;nbsp;Change Request&lt;br /&gt;
E. &amp;nbsp;Integrated Information Infrastructure&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: Which among the following are NOT service categories in the TRM?&lt;br /&gt;
A. &amp;nbsp;Data management and data interchange&lt;br /&gt;
B. &amp;nbsp;User interface, graphics and image&lt;br /&gt;
C. &amp;nbsp;Security, system and network management&lt;br /&gt;
D. &amp;nbsp;Software engineering&lt;br /&gt;
E. &amp;nbsp;Information brokers and application integrators&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: Which among the following statements about Boundary-less Information Flow is NOTcorrect?&lt;br /&gt;
A. &amp;nbsp;It is a trademark of The Open Group&lt;br /&gt;
B. &amp;nbsp;It provides insights related to customer needs&lt;br /&gt;
C. &amp;nbsp;An infrastructure that provides Boundaryless Information Flow has open standard components&lt;br /&gt;
D. &amp;nbsp;Its problem space is one that is shared by many customer members of The Open Group, and by many similar organizations worldwide&lt;br /&gt;
E. &amp;nbsp;It is a shorthand representation of “access to integrated information to support business process improvements”&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Test 3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Question: Which section of the TOGAF document describes the processes, skills and roles to establish and operate an architecture function within an enterprise?&lt;br /&gt;
A. Part II: Architecture Development Method&lt;br /&gt;
B. Part III: ADM Guidelines and Techniques&lt;br /&gt;
C. Part IV: Architecture Content Framework&lt;br /&gt;
D. Part VI: TOGAF Reference Models&lt;br /&gt;
E. Part VII: Architecture Capability Framework&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
Part VII: Architecture Capability Framework discusses the organization, processes, skills, roles, and responsibilities required to establish and operate an architecture practice within an enterprise.&lt;br /&gt;
&lt;br /&gt;
Question: Complete the sentence. To promote effective architectural activity within the enterprise, TOGAF 9 recommends the establishment of a(n) _____&lt;br /&gt;
A. Enterprise Architecture Capability&lt;br /&gt;
B. IT Governing Board&lt;br /&gt;
C. Program Management Office&lt;br /&gt;
D. Quality Assurance department&lt;br /&gt;
E. Service Management department&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
A: An enterprise architecture capability (or architecture capability) in the context of TOGAF, is the ability for an organization to effectively undertake the activities of an enterprise architecture practice.&lt;br /&gt;
&lt;br /&gt;
Question: Which phase of the ADM is used to finalize a set of transition architectures that will support implementation?&lt;br /&gt;
A. Phase D&lt;br /&gt;
B. Phase E&lt;br /&gt;
C. Phase F&lt;br /&gt;
D. Phase G&lt;br /&gt;
E. Phase H&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
C: Phase F confirms the Transition Architectures defined in Phase E with the relevant stakeholders and finalizes them.&lt;br /&gt;
&lt;br /&gt;
Question: Which one of the following statements best describes the ADM Guidelines and Techniques?&lt;br /&gt;
A. Guidelines address different usage scenarios including different process styles and specialist architectures that can be adapted in the ADM&lt;br /&gt;
B. Guidelines address different usage scenarios that cannot be adapted directly into the ADM iteration process&lt;br /&gt;
C. Techniques support different usage scenarios that can be adapted directly into the ADM iteration process&lt;br /&gt;
D. Techniques support different usage scenarios including different process styles and specialist architectures that can be adapted in the ADM&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
TOGAF 9 Part III contains a collection of guidelines and techniques for use in applying TOGAF and the ADM. The guidelines document how to adapt the ADM process and specialist architecture styles, whereas the techniques are used when applying the ADM process.&lt;br /&gt;
&lt;br /&gt;
Question: According to TOGAF, the recommended dimensions used to define the scope of an architecture include all the following, except:&lt;br /&gt;
A. Architecture Domains&lt;br /&gt;
B. Breadth&lt;br /&gt;
C. Depth&lt;br /&gt;
D. Subject Matter&lt;br /&gt;
E. Time Period&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
The recommended dimensions to define the scope of an architecture activity are breadth, depth, time period and architecture domains.&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following classes of architectural information within the Architecture Repository defines processes that support governance of the Architecture Repository?&lt;br /&gt;
A. Architecture Capability&lt;br /&gt;
B. Architecture Landscape&lt;br /&gt;
C. Architecture Metamodel&lt;br /&gt;
D. Governance Log&lt;br /&gt;
E. Reference Library&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
The Architecture Capability defines the parameters, structures, and processes that support governance of the Architecture Repository.&lt;br /&gt;
&lt;br /&gt;
Question: In which ADM phase are the business principles, business goals and strategic drivers validated?&lt;br /&gt;
A. Preliminary Phase&lt;br /&gt;
B. Phase A, Architecture Vision&lt;br /&gt;
C. Phase B, Business Architecture&lt;br /&gt;
D. Phase H, Architecture Change Management&lt;br /&gt;
E. Requirements Management Phase&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
Phase A, Architecture Vision includes the validation of business principles, goals, strategic drivers, and also Key Performance Indicators (KPIs)&lt;br /&gt;
&lt;br /&gt;
Question: Which section of the TOGAF document describes the purpose of deliverables produced as outputs from the ADM cycle?&lt;br /&gt;
A. ADM Guidelines and Techniques&lt;br /&gt;
B. Architecture Capability Framework&lt;br /&gt;
C. Architecture Content Framework&lt;br /&gt;
D. Architecture Governance Framework&lt;br /&gt;
E. TOGAF Reference Models&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
The Architecture Content Framework provides a detailed model of architectural work products, including deliverables and their purpose, artifacts within deliverables, and the Architecture Building Blocks (ABBs) that deliverables represent.&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following best describes the TOGAF Technical Reference Model?&lt;br /&gt;
A. The TOGAF Architecture Development Method mandates the use of the Technical Reference Model for large complex architecture projects&lt;br /&gt;
B. The Technical Reference Model is an integral part of the TOGAF Architecture Development Method&lt;br /&gt;
C. The Technical Reference Model should not be modified&lt;br /&gt;
D. The Technical Reference Model includes a set of graphical models and a corresponding taxonomy&lt;br /&gt;
E. The Technical Reference Model provides a direct mapping to the Zachman Framework&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
The TRM has two main components:1. A taxonomy that defines terminology, and provides a coherent description of the components and conceptual structure of an information system. 2.A model, with an associated TRM graphic, that provides a visual representation of the taxonomy, as an aid to understanding&lt;br /&gt;
&lt;br /&gt;
Question: Which one of the following best describes a primary use of the Architecture Vision document?&lt;br /&gt;
A. A checklist for compliance reviews&lt;br /&gt;
B. An evaluation tool to select vendors to conduct a proof of concept demonstration&lt;br /&gt;
C. To calculate detailed cost estimates&lt;br /&gt;
D. To project plan the implementation activities&lt;br /&gt;
E. To describe the benefits of the proposed capability to stakeholders&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
The Architecture Vision provides the sponsor with a key tool to sell the benefits of the proposed capability to stakeholders and decision-makers within the enterprise. It describes how the new capability will meet the business goals and strategic objectives and address the stakeholder concerns when implemented.&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following could be considered for potential use in Phase C, Application Architecture?&lt;br /&gt;
A. The ARTS data model&lt;br /&gt;
B. The Integrated Information Infrastructure Reference Model&lt;br /&gt;
C. The Resource-Event-Agent model&lt;br /&gt;
D. The STEP framework&lt;br /&gt;
E. The TOGAF Technical Reference Model&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
TOGAF includes the Reference Model for Integrated Information Infrastructure (III-RM) that could be considered for use in this phase. It focuses on the application-level components and services necessary to provide an integrated information infrastructure.&lt;br /&gt;
&lt;br /&gt;
Question: In Phase G, what document establishes the connection between the architecture organization and the implementation organization?&lt;br /&gt;
A. Architecture Contract&lt;br /&gt;
B. Architecture Landscape&lt;br /&gt;
C. Architecture Roadmap&lt;br /&gt;
D. Requirements Impact Statement&lt;br /&gt;
E. Transition Architecture&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
Architecture Contracts are the joint agreements between development partners and sponsors on the deliverables, quality, and fitness-for-purpose of an architecture. They are produced in Phase G.&lt;br /&gt;
&lt;br /&gt;
Question: Which phase of the ADM is an on-going activity that is visited throughout a TOGAF architecture project?&lt;br /&gt;
A. Architecture Change Management&lt;br /&gt;
B. Implementation governance&lt;br /&gt;
C. Migration planning&lt;br /&gt;
D. Preliminary Phase&lt;br /&gt;
E. Requirements Management&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
The process of managing architecture requirements applies to all phases of the ADM cycle. As shown by its central placement in the ADM cycle diagram, this process is central to driving the ADM process.&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following statements is true about risk management in the ADM?&lt;br /&gt;
A. Risk analysis is best conducted in the Architecture Vision phase so that the risk is eliminated in subsequent phases&lt;br /&gt;
B. Risk analysis should be carried out first in the Migration Planning phase&lt;br /&gt;
C. Risk analysis is outside the scope of enterprise architecture projects&lt;br /&gt;
D. Risk is pervasive in all enterprise architecture activity and should be managed in all phases of the ADM&lt;br /&gt;
E. The only risks that are within the scope of enterprise architecture are technological risks&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
Risk is pervasive in any enterprise architecture activity and present in all phases within the ADM.&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following best describes capability based planning?&lt;br /&gt;
A. A business planning technique that focuses on business outcomes&lt;br /&gt;
B. A business planning technique that focuses on horizontal capabilities&lt;br /&gt;
C. A business planning technique that focuses on vertical capabilities&lt;br /&gt;
D. A human resource planning technique that focuses on capable architects&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
Capability-Based Planning is a business planning technique that focuses on business outcomes. It is business-driven and business-led and combines the requisite efforts of all lines of business to achieve the desired capability. It accommodates most, if not all, of the corporate business models and is especially useful in organizations where a latent capability to respond (e.g., an emergency preparedness unit) is required and the same resources are involved in multiple capabilities.&lt;br /&gt;
&lt;br /&gt;
Question: According to TOGAF, which one of the following is the practice by which the enterprise architecture and other architectures are managed and controlled at an enterprise level?&lt;br /&gt;
A. Architecture governance&lt;br /&gt;
B. Corporate governance&lt;br /&gt;
C. IT governance&lt;br /&gt;
D. Technology governance&lt;br /&gt;
E. The program management office&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
Architecture Governance is the practice by which enterprise architectures and other architectures are managed and controlled at an enterprise-wide level.&lt;br /&gt;
&lt;br /&gt;
Question: Which one of the following is documented in TOGAF Part VII as a guideline for how to establish an Enterprise Architecture Capability?&lt;br /&gt;
A. Develop an Architecture Roadmap&lt;br /&gt;
B. Populate the Architecture Repository&lt;br /&gt;
C. Populate the Enterprise Continuum&lt;br /&gt;
D. Use the Architecture Development Method&lt;br /&gt;
E. Use the Implementation Governance Phase&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
TOGAF Part VII recommends applying the ADM with the specific Architecture Vision to establish an enterprise architecture capability within an organization.&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following statements best describes the purpose of the Architecture Requirements Specification?&lt;br /&gt;
A. A document that triggers the start of an architecture development cycle&lt;br /&gt;
B. A qualitative view of the solution to communicate the intent of the architect&lt;br /&gt;
C. A quantitative view of the solution to measure the implementation&lt;br /&gt;
D. A record of deviations from the planned architectural approach to identify changes to be made&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
The Architecture Requirements Specification provides a set of quantitative statements that outline what an implementation project must do in order to comply with the architecture.&lt;br /&gt;
&lt;br /&gt;
Question: Which one of the following best describes the purpose of the Communications Plan?&lt;br /&gt;
A. To ensure that architecture information is communicated to the right stakeholders at the right time&lt;br /&gt;
B. To support Boundaryless Information Flow&lt;br /&gt;
C. To evangelize the architecture to the end user community&lt;br /&gt;
D. To keep the Architecture Review Board appraised of changes to the architecture&lt;br /&gt;
E. To ensure that the outcomes of a Compliance Assessment are distributed to the members of the&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
Effective communication of targeted information to the right stakeholders at the right time is a critical success factor for enterprise architecture. Development of a Communications Plan in Phase A for the architecture allows for this communication to be carried out within a planned and managed process.&lt;br /&gt;
&lt;br /&gt;
Question: Complete the sentence. The statement, &quot;Getting information to the right people at the right time in a secure, reliable manner in order to support the operations that are core to the extended enterprise&quot; describes the concept of _____&lt;br /&gt;
A. Boundaryless Information Flow&lt;br /&gt;
B. Interoperability&lt;br /&gt;
C. Portability&lt;br /&gt;
D. Service Oriented Architecture&lt;br /&gt;
E. Semantic Web&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
Boundaryless Information Flow is essentially the problem of getting information to the right people at the right time in a secure, reliable manner, in order to support the operations that are core to the extended enterprise.&lt;br /&gt;
&lt;br /&gt;
Question: According to TOGAF, where should architecture governance artifacts be stored?&lt;br /&gt;
A. In the Architecture Repository&lt;br /&gt;
B. In the Foundation Architecture&lt;br /&gt;
C. In the Integrated Infrastructure Reference Model&lt;br /&gt;
D. In the Requirements Repository&lt;br /&gt;
E. In the Standards Information Base&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
Architecture governance artifacts should be stored in the Architecture Repository.&lt;br /&gt;
&lt;br /&gt;
Question: Which architecture domain describes logical software and hardware capabilities?&lt;br /&gt;
A. Application Architecture&lt;br /&gt;
B. Business Architecture&lt;br /&gt;
C. Data Architecture&lt;br /&gt;
D. Information Systems Architecture&lt;br /&gt;
E. Technology Architecture&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
The Technology Architecture includes the software and hardware capabilities that are required to support the deployment of business, data, and application services. This includes IT infrastructure, middleware, networks, communications, processing, and standards.&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following lists the components within the Architecture Repository?&lt;br /&gt;
A. Organizational Metamodel, Architecture Capability, Architecture Landscape, Best Practices, Reference Library, Compliance Strategy&lt;br /&gt;
B. Architecture Metamodel, Organizational Capability Model, Application Landscape, SIB, Reference Library, Governance Model&lt;br /&gt;
C. Business Metamodel, Architecture Capability, Architecture Landscape, SIB, Reference Library, Governance Log&lt;br /&gt;
D. Architecture Metamodel, Architecture Capability, Architecture Landscape, SIB, Reference Library, Governance Log&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
The main components of the Architecture Repository are the Architecture Metamodel, Architecture Capability, Architecture Landscape, SIB, Reference Library, and Governance Log.&lt;br /&gt;
&lt;br /&gt;
Question Which of the following reasons best describes why the ADM numbering scheme for versioning output is an example and not mandatory?&lt;br /&gt;
A. To show the evolution of deliverables&lt;br /&gt;
B. To permit adaptation as required&lt;br /&gt;
C. To enable use with the Architecture Content Framework&lt;br /&gt;
D. To support change management&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
The numbering scheme provided in the TOGAF ADM for its outputs is intended as an example. It should be adapted by the architect to meet the requirements of the organization and to work with the architecture tools and repositories employed by the organization.&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is not one of the domain architectures produced by the TOGAF ADM process?&lt;br /&gt;
A. Application Architecture&lt;br /&gt;
B. Business Architecture&lt;br /&gt;
C. Data Architecture&lt;br /&gt;
D. Pattern Architecture&lt;br /&gt;
E. Technology Architecture&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
D Pattern Architecture is not one of the four domain architectures, which are BDAT: Business, Data, Application, and Technology Architecture.&lt;br /&gt;
&lt;br /&gt;
Question: Which of the TOGAF ADM phases is considered to be the initial phase of an Architecture Development Cycle?&lt;br /&gt;
A. Preliminary Phase&lt;br /&gt;
B. Phase A&lt;br /&gt;
C. Phase B&lt;br /&gt;
D. Phase E&lt;br /&gt;
E. Phase G&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
B Phase A: Architecture Vision is the initial phase of a cycle. Note that the Preliminary Phase is a preparatory phase. Phase A: Architecture Vision describes the initial phase of an Architecture Development Cycle. It includes information about defining the scope, identifying the stakeholders, creating the Architecture Vision, and obtaining approvals.&lt;br /&gt;
&lt;br /&gt;
Question: Which one of the following is defined as describing the state of an architecture at an architecturally significant point in time during the progression from the Baseline to the Target Architecture?&lt;br /&gt;
A. Capability Architecture&lt;br /&gt;
B. Foundation Architecture&lt;br /&gt;
C. Segment Architecture&lt;br /&gt;
D. Solution Architecture&lt;br /&gt;
E. Transition Architecture&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
E A Transition Architecture is defined as a formal description of one state of the architecture at an architecturally significant point in time. One or more Transition Architectures may be used to describe the progression in time from the Baseline to the Target Architecture&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is one of the Categories of Skills in the TOGAF Architecture Skills Framework?&lt;br /&gt;
A. Human Resource Skills&lt;br /&gt;
B. Vendor Management Skills&lt;br /&gt;
C. IT Procurement Skills&lt;br /&gt;
D. IT General Knowledge Skills&lt;br /&gt;
E. Programming Skills&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
D Phase F: Migration Planning develops the detailed Implementation and Migration Plan that addresses how to move from the Baseline to the Target Architecture.&lt;br /&gt;
&lt;br /&gt;
Question: Complete the sentence: The TOGAF Integrated Information Infrastructure Reference Model (III-RM) is classified in the Architecture Continuum as an example of a(n) _______.&lt;br /&gt;
A. Common Systems Architecture&lt;br /&gt;
B. Industry Architecture&lt;br /&gt;
C. Enterprise Architecture&lt;br /&gt;
D. Foundation Architecture&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
A The III-RM is a Common Systems Architecture. The TOGAF Integrated Information Infrastructure Reference Model (III-RM) is a reference model that supports describing Common Systems Architecture in the Application domain that focuses on the requirements, building blocks, and standards relating to the vision of Boundaryless Information Flow.&lt;br /&gt;
&lt;br /&gt;
Question: Which of the ADM phases includes the objective of establishing the organizational model for enterprise architecture?&lt;br /&gt;
A. Preliminary&lt;br /&gt;
B. Phase A&lt;br /&gt;
C. Phase B&lt;br /&gt;
D. Phase D&lt;br /&gt;
E. Phase E&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
A The Preliminary Phase has as part of its objectives establishment of the Architecture Capability; it includes defining and establishing the Organizational&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is a technique that can be used to discover and document business requirements in Phase A?&lt;br /&gt;
A. Business Scenarios&lt;br /&gt;
B. Business Transformation Readiness Assessment&lt;br /&gt;
C. Capability Based Planning&lt;br /&gt;
D. Gap Analysis&lt;br /&gt;
E. Stakeholder Management&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
A Business scenarios are an appropriate and useful technique to discover and document business requirements in Phase A, and to articulate an Architecture Vision that responds to those requirements.&lt;br /&gt;
&lt;br /&gt;
Question: Complete the sentence. The Transition Architectures defined in Phase E are confirmed with the stakeholders in _________________.&lt;br /&gt;
A. Phase E&lt;br /&gt;
B. Phase F&lt;br /&gt;
C. Phase G&lt;br /&gt;
D. Phase H&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
B The Transition Architectures are confirmed in Phase F. An objective of Phase F is to ensure that the business value and cost of work packages and Transition Architectures is understood by key stakeholders&lt;br /&gt;
&lt;br /&gt;
Question: Complete the sentence. According to the TOGAF standard, a good business scenario should be “SMART”. The letter “S” stands for ______________.&lt;br /&gt;
A. Solution-oriented&lt;br /&gt;
B. Specific&lt;br /&gt;
C. Strategic&lt;br /&gt;
D. Stakeholder-oriented&lt;br /&gt;
E. Segmented&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
B The S in SMART stands for Specific. &amp;nbsp;SMART is defined as follows: Specific, by defining what needs to be done. Measurable, through clear metrics for success. Actionable, by clearly segmenting the problem and providing the basis for a solution. &amp;nbsp;Realistic, in that the problem can be solved within the bounds of physical reality, time, and cost constraints. Time-bound, in that there is a clear statement of when the opportunity expires.&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following best describes the Business Transformation Readiness Assessment technique?&lt;br /&gt;
A. A technique to define the degree to which information and services are to be shared&lt;br /&gt;
B. A technique used to validate an architecture&lt;br /&gt;
C. A technique used to identify and understand the business requirements an architecture must address&lt;br /&gt;
D. A technique used to develop general rules and guidelines for the architecture being developed&lt;br /&gt;
E. A technique used to understand the readiness of an organization to accept change&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
E The Business Transformation Readiness Assessment technique is used for determining the readiness of an organization to accept change. Enterprise architecture often involves considerable change. It provides a technique for understanding the readiness of an organization to accept change, identifying the issues, and dealing with them in the Implementation and Migration Plan. It is based on the Canadian Government Business Transformation Enablement Program (BTEP).&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following best describes the Capability-Based Planning technique?&lt;br /&gt;
A. A technique used to plan the degree to which information and services are to be shared&lt;br /&gt;
B. A technique used to validate an architecture&lt;br /&gt;
C. A technique used for business planning that focuses on business outcomes&lt;br /&gt;
D. A technique used to develop general rules and guidelines for the architecture being developed&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
C Capability-Based Planning is a business planning technique that focuses on business outcomes. It is business-driven and business-led and combines the requisite efforts of all lines of business to achieve the desired capability. It accommodates most, if not all, of the corporate business models and is especially useful in organizations where a latent capability to respond (e.g., an emergency preparedness unit) is required and the same resources are involved in multiple capabilities. Often the need for these capabilities is discovered and refined using business scenarios.&lt;br /&gt;
&lt;br /&gt;
Question: Which one of the following best describes an Architecture Contract?&lt;br /&gt;
A. An agreement between the development partners and stakeholders on the acceptable risks and mitigating actions for an architecture&lt;br /&gt;
B. An agreement between development partners and sponsors on the deliverables, quality, and fitness-for-purpose of an architecture&lt;br /&gt;
C. An agreement between the lead architect and the development partners on the enforcement of Architecture Compliance for an architecture&lt;br /&gt;
D. An agreement between development partners and sponsors on how best to monitor implementation of the architecture&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
B The agreement is between development partners and sponsors. Architecture Contracts are joint agreements between development partners and sponsors on the deliverables, quality, and fitness-for-purpose of an architecture. Successful implementation of these agreements will be delivered through effective Architecture Governance. Taking a governed approach to contract management ensures a system that continuously monitors integrity, changes, decision-making, and audit, as well as adherence to the principles, standards, and requirements of the enterprise. The architecture team may also be included in product procurement, to help minimize the opportunity for misinterpretation of the enterprise architecture.&lt;br /&gt;
&lt;br /&gt;
Question: TOGAF defines a set of terms to describe Architecture Compliance. Which one of the following applies to the case where an implementation has no features in common with the architecture specification?&lt;br /&gt;
A. Compliant&lt;br /&gt;
B. Conformant&lt;br /&gt;
C. Irrelevant&lt;br /&gt;
D. Non-conformant&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
C Where no features are in common then it is termed Irrelevant.&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following terms does TOGAF use to describe people who have key roles in, or concerns about, a system?&lt;br /&gt;
A. Architect&lt;br /&gt;
B. Consumer&lt;br /&gt;
C. Customer&lt;br /&gt;
D. Sponsor&lt;br /&gt;
E. Stakeholder&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
E Stakeholders are people who have key roles in, or concerns about, the system; for example, users, developers, etc. Stakeholders can be individuals, teams, organizations, etc. A system has one or more stakeholders. Each stakeholder typically has interests in, or concerns relative to, that system.&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following ADM phases is where SBBs first appear in the ADM cycle?&lt;br /&gt;
A. Phase A&lt;br /&gt;
B. Phase B&lt;br /&gt;
C. Phase D&lt;br /&gt;
D. Phase E&lt;br /&gt;
E. Phase G&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
D SBBs appear in Phase E of the ADM where product-specific building blocks are considered for the first time. SBBs define what products and components will implement the functionality, thereby defining the implementation.&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following documents acts as the deliverable container for the Business, Data, Application, and Technology architectural artifacts?&lt;br /&gt;
A. Architecture Contract&lt;br /&gt;
B. Architecture Definition Document&lt;br /&gt;
C. Architecture Requirements Specification&lt;br /&gt;
D. Architecture Roadmap&lt;br /&gt;
E. Architecture Vision&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
B The Architecture Definition Document is the deliverable container for the core architectural artifacts created during a project and for important related information. The Architecture Definition Document spans all architecture domains (Business, Data, Application, and Technology) and also examines all relevant states of the architecture (baseline, transition, and target).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Test 4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Question:Which one of the following best describes TOGAF?&lt;br /&gt;
A. A framework and method for architecture development&lt;br /&gt;
B. An architecture pattern&lt;br /&gt;
C. A business model&lt;br /&gt;
D. A method for developing Technology Architectures&lt;br /&gt;
E. A method for IT Governance&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
This is the best answer. TOGAF is a framework - a detailed method and a set of supporting tools - for developing an enterprise architecture.&lt;br /&gt;
&lt;br /&gt;
Question:Which part of the TOGAF document provides a number of architecture development phases, together with narratives for each phase?&lt;br /&gt;
A. Part I: Introduction&lt;br /&gt;
B. Part II: Architecture Development Method (ADM)&lt;br /&gt;
C. Part III: ADM Guidelines and Techniques&lt;br /&gt;
D. Part IV: Architecture Content Framework&lt;br /&gt;
E. Part V: Enterprise Continuum and Tools&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: According to TOGAF, all of the following are suggested characteristics of an architecture framework, except __________&lt;br /&gt;
A. A common vocabulary&lt;br /&gt;
B. A list of recommended standards&lt;br /&gt;
C. A method for designing a target state of the enterprise in terms of building blocks&lt;br /&gt;
D. A set of structures which can be used to develop a broad range of architectures&lt;br /&gt;
E. A software development lifecycle method&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
An architecture framework is a foundational structure, or set of structures, which can be used for developing a broad range of different architectures. It should describe a method for designing a target state of the enterprise in terms of a set of building blocks, and for showing how the building blocks fit together. It should contain a set of tools and provide a common vocabulary. It should also include a list of recommended standards and compliant products that can be used to implement the building blocks.&lt;br /&gt;
&lt;br /&gt;
Question: Which of the TOGAF architecture development phases includes the development of Data and Application Architectures?&lt;br /&gt;
A. Phase A&lt;br /&gt;
B. Phase B&lt;br /&gt;
C. Phase C&lt;br /&gt;
D. Phase D&lt;br /&gt;
E. Phase E&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
Phase C: Information Systems Architectures describes the development of Information Systems Architectures for an architecture project, including the development of Data and Application Architectures.&lt;br /&gt;
&lt;br /&gt;
Question: Which one of the following does the Architecture Content Framework describe as a work product that is contractually specified, formally reviewed, and signed off by the stakeholders?&lt;br /&gt;
A. An artifact&lt;br /&gt;
B. A building block&lt;br /&gt;
C. A catalog&lt;br /&gt;
D. A deliverable&lt;br /&gt;
E. A matrix&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
A deliverable is a work product that is contractually specified and in turn formally reviewed, agreed, and signed off by the stakeholders. Deliverables represent the output of projects and those deliverables that are in documentation form will typically be archived at completion of a project, or transitioned into an Architecture Repository as a reference model, standard, or snapshot of the Architecture Landscape at a point in time.&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following best completes the sentence: The Enterprise Continuum __________&lt;br /&gt;
A. describes a database of open industry standards&lt;br /&gt;
B. is an architecture framework&lt;br /&gt;
C. is a technical reference model&lt;br /&gt;
D. provides a method for architecture development&lt;br /&gt;
E. provides methods for classifying artifacts&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
The Enterprise Continuum is a model providing methods for classifying architecture and solution artifacts as they evolve from generic Foundation Architectures to Organization-Specific Architectures. The Enterprise Continuum comprises two complementary concepts: the Architecture Continuum and the Solutions Continuum.&lt;br /&gt;
&lt;br /&gt;
Question: According to TOGAF, in which ADM phase does the initial implementation planning occur?&lt;br /&gt;
A. Phase A: Architecture Vision&lt;br /&gt;
B. Phase B: Business Architecture&lt;br /&gt;
C. Phase C: Information Systems Architectures&lt;br /&gt;
D. Phase D: Technology Architecture&lt;br /&gt;
E. Phase E: Opportunities and Solutions&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
Phase E: Opportunities &amp;amp; Solutions conducts initial implementation planning and the identification of delivery vehicles for the architecture defined in the previous phases.&lt;br /&gt;
&lt;br /&gt;
Question: According to TOGAF, which of the following is the reason why the first execution of an ADM cycle will be more difficult than later cycles?&lt;br /&gt;
A. Because management is not familiar with the ADM process&lt;br /&gt;
B. Because there are few architecture assets available&lt;br /&gt;
C. Because of lack of governance&lt;br /&gt;
D. Because of insufficient trained architecture practitioners&lt;br /&gt;
E. Because the Baseline Architecture must be fully defined across the enterprise&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
The first execution of the ADM will often be the hardest, since the architecture assets available for re-use will be relatively scarce. Even at this stage of development, however, there will be architecture assets available from external sources such as TOGAF, as well as the IT industry at large, that could be leveraged in support of the effort.&lt;br /&gt;
&lt;br /&gt;
Question: As architecture deliverables and work products created in one ADM phase are modified by subsequent phases, how does TOGAF suggest tracking the changes?&lt;br /&gt;
A. Change control committee&lt;br /&gt;
B. Document checkpoints and journaling&lt;br /&gt;
C. Publish and subscribe system&lt;br /&gt;
D. Version numbers&lt;br /&gt;
E. Workflow management system&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
Output is generated throughout the ADM process, and output in an early phase may be modified in a later phase. TOGAF recommends that the versioning of output is managed through version numbers. In all cases, the ADM numbering scheme is provided as an example. It should be adapted by the architect to meet the requirements of the organization and to work with the architecture tools and repositories employed by the organization.&lt;br /&gt;
&lt;br /&gt;
Question: Complete the sentence: The architectures that address the detailed enterprise needs and business requirements within the Architecture Continuum are known as_______&lt;br /&gt;
A. Strategic Architectures&lt;br /&gt;
B. Foundation Architectures&lt;br /&gt;
C. Industry Architectures&lt;br /&gt;
D. Common Systems Architectures&lt;br /&gt;
E. Organization-Specific Architectures&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
Organization-Specific Architectures are viewed as being at the right end of the Architecture Continuum, and are the most relevant to the IT customer community, since they describe and guide the final deployment of solution components for a particular enterprise or extended network of connected enterprises.&lt;br /&gt;
&lt;br /&gt;
Question: According to TOGAF, which one of the following is described as a view of the Architecture Repository and provides methods for classifying architecture and solution artifacts as they evolve?&lt;br /&gt;
A. Architecture Landscape&lt;br /&gt;
B. Architecture Governance Repository&lt;br /&gt;
C. Enterprise Continuum&lt;br /&gt;
D. Governance Log&lt;br /&gt;
E. Standards Information Base&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
The Enterprise Continuum provides a view of the Architecture Repository that shows the evolution of these related architectures from generic to specific, from abstract to concrete, and from logical to physical.&lt;br /&gt;
&lt;br /&gt;
Question: Which one of the following represents the detailed construction of the architectures defined in the Architecture Continuum?&lt;br /&gt;
A. Architecture Building Blocks&lt;br /&gt;
B. Conceptual Models&lt;br /&gt;
C. Foundation Architectures&lt;br /&gt;
D. Reference Models&lt;br /&gt;
E. Solution Building Blocks&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
The Solutions Continuum defines what is available in the organizational environment as re-usable Solution Building Blocks (SBBs).&lt;br /&gt;
&lt;br /&gt;
Question: An organization has bought a large enterprise application. As a result, which of the following could be included in the organization’s Solutions Continuum?&lt;br /&gt;
A. A reference implementation of the Foundation Architecture&lt;br /&gt;
B. A reference implementation of the Technical Reference Model for the organization&lt;br /&gt;
C. Architecture Building Blocks for the organizations’ Industry-Specific Architecture&lt;br /&gt;
D. Detailed pricing information about the purchased products&lt;br /&gt;
E. Product information for purchased products&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
The Solutions Continuum is a population of the architecture with reference building blocks - either purchased products or built components - that represent a solution to the enterprise&#39;s business need expressed at that level.&lt;br /&gt;
&lt;br /&gt;
Question: Complete the sentence: All of the following are technology-related drivers for architecture Change Requests, except __________&lt;br /&gt;
A. asset management cost reductions&lt;br /&gt;
B. new technology reports&lt;br /&gt;
C. standards initiatives&lt;br /&gt;
D. strategic change&lt;br /&gt;
E. technology withdrawal&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
Strategic change is a business driver.&lt;br /&gt;
ADM Phases&lt;br /&gt;
&lt;br /&gt;
Question: Complete the sentence: In Phase C, when an existing application is to be replaced, the Data Architecture should______________&lt;br /&gt;
A. be re-factored to align with the technology infrastructure&lt;br /&gt;
B. describe how this change impacts other projects&lt;br /&gt;
C. identify the data migration requirements&lt;br /&gt;
D. include the application interoperability requirements&lt;br /&gt;
E. estimate the effort required to overcome any issues&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
When an existing application is replaced, there will be a critical need to migrate data (master, transactional, and reference) to the new application. The Data Architecture should identify data migration requirements and also provide indicators as to the level of transformation, weeding, and cleansing that will be required to present data in a format that meets the requirements and constraints of the target application.&lt;br /&gt;
&lt;br /&gt;
Question: The approach of the Preliminary Phase is about defining “where, what, why, who, and how we do architecture” in the enterprise concerned. Which one of the following statements is not correct?&lt;br /&gt;
A. “Where” can be seen as scoping the enterprise concerned&lt;br /&gt;
B. “Why” can be seen as the key drivers and elements in the context of the organization&lt;br /&gt;
C. “Who” can be seen as defining the sponsor responsible for performing the architectural work&lt;br /&gt;
D. “How” is determined by the frameworks selected and the methodologies that are going to be used&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
Who is to identify the sponsor stakeholder(s) and other major stakeholders impacted by the business directive to create an enterprise architecture and determine their requirements and priorities from the enterprise, their relationships with the enterprise, and required working behaviors with each other. Note in this answer it incorrectly suggests that the sponsor performs the work.&lt;br /&gt;
&lt;br /&gt;
Question: In which phase of the ADM are the gap analysis results from the four architecture domains taken into account?&lt;br /&gt;
A. Phase E&lt;br /&gt;
B. Phase F&lt;br /&gt;
C. Phase G&lt;br /&gt;
D. Phase H&lt;br /&gt;
E. Requirements Management&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
In Phase E the gap analysis results from all architecture domains are taken into account.&lt;br /&gt;
&lt;br /&gt;
Question: In Phase D, which of the following resources from the Architecture Repository should be considered in the development of the Technology Architecture?&lt;br /&gt;
A. Architecture Vision&lt;br /&gt;
B. Business rules, job descriptions&lt;br /&gt;
C. Implementation and Migration Plan&lt;br /&gt;
D. Stakeholder Map&lt;br /&gt;
E. TOGAF Technical Reference Model&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
The TOGAF TRM should be considered in the development of the Technology Architecture in Phase D.&lt;br /&gt;
&lt;br /&gt;
Question: Complete the sentence: All of the following are part of the approach to the Preliminary Phase, except ____________&lt;br /&gt;
A. defining the enterprise&lt;br /&gt;
B. identifying key drivers and elements in the organizational context&lt;br /&gt;
C. defining Architecture Contracts&lt;br /&gt;
D. defining the framework to be used&lt;br /&gt;
E. defining the requirements for architecture work&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
Architecture Contracts are prepared and issued in Phase G.&lt;br /&gt;
&lt;br /&gt;
Question: In which phase of the TOGAF ADM do activities include assessing the dependencies, costs, and benefits of the migration projects?&lt;br /&gt;
A. Phase E&lt;br /&gt;
B. Phase F&lt;br /&gt;
C. Phase G&lt;br /&gt;
D. Phase H&lt;br /&gt;
E. Requirements Management&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
Phase F activities include assessing the dependencies, costs, and benefits of the various migration projects.&lt;br /&gt;
&lt;br /&gt;
Question: Complete the sentence: Phase A is initiated upon receipt of ___________&lt;br /&gt;
A. approval from the Chief Information Officer&lt;br /&gt;
B. a directive from the Chief Executive Officer&lt;br /&gt;
C. a Request for Architecture Work from the sponsoring organization&lt;br /&gt;
D. the Implementation and Migration Plan&lt;br /&gt;
E. the Requirements Analysis document&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
Phase A starts with receipt of a Request for Architecture Work from the sponsoring organization to the architecture organization.&lt;br /&gt;
&lt;br /&gt;
Question: Complete the sentence: Business Architecture is the first architecture activity undertaken since __________&lt;br /&gt;
A. it focuses on identifying and defining the key applications used in the enterprise&lt;br /&gt;
B. it provides knowledge that is a prerequisite for undertaking work in the other architecture domains&lt;br /&gt;
C. it defines the physical realization of an architectural solution&lt;br /&gt;
D. it finalizes the Architecture Vision and Architecture Definition Documents&lt;br /&gt;
E. it mobilizes supporting operations to support the ongoing architecture development&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
A knowledge of the Business Architecture is a prerequisite for architecture work in any other domain (Data, Application, Technology), and is therefore the first architecture activity that needs to be undertaken, if not catered for already in other organizational processes (enterprise planning, strategic business planning, business process re-engineering, etc.).&lt;br /&gt;
&lt;br /&gt;
Question: Complete the sentence: According to TOGAF, Capability-Based Planning is ____&lt;br /&gt;
A. a tactical planning technique that enhances system performance&lt;br /&gt;
B. focused on technical capabilities&lt;br /&gt;
C. focused on staffing and human resource management issues&lt;br /&gt;
D. focused on business outcomes&lt;br /&gt;
E. relevant to IT architecture&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
Capability-Based Planning is a business planning technique that focuses on business outcomes. It focuses on the planning, engineering, and delivery of strategic business capabilities to the enterprise. It is business-driven and business-led and combines the requisite efforts of all lines of business to achieve the desired capability. Capability-Based Planning accommodates most, if not all, of the corporate business models and is especially useful in organizations where a latent capability to respond (e.g., an emergency preparedness unit) is required and the same resources are involved in multiple capabilities.&lt;br /&gt;
ADM Guidelines and Techniques&lt;br /&gt;
&lt;br /&gt;
Question: In which phase of the ADM is an initial assessment of Business Transformation Readiness performed?&lt;br /&gt;
A. Preliminary Phase&lt;br /&gt;
B. Phase A&lt;br /&gt;
C. Phase B&lt;br /&gt;
D. Phase E&lt;br /&gt;
E. Phase F&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
Business Transformation Readiness is first assessed in Phase A, so actions can be worked into Phases E and F in the Implementation and Migration Plan.&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is defined as the risk categorization after the implementation of mitigating actions?&lt;br /&gt;
A. Actual Level of Risk&lt;br /&gt;
B. Initial Level of Risk&lt;br /&gt;
C. Residual Level of Risk&lt;br /&gt;
D. Strategic Level of Risk&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
The risk categorization after implementation of mitigating actions is known as &quot;Residual Level of Risk&quot;.&lt;br /&gt;
&lt;br /&gt;
Question: Which one of the statements about Architecture Principles is not correct?&lt;br /&gt;
A. A good set of principles is complete.&lt;br /&gt;
B. A principle is a general rule or guideline.&lt;br /&gt;
C. A principle is transient and updated frequently.&lt;br /&gt;
D. A principle statement should be succinct and unambiguous.&lt;br /&gt;
E. They are described in a standard way.&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
Principles are intended to be enduring and seldom amended.&lt;br /&gt;
&lt;br /&gt;
Question: What technique does TOGAF recommend for identifying and understanding the requirements that an architecture must address?&lt;br /&gt;
A. Stakeholder management&lt;br /&gt;
B. Risk management&lt;br /&gt;
C. Gap analysis&lt;br /&gt;
D. Business scenarios&lt;br /&gt;
E. Architecture principles&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
Business scenarios are an important technique that may be used at various stages of the enterprise architecture, principally the Architecture Vision and the Business Architecture, but in other architecture domains as well, if required, to derive the characteristics of the architecture directly from the high-level requirements of the business. They are used to help identify and understand business needs, and thereby to derive the business requirements that the architecture development has to address.&lt;br /&gt;
&lt;br /&gt;
Question: Gap analysis is a key step in validating the architecture in Phase B: Business Architecture. Which one of the following statements is true?&lt;br /&gt;
A. Gap analysis highlights services that are available&lt;br /&gt;
B. Gap analysis highlights the impacts of change&lt;br /&gt;
C. Gap analysis highlights services that are yet to be procured&lt;br /&gt;
D. Gap analysis identifies areas where the Data Architecture needs to change&lt;br /&gt;
E. Gap analysis can be used to resolve conflicts amongst different viewpoints&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
A key step in validating an architecture is to consider what may have been forgotten.&lt;br /&gt;
&lt;br /&gt;
Question: According to TOGAF, which of the following best describes why an Architecture Board should be established?&lt;br /&gt;
A. To conduct performance appraisals on the enterprise architecture team&lt;br /&gt;
B. To conduct source code design reviews&lt;br /&gt;
C. To ensure that new systems are introduced in a managed change process&lt;br /&gt;
D. To facilitate the adoption of advanced technologies&lt;br /&gt;
E. To oversee the implementation of the governance strategy&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
A key element in a successful architecture governance strategy is a cross-organization Architecture Board to oversee the implementation of the strategy.&lt;br /&gt;
Architecture Governance&lt;br /&gt;
&lt;br /&gt;
Question: TOGAF defines levels of architecture conformance. Which of the following describes a situation where some features in an architecture specification have not been implemented, but those that have are in accordance with the specification?&lt;br /&gt;
A. Compliant&lt;br /&gt;
B. Conformant&lt;br /&gt;
C. Consistent&lt;br /&gt;
D. Irrelevant&lt;br /&gt;
E. Non-conformant&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
TOGAF describes &quot;compliant&quot; as a situation where some features in an architecture specification have not been implemented, but those that have are in accordance with the specification.&lt;br /&gt;
&lt;br /&gt;
Question: Which Architecture Governance process ensures that regulatory requirements are being met?&lt;br /&gt;
A. Business control&lt;br /&gt;
B. Compliance&lt;br /&gt;
C. Dispensation&lt;br /&gt;
D. Environment management&lt;br /&gt;
E. Policy management&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
The Compliance process ensures regulatory requirements are being met.&lt;br /&gt;
&lt;br /&gt;
Question: When applying a cycle of the ADM with the Architecture Vision to establish an Architecture Capability, which phase does TOGAF Part VII recommend defines the structure of the organization’s Architecture Repository?&lt;br /&gt;
A. Application Architecture&lt;br /&gt;
B. Business Architecture&lt;br /&gt;
C. Data Architecture&lt;br /&gt;
D. Preliminary Phase&lt;br /&gt;
E. Technology Architecture&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
The Data Architecture would define the structure of the organization&#39;s Enterprise Continuum and Architecture Repository.&lt;br /&gt;
Architecture View, Viewpoints, and Stakeholders&lt;br /&gt;
&lt;br /&gt;
Question: Views and viewpoints are used by an architect to capture or model the design of a system architecture. Which one of the following statements is true?&lt;br /&gt;
A. A view is the perspective of an individual stakeholder&lt;br /&gt;
B. A viewpoint is the perspective of an individual stakeholder&lt;br /&gt;
C. Different stakeholders always share the same views&lt;br /&gt;
D. Different stakeholders always share the same viewpoints&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
A view is what you see. A viewpoint is where you are looking from - the vantage point or perspective that determines what you see.&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is a Core Metamodel Entity?&lt;br /&gt;
A. Department.&lt;br /&gt;
B. Framework.&lt;br /&gt;
C. Processes.&lt;br /&gt;
D. Organisation.&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
Concerns are the key interests that are crucially important to the stakeholders in the system, and determine the acceptability of the system. Concerns may pertain to any aspect of the system’s functioning, development, or operation, including considerations such as performance, reliability, security, distribution, and evolvability. The terms &quot;concern&quot; and &quot;requirement&quot; are not synonymous. Concerns are the root of the process of decomposition into requirements. Concerns are represented in the architecture by these requirements. Requirements should be SMART (e.g., specific metrics).&lt;br /&gt;
Building Blocks&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is considered by TOGAF as an attribute of a good building block?&lt;br /&gt;
A. A building block that is re-usable&lt;br /&gt;
B. A building block meeting business needs&lt;br /&gt;
C. A building block with public interfaces&lt;br /&gt;
D. A building block that guides the development of solutions&lt;br /&gt;
E. A building block that is product-aware&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
TOGAF considers re-usability an attribute of a good building block.&lt;br /&gt;
&lt;br /&gt;
Question: Which one of the following best describes the content of an Architecture Building Block?&lt;br /&gt;
A. Defined implementation&lt;br /&gt;
B. Fundamental functionality&lt;br /&gt;
C. Products and components used to implement the functionality&lt;br /&gt;
D. Product or vendor-aware&lt;br /&gt;
E. Specific functionality&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
An ABB has fundamental functionality and attributes: semantic, unambiguous, including security capability and manageability.&lt;br /&gt;
ADM Deliverables&lt;br /&gt;
&lt;br /&gt;
Question: Which one of the following statements does not correctly describe architecture deliverables?&lt;br /&gt;
A. They are consumed and produced across the ADM cycle&lt;br /&gt;
B. They are defined to avoid tailoring the inputs and outputs of the ADM cycle&lt;br /&gt;
C. They are typically contractual work products of an architecture project&lt;br /&gt;
D. They are usually reviewed and signed off by the stakeholders&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
TOGAF provides a typical baseline of architecture deliverables in order to better define the activities required in the ADM and act as a starting point for tailoring within a specific organization.&lt;br /&gt;
&lt;br /&gt;
Question: What TOGAF deliverable identifies changes that are needed to the current architecture requirements and specification, and also documents the implications of change?&lt;br /&gt;
A. Requirements Impact Assessment&lt;br /&gt;
B. Architecture Vision&lt;br /&gt;
C. Gap Analysis Results&lt;br /&gt;
D. Architecture Landscape&lt;br /&gt;
E. Architecture Roadmap&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
Throughout the ADM, new information is collected relating to an architecture. As this information is gathered, new facts may come to light that invalidate existing aspects of the architecture. A Requirements Impact Assessment assesses the current architecture requirements and specification to identify changes that should be made and the implications of those changes.&lt;br /&gt;
TOGAF Ref. Model&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following best describes the purpose of the TRM?&lt;br /&gt;
A. To provide a generic framework for IT governance&lt;br /&gt;
B. To provide a list of standards&lt;br /&gt;
C. To provide a method for architecture development&lt;br /&gt;
D. To provide a system engineering viewpoint on a possible solution&lt;br /&gt;
E. To provide a visual model, and core terminology for generic platform services&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
The TOGAF Foundation Architecture is an architecture of generic services and functions that provides a foundation on which more specific architectures and architectural components can be built. This Foundation Architecture is embodied within the Technical Reference Model (TRM), which provides a model and taxonomy of generic platform services.&lt;br /&gt;
&lt;br /&gt;
Question: Where does the Integrated Information Infrastructure Reference Model fit in terms of the Enterprise Continuum?&lt;br /&gt;
A. Common Systems Architectures&lt;br /&gt;
B. Foundation Architectures&lt;br /&gt;
C. Industry Architectures&lt;br /&gt;
D. Organization-Specific Architectures&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
The TOGAF Integrated Information Infrastructure Reference Model (III-RM) is a Common Systems Architecture that focuses on the requirements, building blocks, and standards relating to the vision of Boundaryless Information Flow.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Test 5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following describes an architecture from a specific view point?&lt;br /&gt;
A. A deliverable&lt;br /&gt;
B. A building block&lt;br /&gt;
C. An Architectural Building Block&lt;br /&gt;
D. An artifact&lt;br /&gt;
E. A Solution Building Block&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: Which one of the following is not a characteristic of a building block?&lt;br /&gt;
A. Building blocks are potentially reusable component of business, IT or architectural capability&lt;br /&gt;
B. Building blocks cannot be decomposed into smaller supporting building blocks&lt;br /&gt;
C. Building blocks can be combined with other building blocks to deliver architectures and solutions&lt;br /&gt;
D. Building blocks can consist just of name or an outline description&lt;br /&gt;
E. Building blocks can be defined at various levels of detail&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: What kinds of architecture does TOGAF deal with?&lt;br /&gt;
A. Business, information, technology and application&lt;br /&gt;
B. Functional, data, technology and business&lt;br /&gt;
C. Application, data, infrastructure and business&lt;br /&gt;
D. Technology, application, integration and business&lt;br /&gt;
E. Technology, data, application and business&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is not true of the Architecture Development Method?&lt;br /&gt;
A. The ADM explains how generic solutions can be specialized to support an organisation&lt;br /&gt;
B. The ADM has ten phases&lt;br /&gt;
C. The ADM provides a tested process for developing architectures&lt;br /&gt;
D. The ADM is iterative&lt;br /&gt;
E. The ADM allows organisations to transform their enterprise in response to business goals and opportunities&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
&lt;br /&gt;
Question: Which Phase of the ADM describes the defining scope and identification of stakeholders?&lt;br /&gt;
A. Opportunities and Solutions&lt;br /&gt;
B. Architecture Vision&lt;br /&gt;
C. Preliminary Phase&lt;br /&gt;
D. This activity occurs outside of the ADM&lt;br /&gt;
E. Requirements management&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is incorrect when describing Architecture Deliverables?&lt;br /&gt;
A. Architecture Deliverables contain Artifacts&lt;br /&gt;
B. Artifacts within deliverables may include Catalogs, Matrices and Diagrams&lt;br /&gt;
C. An Architecture Definition Document is an architectural deliverable&lt;br /&gt;
D. Architecture Deliverables may be composed of more than one artifact&lt;br /&gt;
E. Deliverables cannot be used as building blocks&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is not part of the description of the Enterprise Continuum?&lt;br /&gt;
A. The Enterprise Continuum provides a view of the Architecture Repository&lt;br /&gt;
B. The Enterprise Continuum uses the structure in the architecture Repository for the classification of assets&lt;br /&gt;
C. The Enterprise Continuum comprises two complementary concepts: the Architecture Continuum and the Solutions Continuum&lt;br /&gt;
D. The Enterprise Continuum explains how generic solutions can be specialised to support a particular organisation&lt;br /&gt;
E. The Enterprise Continuum contains Architecture Context and Requirements, the Architecture Continuum, the Solutions Continuum and Deployed Solutions&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: The major components within an Architecture Repository are:&lt;br /&gt;
A. Architecture Metamodel, Reference Library, Architecture Landscape, Standards Information Base, Governance Log and Architecture Capability&lt;br /&gt;
B. Architecture Metamodel, Reference Library, Architecture Landscape, Standards Information Base, Architecture Board and Architecture Capability&lt;br /&gt;
C. Architecture Metamodel, Reference Library, Architecture Landscape, Standards Information Base, Architecture Board and Governance Log&lt;br /&gt;
D. Architecture Metamodel, Reference Library, Architecture Landscape, Standards Information Base, Architecture Board, Architecture Capability, External Reference Models, External Standards and Architecture Board&lt;br /&gt;
E. Architecture Metamodel, Reference Library, Architecture Landscape, Standards Information Base, Governance Log, Architecture Capability and the Enterprise Continuum&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
&lt;br /&gt;
Question: Under Architectural Capability as an Operational Entity TOGAF states several benefits of architecture governance. Which of the following is not stated as a benefit of Architecture Governance in TOGAF?&lt;br /&gt;
A. Value creation through monitoring, measuring, evaluation and feedback&lt;br /&gt;
B. Greater shareholder value&lt;br /&gt;
C. Protection of the existing asset base through reuse&lt;br /&gt;
D. Managing compliance&lt;br /&gt;
E. Controlled risk managementTOGAF 9 Example Multiple Choice Questions&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: The Architectural Representation of assets deployed within the operating enterprise’Is the TOGAF definition of which term?&lt;br /&gt;
A. Architecture view&lt;br /&gt;
B. Artifact&lt;br /&gt;
C. View&lt;br /&gt;
D. Architecture Landscape&lt;br /&gt;
E. Solution Architecture&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: The TOGAF Document categorisation Model consists of four categories. Which one is not a TOGAF Document category?&lt;br /&gt;
A. TOGAF Supporting&lt;br /&gt;
B. TOGAF Mandated&lt;br /&gt;
C. TOGAF Core&lt;br /&gt;
D. TOGAF Recommended&lt;br /&gt;
E. TOGAF Supplemental&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: Within Phase C: Information Systems Architectures of the ADM which of the following is not a step stated by TOGAF&lt;br /&gt;
A. Finalise the application architecture&lt;br /&gt;
B. Document dependencies and assumptions&lt;br /&gt;
C. Develop Target Application Architecture Description&lt;br /&gt;
D. Conduct formal stakeholder review&lt;br /&gt;
E. Create Architecture Definition Document&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: The objectives for Phase F, Migration Planning, does not include which of the following:&lt;br /&gt;
A. To create evolve and monitor the detailed Implementation and Migration plan&lt;br /&gt;
B. To prioritize all work packages, projects and building blocks&lt;br /&gt;
C. To confirm the Transition Architectures defined in Phase E&lt;br /&gt;
D. To finalise the Architecture Vision and Architecture Definition Document&lt;br /&gt;
E. To generate and gain consensus on an outline Implementation and Migration Strategy&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is not listed as a Technique for Architecture Development in TOGAF?&lt;br /&gt;
A. Architecture Patterns&lt;br /&gt;
B. Architecture Change Management&lt;br /&gt;
C. Risk Management&lt;br /&gt;
D. Capability Based Planning&lt;br /&gt;
E. Gap AnalysisTOGAF 9 Example Multiple Choice Questions&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is not true of Principles in TOGAF?&lt;br /&gt;
A. Architecture Principles maybe established at one or all three levels of enterprise, Information Technology and Architecture&lt;br /&gt;
B. Principles are developed by the lead enterprise architect in conjunction with the CIO, the Architecture Board and other key stakeholders&lt;br /&gt;
C. Principles must be Understandable, Robust, Complete, Consistent and Stable&lt;br /&gt;
D. The Components of Architecture Principles are Name, Statement, Rationale, Implications and Risks and Issues.&lt;br /&gt;
E. Principles are inter-related and need to be applied as a set. Principles will sometimes compete.&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: TOGAF defines four iteration cycles around the ADM phases. Which of the following answers correctly defines these four cycles?&lt;br /&gt;
A. Architecture Definition, Architecture Delivery, Architecture Planning and Architecture Governance&lt;br /&gt;
B. Architecture Context, Architecture Definition, Transition Planning and Architecture Governance&lt;br /&gt;
C. Architecture Context, Architecture Definition, Transition Planning and Architecture Requirements Management&lt;br /&gt;
D. Architecture Scope, Architecture Design, Transition Planning and Architecture Governance&lt;br /&gt;
E. Architecture Context, Architecture Definition, Architecture Planning and Architecture Requirements Management&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following correctly defines the Organisation category in the Architecture Content Framework?&lt;br /&gt;
A. Organisation, Location and Capabilities&lt;br /&gt;
B. Actor, Location, Role and Capabilities&lt;br /&gt;
C. Requirements, Actor and Function&lt;br /&gt;
D. Location, Actor, Role, and Organisation&lt;br /&gt;
E. Actor, Location and Structure&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is not a Core Metamodel Entity?&lt;br /&gt;
A. Standards&lt;br /&gt;
B. Platform Service&lt;br /&gt;
C. Data Entity&lt;br /&gt;
D. Function&lt;br /&gt;
E. Organisation&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
&lt;br /&gt;
Question: Within the Taxonomy of Architecture Viewpoints which of the following is a Core Diagram of the Architecture Vision?&lt;br /&gt;
A. Stakeholder Map Matrix&lt;br /&gt;
B. Principles Catalog&lt;br /&gt;
C. Solution Concept Diagram&lt;br /&gt;
D. Benefits Diagram&lt;br /&gt;
E. Enterprise Manageability Diagram&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: The Implementation and Migration Plan deliverable has the following content, except:&lt;br /&gt;
A. Implementation and Migration Strategy&lt;br /&gt;
B. Implementation Plan&lt;br /&gt;
C. Project Charters&lt;br /&gt;
D. Work Package Portfolio&lt;br /&gt;
E. Interactions with other management frameworks&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: The Architecture Continuum consists of which types of architecture&lt;br /&gt;
A. Foundation Architectures, Solutions Architectures, Industry Architectures and Organisation Specific Architectures&lt;br /&gt;
B. Baseline Architectures, Solution Architectures, Industry Architecture and Business Specific Architectures&lt;br /&gt;
C. Foundation Architectures, Common Systems Architecture, Industry Architectures and Organisation Specific Architectures&lt;br /&gt;
D. Foundation Architectures, Common Systems Architecture, Industry Architectures and Business Specific Architectures&lt;br /&gt;
E. Baseline Architectures, Common Systems Architecture, Industry Architectures and Organisation Specific Architectures&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following answers does not follow the TOGAF definition?&lt;br /&gt;
A. A viewpoint is where you are looking from – the vantage point or perspective that determines what you see&lt;br /&gt;
B. A view is a representation of a whole system from the perspective of a related set of concerns&lt;br /&gt;
C. An architectural description is a collection of artefacts that document an architecture&lt;br /&gt;
D. Concerns are the key interests that are crucially important to the stakeholders in the system and determine the acceptability of the system.&lt;br /&gt;
E. A system is a regularly interacting or interdependent group of items forming a unified whole&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: The following text is taken from the Terminology section of Architecture Compliance on TOGAF ‘All the features in the architecture specification are implemented in accordance with the specification, but some more features are implemented that are not in accordance with it.’ This text describes which level of architecture compliance?&lt;br /&gt;
A. Irrelevant&lt;br /&gt;
B. Consistent&lt;br /&gt;
C. Compliant&lt;br /&gt;
D. Conformant&lt;br /&gt;
E. Non-conformant&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: The TOGAF defined process for Risk Management consists of which activities?&lt;br /&gt;
A. Risk Classification, Risk identification, Initial Risk Assessment, Risk Mitigation and residual risk assessment, and Risk Monitoring&lt;br /&gt;
B. Risk Identification, Initial Risk Quantification, Risk Mitigation and residual risk assessment, and Risk Response Control&lt;br /&gt;
C. Risk Identification, Risk Quantification, Risk Response Development and Risk Response Control&lt;br /&gt;
D. Risk Classification, Risk Quantification, Initial Risk Assessment, Risk Response Development and residual risk assessment, and Risk Monitoring&lt;br /&gt;
E. Risk classification, Risk identification, Initial Risk Assessment, Risk Response Development and Risk Response Control&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
&lt;br /&gt;
Question: TOGAF classifies risk in response to their likely effect and frequency. Which of the following answers does not come from the suggested classification system in TOGAF?&lt;br /&gt;
A. Effect can be classified as ‘Catastrophic, Crucial, Marginal and Negligible’&lt;br /&gt;
B. Frequency can be classified as ‘Frequent, Likely, Occasional, Seldom and Unlikely’&lt;br /&gt;
C. The Impact of a risk, that is the combination of Effect and Frequency can be classified as ‘High Risk, Moderate Risk and Low Risk’&lt;br /&gt;
D. Risks with an Unlikely frequency and Negligible effect are classified with an impact of Low Risk&lt;br /&gt;
E. Risks with a Likely frequency and Marginal effect are classified with an impact of Moderate Risk&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: Which one of the following statements does not come from TOGAF Risk Management?&lt;br /&gt;
A. Risk Management is an integral part of enterprise architecture&lt;br /&gt;
B. Risk mitigation refers to the identification, planning, and conduct of actions that will reduce the risk to an acceptable level&lt;br /&gt;
C. Residual risks have to be approved by the IT governance framework&lt;br /&gt;
D. Initial Level of Risk is the risk categorisation prior to determining and implementing mitigating actions&lt;br /&gt;
E. The activities in risk management are Risk Identification, Risk Quantification, Risk Response Development and Risk Response Control&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: TOGAF states the basic premise of Gap Analysis is to:&lt;br /&gt;
A. Highlight a shortfall between the Baseline Architecture and the Target Architecture&lt;br /&gt;
B. Highlight stakeholders which have not been addressed&lt;br /&gt;
C. Validate an architecture to consider what may have been forgotten&lt;br /&gt;
D. Compare Baseline Architecture ABBs with Target Architecture ABBs identifying the building blocks which are ‘New, Eliminated and Included’&lt;br /&gt;
E. Identify potential sources of gaps from the business, data, applications and technology domains&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
&lt;br /&gt;
Question: Which answer is not an accurate statement about TOGAF Business Scenarios?&lt;br /&gt;
A. Business Scenarios describe a method for deriving business requirements for architecture and the implied technical requirements&lt;br /&gt;
B. Business Scenarios define requirements for sharing information and services within an organisation&lt;br /&gt;
C. Business Scenarios are principally used during the Architecture Vision and Business Architecture phases of the ADM.&lt;br /&gt;
D. Business Scenarios describe a business process and application, the business and technology environment, the actors and the desired outcome of proper execution&lt;br /&gt;
E. A good business scenario is Specific, Measureable, Actionable, Realistic and Time-bound&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: TOGAF states that establishing and operating an Architecture Board is more than offset by the savings accrued from preventing one off solutions and unconstrained development. Which of the following answers does TOGAF not state as a reason for establishing an Architecture Board?&lt;br /&gt;
A. Higher risk&lt;br /&gt;
B. High cost of operation and support&lt;br /&gt;
C. High costs of development&lt;br /&gt;
D. Lower quality&lt;br /&gt;
E. Better understanding of the business and their requirements&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: Which of the following is not one of the Categories of Skills in the TOGAF Architecture Skills Framework?&lt;br /&gt;
A. Generic Skills&lt;br /&gt;
B. Program or Project Management Skills&lt;br /&gt;
C. Legal Environment&lt;br /&gt;
D. Procurement and Vendor Management&lt;br /&gt;
E. IT General Knowledge Skills&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: TOGAF deals with the architecture for; Business, Data, Applications and ____&lt;br /&gt;
A. Transition&lt;br /&gt;
B. Infrastructure&lt;br /&gt;
C. Technology&lt;br /&gt;
D. Teams&lt;br /&gt;
E. Operations&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: The Enterprise Continuum contains the Architecture Continuum and ____&lt;br /&gt;
A. Technology Continuum&lt;br /&gt;
B. Solutions Continuum&lt;br /&gt;
C. Requirements Continuum&lt;br /&gt;
D. Business Continuum&lt;br /&gt;
E. Solutions Building Blocks&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: The Enterprise Continuum provides a model for structuring an architecture ____&lt;br /&gt;
A. Repository&lt;br /&gt;
B. Schematic&lt;br /&gt;
C. Design&lt;br /&gt;
D. Solution&lt;br /&gt;
E. Artifact&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: A&lt;br /&gt;
&lt;br /&gt;
Question: The TOGAF Resource Base is provided to be of assistance to the architect in the use of the ____&lt;br /&gt;
A. Repository&lt;br /&gt;
B. Implementation&lt;br /&gt;
C. Plans&lt;br /&gt;
D. Solutions&lt;br /&gt;
E. ADM&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: E&lt;br /&gt;
&lt;br /&gt;
Question: Including the Preliminary Phase, the ADM Cycle contains how many phases?&lt;br /&gt;
A. 11&lt;br /&gt;
B. 10&lt;br /&gt;
C. 8&lt;br /&gt;
D. 9&lt;br /&gt;
E. 12&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: The TOGAF Qualities of Principles are; Understandability, Robustness, Completeness, Consistency and ____&lt;br /&gt;
A. Accessibility&lt;br /&gt;
B. Availability&lt;br /&gt;
C. Stability&lt;br /&gt;
D. Confidentiality&lt;br /&gt;
E. Resilience&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: C&lt;br /&gt;
&lt;br /&gt;
Question: Business Requirements are of no value in TOGAF.&lt;br /&gt;
A. TRUE&lt;br /&gt;
B. FALSE&lt;br /&gt;
C. Sometimes&lt;br /&gt;
D. Unsure&lt;br /&gt;
E. Not Applicable&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: The TOGAF Foundation Architecture comprises of the Technical Reference Model and the Standards Information ____&lt;br /&gt;
A. Architecture&lt;br /&gt;
B. Base&lt;br /&gt;
C. Plans&lt;br /&gt;
D. Strategy&lt;br /&gt;
E. Business&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
Question: The Resource Base contains information on a set of techniques for evaluating and quantifying an organisations EA ____&lt;br /&gt;
A. Auditability&lt;br /&gt;
B. Compliance&lt;br /&gt;
C. Direction&lt;br /&gt;
D. Maturity&lt;br /&gt;
E. Stage&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: D&lt;br /&gt;
&lt;br /&gt;
Question: In TOGAF, the letters ADM stand for Architecture Development _____&lt;br /&gt;
A. Meaning&lt;br /&gt;
B. Method&lt;br /&gt;
C. Model&lt;br /&gt;
D. Maturity&lt;br /&gt;
E. Metric&lt;br /&gt;
You answered&lt;br /&gt;
The correct answer is: B&lt;br /&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/2603018584607306279/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2017/01/which-of-following-is-not-part-of-togaf.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/2603018584607306279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/2603018584607306279'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2017/01/which-of-following-is-not-part-of-togaf.html' title='Preguntas de examen de certificación TOGAF'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-4418414231092149316</id><published>2016-09-27T15:25:00.001-05:00</published><updated>2016-09-27T15:25:17.934-05:00</updated><title type='text'>Establecer un JVM para un dominio especifico de GlassFish</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
C:\glassfish\config\asenv.bat&lt;br /&gt;
&lt;br /&gt;
REM set AS_JAVA=C:\Program Files\Java\jdk1.6.0_04\jre/..&lt;br /&gt;
set AS_JAVA=C:\Program Files\Java\jdk1.5.0_16&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fuente:&amp;nbsp;http://alvinalexander.com/blog/post/java/fixing-glassfish-jdk-path-problem-solved</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/4418414231092149316/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2016/09/establecer-un-jvm-para-un-dominio.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/4418414231092149316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/4418414231092149316'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2016/09/establecer-un-jvm-para-un-dominio.html' title='Establecer un JVM para un dominio especifico de GlassFish'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-1017326288943649779</id><published>2016-08-10T09:58:00.002-05:00</published><updated>2016-08-10T09:58:50.211-05:00</updated><title type='text'>Ablebits Add-ins for Microsoft Excel 2016, 2013-2007</title><content type='html'>&lt;br /&gt;
Link:&amp;nbsp;https://www.ablebits.com/&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.ablebits.com/excel-addins.php&quot; style=&quot;background-color: white; border: 0px; color: #454545; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 27px; line-height: 60px; text-decoration: none;&quot;&gt;Add-ins for Microsoft Excel 2016, 2013-2007&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/1017326288943649779/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2016/08/ablebits-add-ins-for-microsoft-excel.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/1017326288943649779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/1017326288943649779'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2016/08/ablebits-add-ins-for-microsoft-excel.html' title='Ablebits Add-ins for Microsoft Excel 2016, 2013-2007'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5433274207415894761.post-1943881959891949515</id><published>2016-07-27T11:41:00.005-05:00</published><updated>2016-07-27T11:41:44.138-05:00</updated><title type='text'>Como realizar mantenimiento a base de datos MySQL</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
Fuente:&amp;nbsp;&lt;a href=&quot;http://www.thegeekstuff.com/2011/12/mysqlcheck/&quot;&gt;http://www.thegeekstuff.com/2011/12/mysqlcheck/&lt;/a&gt;&lt;br /&gt;
Fuente:&amp;nbsp;&lt;a href=&quot;http://dev.mysql.com/doc/refman/5.7/en/mysqlcheck.html&quot;&gt;http://dev.mysql.com/doc/refman/5.7/en/mysqlcheck.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin-bottom: 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
When your mysql table gets corrupted, use mysqlcheck command to repair it.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin-bottom: 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
Mysqlcheck command checks, repairs, optimizes and analyzes the tables.&lt;br style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot; /&gt;&lt;span id=&quot;more-9210&quot; style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px; word-wrap: break-word;&quot;&gt;
1. Check a Specific Table in a Database&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin-bottom: 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
If your application gives an error message saying that a specific table is corrupted, execute the mysqlcheck command to check that one table.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin-bottom: 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
The following example checks employee table in thegeekstuff database.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, Monaco, Menlo, Courier, Verdana, sans-serif; font-size: 13px; line-height: 26px; margin-bottom: 26px; overflow: auto; padding: 13px; tab-size: 4; word-wrap: normal;&quot;&gt;# mysqlcheck -c thegeekstuff employee -u root -p
Enter password:
thegeekstuff.employee    OK&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin-bottom: 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
You should pass the username/password to the mysqlcheck command. If not, you’ll get the following error message.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, Monaco, Menlo, Courier, Verdana, sans-serif; font-size: 13px; line-height: 26px; margin-bottom: 26px; overflow: auto; padding: 13px; tab-size: 4; word-wrap: normal;&quot;&gt;# mysqlcheck -c thegeekstuff employee
mysqlcheck: Got error: 1045: Access denied for user &#39;root&#39;@&#39;localhost&#39; (using password: NO) when trying to connect&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin-bottom: 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
Please note that&amp;nbsp;&lt;a href=&quot;http://www.thegeekstuff.com/2008/09/how-to-repair-corrupted-mysql-tables-using-myisamchk/&quot; style=&quot;color: #dd0000; margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;myisamchk command&lt;/a&gt;&amp;nbsp;that we discussed a while back works similar to the mysqlcheck command. However, the advantage of mysqlcheck command is that it can be executed when the mysql daemon is running. So, using mysqlcheck command you can check and repair corrupted table while the database is still running.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px; word-wrap: break-word;&quot;&gt;
2. Check All Tables in a Database&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin-bottom: 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
To check all the tables in a particular database, don’t specify the table name. Just specify the database name.&lt;/div&gt;
&lt;center style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;
&lt;div style=&quot;margin: 10px 0px 10px 2px; padding: 0px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/center&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin-bottom: 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
The following example checks all the tables in the alfresco database.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, Monaco, Menlo, Courier, Verdana, sans-serif; font-size: 13px; line-height: 26px; margin-bottom: 26px; overflow: auto; padding: 13px; tab-size: 4; word-wrap: normal;&quot;&gt;# mysqlcheck -c alfresco  -u root -p
Enter password:
alfresco.JBPM_ACTION                               OK
alfresco.JBPM_BYTEARRAY                            OK
alfresco.JBPM_BYTEBLOCK                            OK
alfresco.JBPM_COMMENT                              OK
alfresco.JBPM_DECISIONCONDITIONS                   OK
alfresco.JBPM_DELEGATION                           OK
alfresco.JBPM_EVENT                                OK
..&lt;/pre&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px; word-wrap: break-word;&quot;&gt;
3. Check All Tables and All Databases&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin-bottom: 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
To check all the tables and all the databases use the “–all-databases” along with -c option as shown below.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, Monaco, Menlo, Courier, Verdana, sans-serif; font-size: 13px; line-height: 26px; margin-bottom: 26px; overflow: auto; padding: 13px; tab-size: 4; word-wrap: normal;&quot;&gt;# mysqlcheck -c  -u root -p --all-databases
Enter password:
thegeekstuff.employee                              OK
alfresco.JBPM_ACTION                               OK
alfresco.JBPM_BYTEARRAY                            OK
alfresco.JBPM_BYTEBLOCK                            OK
..
..
mysql.help_category
error    : Table upgrade required. Please do &quot;REPAIR TABLE `help_category`&quot; or dump/reload to fix it!
mysql.help_keyword
error    : Table upgrade required. Please do &quot;REPAIR TABLE `help_keyword`&quot; or dump/reload to fix it!
..&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin-bottom: 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
If you want to check all tables of few databases, specify the database names using “–databases”.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin-bottom: 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
The following example checks all the tables in thegeekstuff and alfresco database.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, Monaco, Menlo, Courier, Verdana, sans-serif; font-size: 13px; line-height: 26px; margin-bottom: 26px; overflow: auto; padding: 13px; tab-size: 4; word-wrap: normal;&quot;&gt;# mysqlcheck -c  -u root -p --databases thegeekstuff alfresco
Enter password:
thegeekstuff.employee                              OK
alfresco.JBPM_ACTION                               OK
alfresco.JBPM_BYTEARRAY                            OK
alfresco.JBPM_BYTEBLOCK                            OK
..&lt;/pre&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px; word-wrap: break-word;&quot;&gt;
4. Analyze Tables using Mysqlcheck&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin-bottom: 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
The following analyzes employee table that is located in thegeekstuff database.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, Monaco, Menlo, Courier, Verdana, sans-serif; font-size: 13px; line-height: 26px; margin-bottom: 26px; overflow: auto; padding: 13px; tab-size: 4; word-wrap: normal;&quot;&gt;# mysqlcheck -a thegeekstuff employee -u root -p
Enter password:
thegeekstuff.employee   Table is already up to date&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin-bottom: 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
Internally mysqlcheck command uses “ANALYZE TABLE” command. While mysqlcheck is executing the analyze command the table is locked and available for other process only in the read mode.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px; word-wrap: break-word;&quot;&gt;
5. Optimize Tables using Mysqlcheck&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin-bottom: 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
The following optimizes employee table that is located in thegeekstuff database.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, Monaco, Menlo, Courier, Verdana, sans-serif; font-size: 13px; line-height: 26px; margin-bottom: 26px; overflow: auto; padding: 13px; tab-size: 4; word-wrap: normal;&quot;&gt;# mysqlcheck -o thegeekstuff employee -u root -p
Enter password:
thegeekstuff.employee         OK&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin-bottom: 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
Internally mysqlcheck command uses “OPTIMIZE TABLE” command. When you delete lot of rows from a table, optimizing it helps to get the unused space and defragment the data file. This might improve performance on huge tables that has gone through several updates.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px; word-wrap: break-word;&quot;&gt;
6. Repair Tables using Mysqlcheck&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin-bottom: 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
The following repairs employee table that is located in thegeekstuff database.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, Monaco, Menlo, Courier, Verdana, sans-serif; font-size: 13px; line-height: 26px; margin-bottom: 26px; overflow: auto; padding: 13px; tab-size: 4; word-wrap: normal;&quot;&gt;# mysqlcheck -r thegeekstuff employee -u root -p
Enter password:
thegeekstuff.employee        OK&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin-bottom: 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
Internally mysqlcheck command uses “REPAIR TABLE” command. This will repair and fix a corrupted MyISAM and archive tables.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px; word-wrap: break-word;&quot;&gt;
7. Combine Check, Optimize, and Repair Tables&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin-bottom: 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
Instead of checking and repairing separately. You can combine check, optimize and repair functionality together using “–auto-repair” as shown below.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin-bottom: 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
The following checks, optimizes and repairs all the corrupted table in thegeekstuff database.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, Monaco, Menlo, Courier, Verdana, sans-serif; font-size: 13px; line-height: 26px; margin-bottom: 26px; overflow: auto; padding: 13px; tab-size: 4; word-wrap: normal;&quot;&gt;# mysqlcheck -u root -p --auto-repair -c -o thegeekstuff&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin-bottom: 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
You an also check, optimize and repair all the tables across all your databases using the following command.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, Monaco, Menlo, Courier, Verdana, sans-serif; font-size: 13px; line-height: 26px; margin-bottom: 26px; overflow: auto; padding: 13px; tab-size: 4; word-wrap: normal;&quot;&gt;# mysqlcheck -u root -p --auto-repair -c -o --all-databases&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin-bottom: 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
If you want to know what the command is doing while it is checking, add the –debug-info as shown below. This is helpful while you are checking a huge table.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, Monaco, Menlo, Courier, Verdana, sans-serif; font-size: 13px; line-height: 26px; margin-bottom: 26px; overflow: auto; padding: 13px; tab-size: 4; word-wrap: normal;&quot;&gt;# mysqlcheck --debug-info -u root -p --auto-repair -c -o thegeekstuff employee
Enter password:
thegeekstuff.employee  Table is already up to date

User time 0.00, System time 0.00
Maximum resident set size 0, Integral resident set size 0
Non-physical pagefaults 344, Physical pagefaults 0, Swaps 0
Blocks in 0 out 0, Messages in 0 out 0, Signals 0
Voluntary context switches 12, Involuntary context switches 9&lt;/pre&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px; word-wrap: break-word;&quot;&gt;
8. Additional Useful Mysqlcheck Options&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; margin-bottom: 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
The following are some of the key options that you can use along with mysqlcheck.&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #111111; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 16px; line-height: 26px; list-style-type: square; margin: 0px 0px 26px 26px; padding: 0px; word-wrap: break-word;&quot;&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;-A, –all-databases&lt;/strong&gt;&amp;nbsp;Consider all the databases&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;-a, –analyze&lt;/strong&gt;&amp;nbsp;Analyze tables&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;-1, –all-in-1&lt;/strong&gt;&amp;nbsp;Use one query per database with tables listed in a comma separated way&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;–auto-repair&lt;/strong&gt;&amp;nbsp;Repair the table automatically it if is corrupted&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;-c, –check&lt;/strong&gt;&amp;nbsp;Check table errors&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;-C, –check-only-changed&lt;/strong&gt;&amp;nbsp;Check tables that are changed since last check&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;-g, –check-upgrade&lt;/strong&gt;&amp;nbsp;Check for version dependent changes in the tables&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;-B, –databases&lt;/strong&gt;&amp;nbsp;Check more than one databases&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;-F, –fast&lt;/strong&gt;&amp;nbsp;Check tables that are not closed properly&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;–fix-db-names&lt;/strong&gt;&amp;nbsp;Fix DB names&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;–fix-table-names&lt;/strong&gt;&amp;nbsp;Fix table names&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;-f, –force&lt;/strong&gt;&amp;nbsp;Continue even when there is an error&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;-e, –extended&lt;/strong&gt;&amp;nbsp;Perform extended check on a table. This will take a long time to execute.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;-m, –medium-check&lt;/strong&gt;&amp;nbsp;Faster than extended check option, but does most checks&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;-o, –optimize&lt;/strong&gt;&amp;nbsp;Optimize tables&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;-q, –quick&lt;/strong&gt;&amp;nbsp;Faster than medium check option&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;-r, –repair&lt;/strong&gt;&amp;nbsp;Fix the table corruption&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jonyhurtado.blogspot.com/feeds/1943881959891949515/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://jonyhurtado.blogspot.com/2016/07/como-realizar-mantenimiento-base-de.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/1943881959891949515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5433274207415894761/posts/default/1943881959891949515'/><link rel='alternate' type='text/html' href='http://jonyhurtado.blogspot.com/2016/07/como-realizar-mantenimiento-base-de.html' title='Como realizar mantenimiento a base de datos MySQL'/><author><name>Jony Hurtado</name><uri>http://www.blogger.com/profile/14871631060782628324</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRtN0p5bU5iwmUow0hXxfs8631_6XaAZXIOZHLmGPRhI0O2HoG59nkfquCXLarmIz2HkVRsuWR-3bg_WvDKJZJTnN7olESHUPzNhuspIciSVsKMJCrn6E6S-yuqTO67x0/s220/Screenshot_448.jpg'/></author><thr:total>0</thr:total></entry></feed>