linux http://alexmoreno.net/ en Acquia BLT short Drupal8 howto http://alexmoreno.net/acquia-blt-short-drupal8-howto <article role="article" about="http://alexmoreno.net/acquia-blt-short-drupal8-howto" class="node node--type-blog node--promoted node--view-mode-teaser"><header><div class="node__meta"> <span> By <span class="node__author"><span><a title="View user profile." href="http://alexmoreno.net/alejandro-moreno" lang="" about="http://alexmoreno.net/alejandro-moreno" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">alexmoreno</a></span></span>, 4 August, 2017 </span> </div> <div class="node__top-wrapper"> <h2 class="node__title"> <a href="http://alexmoreno.net/acquia-blt-short-drupal8-howto" rel="bookmark"> <span>Acquia BLT short Drupal8 howto</span> </a> </h2> </div> </header><div class="node__content text-content"> <div class="text-content field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Working with vm’s makes everything simpler and easier. Easy to reproduce bugs, easy to reproduce features between environments and, most importantly, between developers.</p></div> <div class="field field--name-field-imagenes field--type-image field--label-hidden field__items"> <div class="field__item"> <img loading="lazy" src="http://alexmoreno.net/sites/default/files/blt-deploy-workflow.png" width="1182" height="662" alt="" typeof="foaf:Image" /></div> </div> <div class="field field--name-taxonomy-vocabulary-1 field--type-entity-reference field--label-hidden field--tag-ref"> <ul class="links field__items field--tag-ref__items"><li class="field--tag-ref__item"><a href="http://alexmoreno.net/linux" hreflang="es">linux</a></li> <li class="field--tag-ref__item"><a href="http://alexmoreno.net/virtualbox" hreflang="es">virtualbox</a></li> <li class="field--tag-ref__item"><a href="http://alexmoreno.net/vagrant" hreflang="es">vagrant</a></li> <li class="field--tag-ref__item"><a href="http://alexmoreno.net/blt" hreflang="es">blt</a></li> <li class="field--tag-ref__item"><a href="http://alexmoreno.net/acquia" hreflang="es">acquia</a></li> </ul></div> </div> </article> Fri, 04 Aug 2017 07:58:45 +0000 alexmoreno 116 at http://alexmoreno.net Apache not sending changes in js and css (virtual box) http://alexmoreno.net/apache-not-sending-changes-js-and-css-virtual-box/24-01-2013 <article role="article" about="http://alexmoreno.net/apache-not-sending-changes-js-and-css-virtual-box/24-01-2013" class="node node--type-blog node--promoted node--view-mode-teaser"><header><div class="node__meta"> <span> By <span class="node__author"><span><a title="View user profile." href="http://alexmoreno.net/alejandro-moreno" lang="" about="http://alexmoreno.net/alejandro-moreno" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">alexmoreno</a></span></span>, 24 January, 2013 </span> </div> <div class="node__top-wrapper"> <h2 class="node__title"> <a href="http://alexmoreno.net/apache-not-sending-changes-js-and-css-virtual-box/24-01-2013" rel="bookmark"> <span>Apache not sending changes in js and css (virtual box)</span> </a> </h2> </div> </header><div class="node__content text-content"> <div class="text-content field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>I am using a solution of vbox (virtual box) and shared folders in our windows work environment (yes, unfortunatelly, but the IT team is in his right to decide which machines we have to use).</p></div> <div class="field field--name-taxonomy-vocabulary-1 field--type-entity-reference field--label-hidden field--tag-ref"> <ul class="links field__items field--tag-ref__items"><li class="field--tag-ref__item"><a href="http://alexmoreno.net/apache" hreflang="es">apache</a></li> <li class="field--tag-ref__item"><a href="http://alexmoreno.net/linux" hreflang="es">linux</a></li> <li class="field--tag-ref__item"><a href="http://alexmoreno.net/virtualbox" hreflang="es">virtualbox</a></li> </ul></div> </div> </article> Thu, 24 Jan 2013 11:40:12 +0000 alexmoreno 84 at http://alexmoreno.net warning: date(): It is not safe to rely on the system's timezone settings http://alexmoreno.net/warning-date-it-not-safe-rely-systems-timezone-settings/22-01-2013 <article role="article" about="http://alexmoreno.net/warning-date-it-not-safe-rely-systems-timezone-settings/22-01-2013" class="node node--type-blog node--promoted node--view-mode-teaser"><header><div class="node__meta"> <span> By <span class="node__author"><span><a title="View user profile." href="http://alexmoreno.net/alejandro-moreno" lang="" about="http://alexmoreno.net/alejandro-moreno" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">alexmoreno</a></span></span>, 22 January, 2013 </span> </div> <div class="node__top-wrapper"> <h2 class="node__title"> <a href="http://alexmoreno.net/warning-date-it-not-safe-rely-systems-timezone-settings/22-01-2013" rel="bookmark"> <span>warning: date(): It is not safe to rely on the system's timezone settings</span> </a> </h2> </div> </header><div class="node__content text-content"> <div class="text-content field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>The error is quite enoying:</p><p>warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST' instead</p><p>But it is quite simple to correct. It is not a drupal problem, but a linux/apache. Just go to your php.ini, for example /etc/php.ini in CentOS and add this line:</p><p>date.timezone = Europe/London</p></div> <div class="field field--name-taxonomy-vocabulary-1 field--type-entity-reference field--label-hidden field--tag-ref"> <ul class="links field__items field--tag-ref__items"><li class="field--tag-ref__item"><a href="http://alexmoreno.net/apache" hreflang="es">apache</a></li> <li class="field--tag-ref__item"><a href="http://alexmoreno.net/linux" hreflang="es">linux</a></li> </ul></div> </div> </article> Tue, 22 Jan 2013 12:46:37 +0000 alexmoreno 81 at http://alexmoreno.net changing vhost.conf without restarting apache http://alexmoreno.net/changing-vhostconf-without-restarting-apache/06-01-2013 <article role="article" about="http://alexmoreno.net/changing-vhostconf-without-restarting-apache/06-01-2013" class="node node--type-blog node--promoted node--view-mode-teaser"><header><div class="node__meta"> <span> By <span class="node__author"><span><a title="View user profile." href="http://alexmoreno.net/alejandro-moreno" lang="" about="http://alexmoreno.net/alejandro-moreno" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">alexmoreno</a></span></span>, 6 January, 2013 </span> </div> <div class="node__top-wrapper"> <h2 class="node__title"> <a href="http://alexmoreno.net/changing-vhostconf-without-restarting-apache/06-01-2013" rel="bookmark"> <span>changing vhost.conf without restarting apache</span> </a> </h2> </div> </header><div class="node__content text-content"> <div class="text-content field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Sometimes you need to change some parameters to your apache virtual host. Then, when you need to check the changes, in plesk you'd probably will have to execute the next command to see the changes:</p><p>/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain exampledomain.com</p><p>Otherwise, restarting apache (/etc/init/apache2 restart) could not make the trick.</p><p>I allways forgot this little trick... never more, because <a href="http://www.programadoresweb.net/">Programadores Web</a> will remind it me :-).</p></div> <div class="field field--name-taxonomy-vocabulary-1 field--type-entity-reference field--label-hidden field--tag-ref"> <ul class="links field__items field--tag-ref__items"><li class="field--tag-ref__item"><a href="http://alexmoreno.net/apache" hreflang="es">apache</a></li> <li class="field--tag-ref__item"><a href="http://alexmoreno.net/linux" hreflang="es">linux</a></li> <li class="field--tag-ref__item"><a href="http://alexmoreno.net/hosting" hreflang="es">hosting</a></li> </ul></div> </div> </article> Sun, 06 Jan 2013 21:06:48 +0000 alexmoreno 76 at http://alexmoreno.net Developing under Linux Apache in windows http://alexmoreno.net/developing-under-linux-apache-windows/06-12-2012 <article role="article" about="http://alexmoreno.net/developing-under-linux-apache-windows/06-12-2012" class="node node--type-blog node--promoted node--view-mode-teaser"><header><div class="node__meta"> <span> By <span class="node__author"><span><a title="View user profile." href="http://alexmoreno.net/alejandro-moreno" lang="" about="http://alexmoreno.net/alejandro-moreno" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">alexmoreno</a></span></span>, 6 December, 2012 </span> </div> <div class="node__top-wrapper"> <h2 class="node__title"> <a href="http://alexmoreno.net/developing-under-linux-apache-windows/06-12-2012" rel="bookmark"> <span>Developing under Linux Apache in windows</span> </a> </h2> </div> </header><div class="node__content text-content"> <div class="text-content field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Contradictory? Yes, a bit, but you cannot allways choose the systems and architecture in which you are working.</p><p>solution? Runing apache under linux instead of runing wamp or some weird solutions like that (i don't like at all, sorry).</p><p>First, install vbox: https://www.virtualbox.org/</p><p>Second, download the iso of your preffered linux distro, and install it.</p><p>Third, when you machine is running, go to Devices>install guest additions.</p><p>Now you have to come back to your linux machine, and install a few things, kernel upgrades included (if needed).</p><p> </p></div> <div class="field field--name-taxonomy-vocabulary-1 field--type-entity-reference field--label-hidden field--tag-ref"> <ul class="links field__items field--tag-ref__items"><li class="field--tag-ref__item"><a href="http://alexmoreno.net/linux" hreflang="es">linux</a></li> </ul></div> </div> </article> Thu, 06 Dec 2012 12:07:08 +0000 alexmoreno 67 at http://alexmoreno.net Centos tips http://alexmoreno.net/centos-tips/06-12-2012 <article role="article" about="http://alexmoreno.net/centos-tips/06-12-2012" class="node node--type-blog node--promoted node--view-mode-teaser"><header><div class="node__meta"> <span> By <span class="node__author"><span><a title="View user profile." href="http://alexmoreno.net/alejandro-moreno" lang="" about="http://alexmoreno.net/alejandro-moreno" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">alexmoreno</a></span></span>, 6 December, 2012 </span> </div> <div class="node__top-wrapper"> <h2 class="node__title"> <a href="http://alexmoreno.net/centos-tips/06-12-2012" rel="bookmark"> <span>Centos tips</span> </a> </h2> </div> </header><div class="node__content text-content"> <div class="text-content field field--name-body field--type-text-with-summary field--label-hidden field__item"><p> </p><p> </p><ul><li>Configuring your network to start when booting: chkconfig network on (via http://nixcraft.com/centos-rhel-fedora/18643-centos-linux-6-2-eth0-network-service-not-starting-boot.html)</li><li>configuring services to start apache (or any other daemon) when system boots: chkconfig --level 2345 httpd on</li><li>... more coming</li><li>Override Apache permissions problem: "You don't have permission to access ... on this server". Simply execute: setenforce 0</li><li></li></ul><p> </p></div> <div class="field field--name-taxonomy-vocabulary-1 field--type-entity-reference field--label-hidden field--tag-ref"> <ul class="links field__items field--tag-ref__items"><li class="field--tag-ref__item"><a href="http://alexmoreno.net/centos" hreflang="es">centos</a></li> <li class="field--tag-ref__item"><a href="http://alexmoreno.net/linux" hreflang="es">linux</a></li> </ul></div> </div> </article> Thu, 06 Dec 2012 10:36:55 +0000 alexmoreno 66 at http://alexmoreno.net Accessing centos apache/httpd from vbox host http://alexmoreno.net/accessing-centos-apachehttpd-vbox-host/04-12-2012 <article role="article" about="http://alexmoreno.net/accessing-centos-apachehttpd-vbox-host/04-12-2012" class="node node--type-blog node--promoted node--view-mode-teaser"><header><div class="node__meta"> <span> By <span class="node__author"><span><a title="View user profile." href="http://alexmoreno.net/alejandro-moreno" lang="" about="http://alexmoreno.net/alejandro-moreno" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">alexmoreno</a></span></span>, 4 December, 2012 </span> </div> <div class="node__top-wrapper"> <h2 class="node__title"> <a href="http://alexmoreno.net/accessing-centos-apachehttpd-vbox-host/04-12-2012" rel="bookmark"> <span>Accessing centos apache/httpd from vbox host</span> </a> </h2> </div> </header><div class="node__content text-content"> <div class="text-content field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>This is the scenario. You installed vbox in your Mac, windows or Linux computer. Then you´ve installed Centos or Red Hat (or any other Red Hat flavor) in this virtual box.</p><p>Next step, installed httpd (apache2) and... even it is running and httpd status confirms it with a "running" message, it cannot be accesible from your host machine.</p><p>The problem is on iptables. Red Hat by default denies access to this machine from other (external) machines. Solution? Very easy, open iptables file:</p><p>vim /etc/sysconfig/iptables</p><p>(vim is my favourite editor for a loooong long time)</p></div> <div class="field field--name-taxonomy-vocabulary-1 field--type-entity-reference field--label-hidden field--tag-ref"> <ul class="links field__items field--tag-ref__items"><li class="field--tag-ref__item"><a href="http://alexmoreno.net/vbox" hreflang="es">vbox</a></li> <li class="field--tag-ref__item"><a href="http://alexmoreno.net/centos" hreflang="es">centos</a></li> <li class="field--tag-ref__item"><a href="http://alexmoreno.net/linux" hreflang="es">linux</a></li> </ul></div> </div> </article> Mon, 03 Dec 2012 23:01:49 +0000 alexmoreno 65 at http://alexmoreno.net