<?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-861061747828903045</id><updated>2024-09-01T19:55:12.537-05:00</updated><category term="Plesk"/><category term="Plesk Panel"/><category term="php"/><category term="Amazon"/><category term="Clear queue"/><category term="Cloud Computing"/><category term="Cloudfront"/><category term="Cookies"/><category term="EC2"/><category term="FTP"/><category term="Google API"/><category term="HTTPS"/><category term="Limpiar cola de correo"/><category term="Merchant"/><category term="Miva"/><category term="Miva Merchant"/><category term="Panel"/><category term="S3"/><category term="SELINUX"/><category term="SLE11"/><category term="SSL"/><category term="SUSE"/><category term="SUSE 11"/><category term="VSFTPD"/><category term="centos"/><category term="cookies error"/><category term="linux"/><category term="make"/><category term="outlook"/><category term="php 5.3.6"/><category term="problem"/><category term="tcp connect error"/><category term="winmail.dat"/><category term="winmail.dat outlook"/><category term="winmail.dat problem"/><title type='text'>TI | De todo un poco</title><subtitle type='html'>Tecnologías de la informacion</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://rubensedano.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://rubensedano.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05521370107473435019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-861061747828903045.post-999332978236928112</id><published>2015-04-10T02:59:00.002-05:00</published><updated>2015-04-18T21:17:01.189-05:00</updated><title type='text'>Conectar a MSSQL desde Linux CentOS 6.5</title><content type='html'>Desactivar SElinux&lt;br /&gt;
instalar apache:&lt;br /&gt;
yum install php apr &amp;nbsp;apr-util apr-util-ldap &amp;nbsp;httpd httpd-tools mailcap php-cli php-common php-mbstring&lt;br /&gt;
yum install epel-release&lt;br /&gt;
sino&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;sudo rpm -Uvh epel-release-6*.rpm&lt;br /&gt;
&lt;br /&gt;
yum install php-pdo php-mssql php-odbc</content><link rel='replies' type='application/atom+xml' href='http://rubensedano.blogspot.com/feeds/999332978236928112/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://rubensedano.blogspot.com/2015/04/conectar-mssql-desde-linux-centos-65.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/999332978236928112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/999332978236928112'/><link rel='alternate' type='text/html' href='http://rubensedano.blogspot.com/2015/04/conectar-mssql-desde-linux-centos-65.html' title='Conectar a MSSQL desde Linux CentOS 6.5'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05521370107473435019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-861061747828903045.post-6796858290872362943</id><published>2015-04-09T00:34:00.001-05:00</published><updated>2015-04-09T00:36:33.347-05:00</updated><title type='text'>Comandos para iptables in centos 6</title><content type='html'>agregar puerto 443 in rackspace&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: monospace, serif; font-size: 19px; line-height: 28.5px; white-space: pre-wrap;&quot;&gt;iptables -A INPUT &lt;/span&gt;-p tcp -m conntrack --ctstate NEW -m tcp --dport 443 -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
comando para guardar&lt;br /&gt;
service iptables save&lt;br /&gt;
&lt;br /&gt;
comando para reinicia&lt;br /&gt;
service iptables restart&lt;br /&gt;
&lt;br /&gt;
Comando para cargar un archivo de reglas&lt;br /&gt;
iptables-restore file &amp;nbsp; ó&lt;br /&gt;
iptables-restore &amp;lt; file&lt;br /&gt;
&lt;br /&gt;
Comando para guardar&lt;br /&gt;
service iptables save ó&lt;br /&gt;
iptables-save &amp;gt; file&lt;br /&gt;
&lt;br /&gt;
luego restart</content><link rel='replies' type='application/atom+xml' href='http://rubensedano.blogspot.com/feeds/6796858290872362943/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://rubensedano.blogspot.com/2015/04/comandos-para-iptables-in-centos-6.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/6796858290872362943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/6796858290872362943'/><link rel='alternate' type='text/html' href='http://rubensedano.blogspot.com/2015/04/comandos-para-iptables-in-centos-6.html' title='Comandos para iptables in centos 6'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05521370107473435019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-861061747828903045.post-3963118519731408838</id><published>2015-03-30T17:47:00.001-05:00</published><updated>2015-03-30T17:47:56.856-05:00</updated><title type='text'>Custom android driver for devices</title><content type='html'>&lt;h1 class=&quot;entry-title&quot; style=&quot;border: 0px; clear: both; color: #111111; font-family: &#39;Open sans&#39;, sans-serif; font-size: 32px; font-weight: 300; line-height: 1.2; margin: 0px 0px 10px; outline: 0px; padding: 40px 40px 10px; text-transform: uppercase; vertical-align: baseline;&quot;&gt;
CUSTOM MADE DRIVER FOR ANDROID DEVICES ON&amp;nbsp;WINDOWS&lt;/h1&gt;
&lt;div class=&quot;entry-content clear&quot; style=&quot;border: 0px; color: #666666; font-family: Bitter, sans-serif; font-size: 14px; line-height: 2; margin: 1.5em 0px 0px; outline: 0px; padding: 0px 40px 20px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
You need to modify 3 things in order to make Google USB driver work for any android phone on any Windows:&lt;br /&gt;1-modify&amp;nbsp;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;android_winusb.inf&lt;/span&gt;&amp;nbsp;file.&lt;br /&gt;2- Digitally sign the modified driver&lt;br /&gt;3- modify adb&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
and here are the details:&lt;br /&gt;1-modify&amp;nbsp;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;android_winusb.inf&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
the format to add is:&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ;Comment usually the device name&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %SingleAdbInterface%&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = USB_Install, USB\; here you put VID and PID&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %CompositeAdbInterface%&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = USB_Install, USB\; same as above but add the MI&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
before i go on, vid is the usb vendor id; it doesn’t have to be the same for the same Device OEM: for example: MSI gets usb chip in MSI enjoy tablet from a company and usb chip in MSI enjoy plus tablets in another company (rockchip).&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
How to get the vid and pid : they are in drivers you are merging; but if you don’t have a driver for the device you can get it by opening device manager; then right-click the device – select properties-in new dialog go to Details tab &amp;gt;in property drop menu select hardware ids. for example you see something like:&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;https://equationsolver.files.wordpress.com/2013/03/snapshot_130325_170343.jpg&quot; sl-processed=&quot;1&quot; style=&quot;border: 0px; color: #759b22; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;Image&quot; class=&quot;size-full wp-image&quot; id=&quot;i-32&quot; src=&quot;https://equationsolver.files.wordpress.com/2013/03/snapshot_130325_170343.jpg?w=404&quot; style=&quot;border: 0px; height: auto; max-width: 100%;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; USB\VID_2207&amp;amp;PID_0000&amp;amp;REV_0222&amp;amp;MI_01&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USB\VID_2207&amp;amp;PID_0000&amp;amp;MI_01&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
take this value for composite adb device and remove MI for single adb device, you get&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ;MSI WindPad Enjoy 7 plus&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %SingleAdbInterface%&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = USB_Install, USB\VID_2207&amp;amp;PID_0000&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %CompositeAdbInterface%&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = USB_Install, USB\VID_2207&amp;amp;PID_0000&amp;amp;REV_0222&amp;amp;MI_01&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
copy this 2 line TWICE , once to&amp;nbsp; [&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Google.NTx86&lt;/span&gt;] section and another to [Google.NTamd64] section&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
REPEAT for every device you want to support&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Now an optional edit for [Strings] Section: edit&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; [Strings]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProviderName&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; = “Google, Inc.”&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SingleAdbInterface&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = “Android ADB Interface”&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CompositeAdbInterface&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = “Android Composite ADB Interface”&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SingleBootLoaderInterface&amp;nbsp;&amp;nbsp; = “Android Bootloader Interface”&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WinUSB_SvcDesc&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; = “Android USB Driver”&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DISK_NAME&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; = “Android WinUsb installation disk”&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ClassName&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; = “Android Device”&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
To:&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; [Strings]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProviderName&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; = “Google, Inc.”&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SingleAdbInterface&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = “MSI ADB Interface”&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CompositeAdbInterface&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = “MSI Composite ADB Interface”&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SingleBootLoaderInterface&amp;nbsp;&amp;nbsp; = “MSI Bootloader Interface”&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WinUSB_SvcDesc&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; = “MSI USB Driver”&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DISK_NAME&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; = “MSI WinUsb installation disk”&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ClassName&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; = “MSI Tablet”&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
2- Sign the driver:&lt;br /&gt;Although the original google usb driver was signed by google , modifying&amp;nbsp;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;android_winusb.inf&lt;/span&gt;&amp;nbsp;will prevent installing it on windows 8 showning an error message&lt;br /&gt;&lt;a href=&quot;https://equationsolver.files.wordpress.com/2013/03/hasherror.png&quot; sl-processed=&quot;1&quot; style=&quot;border: 0px; color: #759b22; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;Image&quot; class=&quot;size-full wp-image&quot; height=&quot;286&quot; id=&quot;i-38&quot; src=&quot;https://equationsolver.files.wordpress.com/2013/03/hasherror.png?w=650&quot; style=&quot;border: 0px; height: auto; max-width: 100%;&quot; width=&quot;500&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; The hash file is not present in the specified catalog file. The file is likely corrupt o the&amp;nbsp;&amp;nbsp;&amp;nbsp; victim of tampering.&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
This is only in Windows 8. Windows 7 or earlier do not show this error message. You have to regenerate catalog file (probably with Windows SDK) and sign&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Workaround: A workaround for internal tesing is to diable windows signature verification : either temporarily or permanently:&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
temporarily:&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Go to left upper or lower corner of screen to open charms bar and click settings charm.&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
choose Change PC settings&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
choose General&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Scroll down, and click ‘Restart now’ under ‘Advanced startup’.&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Click ‘Troubleshoot’.&lt;br /&gt;Click ‘Advanced Options’&lt;br /&gt;Click ‘Windows Startup Settings’&lt;br /&gt;Click Restart.&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
or&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
run cmd&lt;br /&gt;&amp;nbsp;and type:&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
shutdown -o -r -t 0&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
then after restarting choose &amp;nbsp;‘Disable driver signature enforcement‘&amp;nbsp; from the list . install your driver before restarting.&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Permanently:&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
press Window+Q&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
search for cmd&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
right click cmd&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
choose run as administrator from action bar&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
type in cmd:&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS&lt;br /&gt;&amp;nbsp; &amp;nbsp; bcdedit -set TESTSIGNING ON&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
3- modify adb:&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
a bug in adb make it doesn’t connect to some device vendors. add usb vendor id to it and recompile. modified ad are available:&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.slatedroid.com/topic/37692-adb-drivers-problem/&quot; rel=&quot;nofollow&quot; sl-processed=&quot;1&quot; style=&quot;border: 0px; color: #759b22; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;http://www.slatedroid.com/topic/37692-adb-drivers-problem/&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Workaround:&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
in the command line:&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;em style=&quot;border: 0px; font-family: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;echo&lt;/em&gt;&amp;nbsp;0x0e79 &amp;gt;&amp;gt; “%USERPROFILE%\.android\&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;adb_usb.ini&lt;/span&gt;”&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
this adds the vendor id to a file named&amp;nbsp;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;adb_usb.ini&lt;/span&gt;&amp;nbsp;in the user files&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.5em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
where 0e79 is the usb vendor id&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rubensedano.blogspot.com/feeds/3963118519731408838/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://rubensedano.blogspot.com/2015/03/custom-android-driver-for-devices.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/3963118519731408838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/3963118519731408838'/><link rel='alternate' type='text/html' href='http://rubensedano.blogspot.com/2015/03/custom-android-driver-for-devices.html' title='Custom android driver for devices'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05521370107473435019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-861061747828903045.post-6543849355695189598</id><published>2014-12-20T02:06:00.001-05:00</published><updated>2014-12-20T02:06:44.342-05:00</updated><title type='text'>Tuning Mod Pagespeed</title><content type='html'># Image Filters&lt;br /&gt;
ModPagespeedEnableFilters rewrite_images,insert_image_dimensions,inline_images,inline_preview_images,sprite_images,lazyload_images,convert_jpeg_to_progressive,jpeg_subsampling&lt;br /&gt;
&lt;br /&gt;
# CSS Filters&lt;br /&gt;
ModPagespeedEnableFilters rewrite_css,move_css_above_scripts,combine_css,inline_css,flatten_css_imports,prioritize_critical_css,rewrite_style_attributes&lt;br /&gt;
&lt;br /&gt;
# JS Filters&lt;br /&gt;
ModPagespeedEnableFilters rewrite_javascript,canonicalize_javascript_libraries,inline_javascript&lt;br /&gt;
&lt;br /&gt;
# Misc Filters&lt;br /&gt;
ModPagespeedEnableFilters collapse_whitespace,trim_urls,remove_quotes,insert_dns_prefetch,extend_cache,inline_import_to_link&lt;br /&gt;
&lt;br /&gt;
ModPagespeedEnableFilters prioritize_critical_css&lt;br /&gt;
ModPagespeedEnableFilters convert_jpeg_to_webp&lt;br /&gt;
ModPagespeedEnableFilters lazyload_images,inline_preview_images&lt;br /&gt;
ModPagespeedUseExperimentalJsMinifier on</content><link rel='replies' type='application/atom+xml' href='http://rubensedano.blogspot.com/feeds/6543849355695189598/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://rubensedano.blogspot.com/2014/12/tuning-mod-pagespeed.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/6543849355695189598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/6543849355695189598'/><link rel='alternate' type='text/html' href='http://rubensedano.blogspot.com/2014/12/tuning-mod-pagespeed.html' title='Tuning Mod Pagespeed'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05521370107473435019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-861061747828903045.post-6693478758962370452</id><published>2014-03-11T14:37:00.000-05:00</published><updated>2014-03-11T14:37:04.449-05:00</updated><title type='text'>FTP pasivo in plesk panel</title><content type='html'>&lt;pre style=&quot;background-color: #dae7e6; border: 1px solid rgb(234, 234, 234); color: #333333; font-size: 12px; overflow-x: auto; padding: 1em;&quot;&gt;&lt;code style=&quot;white-space: pre-wrap;&quot;&gt;&lt;global&gt;
.....
.....
PassivePorts 57000 58000
&lt;/global&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #dae7e6; border: 1px solid rgb(234, 234, 234); color: #333333; font-size: 12px; overflow-x: auto; padding: 1em;&quot;&gt;&lt;code style=&quot;white-space: pre-wrap;&quot;&gt;# /sbin/modprobe ip_conntrack_ftp
# lsmod | grep conntrack_ftp
nf_conntrack_ftp       13696  0
nf_conntrack           61684  1 nf_conntrack_ftp&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #dae7e6; border: 1px solid rgb(234, 234, 234); color: #333333; font-size: 12px; overflow-x: auto; padding: 1em;&quot;&gt;&lt;code style=&quot;white-space: pre-wrap;&quot;&gt;iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #dae7e6; border: 1px solid rgb(234, 234, 234); color: #333333; font-size: 12px; overflow-x: auto; padding: 1em;&quot;&gt;&lt;code style=&quot;white-space: pre-wrap;&quot;&gt;# /sbin/modprobe ip_nat_ftp&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #dae7e6; border: 1px solid rgb(234, 234, 234); color: #333333; font-size: 12px; overflow-x: auto; padding: 1em;&quot;&gt;&lt;code style=&quot;white-space: pre-wrap;&quot;&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #dae7e6; border: 1px solid rgb(234, 234, 234); color: #333333; font-size: 12px; overflow-x: auto; padding: 1em;&quot;&gt;&lt;code style=&quot;white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Arial, Helvetica, Verdana, sans-serif; white-space: normal;&quot;&gt;To keep the changes after the system boot, the modules should be added into&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: white; color: black; white-space: normal;&quot;&gt;/etc/sysconfig/iptables-config&lt;/code&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Arial, Helvetica, Verdana, sans-serif; white-space: normal;&quot;&gt;, to&lt;/span&gt;&lt;code style=&quot;background-color: white; color: black; white-space: normal;&quot;&gt;IPTABLES_MODULES&lt;/code&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Arial, Helvetica, Verdana, sans-serif; white-space: normal;&quot;&gt;&amp;nbsp;line (space-separated).&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rubensedano.blogspot.com/feeds/6693478758962370452/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://rubensedano.blogspot.com/2014/03/ftp-pasivo-in-plesk-panel.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/6693478758962370452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/6693478758962370452'/><link rel='alternate' type='text/html' href='http://rubensedano.blogspot.com/2014/03/ftp-pasivo-in-plesk-panel.html' title='FTP pasivo in plesk panel'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05521370107473435019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-861061747828903045.post-701681046076355624</id><published>2014-02-24T22:51:00.002-05:00</published><updated>2014-04-27T03:00:18.459-05:00</updated><title type='text'>Instalar DKIM in CentOS 6 con Plesk Panel</title><content type='html'>Esta semana tuve la oportunidad de asumir el reto de instalar opendkim en centos 6 con plesk para poder firmar nuestros correos y asi llegar a bandeja. Eso es lo que usan ahora las empresas dedicadas al negocio de envio de email como servicio por ejemplo Amazon SES y Mailgun de Rackspace, estos dos son muy buenos ejemplos. Pero ahora la idea es hacer lo mismo en nuestros propios servidores.&lt;br /&gt;
&lt;br /&gt;
http://www.rosehosting.com/blog/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps/&lt;br /&gt;
http://blog.matoski.com/articles/spf-dk-dkim-plesk-debian/&lt;br /&gt;
http://stevejenkins.com/blog/2010/09/how-to-get-dkim-domainkeys-identified-mail-working-on-centos-5-5-and-postfix-using-opendkim/&lt;br /&gt;
&lt;pre style=&quot;background-color: white; border: 1px solid rgb(237, 237, 237); color: #666666; font-family: Consolas, Monaco, &#39;Lucida Console&#39;, monospace; font-size: 0.857142857rem; line-height: 1.714285714; margin-bottom: 1.714285714rem; margin-top: 1.714285714rem; overflow: auto; padding: 1.714285714rem; vertical-align: baseline;&quot;&gt;## wget -P /tmp http://mirror.pnl.gov/epel/6/i386/epel-release-6-8.noarch.rpm
## rpm -Uvh /tmp/epel-release-6-8.noarch.rpm
## rm -f /tmp/epel-release-6-8.noarch.rpm&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; border: 1px solid rgb(237, 237, 237); color: #666666; font-family: Consolas, Monaco, &#39;Lucida Console&#39;, monospace; font-size: 0.857142857rem; line-height: 1.714285714; margin-bottom: 1.714285714rem; margin-top: 1.714285714rem; overflow: auto; padding: 1.714285714rem; vertical-align: baseline;&quot;&gt;&lt;div style=&quot;border: 0px; color: black; font-family: osans, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 22.285715103149414px; margin-bottom: 1.714285714rem; padding: 0px; vertical-align: baseline; white-space: normal;&quot;&gt;
Install the package using&amp;nbsp;&lt;code style=&quot;border: 0px; font-family: Consolas, Monaco, &#39;Lucida Console&#39;, monospace; font-size: 0.857142857rem; line-height: 2; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;yum&lt;/code&gt;:&lt;/div&gt;
&lt;pre style=&quot;border: 1px solid rgb(237, 237, 237); font-family: Consolas, Monaco, &#39;Lucida Console&#39;, monospace; font-size: 0.857142857rem; line-height: 1.714285714; margin-bottom: 1.714285714rem; margin-top: 1.714285714rem; overflow: auto; padding: 1.714285714rem; vertical-align: baseline;&quot;&gt;## yum install opendkim&lt;/pre&gt;
&lt;/pre&gt;
&lt;br /&gt;
Despues de haber instalado open dkim hacemos lo siguiente:&lt;br /&gt;
&lt;br /&gt;
si no esta creada la carpeta /etc/opendkim/keys la creamos sino omitimos el primer comando:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Anonymous Pro&#39;, monospace; font-size: 16px; line-height: 17.67150115966797px; white-space: pre;&quot;&gt;mkdir -pv /etc/opendkim/keys
chown -Rv opendkim:opendkim /etc/opendkim
chmod go-rwx /etc/opendkim/*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Anonymous Pro&#39;, monospace; font-size: 16px; line-height: 17.67150115966797px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Anonymous Pro&#39;, monospace; font-size: 16px; line-height: 17.67150115966797px; white-space: pre;&quot;&gt;Luego creamos una carpeta con el dominio y generamos la firma digital y asignamos permisos&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Anonymous Pro&#39;, monospace; font-size: 16px; line-height: 17.67150115966797px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Anonymous Pro&#39;, monospace; font-size: 16px; line-height: 17.67150115966797px; white-space: pre;&quot;&gt;mkdir -p /etc/opendkim/keys/myserverplace.de
&lt;/span&gt;&lt;span class=&quot;built_in&quot; style=&quot;background-color: white; color: #f5871f; font-family: &#39;Anonymous Pro&#39;, monospace; font-size: 16px; line-height: 17.67150115966797px; white-space: pre;&quot;&gt;cd&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Anonymous Pro&#39;, monospace; font-size: 16px; line-height: 17.67150115966797px; white-space: pre;&quot;&gt; /etc/opendkim/keys/myserverplace.de
opendkim-genkey &lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;background-color: white; font-family: &#39;Anonymous Pro&#39;, monospace; font-size: 16px; line-height: 17.67150115966797px; white-space: pre;&quot;&gt;-d&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Anonymous Pro&#39;, monospace; font-size: 16px; line-height: 17.67150115966797px; white-space: pre;&quot;&gt; myserverplace.de &lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;background-color: white; font-family: &#39;Anonymous Pro&#39;, monospace; font-size: 16px; line-height: 17.67150115966797px; white-space: pre;&quot;&gt;-s&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Anonymous Pro&#39;, monospace; font-size: 16px; line-height: 17.67150115966797px; white-space: pre;&quot;&gt; mail
chown -Rv opendkim:opendkim /etc/opendkim/keys/myserverplace.de
chmod -v u=rw,go-rwx *&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Anonymous Pro&#39;, monospace; font-size: 16px; line-height: 17.67150115966797px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Anonymous Pro&#39;, monospace; font-size: 16px; line-height: 17.67150115966797px; white-space: pre;&quot;&gt;Luego asignar permisos 644 a Trustedhost,SigninTable y Keytable&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Anonymous Pro&#39;, monospace; font-size: 16px; line-height: 17.67150115966797px; white-space: pre;&quot;&gt;Luego asignar permisos 700 a la carpeta y subcarpetas de keys&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Anonymous Pro&#39;, monospace; font-size: 16px; line-height: 17.67150115966797px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Anonymous Pro&#39;, monospace; font-size: 16px; line-height: 17.67150115966797px; white-space: pre;&quot;&gt;Luego editar nuestro archivo Trustedhost y poner las ips o dominios permitidos&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Anonymous Pro&#39;, monospace; font-size: 16px; line-height: 17.67150115966797px; white-space: pre;&quot;&gt;En el archivo Keytable poner lo siguiente&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; line-height: 17.67150115966797px; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Anonymous Pro, monospace;&quot;&gt;mail._domainkey.linkwebservices.com linkwebservices.com:mail:/etc/opendkim/keys/linkwebservices.com/mail.private&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; line-height: 17.67150115966797px; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Anonymous Pro, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; line-height: 17.67150115966797px; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Anonymous Pro, monospace;&quot;&gt;En el archivo Signingtable poner lo siguiente:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; line-height: 17.67150115966797px; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Anonymous Pro, monospace;&quot;&gt;*@linkwebservices.com mail._domainkey.linkwebservices.com&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; line-height: 17.67150115966797px; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Anonymous Pro, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; line-height: 17.67150115966797px; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Anonymous Pro, monospace;&quot;&gt;Una vez que hagamos esto ir a la configuracion dns de nuestro dominio y agregar un registro txt llamado _mail.domainkey debe quedar como lo siguiente :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Verdana, sans-serif; font-size: 16px; font-weight: bold;&quot;&gt;mail._domainkey.linkwebservices.com &amp;nbsp;TXT &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; color: #555555; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 13px;&quot;&gt;v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC7KtU5uKKA5GJsghjQ/FzFcY0ryDsmoUMcICR2uie22gJqZ016gIHxwSWMbMjz/EliHTMrpJPMmMGQ0YU9NnuBlCWbM8XyVSrj7QWFVvbF/tXBp3COatoOWw3qVfzSBZ4NwaZXLVdU/c5jZJiyWpKgJJCxHTxkoXWDvgcXmr4LeQIDAQAB&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee; color: #555555; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #eeeeee; color: #555555; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 13px;&quot;&gt;Pueden testear su registro dns con estas dos herramientas.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee; color: #555555; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;ul style=&quot;background-color: #f8f8f8; border: 0px; color: #171717; font-family: Lora, serif; font-size: 21px; line-height: 31.920000076293945px; margin: 0px 1.4em 1.4em 4em; padding: 0px;&quot;&gt;
&lt;li style=&quot;margin-bottom: 0.5em;&quot;&gt;&lt;a href=&quot;http://www.protodave.com/tools/dkim-key-checker&quot; style=&quot;border: 0px; color: #171717; margin: 0px; padding: 0px;&quot;&gt;dkim-key-checker&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.5em;&quot;&gt;&lt;a href=&quot;http://dkimcore.org/tools/&quot; style=&quot;border: 0px; color: #171717; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;caps&quot;&gt;DKIM&lt;/span&gt;&amp;nbsp;Core&amp;nbsp;Tool&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;color: #171717; font-family: Lora, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;Los siguientes pasos son configurar nuestro archivo /etc/opendkim.conf y /etc/postfix/main.cf&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #171717; font-family: Lora, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #171717; font-family: Lora, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;El contenido del primer archivo debe quedar asi:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #171717; font-family: Lora, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;color: #171717; font-family: Lora, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;##&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #171717; font-family: Lora, serif;&quot;&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
## opendkim.conf -- configuration file for OpenDKIM filter&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
##&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
Canonicalization &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;relaxed/relaxed&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
ExternalIgnoreList &amp;nbsp; &amp;nbsp; &amp;nbsp;refile:/etc/opendkim/TrustedHosts&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
InternalHosts &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; refile:/etc/opendkim/TrustedHosts&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
KeyTable &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;refile:/etc/opendkim/KeyTable&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
LogWhy &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Yes&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
MinimumKeyBits &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1024&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
Mode &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sv&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
PidFile &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /var/run/opendkim/opendkim.pid&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
SigningTable &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;refile:/etc/opendkim/SigningTable&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
Socket &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;inet:8891@127.0.0.1&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
Syslog &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Yes&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
SyslogSuccess &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Yes&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
TemporaryDirectory &amp;nbsp; &amp;nbsp; &amp;nbsp;/var/tmp&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
UMask &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 022&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
UserID &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;opendkim:opendkim&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
Y en el segundo archivo añadimos al final lo siguiente:&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
&lt;div&gt;
# OpenDKIM&lt;/div&gt;
&lt;div&gt;
#milter_protocol = 6&lt;/div&gt;
&lt;div&gt;
smtpd_milters = , inet:127.0.0.1:8891, inet:127.0.0.1:12768&lt;/div&gt;
&lt;div&gt;
non_smtpd_milters = $smtpd_milters&lt;/div&gt;
&lt;div&gt;
milter_default_action = accept&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
Comentamos la linea del protocolo porque no me funciono a pesar de que en el blog de matoski de donde obtuve información decia que si le funcionó sin nigun problema. Igual pueden probar de las dos formas, ya lo dejo a criterio de ustedes.&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
Finalmente reiniciamos opendkim y postfix&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
service opendkim restart&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
service postfix restart&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
con hacer esto deberia de terminar todo, pero no es asi, por alguna razon, cuando reiniciamos opendlim, genera un certificado por defecto el cual resetea los permisos de nuestra carpeta keys, hay que cerciorarnos de que la carpeta keys tenga los permisos correspondientes que señalamos arriba&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;chown -R 700 keys/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;&amp;nbsp;chown -R opendkim:opendkim keys/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;volvemos a reiniciar los servicios&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;service opendkim restart&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;service postfix restart&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;ahora si ya esta todo configurado correctamente :D&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
no olvidar setear opendkim como servicio de inicio para que se inicie cuando bootee el sistema:&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
chkconfig opendkim on&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
Con eso deberia poder estar firmando sus correos, y mas un spf valido deberian estar llegando a bandeja de entrada en gmail y outlook y otros servicios que usen DKIM, ojo el ip tambien debe estar limpio, no tener requisitorias de haber sido usado para enviar spam, porque por ejemplo yahoo bloquea ips que han tenido un historial malo, y asi usen dkim, los seguira rechazando, ojo con eso.&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
Este tutorial se puede aplicar a aquellas direcciones ips que sabiendo que estan limpias, no llegan a bandeja de entrada y lo envian a la carpeta de spam. Con esto deberian los emails llegar a bandeja. Al menos yo lo comprobe con el dominio que hice las pruebas y todo fue exitoso.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
Pueden enviar un email a estas direcciones para obtener un reporte de spf, domainkeys y DKIM&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
&lt;ul style=&quot;background-color: #f8f8f8; border: 0px; margin: 0px 1.4em 1.4em 4em; padding: 0px;&quot;&gt;
&lt;li style=&quot;margin-bottom: 0.5em;&quot;&gt;check-auth@verifier.port25.com&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.5em;&quot;&gt;AAAA3QcKCQwA@appmaildev.com&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
Saludos.&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 21px; line-height: 31.920000076293945px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Anonymous Pro&#39;, monospace; font-size: 16px; line-height: 17.67150115966797px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://rubensedano.blogspot.com/feeds/701681046076355624/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://rubensedano.blogspot.com/2014/02/instalar-dkim-in-centos-6-con-plesk.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/701681046076355624'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/701681046076355624'/><link rel='alternate' type='text/html' href='http://rubensedano.blogspot.com/2014/02/instalar-dkim-in-centos-6-con-plesk.html' title='Instalar DKIM in CentOS 6 con Plesk Panel'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05521370107473435019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-861061747828903045.post-370452215553492315</id><published>2014-01-25T18:20:00.001-05:00</published><updated>2014-01-25T18:20:20.170-05:00</updated><title type='text'>¿Problemas con el cron en Plesk?</title><content type='html'>Cuando no se ejecuten las tareas programadas en linux, es porque por defecto no tienen acceso a la shell /bin/sh.&lt;br /&gt;
Para permitir el acceso ejecuten esta sentencia.&lt;br /&gt;
&lt;span style=&quot;background-color: whitesmoke; color: #333333; font-family: Tahoma, Calibri, Verdana, Geneva, sans-serif; font-size: 13px; font-style: italic;&quot;&gt;/usr/local/psa/bin/server_pref -u -crontab-secure-shell &quot;/bin/sh&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: whitesmoke; color: #333333; font-family: Tahoma, Calibri, Verdana, Geneva, sans-serif; font-size: 13px; font-style: italic;&quot;&gt;para quitar el permiso se ejecutar lo siguiente&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: whitesmoke; color: #333333; font-family: Tahoma, Calibri, Verdana, Geneva, sans-serif; font-size: 13px; font-style: italic;&quot;&gt;/usr/local/psa/bin/server_pref -u -crontab-secure-shell &quot;&quot;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://rubensedano.blogspot.com/feeds/370452215553492315/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://rubensedano.blogspot.com/2014/01/problemas-con-el-cron-en-plesk.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/370452215553492315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/370452215553492315'/><link rel='alternate' type='text/html' href='http://rubensedano.blogspot.com/2014/01/problemas-con-el-cron-en-plesk.html' title='¿Problemas con el cron en Plesk?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05521370107473435019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-861061747828903045.post-2071390224197610730</id><published>2014-01-22T16:21:00.000-05:00</published><updated>2014-01-22T16:21:01.917-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Clear queue"/><category scheme="http://www.blogger.com/atom/ns#" term="Limpiar cola de correo"/><category scheme="http://www.blogger.com/atom/ns#" term="Plesk"/><title type='text'>Limpiando la cola de correos en Plesk</title><content type='html'>&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 1.625em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Me gustaria explicar como limpiar la cola de correos de qmail, en un servidor que esta corriendo usando Plesk. A continuacion mostrare dos metodos. Los metodos mencionados solo eliminan los correos &amp;nbsp;de la cola y nada más.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 1.625em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Primero revisaremos los correos en cola usando la herramienta qmail-qstat:&lt;/div&gt;
&lt;blockquote style=&quot;background-color: white; border: 0px; color: #373737; font-family: Georgia, &#39;Bitstream Charter&#39;, serif; font-size: 15px; font-style: italic; line-height: 24.375px; margin: 0px 3em; outline: 0px; padding: 0px; quotes: &#39;&#39;; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.625em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
[root@test /]# /var/qmail/bin/qmail-qstat&lt;br /&gt;messages in queue: 22463&lt;br /&gt;messages in queue but not yet preprocessed: 22&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 1.625em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Para eliminar los mensajes de la cola SIEMPRE para el servicio primero, para evitar tener que reconfigurar Qmail otra vez.&lt;/div&gt;
&lt;blockquote style=&quot;background-color: white; border: 0px; color: #373737; font-family: Georgia, &#39;Bitstream Charter&#39;, serif; font-size: 15px; font-style: italic; line-height: 24.375px; margin: 0px 3em; outline: 0px; padding: 0px; quotes: &#39;&#39;; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.625em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
service qmail stop&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 1.625em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Una vez que el servicio esta para ejecuta los siguientes comandos, uno por uno, basado en el numero de carpetas que tengas dentro de queue. Esto puede tomarse su tiempo.&lt;/div&gt;
&lt;blockquote style=&quot;background-color: white; border: 0px; color: #373737; font-family: Georgia, &#39;Bitstream Charter&#39;, serif; font-size: 15px; font-style: italic; line-height: 24.375px; margin: 0px 3em; outline: 0px; padding: 0px; quotes: &#39;&#39;; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.625em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
find /var/qmail/queue/mess -type f -exec rm {} \;&lt;br /&gt;find /var/qmail/queue/info -type f -exec rm {} \;&lt;br /&gt;find /var/qmail/queue/local -type f -exec rm {} \;&lt;br /&gt;find /var/qmail/queue/intd -type f -exec rm {} \;&lt;br /&gt;find /var/qmail/queue/todo -type f -exec rm {} \;&lt;br /&gt;find /var/qmail/queue/remote -type f -exec rm {} \;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 1.625em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Finalmente inicia el servicio y asegurate que la cola ha sido eliminada.&lt;/div&gt;
&lt;blockquote style=&quot;background-color: white; border: 0px; color: #373737; font-family: Georgia, &#39;Bitstream Charter&#39;, serif; font-size: 15px; font-style: italic; line-height: 24.375px; margin: 0px 3em; outline: 0px; padding: 0px; quotes: &#39;&#39;; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.625em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
service qmail start&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #373737; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24.375px; margin-bottom: 1.625em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Para automatizar el proceso, puedes usar estos dos scripts disponibles, (basicamente estan mejorando las mismas operaciones nombradas anteriormente). Para quellos que reciban un sobrerecargado file truncating, por favor usen el segundo script. Toma un poco mas de tiempo, pero la cola de correos es eliminada.&lt;/div&gt;
&lt;blockquote style=&quot;background-color: white; border: 0px; color: #373737; font-family: Georgia, &#39;Bitstream Charter&#39;, serif; font-size: 15px; font-style: italic; line-height: 24.375px; margin: 0px 3em; outline: 0px; padding: 0px; quotes: &#39;&#39;; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 1.625em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
wget&amp;nbsp;&lt;a href=&quot;http://dragos.fedorovici.com/qmailclear.sh&quot; style=&quot;border: 0px; color: #365687; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;http://dragos.fedorovici.com/qmailclear.sh&lt;/a&gt;&lt;br /&gt;wget&amp;nbsp;&lt;a href=&quot;http://dragos.fedorovici.com/qmailclean.sh&quot; style=&quot;border: 0px; color: #365687; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;http://dragos.fedorovici.com/qmailclean.sh&lt;/a&gt;&lt;br /&gt;sh qmailclean.sh&lt;br /&gt;sh qmailclear.sh&lt;/div&gt;
&lt;/blockquote&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rubensedano.blogspot.com/feeds/2071390224197610730/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://rubensedano.blogspot.com/2014/01/limpiando-la-cola-de-correos-en-plesk.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/2071390224197610730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/2071390224197610730'/><link rel='alternate' type='text/html' href='http://rubensedano.blogspot.com/2014/01/limpiando-la-cola-de-correos-en-plesk.html' title='Limpiando la cola de correos en Plesk'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05521370107473435019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-861061747828903045.post-8977691055164639279</id><published>2013-06-05T12:26:00.001-05:00</published><updated>2013-06-05T12:26:13.166-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="FTP"/><category scheme="http://www.blogger.com/atom/ns#" term="SLE11"/><category scheme="http://www.blogger.com/atom/ns#" term="SUSE"/><category scheme="http://www.blogger.com/atom/ns#" term="SUSE 11"/><category scheme="http://www.blogger.com/atom/ns#" term="VSFTPD"/><title type='text'>Manual Vsftpd in suse 11</title><content type='html'>&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;INTRODUCCIÓN&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;INSTALACIÓN&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;CONFIGURACIÓN BÁSICA&lt;/span&gt;&lt;blockquote style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;
Configuraciones Generales&lt;br /&gt;Configuración para usuarios Locales&lt;br /&gt;Configuración para usuarios Anónimos&lt;br /&gt;Configuración de logs&lt;br /&gt;Configuraciones relacionadas a Transferencias&lt;/blockquote&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;USUARIOS VIRTUALES&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;CONEXIONES SEGURAS UTILIZANDO SSL&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;ENLACES&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;u style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;&lt;b&gt;INTRODUCCIÓN&lt;/b&gt;&lt;/u&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Este pequeño documento tiene como objetivo indicar los principales pasos para configurar un servicio ftp en openSUSE utilizando el reconocido servidor VSFTPD(Very Secure FTPD). Aclaro que en la mayoría de los casos las configuraciones son realizadas editando directamente los archivos de configuración, para esto pueden utilizar el editor de texto de su preferencia (Yo utilizo el Vim =)).&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;u style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;&lt;b&gt;INSTALACIÓN&lt;/b&gt;&lt;/u&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Para instalar el paquete del servidor VSFTPD lo hacemos desde “Yast → Software → Instalar/desinstalar Software” donde buscamos el paquete con nombre “vsftpd”, lo seleccionamos, comprobamos las dependencias y lo instalamos.&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Todas los demás paquetes que necesitaremos más adelante posiblemente ya han sido instalados por defecto con el sistema operativo (paquetes pam, openssl, openssl-certs, db-utils, etc.) ya que son paquetes fundamentales para otras aplicaciones básicas, no obstante, podemos verificar su instalación desde Yast.&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Cuando hayamos culminado con la instalación probamos levantar el servicio abriendo una consola en la cual nos conectamos como root (gabriel@superserver:~&amp;gt; su -) y ejecutamos el siguiente comando:&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 34px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;superserver:/ # service vsftpd start&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;si el servicio se levantó correctamente saldrá el siguiente mensaje:&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 34px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;Starting vsftpd               done&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Paramos nuevamente el servicio con el comando service vsftpd stop, accedemos nuevamente al Yast y nos dirigimos a “Sistema → Editores de niveles de ejecución” donde verificamos que en modo experto estén marcadas las opciones 3 y 5 de los niveles de ejecución para el servicio vsftpd, lo que permite que el servicio se inicie automáticamente cada vez que se encienda el equipo. Concluido con estos pasos, continuamos con la configuración del servicio en sí.&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;b style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;&lt;u&gt;CONFIGURACIÓN BÁSICA&lt;/u&gt;&lt;/b&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;El archivo de configuración del servidor VSFTPD se encuentra en el directorio /etc/ y se llama&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;skimwords-unlinked&quot; style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;vsftpd.conf&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;, el cual vamos a tener que modificar con cualquier editor de texto que sea de nuestra preferencia.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Las directivas o comandos que se van a especificar en esta sección son las necesarias para montar un servidor ftp básico que permite la conexión de usuarios locales del sistema operativo como así también de usuarios anónimos.&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Obs: Antes de comenzar a modificar un archivo de configuración, nunca hay que olvidarse de hacer una copia de seguridad del mismo, así siempre tendremos a mano una versión original para restaurar la configuración por defecto sin perder mucho tiempo&amp;nbsp;&lt;/span&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;inlineimg&quot; src=&quot;http://www.forosuse.org/forosuse/images/smilies/wink.gif&quot; style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; vertical-align: middle;&quot; title=&quot;Wink&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Abrimos el archivo conectados como root:&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 34px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;superserver:/ # vi /etc/&lt;span class=&quot;skimwords-unlinked&quot;&gt;vsftpd.conf&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;A continuación se citarán las principales directivas que deberán estar definidas (descomentadas) en el archivo de configuración seguidos de sus respectivos parámetros, hay muchas otras directivas que se pueden consultar en&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://vsftpd.beasts.org/vsftpd_conf.html&quot; style=&quot;background-color: #f9f9f9; color: black; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; target=&quot;_blank&quot;&gt;http://vsftpd.beasts.org/vsftpd_conf.html&lt;/a&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;, toda línea que lleve al principio el carácter almohadilla (#) será interpretado como un simple comentario.&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;b style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;&lt;u&gt;Configuraciones Generales:&lt;/u&gt;&lt;/b&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 210px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;#!/bin/bash
# Ejemplo del archivo de configuración /etc/&lt;span class=&quot;skimwords-unlinked&quot;&gt;vsftpd.conf&lt;/span&gt;
# General Settings
#
# Permite el modo escritura.
write_enable=YES

# Activa mensajes de directorio.
dirmessage_enable=YES

# Mensaje de bienvenida
ftpd_banner=Bienvenido al servidor ftp de GK - Powered by openSuSE 10.3&lt;/pre&gt;
&lt;/div&gt;
&lt;b style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;&lt;u&gt;Configuración para usuarios Locales:&lt;/u&gt;&lt;/b&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 370px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;# Local FTP user Settings
# 
# Permite que usuarios locales puedan conectarse.
local_enable=YES

# Enjaula a los usuarios locales dentro de su propio directorio personal, 
# esta opción mejora la seguridad.
chroot_local_user=YES

# Permite especificar una lista con los usuarios locales a los cuales no
# se les enjaulará cuando la opción chroot_local_user = YES.
chroot_list_enable=YES

# Especifica la ruta en donde se encuentra la lista, en mi caso he creado una 
# carpeta en el directorio /etc llamada “vsftpd”, en la cual coloqué el archivo 
# de texto (&lt;span class=&quot;skimwords-unlinked&quot;&gt;vsftpd.chroot_list&lt;/span&gt;) que contiene la lista.
chroot_list_file=/etc/vsftpd/&lt;span class=&quot;skimwords-unlinked&quot;&gt;vsftpd.chroot_list&lt;/span&gt;

# Esta directiva la he dejado comentada, pero puede resultar muy interesante 
# para los casos en que sea necesario limitar la velocidad de transferencia para 
# los usuarios locales, por defecto la velocidad de transferencia es ilimitada.
#local_max_rate=7200&lt;/pre&gt;
&lt;/div&gt;
&lt;b style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;&lt;u&gt;Configuración para usuarios Anónimos:&lt;/u&gt;&lt;/b&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;La configuración que viene más adelante está ideada para que los usuarios que se conectan anónimamente, no puedan subir archivos, sino solamente descargar aquellos compartidos por el administrador del servicio.&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Antes de comenzar con la modificación de las directivas de la sección “Anonymus FTP user Settings” del archivo&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;skimwords-unlinked&quot; style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;vsftpd.conf&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;, necesitamos crear una carpeta en el sistema de archivos que será utilizada como el directorio raíz para las conexiones anónimas, con la instalación por defecto del servidor vsftpd en openSUSE 10.3, el directorio para usuarios anónimos se encuentra por defecto en /srv/ftp/, este directorio es el HOME del usuario de sistema “ftp” dueño del servicio (Ver Yast → Seguridad y Usuarios → Gestión de Usuarios → Definir Filtro: Usuarios del Sistema → Usuario FTP → Ver Detalles). Previendo la posterior utilización de dicho directorio para albergar a los usuarios virtuales, coloqué una nueva carpeta en dicho directorio llamada anónimo (/srv/ftp/anonimo) :&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 50px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;superserver: # cd /srv/ftp
superserver:/srv/ftp # mkdir anonimo&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;asignándole el dueño:grupo y los permisos de forma idéntica a la carpeta “ftp” que se encuentra en /srv, esto lo comento porque cuando coloqué otros permisos a la carpeta “anonimo”, las conexiones anónimas no funcionaron correctamente.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 50px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;superserver:/srv/ftp # chmod 755 anonimo/
superserver:/srv/ftp # chown root:root anonimo/&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Esta carpeta (/srv/ftp/anónimo) será la que contendrá los archivos compartidos para los usuarios conectados como anónimos.&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;u style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Continuación de la configuración del archivo vsftpd en la sección “Anonymus FTP user Settings”:&lt;/u&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 418px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;# Anonymus FTP user Settings
#
# Permitir conexiones anónimas.
anonymous_enable=YES

# Directorio raíz para los usuarios anónimos. Carpeta creada en /srv/ftp/ como
# se comentó anteriormente.
anon_root=anonimo

# Solo permite descargar a los usuarios anónimos aquellos archivos que tengan 
# permisos de lectura.
anon_world_readable_only=YES

# Para mi caso especifiqué con la siguiente directiva que los usuarios anónimos 
# no tengan permisos para subir archivos al servidor.
anon_upload_enable=NO

# Esta directiva permite a los usuarios anónimos a crear carpetas en ciertos
# casos.
anon_mkdir_write_enable=NO

# Directiva que permite establecer el límite de la velocidad máxima de 
# transferencia de datos para los usuarios anónimos. Fui un poco drástico jeje
# (2kb/s)
anon_max_rate=2048&lt;/pre&gt;
&lt;/div&gt;
&lt;b style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;&lt;u&gt;Configuración de logs:&lt;/u&gt;&lt;/b&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 194px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;# Log Settings
#
# Activa la generación de registros logs por cada uploads/downloads.
xferlog_enable=YES

# Define cual será el archivo log.
vsftpd_log_file=/var/log/&lt;span class=&quot;skimwords-unlinked&quot;&gt;vsftpd.log&lt;/span&gt;

# Si esta directiva no se encuentra comentada activa el registro (log) de todas 
# las peticiones/respuestas del servidor.
log_ftp_protocol=YES&lt;/pre&gt;
&lt;/div&gt;
&lt;b style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;&lt;u&gt;Configuraciones relacionadas a Transferencias:&lt;/u&gt;&lt;/b&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 498px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;# Transfer Settings
#
# (ftp-data).
connect_from_port_20=YES

# Tiempo de espera para mantener establecidas conexiones inactivas.
idle_session_timeout=600

# Tiempo de espera para mantener establecidas conexiones de datos inactivas.
data_connection_timeout=120

# Comando que permite activar/desactivar conexiones pasivas.
pasv_enable=YES

# PAM setting. Suele estar configurado por defecto.
pam_service_name=vsftpd

# Configura listen=YES para que vsftpd corra en modo standalone.
listen=YES

# Máximos clientes simultáneos conectados. Ejemplo:
max_clients=5

# Máximas conexiones simultáneas por IP. Ejemplo:
max_per_ip=3

# Como tenemos activado el uso de conexiones pasivas especificamos el rango de
# puertos que serán utilizados por este método de conexión.
pasv_min_port=40000
pasv_max_port=40020&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Bueno, hasta este punto ya tenemos configurado un servidor ftp básico que acepta conexiones de usuarios locales que pueden realizar downloads &amp;amp; uploads así como también acepta conexiones de usuarios anónimos que solamente tienen autorización para realizar descargas. Para poner nuevamente en marcha el servicio guardamos y salimos del archivo de configuración y ejecutamos el comando:&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 34px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;superserver:/ # service vsftpd start&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;y si todo salió según lo planeado deberá aparecer una línea que indique que el servicio se inició correctamente:&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 34px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;Starting vsftpd              done&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;No hay que olvidarse de autorizar los puertos correspondientes al servicio vsftpd y del rango de puertos destinados a las conexiones pasivas en el Firewall de openSUSE en el caso de que el mismo se encuentre activo.&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://i27.tinypic.com/2iqoopk.jpg&quot; style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Servicio vsftpd autorizado en el firewall.&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://i25.tinypic.com/2hyx5rt.jpg&quot; style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Rangos de puertos para conexiones pasivas autorizados en la ventana&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;de Opciones Avanzadas.&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;b style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;&lt;u&gt;USUARIOS VIRTUALES&lt;/u&gt;&lt;/b&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Vamos a incorporar un punto más a favor de la seguridad evitando usar los usuarios locales para conectarnos al servidor ftp, para ello vamos a implementar el método de autenticación combinando PAM y bases de datos db (Berkeley Database) que son muy simples de manipular, para ello necesitamos tener instalados los paquetes db-utils y pam, que ya suelen estar instalados por defecto.&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Para generar la tabla que contendrá los usuarios virtuales y sus respectivas contraseñas primeramente debemos crear un archivo de texto plano donde cargaremos esos datos, para ello nos dirigimos al directorio /etc/vsftpd que creamos anteriormente, ahí adentro creamos un nuevo archivo llamado por ejemplo “&lt;/span&gt;&lt;span class=&quot;skimwords-unlinked&quot; style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;logins.txt&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;”&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 34px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;superserver:/etc/vsftpd # touch &lt;span class=&quot;skimwords-unlinked&quot;&gt;logins.txt&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;le establecemos permisos de lectura y escritura solo para el usuario root con el comando:&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 34px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;superserver:/etc/vsftpd # chmod 600 &lt;span class=&quot;skimwords-unlinked&quot;&gt;logins.txt&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;y le agregamos un contenido similar a:&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 82px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;user_gabriel
pass_gabriel
user_jorge
pass_jorge&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;donde la primera línea corresponde al login del usuario virtual gabriel y la segunda a la contraseña del mismo, ya en la tercera línea se agrega otro nuevo login, en este caso jorge y que sigue el mismo procedimiento que las 2 primeras líneas (Arriba login y abajo la contraseña). Una vez que hayamos ingresado todos los usuarios virtuales que deseamos, preparamos un script que ejecutará una serie de comandos para generar la tabla db que es interpretable por el módulo pam.&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Para el script creamos otro nuevo archivo también en el directorio /etc/vsftpd/ llamado “&lt;/span&gt;&lt;span class=&quot;skimwords-unlinked&quot; style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;generar_db.sh&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;” y le agregamos el siguiente texto:&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 178px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;#!/bin/bash
# PRIMERAMENTE SE BORRA EL ARCHIVO &quot;&lt;span class=&quot;skimwords-unlinked&quot;&gt;vsftpd_login.db&lt;/span&gt;&quot; si es que ya existe.
rm -f &lt;span class=&quot;skimwords-unlinked&quot;&gt;vsftpd_login.db&lt;/span&gt;

# Genera el archivo &quot;db&quot; que contiene los usuarios virtuales
# del servicio vsftpd.
db_load -T -t hash -f &lt;span class=&quot;skimwords-unlinked&quot;&gt;logins.txt&lt;/span&gt; &lt;span class=&quot;skimwords-unlinked&quot;&gt;vsftpd_login.db&lt;/span&gt;

# Se asignan permisos de seguridad solo para root.
chmod 600 &lt;span class=&quot;skimwords-unlinked&quot;&gt;vsftpd_login.db&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;le asignamos el permiso de ejecución al archivo “&lt;/span&gt;&lt;span class=&quot;skimwords-unlinked&quot; style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;generar_db.sh&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;”:&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 34px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;superserver:/etc/vsftpd # chmod 700 &lt;span class=&quot;skimwords-unlinked&quot;&gt;generar_db.sh&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;y luego ejecutamos el script:&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 34px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;superserver:/etc/vsftpd # ./&lt;span class=&quot;skimwords-unlinked&quot;&gt;generar_db.sh&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Con esto creamos el archivo “&lt;/span&gt;&lt;span class=&quot;skimwords-unlinked&quot; style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;vsftpd_login.db&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;” en el directorio /etc/vsftpd/, listo para ser utilizado.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;El siguiente paso consiste en modificar el archivo de configuración PAM del servicio vsftpd, este archivo lo podemos encontrar en el directorio /etc/pam.d/ y debería llevar el mismo nombre especificado en la directiva “pam_service_name”, en este caso “vsftpd”.&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Antes de editar el archivo, hacemos una copia de seguridad del mismo y nos aseguramos que el servicio ftp no esté corriendo, verificado esto, editamos el archivo comentando todas sus líneas anteponiendo el carácter #, y le agregamos las siguientes líneas:&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 98px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;# Para usuarios virtuales. OBS: En caso de que se utilice un OS con arquitectura 
# 64 bits (x86_64), la ruta correcta para el archivo “&lt;span class=&quot;skimwords-unlinked&quot;&gt;pam_userdb.so&lt;/span&gt;” es 
# “/lib64/security/&lt;span class=&quot;skimwords-unlinked&quot;&gt;pam_userdb.so&lt;/span&gt;”.
auth required /lib/security/&lt;span class=&quot;skimwords-unlinked&quot;&gt;pam_userdb.so&lt;/span&gt; db=/etc/vsftpd/vsftpd_login
account required /lib/security/&lt;span class=&quot;skimwords-unlinked&quot;&gt;pam_userdb.so&lt;/span&gt; db=/etc/vsftpd/vsftpd_login&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Estas líneas permiten que los usuarios que se conecten al servicio ftp sean validados contra los registros que contiene la tabla&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;skimwords-unlinked&quot; style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;vsftpd_login.db&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;&amp;nbsp;que hemos creado.&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Como de ahora en más ya no se podrá acceder con los usuarios locales, se tiene que especificar al servidor vsftpd que un usuario local se encargará de gestionar todos los usuarios virtuales que se conecten, también aprovecharemos para agregar el directorio de donde el servidor vsftpd tendrá que buscar la configuración personal de cada usuario virtual, para lo que nuevamente editamos el archivo de configuración /etc/&lt;/span&gt;&lt;span class=&quot;skimwords-unlinked&quot; style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;vsftpd.conf&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;&amp;nbsp;y agregamos las siguientes líneas al final del archivo:&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 242px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;# Usuarios Virtuales
#
# Activamos el uso de usuarios virtuales. 
guest_enable=YES

# Esta directiva permite especificar el usuario que se encargará de manejar los 
# usuarios Virtuales, por defecto si no se especifica esta línea en openSUSE es 
# “ftp” que como ya sabemos tiene su home en /srv/ftp/, pero puede ser cualquier 
# otro usuario si lo deseamos.
guest_username=ftp

# Especificamos el directorio de donde el servicio obtendrá la configuración 
# personal de cada usuario virtual que agregamos a la tabla “&lt;span class=&quot;skimwords-unlinked&quot;&gt;vsftpd_login.db&lt;/span&gt;”.
user_config_dir=/etc/vsftpd/config_por_usuario&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Guardamos los cambios del archivo&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;skimwords-unlinked&quot; style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;vsftpd.conf&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;&amp;nbsp;y creamos el directorio indicado en la directiva “user_config_dir” dentro de la carpeta /etc/vsftpd/:&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 34px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;superserver:/etc/vsftpd # mkdir config_por_usuario&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;En su interior creamos por cada usuario virtual que agregamos a la tabla “&lt;/span&gt;&lt;span class=&quot;skimwords-unlinked&quot; style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;vsftpd_login.db&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;” un archivo de texto plano con el mismo nombre del login del usuario.&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 34px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;superserver:/etc/vsftpd/config_por_usuario # touch gabriel jorge&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Por ejemplo editamos el archivo “gabriel” recientemente creado y le agregamos las siguientes líneas:&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 146px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;#!/bin/bash
# Indicamos cual será el directorio personal del usuario gabriel
local_root=/srv/ftp/gabriel
# Le damos permisos de escritura para su directorio personal.
write_enable=YES
# Con virtual_use_local_privs igualado a YES, supone indicar que los usuarios 
# virtuales tendrán los mismos privilegios que los usuarios locales.
virtual_use_local_privs=YES&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Lo mismo podemos agregar al archivo “jorge”, obviamente indicando otro directorio personal. Ahora solo nos resta crear los directorios personales para ambos usuarios virtuales (gabriel y jorge) en el directorio /srv/ftp/, cambiarlos de dueño y asignar los permisos correspondientes:&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 114px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;superserver: # cd /srv/ftp
superserver:/srv/ftp # mkdir gabriel jorge
superserver:/srv/ftp # chown -R ftp:ftp gabriel
superserver:/srv/ftp # chown -R ftp:ftp jorge
superserver:/srv/ftp # chmod -R 744 gabriel
superserver:/srv/ftp # chmod -R 744 jorge&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;El siguiente paso es activar nuevamente el servicio (service vsftpd start) para comprobar su funcionamiento con los usuarios virtuales que hemos agregado, además las conexiones anónimas deberán seguir funcionando, solamente los usuarios locales ya no podrán conectarse al servidor.&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;b style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;&lt;u&gt;CONEXIONES SEGURAS UTILIZANDO SSL&lt;/u&gt;&lt;/b&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Como el protocolo ftp no encripta la información que fluye entre la aplicación cliente y el servidor, los datos como ser contraseñas, logins, etc. pueden ser obtenidos con mucha facilidad por personas con malas intenciones o simplemente curiosos mediante el escaneado de paquetes que circulan a través de la red. Para evitar estos casos, se puede activar la encriptación de paquetes utilizado ssl para tener un servicio ftp seguro (ftps).&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;El primer paso consiste en generar un Certificado SSL, para ello necesitamos tener instalados los paquetes openssl y openssl-certs. Nos dirigimos al directorio /etc/ssl/certs y ahí ejecutamos el siguiente comando:&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 34px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;superserver:/etc/ssl/certs# openssl req -x509 -nodes -days 7300 -newkey rsa:2048 -keyout /etc/ssl/certs/&lt;span class=&quot;skimwords-unlinked&quot;&gt;vsftpd.pem&lt;/span&gt; -out /etc/ssl/certs/&lt;span class=&quot;skimwords-unlinked&quot;&gt;vsftpd.pem&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Para preparar el certificado, el comando openssl nos solicitará que ingresemos varios datos como ser país, provincia, ciudad, empresa, nombre, email, etc., esta información luego aparecerá en el certificado que cualquier usuario deberá aceptar para hacer uso del protocolo seguro. Cuando finalice tendremos el certificado concluido con el nombre&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;skimwords-unlinked&quot; style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;vsftpd.pem&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;.&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Para el siguiente paso paramos el service ftp en el caso de que lo tengamos corriendo (service vsftpd stop) y editamos el archivo de configuración&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;skimwords-unlinked&quot; style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;vsftpd.conf&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;, nos dirigimos hasta el final donde agregaremos las siguientes líneas&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;div style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px; margin: 5px 20px 20px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font-size: 11px; margin-bottom: 2px;&quot;&gt;
Código:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-color: #ededed; border: 1px inset; height: 338px; overflow: auto; padding: 6px; width: 640px;&quot;&gt;# Secure FTP
# 
# Activamos el soporte SSL
ssl_enable=YES

# No se obliga el establecimiento de conexiones encriptadas mediante SSL para 
# usuarios locales.
force_local_logins_ssl=NO

# No se obliga a que las transferencias de datos locales sean encriptados con 
# SSL.
force_local_data_ssl=NO

# Se habilitan los soportes para las diversas versiones de SSL
ssl_tlsv1=YES
ssl_sslv2=YES
ssl_sslv3=YES

# Se especifica la ubicación del Certificado Generado.
rsa_cert_file=/etc/ssl/certs/&lt;span class=&quot;skimwords-unlinked&quot;&gt;vsftpd.pem&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Por ultimo iniciamos nuevamente el servicio vsftpd (service vsftpd start) y probamos establecer conexiones seguras utilizando clientes que soportan esta funcionalidad como ser los clientes FilleZilla, gfTP, etc.&lt;/span&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;b style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;&lt;u&gt;ENLACES&lt;/u&gt;&lt;/b&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Sitio Web de Vsftpd:&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://vsftpd.beasts.org/&quot; style=&quot;background-color: #f9f9f9; color: black; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; target=&quot;_blank&quot;&gt;http://vsftpd.beasts.org/&lt;/a&gt;&lt;br style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;Completa Lista de Directivas para el archivo&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;skimwords-unlinked&quot; style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;vsftpd.conf&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://vsftpd.beasts.org/vsftpd_conf.html&quot; style=&quot;background-color: #f9f9f9; color: black; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 13px;&quot; target=&quot;_blank&quot;&gt;http://vsftpd.beasts.org/vsftpd_conf.html&lt;/a&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://rubensedano.blogspot.com/feeds/8977691055164639279/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://rubensedano.blogspot.com/2013/06/manual-vsftpd-in-suse-11.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/8977691055164639279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/8977691055164639279'/><link rel='alternate' type='text/html' href='http://rubensedano.blogspot.com/2013/06/manual-vsftpd-in-suse-11.html' title='Manual Vsftpd in suse 11'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05521370107473435019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://i27.tinypic.com/2iqoopk_th.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-861061747828903045.post-5223243975732619491</id><published>2012-12-08T03:57:00.000-05:00</published><updated>2013-06-24T16:42:17.885-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="make"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><category scheme="http://www.blogger.com/atom/ns#" term="php 5.3.6"/><category scheme="http://www.blogger.com/atom/ns#" term="Plesk Panel"/><title type='text'>Make PHP 5.3.6</title><content type='html'>Hola buenas, se que es de madrugada pero no queria compartir la experiencia que tengo ahorita en linux, al tratar de generar mi propio compilado de php 5.3.6, resulta que tenemos plesk panel instalado y corriendo php 5.2, el cual fue un downgrade que hizo un amigo mio para poder correr zend optimizer, el cual es requerido por unas sitios web que tenemos alojados alli; regresando al asunto, encontre un articulo donde podia montar varias versiones de php para un determinado cliente como es este caso donde me toca trabajar con moodle en un dominio, y sin embargo la version 2.3 de moodle requiere si o si php 5.3 por cuestiones importantes ya que esta version soporta llamada dinamica a funciones de clases estaticas, mientras que versiones anteriores no soportan esta caracteristicas, entonces ahora me encuentro compilando mi version de php 5.3 que voy a usar para este nuevo dominio con plesk panel. A continuacion escribire la liste de comandos que usé, mas algunas enlaces de referencias que me fueron de mucha ayuda para resolver este reto. Saludos. Seguire actualizando este post :)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;Two PHP versions linux Plesk HOWTO&lt;/b&gt;&lt;br /&gt;
&lt;hr style=&quot;background-color: white; border-bottom-color: rgb(236, 236, 236); border-bottom-style: solid; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; height: 1px; width: 1096px;&quot; /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;Few days ago i was exchanging emails with Parallels support. I was asking them to help me to setup two php versions on linux plesk server. After few emails they answeared me that it is not possible. It didn&#39;t help when i told them that i was using fastcgi on my own hosting server and that i was having 3 php versions configurable per customer. Nop... Their answear was&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; margin: 5px 20px 20px; outline: 0px; padding: 0px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;border: 0px; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin: 0px 0px 2px; outline: 0px; padding: 0px;&quot;&gt;
Quote:&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;6&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; border-spacing: 0px; border: 0px; font-size: 11px; margin: 0px; outline: 0px; padding: 0px; width: 100%px;&quot;&gt;&lt;tbody style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&lt;td class=&quot;alt2&quot; style=&quot;background-color: #f6f6f6; border: 1px inset; margin: 0px; outline: 0px; padding: 15px 20px; vertical-align: top; word-wrap: break-word;&quot;&gt;As of now there is no option available in the linux, where you can choose php as per the customers.&lt;br /&gt;
Hope you are clear now. If you have any further help, feel free to get back to us. We would be glad to assist you further.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;And, there i was, left helpless, without possibility to finish migration from my old hosting server to our new and shiny Plesk. I needed newer php version because php provided by my linux distro is 5.1.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;So, i logged in to Plesk server and spend around 20 minutes planning how to intercept Plesk calls. And it is done.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;For this to work you&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;have to have php running as fastcgi&lt;/b&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;&amp;nbsp;(it is most secure way, so i assume that everyone is running php as fastcgi)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;Here it goes:&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot; /&gt;
&lt;b style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;1. ssh to your plesk server, download php source, unpack it and configure it&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; margin: 5px 20px 20px; outline: 0px; padding: 0px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;border: 0px; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin: 0px 0px 2px; outline: 0px; padding: 0px;&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; style=&quot;background-color: #f6f6f6; border: 1px inset; height: 130px; outline: 0px; overflow: auto; padding: 6px; width: 459px; word-wrap: break-word;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
ssh yourserver -l root
cd /usr/local/src
mkdir php540
cd php540
wget http://www.php.net/get/php-5.4.0.tar.gz/from/at2.php.net/mirror
tar xzvf php-5.4.0.tar.gz
cd php-5.4.0&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;b style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;NOTICE: you HAVE TO USE PREFIX switch in order to have your new php installed inside one directory, for example:&lt;/b&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot; /&gt;
&lt;div style=&quot;background-color: white; border: 0px; margin: 5px 20px 20px; outline: 0px; padding: 0px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;border: 0px; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 11px; margin: 0px 0px 2px; outline: 0px; padding: 0px;&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; style=&quot;background-color: #f6f6f6; border: 1px inset; height: 34px; outline: 0px; overflow: auto; padding: 6px; width: 459px; word-wrap: break-word;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;./configure &#39;--with-libdir=lib64&#39; &#39;--cache-file=../config.cache&#39; &#39;--prefix=/usr/local/php536-cgi&#39; &#39;--with-config-file-path=/usr/local/php536-cgi/etc&#39; &#39;--disable-debug&#39; &#39;--with-pic&#39; &#39;--disable-rpath&#39; &#39;--with-bz2&#39; &#39;--with-curl&#39; &#39;--with-freetype-dir=/usr/local/php536-cgi&#39; &#39;--with-png-dir=/usr/local/php536-cgi&#39; &#39;--enable-gd-native-ttf&#39; &#39;--without-gdbm&#39; &#39;--with-gettext&#39; &#39;--with-gmp&#39; &#39;--with-iconv&#39; &#39;--with-jpeg-dir=/usr/local/php536-cgi&#39; &#39;--with-openssl&#39; &#39;--with-pspell&#39; &#39;--with-pcre-regex&#39; &#39;--with-zlib&#39; &#39;--enable-exif&#39; &#39;--enable-ftp&#39; &#39;--enable-sockets&#39; &#39;--enable-sysvsem&#39; &#39;--enable-sysvshm&#39; &#39;--enable-sysvmsg&#39; &#39;--enable-wddx&#39; &#39;--with-kerberos&#39; &#39;--with-unixODBC=/usr&#39; &#39;--enable-shmop&#39; &#39;--enable-calendar&#39; &#39;--without-sqlite3&#39; &#39;--with-libxml-dir=/usr/local/php536-cgi&#39; &#39;--enable-pcntl&#39; &#39;--with-imap&#39; &#39;--with-imap-ssl&#39; &#39;--enable-mbstring&#39; &#39;--enable-mbregex&#39; &#39;--with-gd&#39; &#39;--enable-bcmath&#39; &#39;--with-xmlrpc&#39; &#39;--with-ldap&#39; &#39;--with-ldap-sasl&#39; &#39;--with-mysql=/usr&#39; &#39;--with-mysqli&#39; &#39;--with-snmp&#39; &#39;--enable-soap&#39; &#39;--with-xsl&#39; &#39;--enable-xmlreader&#39; &#39;--enable-xmlwriter&#39; &#39;--enable-pdo&#39; &#39;--with-pdo-mysql&#39; &#39;--with-pdo-pgsql&#39; &#39;--with-pear=/usr/local/php536-cgi/pear&#39; &#39;--with-mcrypt&#39; &#39;--enable-intl&#39; &#39;--without-pdo-sqlite&#39; &#39;--with-config-file-scan-dir=/usr/local/php536-cgi/php.d&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; white-space: normal;&quot;&gt;&#39; &#39;--enable-zip&#39;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;As you can see, my prefix was /usr/local/php536-cgi/&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;Choosing a prefix is a MUST&lt;/b&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;&amp;nbsp;because that way your new php installation will not interfere with older php used by plesk.&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot; /&gt;
&lt;b style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;2. compile your php&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; margin: 5px 20px 20px; outline: 0px; padding: 0px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;border: 0px; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin: 0px 0px 2px; outline: 0px; padding: 0px;&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; style=&quot;background-color: #f6f6f6; border: 1px inset; height: 34px; outline: 0px; overflow: auto; padding: 6px; width: 459px; word-wrap: break-word;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
make&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;b style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;3. install your new php&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; margin: 5px 20px 20px; outline: 0px; padding: 0px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;border: 0px; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin: 0px 0px 2px; outline: 0px; padding: 0px;&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; style=&quot;background-color: #f6f6f6; border: 1px inset; height: 34px; outline: 0px; overflow: auto; padding: 6px; width: 459px; word-wrap: break-word;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
make install&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;b style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;4. create php wrapper&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;for example, let&#39;s say that you have a customer blabla.com that uses some newer php functions that don&#39;t exist in php 5.1. Let&#39;s call that customer blabla.com. For him we will tell apache to use our new php (5.4.0)&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; margin: 5px 20px 20px; outline: 0px; padding: 0px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;border: 0px; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin: 0px 0px 2px; outline: 0px; padding: 0px;&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; style=&quot;background-color: #f6f6f6; border: 1px inset; height: 66px; outline: 0px; overflow: auto; padding: 6px; width: 459px; word-wrap: break-word;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
cd /var/www/vhosts/blabla.com/cgi-bin
mkdir .cgi_wrapper
cd .cgi_wrapper&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;now we will create new file and name it .phpwrapper&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; margin: 5px 20px 20px; outline: 0px; padding: 0px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;border: 0px; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin: 0px 0px 2px; outline: 0px; padding: 0px;&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; style=&quot;background-color: #f6f6f6; border: 1px inset; height: 34px; outline: 0px; overflow: auto; padding: 6px; width: 459px; word-wrap: break-word;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
vi .phpwrapper&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;file content:&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; margin: 5px 20px 20px; outline: 0px; padding: 0px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;border: 0px; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin: 0px 0px 2px; outline: 0px; padding: 0px;&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; style=&quot;background-color: #f6f6f6; border: 1px inset; height: 98px; outline: 0px; overflow: auto; padding: 6px; width: 459px; word-wrap: break-word;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
#!/bin/sh
export PHPRC=/var/www/vhosts/blabla.com/etc/
export PHP_FCGI_CHILDREN=4
export PHP_FCGI_MAX_REQUESTS=1000
exec /usr/local/php540-cgi/bin/php-cgi&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;let&#39;s strengthen our new files and dirs permissions and privileges:&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; margin: 5px 20px 20px; outline: 0px; padding: 0px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;border: 0px; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin: 0px 0px 2px; outline: 0px; padding: 0px;&quot;&gt;
Code:&lt;/div&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;border: 0px; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin: 0px 0px 2px; outline: 0px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; style=&quot;background-color: #f6f6f6; border: 1px inset; height: 98px; outline: 0px; overflow: auto; padding: 6px; width: 459px; word-wrap: break-word;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
cd /var/www/vhosts/blabla.com/cgi-bin
chmod 101 .cgi_wrapper
chmod 500 .cgi_wrapper/.phpwrapper
chown blabla.com:psacln .cgi_wrapper -R
chattr -R +i .cgi_wrapper&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;b style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;5. make apache aware of our wrapper&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;plesk offers a functionality of changing httpd setup per host. we will use that functionality to tell apache that for blabla.com it needs to use our new wrapper, instead of one provided by plesk:&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; margin: 5px 20px 20px; outline: 0px; padding: 0px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;border: 0px; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin: 0px 0px 2px; outline: 0px; padding: 0px;&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; style=&quot;background-color: #f6f6f6; border: 1px inset; height: 34px; outline: 0px; overflow: auto; padding: 6px; width: 459px; word-wrap: break-word;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
cd /var/www/vhosts/blabla.com/conf&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;we will create file named vhost.conf&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; margin: 5px 20px 20px; outline: 0px; padding: 0px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;border: 0px; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin: 0px 0px 2px; outline: 0px; padding: 0px;&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; style=&quot;background-color: #f6f6f6; border: 1px inset; height: 34px; outline: 0px; overflow: auto; padding: 6px; width: 459px; word-wrap: break-word;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
vi vhost.conf&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;file content:&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; margin: 5px 20px 20px; outline: 0px; padding: 0px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;border: 0px; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin: 0px 0px 2px; outline: 0px; padding: 0px;&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; style=&quot;background-color: #f6f6f6; border: 1px inset; height: 210px; outline: 0px; overflow: auto; padding: 6px; width: 459px; word-wrap: break-word;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
&lt;directory blabla.com=&quot;blabla.com&quot; httpdocs=&quot;httpdocs&quot; var=&quot;var&quot; vhosts=&quot;vhosts&quot; www=&quot;www&quot;&gt;
RemoveHandler fcgid-script
&lt;ifmodule mod_fcgid.c=&quot;mod_fcgid.c&quot;&gt;
    AddHandler fcgid-script .php
    &lt;files php=&quot;php&quot;&gt;
        SetHandler fcgid-script
        FCGIWrapper /var/www/vhosts/blabla.com/cgi-bin/.cgi_wrapper/.phpwrapper .php
        Options +ExecCGI
        allow from all
    &lt;/files&gt;
&lt;/ifmodule&gt;
&lt;/directory&gt;&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;So, we have told apache not to use plesk php wrapper (RemoveHandler fcgid-script) and instead of that we have created a new handler for php files. When executing php files on blabla.com domain apache will call our wrapper and use new php that we installed&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot; /&gt;
&lt;b style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;6. we need to reconfigure blabla.com domain&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; margin: 5px 20px 20px; outline: 0px; padding: 0px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;border: 0px; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin: 0px 0px 2px; outline: 0px; padding: 0px;&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; style=&quot;background-color: #f6f6f6; border: 1px inset; height: 34px; outline: 0px; overflow: auto; padding: 6px; width: 459px; word-wrap: break-word;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain blabla.com&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;b style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;7. and restart apache&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; margin: 5px 20px 20px; outline: 0px; padding: 0px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;border: 0px; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin: 0px 0px 2px; outline: 0px; padding: 0px;&quot;&gt;
Code:&lt;/div&gt;
&lt;pre class=&quot;alt2&quot; style=&quot;background-color: #f6f6f6; border: 1px inset; height: 34px; outline: 0px; overflow: auto; padding: 6px; width: 459px; word-wrap: break-word;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border: 0px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
/etc/init.d/httpd restart&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;That&#39;s it. For every domain that needs some extra functions provided only in php versions newer than one provided with your plesk distro you can do steps 4,5,6 and 7 (replace blabla.com with your customer domain name) and that&#39;s all.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;Adicional: A veces podemos necesitar instalar este paquete yum-install&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #cfd9ff; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;libtool-ltdl-devel&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rubensedano.blogspot.com/feeds/5223243975732619491/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://rubensedano.blogspot.com/2012/12/make-php-536.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/5223243975732619491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/5223243975732619491'/><link rel='alternate' type='text/html' href='http://rubensedano.blogspot.com/2012/12/make-php-536.html' title='Make PHP 5.3.6'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05521370107473435019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-861061747828903045.post-4275284032047354661</id><published>2012-07-16T01:58:00.001-05:00</published><updated>2012-07-16T02:02:53.944-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Amazon"/><category scheme="http://www.blogger.com/atom/ns#" term="Cloud Computing"/><category scheme="http://www.blogger.com/atom/ns#" term="Cloudfront"/><category scheme="http://www.blogger.com/atom/ns#" term="EC2"/><category scheme="http://www.blogger.com/atom/ns#" term="S3"/><title type='text'>Cloud Computing de Amazon</title><content type='html'>Buenos dias que tal espero que bien, escribo para comentarles mis primeras experiencias con cloud computing bueno mis primeras experiencias con el servicio que ofrece amazon porque cloud computing ya lo vengo viendo como hace un par de años. La impresion que tengo es relativamente buena. Estoy usando Cloudfront y S3, la verdad es que tenia curiosodad desde hace meses sobre como usar estos servicios y aca estoy ya realizando mis primeros test con php usando unas librerias de ejemplo que abstraen toda la configuracion y me hacen facil la implementacion, espero de aca a &amp;nbsp;unos dias poder entenderlo al 100% y liberar una propia version para usar en mi proyecto de aplicaciones sociales, lo cual de ahi parti para avriguar ya que intento alojar todas la imagenes en el servicio en la nube de amazon ademas de los archivos estaticos como css y js, bueno espero seguir investigando en este punto y compartir recursos para aquella personas que tambien esten usando los sevicios en la nube de amazon. Hasta el siguiente post!</content><link rel='replies' type='application/atom+xml' href='http://rubensedano.blogspot.com/feeds/4275284032047354661/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://rubensedano.blogspot.com/2012/07/buenos-dias-que-tal-espero-que-bien.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/4275284032047354661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/4275284032047354661'/><link rel='alternate' type='text/html' href='http://rubensedano.blogspot.com/2012/07/buenos-dias-que-tal-espero-que-bien.html' title='Cloud Computing de Amazon'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05521370107473435019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-861061747828903045.post-2722655544234160340</id><published>2012-06-12T23:39:00.001-05:00</published><updated>2012-07-16T12:36:16.003-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Google API"/><category scheme="http://www.blogger.com/atom/ns#" term="tcp connect error"/><title type='text'>unable to connect to tcp://gdata.youtube.com:80</title><content type='html'>Hola, en este nuevo post quisiera contarles el problema que tuve con la conexion a la api de google (youtube), tengo una plataforma que usa la api oficial de youtube proveida por Zend, bueno el caso es que en si no solo era el problema con la api de Youtube sino tambien con la api de facebook lo cual me parecio bastante sospechoso, es mas solo me habia dado cuenta de la lentitud con la que se hacian mis peticiones a la api de facebook, entonces decidi hacerle seguimiento. Parece que en facebook solo llegaba al timeout pero luego trataba una forma alternativa y lograba conectarse, supongo que seguro de los varios metodos que hay para comunicarse con un servidor remoto. Empeze primero haciendo file_get_contents para asegurarme de que podia solicitar informacion &amp;nbsp;ya sea por json o xml o alguna otra salida, y asi fue no tuve ningun problema, para mi ejemplo use file_ge_contents hacia un servidor que me daba la hora y todo fue bien, luego probe con fsockopen y entoncs probe con el siguiente dominio gdata.google.com y entonces me salio un timeout, proble lo mismo en otro servidor dedicado que administro y todo fue bien, luego probe con el ip ya que tambien es una opcion valida y que me recomendaron cuando investigue en la web, y estaban en lo cierto con el ip todo corrio sin ningun problema, entonces dije si esto esta pasando con gdata.youtube.com entonces puede ser lo mismo para facebook porque me preocupo bastante que una peticion sencilla a facebook api que normalmente toma 1/5 de segundo lo estaba haciendo en 4 o 5 segundos, entonces me decidi a probar cambiando los nombres de dominios por las ips, como bien saben en la api de facebook se manejan 5 o 6 dominios no recuerdo entoncs modifique mi archivo /etc/hosts y le indique mis dominio con sus respectivos ips, incluyendo los de gdata.youtube.com y facebook. Probe y todo regreso a la normalidad, cargue mis videos de youtube y recupere el tiempo de carga de 1/5 con la api de facebook, entonces la conclusion a la que llego es que algo esta fallando con la traduccion de los dominios de facebook y youtube, pero que extraño que solo sea para estos dominios ya que probe con otros y no tuve ningun problema, la otra opcion que tuve fue revisar el archivo /etc/resolv.conf para ver si algo habia cambiado pero estaba todo normal, la otra opcion pueden que haya pasado algo en el firewall del datacenter donde esta el servidor dedicado y hayan denegado la traduccion de los dominios de facebook o youtube, pero al fin seguire haciendole seguimiento a este problema ya que no es recomendable tener las ips estaticas en hosts, ah me olvidaba tambien revise mis interfaces de red que por cierto habian cambiado a mascara 255.255.255.255, pero las regrese a 255.255.255.0 sin embargo el problema persisitio, igual se tenia que corregir, la otra opcion puede ser porque a partir del 6 de junio se empezo a usar el nuevo estandar ipv6, aunque no creo que haya sido el motivo. Bueno seguire investigando y cualquier cosa actualizare este post, espero les haya sido util esta informacion. Hasta el siguiente post =]</content><link rel='replies' type='application/atom+xml' href='http://rubensedano.blogspot.com/feeds/2722655544234160340/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://rubensedano.blogspot.com/2012/06/unable-to-connect-to.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/2722655544234160340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/2722655544234160340'/><link rel='alternate' type='text/html' href='http://rubensedano.blogspot.com/2012/06/unable-to-connect-to.html' title='unable to connect to tcp://gdata.youtube.com:80'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05521370107473435019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-861061747828903045.post-5886566226687236215</id><published>2012-05-10T16:24:00.001-05:00</published><updated>2012-07-16T12:36:59.012-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cookies"/><category scheme="http://www.blogger.com/atom/ns#" term="cookies error"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><title type='text'>Problemas Con Cookies en Diferentes Archivos PHP</title><content type='html'>Que tal ya llevaba tiempo si escribir una entrada, bueno esta vez tengo la oportunidad de publicar para resolver un problema que tuve hace un par de dias en una aplicacion web que llevo desarrollando.&lt;br /&gt;
&lt;div&gt;El escenario era este tenia mi pagina php multidioma pero necesitaba guardar una cookie del idioma que escogiera de un popup y recargar la pagina entonces cuano yo hacia click en el idioma llamaba a una funcion javascript y esta a su vez enviaba por post a un archivo que me creaba una cookie con el iso del idioma, PERO cuando la llamaba de mi pagina php era como si nunca se hubiese creado la cookie, bueno les escrbo un poco de codigo para ser mas claro:&lt;/div&gt;&lt;div&gt;setcookie(&quot;language_pre&quot;,$_REQUEST[&quot;prefix&quot;],time()+86400);&lt;/div&gt;&lt;div&gt;con el codigo de arriba seteaba mi cookie y ciando la llamaba desde mi otro archivo php era como si no la hubiese ajustado. El DETALLE era que al final de la funcion setcookie() tenia que especificar la ruta &quot;/&quot; asi a mi cookie la volvia accesible desde cualquier lado de mi servidor. O sea el codigo correcto era&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;setcookie(&quot;language_pre&quot;,$_REQUEST[&quot;prefix&quot;],time()+86400&lt;b&gt;,&quot;/&quot;&lt;/b&gt;);&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Espero les haya servido, con esto logre convertir mi aplicacion multiidioma! Saludos.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rubensedano.blogspot.com/feeds/5886566226687236215/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://rubensedano.blogspot.com/2012/05/problemas-con-cookies-en-diferentes.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/5886566226687236215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/5886566226687236215'/><link rel='alternate' type='text/html' href='http://rubensedano.blogspot.com/2012/05/problemas-con-cookies-en-diferentes.html' title='Problemas Con Cookies en Diferentes Archivos PHP'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05521370107473435019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-861061747828903045.post-771448760856011261</id><published>2011-09-04T17:40:00.000-05:00</published><updated>2011-09-04T17:41:09.583-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="outlook"/><category scheme="http://www.blogger.com/atom/ns#" term="problem"/><category scheme="http://www.blogger.com/atom/ns#" term="winmail.dat"/><category scheme="http://www.blogger.com/atom/ns#" term="winmail.dat outlook"/><category scheme="http://www.blogger.com/atom/ns#" term="winmail.dat problem"/><title type='text'>winmail.dat problem!</title><content type='html'>A veces es comun abrir desde un dispositivo movil un email y encontrarnos con el problema del archivo adjunto winmail.dat. Este problema es muy comun cuando los emails se envian desde un cliente de correo como outlook que usa alguna forma de envio no estandarizada como rich text(texto enriquecido), la solucion es abrir la configuracion de tu outlook y ponerle en formato de correo html, y que luego convierta el correo en html, solo esas dos opciones. Ahora si es que eso no te funciona como en mi caso que uso un windows 7 x64 y outlook 2010, tienes que entrar a tu regedit, inicio-&amp;gt;ejecutar-&amp;gt;regedit; irse a hkey_current_user-&amp;gt;software-&amp;gt;microsoft-&amp;gt;office-&amp;gt;14.0 en mi caso-&amp;gt;outlook-&amp;gt;preferences; una vez aqui deberan agregar un dword(32 biits), --use el de dwords de 64 bits y no funciono-- y ponerle de nombre DisableTNEF, entrar y ponerle de valor 1, luego guardar y cerrar todo y reiniciar la pc, ahora ya podran enviar correos desde su outllook a un dispositivo movil y visualizarlo sin los molestos winmail.dat. Saludos espero que les haya servido. Hasta la proxima entrada. =D</content><link rel='replies' type='application/atom+xml' href='http://rubensedano.blogspot.com/feeds/771448760856011261/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://rubensedano.blogspot.com/2011/09/winmaildat-problem.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/771448760856011261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/771448760856011261'/><link rel='alternate' type='text/html' href='http://rubensedano.blogspot.com/2011/09/winmaildat-problem.html' title='winmail.dat problem!'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05521370107473435019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-861061747828903045.post-4391353741607667880</id><published>2011-07-10T15:32:00.000-05:00</published><updated>2011-07-10T15:32:21.461-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTTPS"/><category scheme="http://www.blogger.com/atom/ns#" term="Panel"/><category scheme="http://www.blogger.com/atom/ns#" term="Plesk"/><category scheme="http://www.blogger.com/atom/ns#" term="Plesk Panel"/><category scheme="http://www.blogger.com/atom/ns#" term="SSL"/><title type='text'>SSL y Plesk Panel</title><content type='html'>Hola otra vez, en la siguiente entrada les hablaré sobre el problema que habia con Plesk Panel usando direcciones ip´s compartidas y los certificados ssl. Primeramente que &amp;nbsp;para tener un certificado para tu dominio debias tener un servidor dedicado y eh ahí el problema. Por eso empresas que brindaban hosting compartido te brindaban ssl pero a traves de un servidor externo que cifre tus conexiones. Pero gracias a Dios aparecio Plesk Panel en su version 10.2 si mas no recuerdo donde esto es factible gracias a la tecnología SNI(Server Name Indication), que hace posible tener certificados ssl independiente a pesar de estar usando una direccion compartida. La version 10.3 que es la que actualmente uso tambien lo trae, es obvio no?&lt;br /&gt;
Entonces en un servidor de eCommerce esto bastante beneficioso ya que podras brindar a tus clientes la posibilidad de brinden seguridad en sus eCommerce. Esto lo hablaba en mi entrada anterior, donde tuve que actualizar mi panel Plesk y tuve un problema con el miva engine de Miva Merchant, nuestro proveedor de eCommerce. Saludos y hasta pronto.</content><link rel='replies' type='application/atom+xml' href='http://rubensedano.blogspot.com/feeds/4391353741607667880/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://rubensedano.blogspot.com/2011/07/ssl-y-plesk-panel.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/4391353741607667880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/4391353741607667880'/><link rel='alternate' type='text/html' href='http://rubensedano.blogspot.com/2011/07/ssl-y-plesk-panel.html' title='SSL y Plesk Panel'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05521370107473435019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-861061747828903045.post-7673144329585517495</id><published>2011-07-08T16:21:00.002-05:00</published><updated>2011-07-08T16:46:51.467-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Merchant"/><category scheme="http://www.blogger.com/atom/ns#" term="Miva"/><category scheme="http://www.blogger.com/atom/ns#" term="Miva Merchant"/><category scheme="http://www.blogger.com/atom/ns#" term="SELINUX"/><title type='text'>SELINUX &amp; Miva Merchant</title><content type='html'>Hola que tal, esta es mi primera entrada desde blogger!!! Quiero aprovechar para comentarles una experiencia que tuve el dia de ayer. Sin mas preámbulo les cuento, en un servidor con plesk 10.2 instalado, decidi actualizarlo a la version 10.3 por las mejoras en cuanto a los certificados ssl independientes a pesar de usa un ip dinamico, cosa que explciare mas adelante en otra entrada. Seguimos. Entonces empeze a copiar archivos del miva engine 5.12 x64, ya que tambien es un hosting eCommerce, cuando de pronto al entrar a las tiendas del hosting &quot;http://tudominio.com/mm5/merchant.mvc&quot; generalmente esa es la estructura, me salia un error de permisos, que no tenia permisos para ejecutar /mivavm/mm5/merchant.mvc. :o Y ahora. Entonces googleando y leyendo descubri que en algunas distribuciones de linux como en mi caso CentOS 5.5, hay una restriccion de seguridad llamada SELINUX que cuando esta en modo enforcing por cualquier cosa que no tenga los permisos adecuados lanza ese error. Entonces la solucion fue descativa dicha restriccion en el archivo /etc/sysconfig/selinux ; reemplazando SELINUX=ENFORCING por SELINUX=disabled, luego reiniciar el servidor. Saludos y espero les haya interesado. Hasta la proxima entrada. Saludos.</content><link rel='replies' type='application/atom+xml' href='http://rubensedano.blogspot.com/feeds/7673144329585517495/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://rubensedano.blogspot.com/2011/07/selinux-miva-merchant.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/7673144329585517495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/861061747828903045/posts/default/7673144329585517495'/><link rel='alternate' type='text/html' href='http://rubensedano.blogspot.com/2011/07/selinux-miva-merchant.html' title='SELINUX &amp; Miva Merchant'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05521370107473435019</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>