<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Plesk Archives - GSoft INNOVA</title>
	<atom:link href="https://www.gsoft.es/tag/plesk/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Innovaciones Informáticas S.L.</description>
	<lastBuildDate>Tue, 14 May 2019 07:33:19 +0000</lastBuildDate>
	<language>es</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Como instalar Magento paso a paso</title>
		<link>https://www.gsoft.es/articulos/instalar-magento-paso-a-paso/</link>
		
		<dc:creator><![CDATA[Sergio Pérez García]]></dc:creator>
		<pubDate>Wed, 02 Oct 2013 07:52:00 +0000</pubDate>
				<category><![CDATA[Articulos]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[Plesk]]></category>
		<guid isPermaLink="false">https://www.gsoft.es/blog/?p=105</guid>

					<description><![CDATA[<p>Para instalar Magento php 5.3 son las siguientes extensiones PDO/MySQL MySQLi mcrypt mhash simplexml DOM SOAP yum install php53-mcrypt Primera parte Primero, utilizaremos memcached como gestor de caché. Para ello ejecutamos las siguientes lineas: Nota: para Centos 5.8, instalar estos repositorios para memcache: &#62;&#62; rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm &#62;&#62; rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm &#62;&#62; yum install memcached [&#8230;]</p>
<p>The post <a href="https://www.gsoft.es/articulos/instalar-magento-paso-a-paso/">Como instalar Magento paso a paso</a> appeared first on <a href="https://www.gsoft.es">GSoft INNOVA</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Para instalar Magento</h2>
<p>php 5.3 son las siguientes extensiones</p>
<ul>
<li>
<div>PDO/MySQL</div>
</li>
<li>
<div>MySQLi</div>
</li>
<li>
<div>mcrypt</div>
</li>
<li>
<div>mhash</div>
</li>
<li>
<div>simplexml</div>
</li>
<li>DOM</li>
<li>SOAP</li>
</ul>
<pre>yum install php53-mcrypt</pre>
<h3>Primera parte</h3>
<h4>Primero, utilizaremos memcached como gestor de caché. Para ello ejecutamos las siguientes lineas:</h4>
<p>Nota: para Centos 5.8, instalar estos repositorios para memcache:</p>
<pre>&gt;&gt; rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

&gt;&gt; rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm</pre>
<pre>&gt;&gt; yum install memcached
 &gt;&gt; yum install php-memcache</pre>
<h4>Luego iniciamos memcached, un servicio de caché en memoria:</h4>
<pre>&gt;&gt; service memcached start</pre>
<p>Seguidamente reiniciamos los servicios web:</p>
<p>&gt;&gt; /usr/local/psa/admin/bin/websrvmng -av<br />
&gt;&gt; service httpd restart</p>
<h4>También configuramos para que memcached se ejecute al inicio:</h4>
<p>&gt;&gt; chkconfig memcached on</p>
<h4>Ahora iremos a nuestra instalación de Magento y modificaremos la configuración de caché, editaremos el fichero /app/etc/local.xml:</h4>
<pre>&lt;config&gt;
     &lt;global&gt;
         ...
         &lt;cache&gt;
             &lt;backend&gt;&lt;![CDATA[memcached]]&gt;&lt;/backend&gt;&lt;!-- apc / memcached / xcache / empty=file --&gt;
             &lt;slow_backend&gt;&lt;![CDATA[database]]&gt;&lt;/slow_backend&gt;
             &lt;memcached&gt;&lt;!-- memcached cache backend related config --&gt;
                 &lt;servers&gt;&lt;!-- any number of server nodes can be included --&gt;
                     &lt;server&gt;
                         &lt;host&gt;&lt;![CDATA[127.0.0.1]]&gt;&lt;/host&gt;
                         &lt;port&gt;&lt;![CDATA[11211]]&gt;&lt;/port&gt;
                         &lt;persistent&gt;&lt;![CDATA[1]]&gt;&lt;/persistent&gt;
                         &lt;weight&gt;&lt;![CDATA[1]]&gt;&lt;/weight&gt;
                         &lt;timeout&gt;&lt;![CDATA[10]]&gt;&lt;/timeout&gt;
                         &lt;retry_interval&gt;&lt;![CDATA[10]]&gt;&lt;/retry_interval&gt;
                         &lt;status&gt;&lt;![CDATA[1]]&gt;&lt;/status&gt;
                     &lt;/server&gt;
                 &lt;/servers&gt;
                 &lt;compression&gt;&lt;![CDATA[0]]&gt;&lt;/compression&gt;
                 &lt;cache_dir&gt;&lt;![CDATA[]]&gt;&lt;/cache_dir&gt;
                 &lt;hashed_directory_level&gt;&lt;![CDATA[]]&gt;&lt;/hashed_directory_level&gt;
                 &lt;hashed_directory_umask&gt;&lt;![CDATA[]]&gt;&lt;/hashed_directory_umask&gt;
                 &lt;file_name_prefix&gt;&lt;![CDATA[]]&gt;&lt;/file_name_prefix&gt;
             &lt;/memcached&gt;
         &lt;/cache&gt;
     &lt;/global&gt;
     ...
 &lt;/config&gt;

Reconfigurar el mysql con esto, editamos el /etc/my.cnf</pre>
<div><code># Disable Berkley DB functionality, saving memory</code></div>
<div><code>skip-bdb</code></div>
<div><code>#max_connections = 100</code></div>
<div><code># tmp_table_size/max_heap_table_size: Default is 16MB, but this causes many</code></div>
<div><code># temporary tables to be written to disk, and is ineffecient.</code></div>
<div><code># Keep tmp_table_size and max_heap_table_size the same!</code></div>
<div><code>tmp_table_size = 128M # was 64M</code></div>
<div><code>max_heap_table_size = 128M # was 64M</code></div>
<div><code>### query-cache settings ###</code></div>
<div><code>query-cache-type = 1</code></div>
<div><code>query-cache-size = 84M # was 32M was 64M</code></div>
<div><code>query_cache_limit = 16M # was 1M was 8M</code></div>
<div><code>### Buffer size settings ###</code></div>
<div><code>#sort_buffer_size = 2M</code></div>
<div><code># key_buffer_size is important for MyISAM tables.</code></div>
<div><code>key_buffer_size = 150M # was 16M</code></div>
<div><code>#join_buffer_size = 16M # was 2M</code></div>
<div><code>thread_cache_size = 8</code></div>
<div><code># table_cache: Approximate by taking max_connections and multiplying by the</code></div>
<div><code># largest number of tables that can be open for any join.</code></div>
<div><code>table_cache = 2048 # was 256 was 512 was 1024</code></div>
<div><code>### Timing options ###</code></div>
<div><code>interactive_timeout = 100</code></div>
<div><code>wait_timeout = 20</code></div>
<div><code>connect_timeout = 15</code></div>
<div><code>### Log slow queries ###</code></div>
<div><code># Make sure you create this file before you start mysql or it will not work!</code></div>
<div><code># Use the this command:   touch /var/log/mysql.slow-queries.log &amp;&amp; chown mysql:mysql /var/log/mysql.slow-queries.log</code></div>
<div><code>log-slow-queries=/var/log/mysql.slow-queries.log</code></div>
<div><code># Duration a query must run (in seconds) to get logged</code></div>
<div><code>long_query_time = 1</code></div>
<div><code>### InnoDB settings ###</code></div>
<div><code># See <a href="http://dev.mysql.com/doc/refman/5.0/en/innodb-configuration.html">http://dev.mysql.com/doc/refman/5.0/en/innodb-configuration.html</a></code></div>
<div><code># for InnoDB settings; They largely depend on your application.</code></div>
<div><code>innodb_buffer_pool_size = 1G</code></div>
<p>Finalmente, con esto ya tenemos una base rápida para que Magento funcione como la seda.</p>
<h3>Segunda parte</h3>
<div><code># Disable Berkley DB functionality, saving memory</code></div>
<div><code>skip-bdb</code></div>
<div><code>#max_connections = 100</code></div>
<div><code># tmp_table_size/max_heap_table_size: Default is 16MB, but this causes many</code></div>
<div><code># temporary tables to be written to disk, and is ineffecient.</code></div>
<div><code># Keep tmp_table_size and max_heap_table_size the same!</code></div>
<div><code>tmp_table_size = 128M # was 64M</code></div>
<div><code>max_heap_table_size = 128M # was 64M</code></div>
<div><code>### query-cache settings ###</code></div>
<div><code>query-cache-type = 1</code></div>
<div><code>query-cache-size = 84M # was 32M was 64M</code></div>
<div><code>query_cache_limit = 16M # was 1M was 8M</code></div>
<div><code>### Buffer size settings ###</code></div>
<div><code>#sort_buffer_size = 2M</code></div>
<div><code># key_buffer_size is important for MyISAM tables.</code></div>
<div><code>key_buffer_size = 150M # was 16M</code></div>
<div><code>#join_buffer_size = 16M # was 2M</code></div>
<div><code>thread_cache_size = 8</code></div>
<div><code># table_cache: Approximate by taking max_connections and multiplying by the</code></div>
<div><code># largest number of tables that can be open for any join.</code></div>
<div><code>table_cache = 2048 # was 256 was 512 was 1024</code></div>
<div><code>### Timing options ###</code></div>
<div><code>interactive_timeout = 100</code></div>
<div><code>wait_timeout = 20</code></div>
<div><code>connect_timeout = 15</code></div>
<div><code>### Log slow queries ###</code></div>
<div><code># Make sure you create this file before you start mysql or it will not work!</code></div>
<div><code># Use the this command:   touch /var/log/mysql.slow-queries.log &amp;&amp; chown mysql:mysql /var/log/mysql.slow-queries.log</code></div>
<div><code>log-slow-queries=/var/log/mysql.slow-queries.log</code></div>
<div><code># Duration a query must run (in seconds) to get logged</code></div>
<div><code>long_query_time = 1</code></div>
<div><code>### InnoDB settings ###</code></div>
<div><code># See <a href="http://dev.mysql.com/doc/refman/5.0/en/innodb-configuration.html">http://dev.mysql.com/doc/refman/5.0/en/innodb-configuration.html</a></code></div>
<div><code># for InnoDB settings; They largely depend on your application.</code></div>
<div><code>innodb_buffer_pool_size = 1G</code></div>
<div><code>[mysqld_safe]</code></div>
<div><code>log-error=/var/log/mysqld.log</code></div>
<div><code>pid-file=/var/run/mysqld/mysqld.pid</code></div>
<div><code>open_files_limit = 8192</code></div>
<div><code>[isamchk]</code></div>
<div><code>key_buffer = 64M</code></div>
<div><code>sort_buffer = 64M</code></div>
<div><code>read_buffer = 16M</code></div>
<div><code>write_buffer = 16M</code></div>
<div><code>[myisamchk]</code></div>
<div><code>key_buffer = 64M</code></div>
<div><code>sort_buffer = 64M</code></div>
<div><code>read_buffer = 16M</code></div>
<div><code>write_buffer = 16M</code></div>
<div></div>
<h4>Más tarde modificamos el .htacces para activas la compresión:</h4>
<div><span style="font-family: Consolas, Monaco, monospace;">&lt;IfModule mod_deflate.c&gt;</span></div>
<div>
<pre>############################################
## enable apache served files compression
## http://developer.yahoo.com/performance/rules.html#gzip

    # Insert filter on all content
    SetOutputFilter DEFLATE
    # Insert filter on selected content types only
    #AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript

    # Netscape 4.x has some problems...
    BrowserMatch ^Mozilla/4 gzip-only-text/html

    # Netscape 4.06-4.08 have some more problems
    BrowserMatch ^Mozilla/4.0[678] no-gzip

    # MSIE masquerades as Netscape, but it is fine
    BrowserMatch bMSIE !no-gzip !gzip-only-text/html

    # Don't compress images
    SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary

    # Make sure proxies don't deliver the wrong content
    Header append Vary User-Agent env=!dont-vary

    php_flag zlib.output_compression on

&lt;/IfModule&gt;</pre>
</div>
<p>Fuentes:</p>
<p>http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/magento_installation_guide</p>
<p>http://techportal.inviqa.com/2011/03/08/optimising-magento-for-performance/#tuner</p>
<p>Si necesitas ayuda en instalación o configuración de <a href="https://www.gsoft.es/servicios/e-commerce/">e-commerce Magento</a>, estamos encantados ayudarte.</p>
<p>The post <a href="https://www.gsoft.es/articulos/instalar-magento-paso-a-paso/">Como instalar Magento paso a paso</a> appeared first on <a href="https://www.gsoft.es">GSoft INNOVA</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
