tag:blogger.com,1999:blog-45940937830084105122024-02-07T05:48:41.211+01:00Corretgé.comServeis Informàtics Corretgé.com SLUÀlex at Corretgé.comhttp://www.blogger.com/profile/14477634634701017491noreply@blogger.comBlogger252125tag:blogger.com,1999:blog-4594093783008410512.post-69186746716917986482013-11-26T15:30:00.000+01:002013-11-26T15:38:48.495+01:00Problemes amb OSX Mavericks i VirtualBoxEl problema rau que VirtualBox empra StartUp Items per arrencar processos de sistema de VirtualBox i aquesta opció ha estat deshabilitada a Mavericks.<br />
<br />
Per sol·lucionar-ho de mentre VirtualBox treu una nova versió, caldrà executar des del terminal:<br />
<br />
<code>sudo /Library/StartupItems/VirtualBox/VirtualBox restart</code><br />
<br />
Val a dir que els StartUp Items estaven deprecated des de la 10.4, molt abans de la primera versió de VirtualBox per a Mac.Àlex at Corretgé.comhttp://www.blogger.com/profile/14999861189737917676noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-34322379383571144682013-07-14T19:27:00.000+02:002013-07-14T19:27:25.363+02:00waiting up to more 60 seconds for network configurationQuan treballem amb màquines virutals dins un portàtil, tenir sempre la mateixa configuració de xarxa és molt complicat, així que sovint trobem aquest incòmode missatge<br />
<br />
<code>
waiting up to more 60 seconds for network configuration<br />
</code>
<br />
que fa etern (relativament, és clar) el procés d'IPL d'Ubuntu.<br />
<br />
Podem modificar aquest temps d'espera a l'script:
<code>
/etc/init/failsafe.conf
</code>
I canviar els valors del paràmetre <b>sleep</b> per uns de menors.Àlex at Corretgé.comhttp://www.blogger.com/profile/14999861189737917676noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-43184157121106045362012-12-15T10:35:00.001+01:002012-12-15T10:36:33.791+01:00Error 0x80240036 en actualitzar Windows XP SP2 a SP3Tothom sap que els canvis a les empreses costen molt d'aplicar, i escarmentades com estan, aguanten tot el que poden amb el semi-descontinuat Windows XP. If it ain't broke, don't fix it, que li diuen.<br />
<br />
Doncs bé, si volem actualitzar Windows XP SP2 a SP3, el procés d'actualització peta amb l'error 0x80240036.<br />
<br />
En aquesta <a href="http://www.microsoft.com/es-es/download/details.aspx?id=24">URL</a> podreu trobar el paquet SP3 de Windows XP per a descarregar fora del Windows Update.<br />
<br />
<a href="http://www.microsoft.com/es-es/download/details.aspx?id=24">http://www.microsoft.com/es-es/download/details.aspx?id=24</a>Àlex at Corretgé.comhttp://www.blogger.com/profile/14999861189737917676noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-65633060022864062732012-10-31T10:38:00.001+01:002012-10-31T10:38:54.207+01:00Runlevels in Red Hat Enterprise Linux<br />
<div class="table" id="table-services-runlevels" style="background-color: white; border: 0px; color: #333333; font-family: 'liberation sans', 'Myriad ', 'Bitstream Vera Sans', 'Lucida Grande', 'Luxi Sans', 'Trebuchet MS', helvetica, verdana, arial, sans-serif; font-size: 13px; line-height: 13px; margin: 0px; orphans: 4; padding: 0px; page-break-inside: avoid; vertical-align: baseline; widows: 4;">
<h6 style="background-color: transparent; border: 0px; color: #a70000; font-size: 14px; line-height: 1em; margin: 20px 0px 0px; padding: 0px; page-break-after: avoid; page-break-inside: avoid; vertical-align: baseline; word-wrap: break-word;">
Table 9.1. Runlevels in Red Hat Enterprise Linux</h6>
<div class="table-contents" style="background-color: transparent; border: 0px; line-height: 1em; margin: 0px; padding: 0px; vertical-align: baseline;">
<table border="1" style="background-color: transparent; border-collapse: collapse; border-spacing: 1px; border: 1px solid rgb(170, 170, 170); font-size: 12px; margin: 0px 0px 8px; padding: 0px; table-layout: fixed; vertical-align: baseline; width: 584px; word-wrap: break-word;" summary="Runlevels in Red Hat Enterprise Linux"><colgroup><col class="runlevel" width="14%"></col><col class="description" width="86%"></col></colgroup><thead style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">
<tr style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"><th style="background-color: #990000; border: 0px none; color: white; margin: 0px; padding: 0.3em 0.5em; vertical-align: top;">Runlevel</th><th style="background-color: #990000; border: 0px none; color: white; margin: 0px; padding: 0.3em 0.5em; vertical-align: top;">Description</th></tr>
</thead><tbody style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">
<tr style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"><td style="background-color: transparent; border: 0px none; margin: 0px; padding: 0.15em 0.5em; vertical-align: top;"><code class="option" style="background-color: transparent; border: 0px; font-family: 'liberation mono', 'bitstream vera mono', 'dejavu mono', monospace; font-weight: bold; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre-wrap; word-wrap: break-word;">0</code></td><td style="background-color: transparent; border: 0px none; margin: 0px; padding: 0.15em 0.5em; vertical-align: top;">Used to halt the system. This runlevel is reserved and cannot be changed.</td></tr>
<tr style="background-color: #eeeeee; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"><td style="background-color: transparent; border: 0px none; margin: 0px; padding: 0.15em 0.5em; vertical-align: top;"><code class="option" style="background-color: transparent; border: 0px; font-family: 'liberation mono', 'bitstream vera mono', 'dejavu mono', monospace; font-weight: bold; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre-wrap; word-wrap: break-word;">1</code></td><td style="background-color: transparent; border: 0px none; margin: 0px; padding: 0.15em 0.5em; vertical-align: top;">Used to run in a single-user mode. This runlevel is reserved and cannot be changed.</td></tr>
<tr style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"><td style="background-color: transparent; border: 0px none; margin: 0px; padding: 0.15em 0.5em; vertical-align: top;"><code class="option" style="background-color: transparent; border: 0px; font-family: 'liberation mono', 'bitstream vera mono', 'dejavu mono', monospace; font-weight: bold; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre-wrap; word-wrap: break-word;">2</code></td><td style="background-color: transparent; border: 0px none; margin: 0px; padding: 0.15em 0.5em; vertical-align: top;">Not used by default. You are free to define it yourself.</td></tr>
<tr style="background-color: #eeeeee; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"><td style="background-color: transparent; border: 0px none; margin: 0px; padding: 0.15em 0.5em; vertical-align: top;"><code class="option" style="background-color: transparent; border: 0px; font-family: 'liberation mono', 'bitstream vera mono', 'dejavu mono', monospace; font-weight: bold; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre-wrap; word-wrap: break-word;">3</code></td><td style="background-color: transparent; border: 0px none; margin: 0px; padding: 0.15em 0.5em; vertical-align: top;">Used to run in a full multi-user mode with a command line user interface.</td></tr>
<tr style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"><td style="background-color: transparent; border: 0px none; margin: 0px; padding: 0.15em 0.5em; vertical-align: top;"><code class="option" style="background-color: transparent; border: 0px; font-family: 'liberation mono', 'bitstream vera mono', 'dejavu mono', monospace; font-weight: bold; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre-wrap; word-wrap: break-word;">4</code></td><td style="background-color: transparent; border: 0px none; margin: 0px; padding: 0.15em 0.5em; vertical-align: top;">Not used by default. You are free to define it yourself.</td></tr>
<tr style="background-color: #eeeeee; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"><td style="background-color: transparent; border: 0px none; margin: 0px; padding: 0.15em 0.5em; vertical-align: top;"><code class="option" style="background-color: transparent; border: 0px; font-family: 'liberation mono', 'bitstream vera mono', 'dejavu mono', monospace; font-weight: bold; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre-wrap; word-wrap: break-word;">5</code></td><td style="background-color: transparent; border: 0px none; margin: 0px; padding: 0.15em 0.5em; vertical-align: top;">Used to run in a full multi-user mode with a graphical user interface.</td></tr>
<tr style="background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"><td style="background-color: transparent; border: 0px none; margin: 0px; padding: 0.15em 0.5em; vertical-align: top;"><code class="option" style="background-color: transparent; border: 0px; font-family: 'liberation mono', 'bitstream vera mono', 'dejavu mono', monospace; font-weight: bold; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre-wrap; word-wrap: break-word;">6</code></td><td style="background-color: transparent; border: 0px none; margin: 0px; padding: 0.15em 0.5em; vertical-align: top;">Used to reboot the system. This runlevel is reserved and cannot be changed.<br /></td></tr>
</tbody></table>
</div>
</div>
Àlex at Corretgé.comhttp://www.blogger.com/profile/14999861189737917676noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-74837189014265589982012-10-24T23:50:00.000+02:002012-10-24T23:50:00.395+02:00PhalconPHP: A PHP Framework as an Extension<p>PhalconPHP is a web framework delivered as a C extension providing high performance and lower resource consumption.</p>
<p>Install it is easy if you have experience building PHP. There is a port for FreeBSD if you disagree compilations :)</p>
<p>In this post: <a href="http://bloc.corretge.cat/2011/11/installant-una-maquina-blava-4-php-54.html">Instal·lant una màquina blava - 4) PHP 5.4</a> you can view the apt-get install's mandatory to build PHP and other extensions.</p>
<p>The requirements are :
<code>
sudo apt-get install php5-dev php5-mysql gcc make
</code>
</p>
<p>As explained in the README file:
Follow these instructions to generate a binary extension for your platform:
<code>
git clone git://github.com/phalcon/cphalcon.git
cd cphalcon/build
export CFLAGS="-O2 -fno-delete-null-pointer-checks"
phpize --clean
phpize
./configure --enable-phalcon
make
sudo make install
</code>
Add extension to your php.ini
<code>
extension=phalcon.so
</code>
Finally restart the webserver
</p>
<p>To test it, you can install an example app: INVO
https://github.com/phalcon/invo
<code>
cd /var/www
git clone git://github.com/phalcon/invo.git
cd invo
echo 'CREATE DATABASE invo' | mysql -u root -p
cat schemas/invo.sql | mysql -u root -p invo
vi app/config/config.ini
[database]
host = localhost
username = root
password = *****
name = invo
</code>
<p>Really fast! Are good news</p>Àlex at Corretgé.comhttp://www.blogger.com/profile/14999861189737917676noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-37195931399029286672012-10-02T13:32:00.000+02:002012-10-02T13:32:00.348+02:00PHP as universal communication language in business and production processesDarrerament s'ha publicat un webminar a la secció IBM i de Zend sobre l'adopció de PHP com a llenguatge de propòsit general per a la gestió de negocis i producció.<br />
<br />
Es tracta de la implementació d'un ERP escrit en PHP per a <a href="http://www.aalberts.nl/en">Aalberts Industries</a>.<br />
<br />
Resulta força interessant l'arquitectura desplegada per integrar l'<a href="http://en.wikipedia.org/wiki/Enterprise_Resource_Planning">ERP</a> i el <a href="http://en.wikipedia.org/wiki/Manufacturing_execution_system">MES</a> amb la producció, tot en PHP amb algunes crides RPG a codi legacy.<br />
<br />
L'ERP s'executa sobre l'IBM i i el MES sobre una Debian. El MES requeria accés des de fora de la companyia i interconnexió amb tota la maquinaria de la fàbrica.<br />
<br />
Les conclusions resulten força interessants:<br />
<br />
<br />
• PHP is a universal platform independend programming language<br />
• It’s fast and comprehensive<br />
• Beside WEB programming it can be used for interfaces and processes<br />
• Even real time data analysis is possible<br />
• Zend Server provides the same environment on all platforms<br />
• It’s easy to develop, to trace and to maintain<br />
• It makes fun and provides fast success<br />
<br />
Podeu veure aquesta presentació en aquest enllaç<br />
<br />
<a href="http://static.zend.com/topics/GroupMT-PHP-20120919.pdf">http://static.zend.com/topics/GroupMT-PHP-20120919.pdf</a><br />
Àlex at Corretgé.comhttp://www.blogger.com/profile/14999861189737917676noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-24327462419797212152012-09-04T12:55:00.000+02:002012-09-04T12:55:49.561+02:00PHP versió 5.4.8-dev saltant-se la 5.4.7Fa uns dies es va començar a desenvolupar en la versió 5.4.8 a la branca master del repositori git de php:<br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSk5bBsr0QgJac3FIEWhR965L_5jJNSdo1ZiS2TohnqH3BBvXFtzNGLz2aSwnK4Enbt672XwjZ9OGJLZtLYSb3-ZzYC-zkiJ1-m-H_Bbvhv5Dcxb-7_6_ZiXTt_ny1cMWuwNzY_bzRjxg/s1600/php+5.4.8.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5784272492087757634" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSk5bBsr0QgJac3FIEWhR965L_5jJNSdo1ZiS2TohnqH3BBvXFtzNGLz2aSwnK4Enbt672XwjZ9OGJLZtLYSb3-ZzYC-zkiJ1-m-H_Bbvhv5Dcxb-7_6_ZiXTt_ny1cMWuwNzY_bzRjxg/s400/php+5.4.8.png" style="display: block; height: 176px; margin: 0px auto 10px; text-align: center; width: 400px;" /></a><br />
<br />
Però ha sobtat que no s'hagi alliberat la versió 5.4.7 que si que ha estat tagejada al gitrepo el dia 29 d'agost.<br />
<br />
La darrera notícia al web oficial de PHP és l'alliberament de la 5.4.6. Ves que no sigui de vacances que s'encarrega de les actualitzacions ;-)Àlex at Corretgé.comhttp://www.blogger.com/profile/14999861189737917676noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-50634315560278623322012-07-31T10:27:00.001+02:002012-07-31T10:32:37.016+02:00Google Fiber: The Next Chapter of the InternetThe next chapter of the Internet starts here. <br /><br /><iframe width="560" height="315" src="http://www.youtube.com/embed/ffHLIZh0PHg" frameborder="0" allowfullscreen></iframe><br /><br />Google Fiber starts with Internet speeds 100 times faster than what most Americans have today. In this video, we see the evolution of the Internet represented in three different stages. It started with Dial-Up, grew with Broadband -- and with Google Fiber, the possibilities are endless. Pre-register now at <a href="https://fiber.google.com/about/">http://www.google.com/fiber</a> ... if you live in Kansas City, Kansas or Kansas City, Missouri :)Àlex at Corretgé.comhttp://www.blogger.com/profile/14999861189737917676noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-47827143978062585852012-07-23T10:27:00.003+02:002012-07-23T10:44:47.615+02:00Mac keyboard shortcuts for Google Chrome<div class="article_content article-content-165450" id="article-content-div" style="margin-top: 10px; color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19px; text-align: -webkit-auto; background-color: rgb(255, 255, 255); "><div class="table" style="margin-top: 0px; "><h3 style="font-weight: normal; font-size: 16px; line-height: 18px; font-family: Arial; margin: 1em 0px; padding: 0px; ">Developer Tools</h3><div><table cellspacing="0" cellpadding="3" style="border: 1px solid rgb(204, 204, 204); width: 665px; "><tbody><tr><td class="border_left" width="50%" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><b>⌥-⌘-I</b></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens Developer Tools.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌥-⌘-J</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens Developers Tools and bring focus to the Console.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌥-⌘-C</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Toggle Inspect Element mode.</td></tr><tr></tr></tbody></table><br /></div><h3 style="font-weight: normal; font-size: 16px; line-height: 18px; font-family: Arial; margin: 1em 0px; padding: 0px; ">Tab and window shortcuts</h3><table cellspacing="0" cellpadding="3" style="border: 1px solid rgb(204, 204, 204); width: 665px; "><tbody><tr><td class="border_left" width="50%" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-N</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens a new window.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-T</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens a new tab.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-</strong><b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b><strong>-N</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens a new window in incognito mode.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Press <strong>⌘-O</strong>, then select file.</td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens a file from your computer in Google Chrome.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Press <strong>⌘</strong> and click a link. Or click a link with your middle mouse button (or mousewheel).</td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens the link in a new tab in the background .</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Press <strong>⌘-</strong><b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b> and click a link. Or press <b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧ </b>and click a link with your middle mouse button (or mousewheel).</td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens the link in a new tab and switches to the newly opened tab.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Press <b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b> and click a link.</td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens the link in a new window.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-</strong><b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b><strong>-T</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Reopens the last tab you've closed. Google Chrome remembers the last 10 tabs you've closed.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Drag a tab out of the tab strip.</td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens the tab in a new window.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Drag a tab out of the tab strip and into an existing window.</td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens the tab in the existing window.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Press <strong>⌘-</strong><b>⌥</b> and the right arrow together.</td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Switches to the next tab.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Press <strong>⌘-</strong><b>⌥</b> and the left arrow together.</td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Switches to the previous tab.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-W</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Closes the current tab or pop-up.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-</strong><b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b><strong>-W</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Closes the current window.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Click and hold either the Back or Forward arrow in the browser toolbar.</td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Displays your browsing history in the tab.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Press <span style=" ;font-family:Times;">⌫</span> or <strong>⌘-[</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Goes to the previous page in your browsing history for the tab.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Press <b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b><strong>-</strong><span style=" ;font-family:Times;">⌫</span> or <strong>⌘-]</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Goes to the next page in your browsing history for the tab.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Press <b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b> while clicking the + button in the top left corner of the window.</td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Maximizes the window.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-M</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Minimizes the window.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-H</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Hides Google Chrome.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-⌥-H</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Hides all other windows.</td></tr><tr><td class="bottom_left" style="border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-Q</strong></td><td>Closes Google Chrome.</td></tr></tbody></table><h3 style="font-weight: normal; font-size: 16px; line-height: 18px; font-family: Arial; margin: 1em 0px; padding: 0px; ">Google Chrome feature shortcuts</h3><table cellpadding="3" cellspacing="0" style="border: 1px solid rgb(204, 204, 204); width: 665px; "><tbody><tr><td class="border_left" width="50%" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-</strong><b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b><strong>-B</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Toggles the bookmarks bar on and off.</td></tr><tr><td class="border_left" width="50%" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-⌥-B</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens the bookmark manager.</td></tr><tr><td class="border_left" width="50%" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-,</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens the Preferences dialog.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-Y</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens the History page.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-</strong><b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b><strong>-J</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens the Downloads page.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-</strong><b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b><strong>-</strong><span style=" ;font-family:Times;">⌫</span></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens the Clear Browsing Data dialog.</td></tr><tr><td class="bottom_left" style="border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-</strong><b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b><strong>-M</strong></td><td>Switch between multiple users.</td></tr></tbody></table><h3 style="font-weight: normal; font-size: 16px; line-height: 18px; font-family: Arial; margin: 1em 0px; padding: 0px; ">Address bar shortcuts</h3><p>Use the following shortcuts in the address bar:</p><table cellpadding="3" cellspacing="0" style="border: 1px solid rgb(204, 204, 204); width: 665px; "><tbody><tr><td class="border_left" width="50%" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Type a search term, then press <b>⏎</b>.</td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Performs a search using your default search engine.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Type a search engine keyword, press <strong>Space</strong>, type a search term, and press <b>⏎</b>.</td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Performs a search using the search engine associated with the keyword.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Begin typing a search engine URL, press <b>⇥ </b>when prompted, type a search term, and press <b>⏎</b>.</td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Performs a search using the search engine associated with the URL.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Type a URL, then press <strong>⌘-</strong><b>⏎</b>.</td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens the URL in a new background tab.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-L</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Highlights the URL.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-⌥-F</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Places a '?' in the address bar. Type a search term after the question mark to perform a search using your default search engine.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Press <b>⌥</b> and the left arrow together.</td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Moves your cursor to the preceding key term in the address bar</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Press <b>⌥</b> and the right arrow together.</td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Moves your cursor to the next key term in the address bar</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Press <b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b><strong>-</strong><b>⌥</b> and the left arrow together.</td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Highlights the preceding key term in the address bar</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Press <b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b><strong>-</strong><b>⌥</b> and the right arrow together.</td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Highlights the next key term in the address bar</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-</strong><span style=" ;font-family:Times;">⌫</span></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Deletes the key term that precedes your cursor in the address bar</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Select an entry in the address bar drop-down menu with your keyboard arrows, then press<b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; "> ⇧</b><strong>-Fn-</strong><span style=" ;font-family:Times;">⌫</span>.</td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Deletes the entry from your browsing history, if possible.</td></tr><tr><td class="bottom_left" style="border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Press <strong>Page Up</strong> or <strong>Page Down</strong> in the addess bar menu.</td><td>Selects the previous or next entry in the menu.</td></tr></tbody></table><a name="webpage"></a><h3 style="font-weight: normal; font-size: 16px; line-height: 18px; font-family: Arial; margin: 1em 0px; padding: 0px; ">Webpage shortcuts</h3><table cellpadding="3" cellspacing="0" style="border: 1px solid rgb(204, 204, 204); width: 665px; "><tbody><tr><td class="border_left" width="50%" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-P</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Prints your current page.</td></tr><tr><td class="border_left" width="50%" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-</strong><b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b><strong>-P</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens the Page Setup dialog.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-S</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Saves your current page.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-</strong><b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b><strong>-I</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Emails your current page.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-R</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Reloads your current page.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-,</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Stops loading of your current page.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-F</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens the find bar.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-G</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Finds the next match for your input in the find bar.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-</strong><b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b><strong>-G</strong> or <b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b><strong>-</strong><b>⏎</b></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Finds the previous match for your input in the find bar.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-E</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Uses selection for find</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-J</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Jumps to selection</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-⌥-I</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens Developer Tools.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-⌥-J</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens the JavaScript Console.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-⌥-U</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens the source of your current page.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Press<strong> </strong><b>⌥</b> and click a link.</td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Downloads the target of the link.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; ">Drag a link to the bookmarks bar.</td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Saves the link as a bookmark.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-D</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Saves your current webpage as a bookmark.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-</strong><b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b><strong>-D</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Saves all open tabs as bookmarks in a new folder.</td></tr><tr><td class="border_left" width="50%" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-</strong><b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b><strong>-F</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens your page in full-screen mode. Press <strong>⌘-</strong><b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b><strong>-F</strong>again to exit full-screen.</td></tr><tr><td class="border_left" width="50%" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-+</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Enlarges everything on the page.</td></tr><tr><td class="border_left" width="50%" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘ and -</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Makes everything on the page smaller.</td></tr><tr><td class="border_left" width="50%" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-0</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Returns everything on the page to normal size.</td></tr><tr><td class="border_left" width="50%" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-</strong><b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b><strong>-H</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens your home page in your current tab.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>Space bar</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Scrolls down the web page.</td></tr><tr><td class="bottom_left" style="border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-⌥-F</strong></td><td>Searches the web.</td></tr></tbody></table><h3 style="font-weight: normal; font-size: 16px; line-height: 18px; font-family: Arial; margin: 1em 0px; padding: 0px; ">Text shortcuts</h3><table cellpadding="3" cellspacing="0" style="border: 1px solid rgb(204, 204, 204); width: 665px; "><tbody><tr><td class="border_left" width="50%" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-C</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Copies highlighted content to the clipboard.</td></tr><tr><td class="border_left" width="50%" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-⌥-C</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Copies the URL of the page you're viewing to the clipboard.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-V</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Pastes content from the clipboard.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-</strong><b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b><strong>-⌥-V</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Pastes content without source formatting.</td></tr><tr><td class="border_left" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-X</strong> or <b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b><strong>-</strong><span style=" ;font-family:Times;">⌫</span></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Deletes the highlighted content and copies it to the clipboard.</td></tr><tr><td class="border_left" width="50%" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-Z</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Reverts your last action.</td></tr><tr><td class="border_left" width="50%" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-</strong><b style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; line-height: 21px; ">⇧</b><strong>-Z</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Repeats your last action.</td></tr><tr><td class="border_left" width="50%" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-X</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Deletes highlighted content and saves it to your clipboard (cut).</td></tr><tr><td class="border_left" width="50%" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-A</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Selects all the text on your current page.</td></tr><tr><td class="border_left" width="50%" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-:</strong></td><td class="border_right" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); margin: 0px; ">Opens the Spelling and Grammar dialog.</td></tr><tr><td class="bottom_left" width="50%" style="border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); margin: 0px; "><strong>⌘-;</strong></td><td>Checks your current page for spelling and grammar</td></tr></tbody></table><br /></div></div><div class="clear" style="clear: both; color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19px; text-align: -webkit-auto; background-color: rgb(255, 255, 255); "></div><a href="http://support.google.com/chrome/bin/answer.py?hl=en&answer=165450#" name="helpful" style="color: rgb(102, 17, 204); font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 19px; text-align: -webkit-auto; background-color: rgb(255, 255, 255); "></a><span style="color: rgb(34, 34, 34); line-height: 19px; text-align: -webkit-auto; background-color: rgb(255, 255, 255); font-family:Arial, Helvetica, sans-serif;font-size:13px;"></span>Àlex at Corretgé.comhttp://www.blogger.com/profile/14999861189737917676noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-23317955521911106222012-06-15T14:31:00.003+02:002012-06-15T14:46:13.721+02:00Installing task warrior in UbuntuTaskwarrior is a command-line todo list manager.<br /><br />In a world with a lot of virtualized and remotes servers, we need a Post-It alternative ;-)<br /><br />To install <a href="http://taskwarrior.org/projects/taskwarrior">Task Warrior</a>, execute:<br /><br /><code>sudo add-apt-repository ppa:ultrafredde/ppa<br />sudo apt-get update<br />sudo apt-get install task</code><br /><br />Quick steps in task:<br /><br />List tasks<br /><code>task</code><br /><br />Add a task<br /><code>task add "task to do"</code><br /><br />Add a note to a task<br /><code>task #n annotate "a note"</code><br /><br />Done a task<br /><code>task #n done</code><br /><br />There are a lot of commands, you can found them at <a href="http://taskwarrior.org/projects/taskwarrior/wiki">task warrior wiki</a><br /><br /><br />Example:<br /><code><br /><br /> task<br />[task next]<br /><br />ID Project Pri Due A Age Urgency Description<br /> 2 4m 0.9 Instal·lar OrientDB<br /> 6/15/2012 http://www.orientdb.org<br /> 6/15/2012 PHP connector https://github.com/congow/Orient<br /> 1 5m 0.8 Instal·lar doophp<br /> 6/15/2012 http://doophp.com/<br /><br />2 tasks<br /><br /></code><br /><br />There are plans to release a <a href="http://taskwarrior.org/projects/taskwarrior/wiki/Task_server">task warrior server</a>, interesting.Àlex at Corretgé.comhttp://www.blogger.com/profile/14999861189737917676noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-46903685126839564612012-06-14T10:35:00.004+02:002012-06-14T11:06:59.742+02:00Quick steps with postgres for MySQL adminsConnect (really we are login with postgres user):<br /><code>su - postgres</code><br /><br />show databases:<br /><code>psql -l</code><br />or after connect without a database selected<br /><code>\l</code><br /><br />Connect to database:<br /><code>psql [database] [username]</code><br /><br />Show tables:<br /><code>\d</code><br /><br />Describe table:<br /><code>\d+ table</code><br /><br />Show rows per table:<br /><code>SELECT schemaname,relname,n_live_tup <br /> FROM pg_stat_user_tables <br /> ORDER BY n_live_tup DESC;</code><br /><br />Quit:<br /><code>\q</code>Àlex at Corretgé.comhttp://www.blogger.com/profile/14999861189737917676noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-62240682110349264292012-02-08T15:12:00.002+01:002012-02-08T15:21:38.275+01:00sudoer warning message in Red Hat 6.2<pre>We trust you have received the usual lecture from the local System<br />Administrator. It usually boils down to these three things:<br /><br /> #1) Respect the privacy of others.<br /> #2) Think before you type.<br /> #3) With great power comes great responsibility.<br /></pre><br /><br />World-Wide-Web Spiderman Quotes ;-)Àlex at Corretgé.comhttp://www.blogger.com/profile/14999861189737917676noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-52749568947956986302012-01-18T08:32:00.007+01:002012-01-18T09:06:34.609+01:00Els desenvolupadors d'IBM i, incondicionals d'IBMA l'enquesta el·laborada per Zend el novembre del 2011 a 3.335 desenvolupadors de PHP, que podeu trobar a aquest enllaç:<br /><br /><a href="http://venturebeat.com/2012/01/11/what-developers-will-be-doing-learning-listening-to-in-2012-survey-results/">http://venturebeat.com/2012/01/11/what-developers-will-be-doing-learning-listening-to-in-2012-survey-results/</a><br /><br /><a href="http://www.zend.com/topics/zend-developer-pulse-survey-report-0112-EN.pdf">Developer Pulse (PDF)</a><br /><br />Observem que un 3% dels enquestats respon que durant el 2012 emprarà regularment RPG, el llenguatge de programació per excel·lència del sistema IBM i (AS/400).<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_p26soUUyPUCij7Yq3CehrhATT66YZ3qouV5vMxevgbGYHG3A7bpTPhJpe4kvQ0fWbIL3Wbl2_iBp7B9ldgZqCCZFWCIjIjyTIySYVl1sy95kF-IOv0WM6AQk9e6km1Hcq-PW1pmYxpo/s1600/PHP+-+what+other+languages.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 269px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_p26soUUyPUCij7Yq3CehrhATT66YZ3qouV5vMxevgbGYHG3A7bpTPhJpe4kvQ0fWbIL3Wbl2_iBp7B9ldgZqCCZFWCIjIjyTIySYVl1sy95kF-IOv0WM6AQk9e6km1Hcq-PW1pmYxpo/s400/PHP+-+what+other+languages.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5698873837691876418" /></a><br /><br />Coincideix en número amb el percentatge de desenvolupadors que indiquen que el 2012 faran servir la cloud pública d'IBM, la recent <a href="http://www.ibm.com/cloud-computing/us/en/">IBM Smart Cloud</a>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_IawD6D2FEwLPxuLRlGC3B6ewwotXDU6tYDUYXKwCGRtlrhyphenhyphenRFmxXuHVw7UyzAP3I8G2wzZucdYBD2Xz0SskM-qaajrgoA7-8p8KhPDl5YotYdQenIZfwN-4zQ-Ao9qqL-5U798ELJRs/s1600/PHP-wich+public+cloud+2012.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 269px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_IawD6D2FEwLPxuLRlGC3B6ewwotXDU6tYDUYXKwCGRtlrhyphenhyphenRFmxXuHVw7UyzAP3I8G2wzZucdYBD2Xz0SskM-qaajrgoA7-8p8KhPDl5YotYdQenIZfwN-4zQ-Ao9qqL-5U798ELJRs/s400/PHP-wich+public+cloud+2012.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5698873947218737794" /></a><br /><br />Era previsible, els desenvolupadors d'IBM i som poquets, però incodicionals d'IBM :)Àlex at Corretgé.comhttp://www.blogger.com/profile/14999861189737917676noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-4119033015966335632012-01-17T10:18:00.005+01:002012-01-17T10:36:14.049+01:00PHP vs Ruby vs Python [infographic]A <a href="http://www.udemy.com/blog/modern-language-wars">udemy</a> (actualment estan fent canvis en el seu servidor i es trenquen tots els enllaços) han fet un inforgraphic força interessant que compara PHP, Ruby i Python en quant a acceptació, ofertes laborals, corva d'aprenentatge, etc...<div><br /></div><div>Si sou desenvolupadors PHP, no oblideu de posar 'PHP Developer' en alguna banda del vostre perfil LinkedIn, i així comptar a les estadístiques. Una dada: a 15 de desembre del 2.011, segons udemy, hi havia 18.950 perfils LinkedIn a la cerca 'PHP Developer', a dia d'avui 229.597!</div><div><br /></div><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://corretge.cat/pgmrtools/crtPR/PROGRAMMING-LANGUAGE-3-620x3450.png"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 620px; height: 3450px;" src="http://corretge.cat/pgmrtools/crtPR/PROGRAMMING-LANGUAGE-3-620x3450.png" border="0" alt="" /></a>Àlex at Corretgé.comhttp://www.blogger.com/profile/14999861189737917676noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-87945437241920128732012-01-03T12:30:00.002+01:002012-01-03T12:31:11.652+01:00Incredible Things That Happen Every 60 Seconds On The Internet<p style="margin-top: 1em; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: rgb(255, 255, 255); ">In a single minute there are over 695,000 status updates on <a href="http://www.businessinsider.com/blackboard/facebook" class="hidden_link" style="text-decoration: none; color: rgb(29, 99, 125); ">Facebook</a>. That's just one example of the mind boggling scale of online activity.</p><p style="margin-top: 1em; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: rgb(255, 255, 255); ">The following infographics show a bunch of other incredible things that happen in 60 seconds (via <a href="http://www.ritholtz.com/blog/" style="text-decoration: none; color: rgb(29, 99, 125); ">Barry Ritholtz</a>).</p><p style="margin-top: 1em; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: rgb(255, 255, 255); "></p><div class="image-container" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: rgb(255, 255, 255); width: 941px; "><div class="image" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><img src="http://static7.businessinsider.com/image/4ef864e66bb3f76e58000028-941-665/infographic.jpg" border="0" alt="infographic" width="941" height="665" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " /></div><p class="source" style="margin-top: 1em; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Image: <a href="http://www.go-globe.com/web-design-shanghai.php" style="text-decoration: none; color: rgb(29, 99, 125); ">nfographic by- Shanghai Web Designers</a></p></div><p style="margin-top: 1em; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: rgb(255, 255, 255); "></p><p style="margin-top: 1em; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: rgb(255, 255, 255); "></p><div class="image-container" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: rgb(255, 255, 255); width: 941px; "><div class="image" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><img src="http://static8.businessinsider.com/image/4ef8650eeab8eac84b00003b/infographic.jpg" border="0" alt="infographic" width="941" height="665" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; " /></div><p class="source" style="margin-top: 1em; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Image: <a href="http://www.ritholtz.com/blog/2011/12/60-seconds-things-that-happen-every-sixty-seconds/?utm_source=dlvr.it&utm_medium=twitter" style="text-decoration: none; color: rgb(29, 99, 125); ">Infographic by- GO-Gulf.com Web Design Company</a></p></div><p style="margin-top: 1em; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: rgb(255, 255, 255); "></p><h2 style="margin-top: 1em; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 18px; font-weight: normal; font-family: arial, helvetica, sans-serif; background-color: rgb(255, 255, 255); "></h2><span style="font-family: arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: rgb(255, 255, 255); "><br /><br />Read more: <a href="http://www.businessinsider.com/incredible-things-that-happen-every-60-seconds-on-the-internet-2011-12#ixzz1iOTof7Qj" style="text-decoration: none; color: rgb(0, 51, 153); ">http://www.businessinsider.com/incredible-things-that-happen-every-60-seconds-on-the-internet-2011-12#ixzz1iOTof7Qj</a></span>Àlex at Corretgé.comhttp://www.blogger.com/profile/14999861189737917676noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-18510163737114434862011-11-15T21:46:00.001+01:002011-11-15T21:46:00.326+01:00Network Upgrade for Ubuntu Servers<meta equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: 'Helvetica Neue', 'Lucida Grande', Helvetica, Arial, Verdana, sans-serif; font-size: 14px; "><ol type="1"><li><p class="line862" style="margin-top: 0.25em; margin-right: 0px; margin-bottom: 0.25em; margin-left: 0px; ">Ensure you're up to date with latest release:<span class="anchor" id="line-64"></span><span class="anchor" id="line-65"></span></p><pre style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-color: rgb(193, 180, 150); border-right-color: rgb(193, 180, 150); border-bottom-color: rgb(193, 180, 150); border-left-color: rgb(193, 180, 150); background-color: rgb(240, 238, 230); padding-top: 4pt; padding-right: 4pt; padding-bottom: 4pt; padding-left: 4pt; font-family: courier, monospace; white-space: pre-wrap; word-wrap: break-word; "><span class="anchor" id="line-1-2"></span>sudo apt-get update</pre><span class="anchor" id="line-66"></span><span class="anchor" id="line-67"></span><span class="anchor" id="line-68"></span><pre style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-color: rgb(193, 180, 150); border-right-color: rgb(193, 180, 150); border-bottom-color: rgb(193, 180, 150); border-left-color: rgb(193, 180, 150); background-color: rgb(240, 238, 230); padding-top: 4pt; padding-right: 4pt; padding-bottom: 4pt; padding-left: 4pt; font-family: courier, monospace; white-space: pre-wrap; word-wrap: break-word; "><span class="anchor" id="line-1-3"></span>sudo apt-get upgrade</pre><span class="anchor" id="line-69"></span></li><li><p class="line862" style="margin-top: 0.25em; margin-right: 0px; margin-bottom: 0.25em; margin-left: 0px; ">Install <tt class="backtick">update-manager-core</tt> if it is not already installed:<span class="anchor" id="line-70"></span><span class="anchor" id="line-71"></span></p><pre style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-color: rgb(193, 180, 150); border-right-color: rgb(193, 180, 150); border-bottom-color: rgb(193, 180, 150); border-left-color: rgb(193, 180, 150); background-color: rgb(240, 238, 230); padding-top: 4pt; padding-right: 4pt; padding-bottom: 4pt; padding-left: 4pt; font-family: courier, monospace; white-space: pre-wrap; word-wrap: break-word; "><span class="anchor" id="line-1-4"></span>sudo apt-get install update-manager-core</pre><span class="anchor" id="line-72"></span></li><li><p class="line862" style="margin-top: 0.25em; margin-right: 0px; margin-bottom: 0.25em; margin-left: 0px; ">edit <tt>/etc/update-manager/release-upgrades</tt> and set <tt>Prompt=lts</tt><span class="anchor" id="line-73"></span></p></li></ol><p class="line874">Note: The minumum contents of <span class="anchor" id="line-74"></span><tt>/etc/update-manager/release-upgrades</tt> should be<span class="anchor" id="line-75"></span><span class="anchor" id="line-76"></span><span class="anchor" id="line-77"></span><span class="anchor" id="line-78"></span></p><pre style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-color: rgb(193, 180, 150); border-right-color: rgb(193, 180, 150); border-bottom-color: rgb(193, 180, 150); border-left-color: rgb(193, 180, 150); background-color: rgb(240, 238, 230); padding-top: 4pt; padding-right: 4pt; padding-bottom: 4pt; padding-left: 4pt; font-family: courier, monospace; white-space: pre-wrap; word-wrap: break-word; "><span class="anchor" id="line-1-5"></span>[DEFAULT] <span class="anchor" id="line-2"></span>Prompt=lts</pre><span class="anchor" id="line-79"></span><ol type="1"><li><p class="line862" style="margin-top: 0.25em; margin-right: 0px; margin-bottom: 0.25em; margin-left: 0px; ">Launch the upgrade tool:<span class="anchor" id="line-80"></span><span class="anchor" id="line-81"></span></p><pre style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-color: rgb(193, 180, 150); border-right-color: rgb(193, 180, 150); border-bottom-color: rgb(193, 180, 150); border-left-color: rgb(193, 180, 150); background-color: rgb(240, 238, 230); padding-top: 4pt; padding-right: 4pt; padding-bottom: 4pt; padding-left: 4pt; font-family: courier, monospace; white-space: pre-wrap; word-wrap: break-word; "><span class="anchor" id="line-1-6"></span>sudo do-release-upgrade</pre><span class="anchor" id="line-82"></span></li><li>Follow the on-screen instructions.<span class="anchor" id="line-83"></span></li><li><p class="line862" style="margin-top: 0.25em; margin-right: 0px; margin-bottom: 0.25em; margin-left: 0px; ">At the end of the upgrade process you will be required to restart the server in order to boot into the new kernel. If you do not have access to the console of the system you are upgrading, you may need to edit <tt>/boot/grub/menu.lst</tt> and change the default boot kernel to the newly installed 10.04 kernel. <strong>If this step is not performed your server may attempt to boot into the 8.04 LTS kernel and will hang.</strong></p></li></ol></span>Àlex at Corretgé.comhttp://www.blogger.com/profile/14999861189737917676noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-9321188056468230182011-11-09T21:12:00.001+01:002011-11-09T21:12:00.192+01:00PHP Compiler options--with-libdir=NAME Look for libraries in .../NAME rather than .../lib<br /> --disable-rpath Disable passing additional runtime library<br /> search paths<br /> --enable-re2c-cgoto Enable -g flag to re2c to use computed goto gcc extension<br /><br />SAPI modules:<br /><br /> --with-aolserver=DIR Specify path to the installed AOLserver<br /> --with-apxs[=FILE] Build shared Apache 1.x module. FILE is the optional<br /> pathname to the Apache apxs tool [apxs]<br /> --with-apache[=DIR] Build Apache 1.x module. DIR is the top-level Apache<br /> build directory [/usr/local/apache]<br /> --enable-mod-charset APACHE: Enable transfer tables for mod_charset (Rus Apache)<br /> --with-apxs2filter[=FILE]<br /> EXPERIMENTAL: Build shared Apache 2.0 Filter module. FILE is the optional<br /> pathname to the Apache apxs tool [apxs]<br /> --with-apxs2[=FILE] Build shared Apache 2.0 Handler module. FILE is the optional<br /> pathname to the Apache apxs tool [apxs]<br /> --with-apache-hooks[=FILE]<br /> EXPERIMENTAL: Build shared Apache 1.x module. FILE is the optional<br /> pathname to the Apache apxs tool [apxs]<br /> --with-apache-hooks-static[=DIR]<br /> EXPERIMENTAL: Build Apache 1.x module. DIR is the top-level Apache<br /> build directory [/usr/local/apache]<br /> --enable-mod-charset APACHE (hooks): Enable transfer tables for mod_charset (Rus Apache)<br /> --with-caudium[=DIR] Build PHP as a Pike module for use with Caudium.<br /> DIR is the Caudium server dir [/usr/local/caudium/server]<br /> --disable-cli Disable building CLI version of PHP<br /> (this forces --without-pear)<br /> --with-continuity=DIR Build PHP as Continuity Server module.<br /> DIR is path to the installed Continuity Server root<br /> --enable-embed[=TYPE] EXPERIMENTAL: Enable building of embedded SAPI library<br /> TYPE is either '\''shared'\'' or '\''static'\''. [TYPE=shared]<br /> --with-isapi[=DIR] Build PHP as an ISAPI module for use with Zeus<br /> --with-litespeed Build PHP as litespeed module<br /> --with-milter[=DIR] Build PHP as Milter application<br /> --with-nsapi=DIR Build PHP as NSAPI module for Netscape/iPlanet/Sun Webserver<br /> --with-phttpd=DIR Build PHP as phttpd module<br /> --with-pi3web[=DIR] Build PHP as Pi3Web module<br /> --with-roxen=DIR Build PHP as a Pike module. DIR is the base Roxen<br /> directory, normally /usr/local/roxen/server<br /> --enable-roxen-zts ROXEN: Build the Roxen module using Zend Thread Safety<br /> --with-thttpd=SRCDIR Build PHP as thttpd module<br /> --with-tux=MODULEDIR Build PHP as a TUX module (Linux only)<br /> --with-webjames=SRCDIR Build PHP as a WebJames module (RISC OS only)<br /> --disable-cgi Disable building CGI version of PHP<br /><br />General settings:<br /><br /> --enable-gcov Enable GCOV code coverage (requires LTP) - FOR DEVELOPERS ONLY!!<br /> --enable-debug Compile with debugging symbols<br /> --with-layout=TYPE Set how installed files will be laid out. Type can<br /> be either PHP or GNU [PHP]<br /> --with-config-file-path=PATH<br /> Set the path in which to look for php.ini [PREFIX/lib]<br /> --with-config-file-scan-dir=PATH<br /> Set the path where to scan for configuration files<br /> --enable-safe-mode Enable safe mode by default<br /> --with-exec-dir[=DIR] Only allow executables in DIR under safe-mode<br /> [/usr/local/php/bin]<br /> --enable-sigchild Enable PHP'\''s own SIGCHLD handler<br /> --enable-magic-quotes Enable magic quotes by default.<br /> --enable-libgcc Enable explicitly linking against libgcc<br /> --disable-short-tags Disable the short-form <? start tag by default<br /> --enable-dmalloc Enable dmalloc<br /> --disable-ipv6 Disable IPv6 support<br /> --enable-fd-setsize Set size of descriptor sets<br /><br />Extensions:<br /><br /> --with-EXTENSION=[shared[,PATH]]<br /><br /> NOTE: Not all extensions can be build as '\''shared'\''.<br /><br /> Example: --with-foobar=shared,/usr/local/foobar/<br /><br /> o Builds the foobar extension as shared extension.<br /> o foobar package install prefix is /usr/local/foobar/<br /><br /><br /> --disable-all Disable all extensions which are enabled by default<br /><br /> --with-regex=TYPE regex library type: system, php. [TYPE=php]<br /> WARNING: Do NOT use unless you know what you are doing!<br /> --disable-libxml Disable LIBXML support<br /> --with-libxml-dir[=DIR] LIBXML: libxml2 install prefix<br /> --with-openssl[=DIR] Include OpenSSL support (requires OpenSSL >= 0.9.6)<br /> --with-kerberos[=DIR] OPENSSL: Include Kerberos support<br /> --with-pcre-regex=DIR Include Perl Compatible Regular Expressions support.<br /> DIR is the PCRE install prefix [BUNDLED]<br /> --without-sqlite3[=DIR] Do not include SQLite3 support. DIR is the prefix to<br /> SQLite3 installation directory.<br /> --with-zlib[=DIR] Include ZLIB support (requires zlib >= 1.0.9)<br /> --with-zlib-dir=<DIR> Define the location of zlib install directory<br /> --enable-bcmath Enable bc style precision math functions<br /> --with-bz2[=DIR] Include BZip2 support<br /> --enable-calendar Enable support for calendar conversion<br /> --disable-ctype Disable ctype functions<br /> --with-curl[=DIR] Include cURL support<br /> --with-curlwrappers EXPERIMENTAL: Use cURL for url streams<br /> --enable-dba Build DBA with bundled modules. To build shared DBA<br /> extension use --enable-dba=shared<br /> --with-qdbm[=DIR] DBA: QDBM support<br /> --with-gdbm[=DIR] DBA: GDBM support<br /> --with-ndbm[=DIR] DBA: NDBM support<br /> --with-db4[=DIR] DBA: Berkeley DB4 support<br /> --with-db3[=DIR] DBA: Berkeley DB3 support<br /> --with-db2[=DIR] DBA: Berkeley DB2 support<br /> --with-db1[=DIR] DBA: Berkeley DB1 support/emulation<br /> --with-dbm[=DIR] DBA: DBM support<br /> --without-cdb[=DIR] DBA: CDB support (bundled)<br /> --disable-inifile DBA: INI support (bundled)<br /> --disable-flatfile DBA: FlatFile support (bundled)<br /> --disable-dom Disable DOM support<br /> --with-libxml-dir[=DIR] DOM: libxml2 install prefix<br /> --with-enchant[=DIR] Include enchant support.<br /> GNU Aspell version 1.1.3 or higher required.<br /> --enable-exif Enable EXIF (metadata from images) support<br /> --disable-fileinfo Disable fileinfo support<br /> --disable-filter Disable input filter support<br /> --with-pcre-dir FILTER: pcre install prefix<br /> --enable-ftp Enable FTP support<br /> --with-openssl-dir[=DIR] FTP: openssl install prefix<br /> --with-gd[=DIR] Include GD support. DIR is the GD library base<br /> install directory [BUNDLED]<br /> --with-jpeg-dir[=DIR] GD: Set the path to libjpeg install prefix<br /> --with-png-dir[=DIR] GD: Set the path to libpng install prefix<br /> --with-zlib-dir[=DIR] GD: Set the path to libz install prefix<br /> --with-xpm-dir[=DIR] GD: Set the path to libXpm install prefix<br /> --with-freetype-dir[=DIR] GD: Set the path to FreeType 2 install prefix<br /> --with-t1lib[=DIR] GD: Include T1lib support. T1lib version >= 5.0.0 required<br /> --enable-gd-native-ttf GD: Enable TrueType string function<br /> --enable-gd-jis-conv GD: Enable JIS-mapped Japanese font support<br /> --with-gettext[=DIR] Include GNU gettext support<br /> --with-gmp[=DIR] Include GNU MP support<br /> --with-mhash[=DIR] Include mhash support<br /> --disable-hash Disable hash support<br /> --without-iconv[=DIR] Exclude iconv support<br /> --with-imap[=DIR] Include IMAP support. DIR is the c-client install prefix<br /> --with-kerberos[=DIR] IMAP: Include Kerberos support. DIR is the Kerberos install prefix<br /> --with-imap-ssl[=DIR] IMAP: Include SSL support. DIR is the OpenSSL install prefix<br /> --with-interbase[=DIR] Include InterBase support. DIR is the InterBase base<br /> install directory [/usr/interbase]<br /> --enable-intl Enable internationalization support<br /> --with-icu-dir=DIR Specify where ICU libraries and headers can be found<br /> --disable-json Disable JavaScript Object Serialization support<br /> --with-ldap[=DIR] Include LDAP support<br /> --with-ldap-sasl[=DIR] LDAP: Include Cyrus SASL support<br /> --enable-mbstring Enable multibyte string support<br /> --disable-mbregex MBSTRING: Disable multibyte regex support<br /> --disable-mbregex-backtrack<br /> MBSTRING: Disable multibyte regex backtrack check<br /> --with-libmbfl[=DIR] MBSTRING: Use external libmbfl. DIR is the libmbfl base<br /> install directory [BUNDLED]<br /> --with-onig[=DIR] MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix.<br /> If DIR is not set, the bundled oniguruma will be used<br /> --with-mcrypt[=DIR] Include mcrypt support<br /> --with-mssql[=DIR] Include MSSQL-DB support. DIR is the FreeTDS home<br /> directory [/usr/local/freetds]<br /> --with-mysql[=DIR] Include MySQL support. DIR is the MySQL base<br /> directory. If mysqlnd is passed as DIR,<br /> the MySQL native driver will be used [/usr/local]<br /> --with-mysql-sock[=DIR] MySQL/MySQLi/PDO_MYSQL: Location of the MySQL unix socket pointer.<br /> If unspecified, the default locations are searched<br /> --with-zlib-dir[=DIR] MySQL: Set the path to libz install prefix<br /> --with-mysqli[=FILE] Include MySQLi support. FILE is the path<br /> to mysql_config. If mysqlnd is passed as FILE,<br /> the MySQL native driver will be used [mysql_config]<br /> --enable-embedded-mysqli MYSQLi: Enable embedded support<br /> Note: Does not work with MySQL native driver!<br /> --with-oci8[=DIR] Include Oracle (OCI8) support. DIR defaults to $ORACLE_HOME.<br /> Use --with-oci8=instantclient,/path/to/instant/client/lib<br /> to use an Oracle Instant Client installation<br /> --with-adabas[=DIR] Include Adabas D support [/usr/local]<br /> --with-sapdb[=DIR] Include SAP DB support [/usr/local]<br /> --with-solid[=DIR] Include Solid support [/usr/local/solid]<br /> --with-ibm-db2[=DIR] Include IBM DB2 support [/home/db2inst1/sqllib]<br /> --with-ODBCRouter[=DIR] Include ODBCRouter.com support [/usr]<br /> --with-empress[=DIR] Include Empress support [$EMPRESSPATH]<br /> (Empress Version >= 8.60 required)<br /> --with-empress-bcs[=DIR]<br /> Include Empress Local Access support [$EMPRESSPATH]<br /> (Empress Version >= 8.60 required)<br /> --with-birdstep[=DIR] Include Birdstep support [/usr/local/birdstep]<br /> --with-custom-odbc[=DIR]<br /> Include user defined ODBC support. DIR is ODBC install base<br /> directory [/usr/local]. Make sure to define CUSTOM_ODBC_LIBS and<br /> have some odbc.h in your include dirs. f.e. you should define<br /> following for Sybase SQL Anywhere 5.5.00 on QNX, prior to<br /> running this configure script:<br /> CPPFLAGS="-DODBC_QNX -DSQLANY_BUG"<br /> LDFLAGS=-lunix<br /> CUSTOM_ODBC_LIBS="-ldblib -lodbc"<br /> --with-iodbc[=DIR] Include iODBC support [/usr/local]<br /> --with-esoob[=DIR] Include Easysoft OOB support [/usr/local/easysoft/oob/client]<br /> --with-unixODBC[=DIR] Include unixODBC support [/usr/local]<br /> --with-dbmaker[=DIR] Include DBMaker support<br /> --enable-pcntl Enable pcntl support (CLI/CGI only)<br /> --disable-pdo Disable PHP Data Objects support<br /> --with-pdo-dblib[=DIR] PDO: DBLIB-DB support. DIR is the FreeTDS home directory<br /> --with-pdo-firebird[=DIR] PDO: Firebird support. DIR is the Firebird base<br /> install directory [/opt/firebird]<br /> --with-pdo-mysql[=DIR] PDO: MySQL support. DIR is the MySQL base directoy<br /> If mysqlnd is passed as DIR, the MySQL native<br /> native driver will be used [/usr/local]<br /> --with-zlib-dir[=DIR] PDO_MySQL: Set the path to libz install prefix<br /> --with-pdo-oci[=DIR] PDO: Oracle OCI support. DIR defaults to $ORACLE_HOME.<br /> Use --with-pdo-oci=instantclient,prefix,version<br /> for an Oracle Instant Client SDK.<br /> For Linux with 10.2.0.3 RPMs (for example) use:<br /> --with-pdo-oci=instantclient,/usr,10.2.0.3<br /> --with-pdo-odbc=flavour,dir<br /> PDO: Support for '\''flavour'\'' ODBC driver.<br /> include and lib dirs are looked for under '\''dir'\''.<br /><br /> '\''flavour'\'' can be one of: ibm-db2, iODBC, unixODBC, generic<br /> If '\'',dir'\'' part is omitted, default for the flavour<br /> you have selected will used. e.g.:<br /><br /> --with-pdo-odbc=unixODBC<br /><br /> will check for unixODBC under /usr/local. You may attempt<br /> to use an otherwise unsupported driver using the "generic"<br /> flavour. The syntax for generic ODBC support is:<br /><br /> --with-pdo-odbc=generic,dir,libname,ldflags,cflags<br /><br /> When build as shared the extension filename is always pdo_odbc.so<br /> --with-pdo-pgsql[=DIR] PDO: PostgreSQL support. DIR is the PostgreSQL base<br /> install directory or the path to pg_config<br /> --without-pdo-sqlite[=DIR]<br /> PDO: sqlite 3 support. DIR is the sqlite base<br /> install directory [BUNDLED]<br /> --with-pgsql[=DIR] Include PostgreSQL support. DIR is the PostgreSQL<br /> base install directory or the path to pg_config<br /> --disable-phar Disable phar support<br /> --disable-posix Disable POSIX-like functions<br /> --with-pspell[=DIR] Include PSPELL support.<br /> GNU Aspell version 0.50.0 or higher required<br /> --with-libedit[=DIR] Include libedit readline replacement (CLI/CGI only)<br /> --with-readline[=DIR] Include readline support (CLI/CGI only)<br /> --with-recode[=DIR] Include recode support<br /> --disable-session Disable session support<br /> --with-mm[=DIR] SESSION: Include mm support for session storage<br /> --enable-shmop Enable shmop support<br /> --disable-simplexml Disable SimpleXML support<br /> --with-libxml-dir=DIR SimpleXML: libxml2 install prefix<br /> --with-snmp[=DIR] Include SNMP support<br /> --with-openssl-dir[=DIR] SNMP: openssl install prefix<br /> --enable-ucd-snmp-hack SNMP: Enable UCD SNMP hack<br /> --enable-soap Enable SOAP support<br /> --with-libxml-dir=DIR SOAP: libxml2 install prefix<br /> --enable-sockets Enable sockets support<br /> --without-sqlite=DIR Do not include sqlite support. DIR is the sqlite base<br /> install directory [BUNDLED]<br /> --enable-sqlite-utf8 SQLite: Enable UTF-8 support for SQLite<br /> --with-sybase-ct[=DIR] Include Sybase-CT support. DIR is the Sybase home<br /> directory [/home/sybase]<br /> --enable-sysvmsg Enable sysvmsg support<br /> --enable-sysvsem Enable System V semaphore support<br /> --enable-sysvshm Enable the System V shared memory support<br /> --with-tidy[=DIR] Include TIDY support<br /> --disable-tokenizer Disable tokenizer support<br /> --enable-wddx Enable WDDX support<br /> --with-libxml-dir=DIR WDDX: libxml2 install prefix<br /> --with-libexpat-dir=DIR WDDX: libexpat dir for XMLRPC-EPI (deprecated)<br /> --disable-xml Disable XML support<br /> --with-libxml-dir=DIR XML: libxml2 install prefix<br /> --with-libexpat-dir=DIR XML: libexpat install prefix (deprecated)<br /> --disable-xmlreader Disable XMLReader support<br /> --with-libxml-dir=DIR XMLReader: libxml2 install prefix<br /> --with-xmlrpc[=DIR] Include XMLRPC-EPI support<br /> --with-libxml-dir=DIR XMLRPC-EPI: libxml2 install prefix<br /> --with-libexpat-dir=DIR XMLRPC-EPI: libexpat dir for XMLRPC-EPI (deprecated)<br /> --with-iconv-dir=DIR XMLRPC-EPI: iconv dir for XMLRPC-EPI<br /> --disable-xmlwriter Disable XMLWriter support<br /> --with-libxml-dir=DIR XMLWriter: libxml2 install prefix<br /> --with-xsl[=DIR] Include XSL support. DIR is the libxslt base<br /> install directory (libxslt >= 1.1.0 required)<br /> --enable-zip Include Zip read/write support<br /> --with-zlib-dir[=DIR] ZIP: Set the path to libz install prefix<br /> --with-pcre-dir ZIP: pcre install prefix<br /> --disable-mysqlnd-compression-support<br /> Enable support for the MySQL compressed protocol in mysqlnd<br /> --with-zlib-dir[=DIR] mysqlnd: Set the path to libz install prefix<br /><br />PEAR:<br /><br /> --with-pear=DIR Install PEAR in DIR [PREFIX/lib/php]<br /> --without-pear Do not install PEAR<br /><br />Zend:<br /><br /> --with-zend-vm=TYPE Set virtual machine dispatch method. Type is<br /> one of CALL, SWITCH or GOTO [TYPE=CALL]<br /> --enable-maintainer-zts Enable thread safety - for code maintainers only!!<br /> --disable-inline-optimization<br /> If building zend_execute.lo fails, try this switch<br /> --enable-zend-multibyte Compile with zend multibyte support<br /><br />TSRM:<br /><br /> --with-tsrm-pth[=pth-config]<br /> Use GNU Pth<br /> --with-tsrm-st Use SGI'\''s State Threads<br /> --with-tsrm-pthreads Use POSIX threads (default)<br /><br />Libtool:<br /><br /> --enable-shared[=PKGS] build shared libraries [default=yes]<br /> --enable-static[=PKGS] build static libraries [default=yes]<br /> --enable-fast-install[=PKGS] optimize for fast installation [default=yes]<br /> --with-gnu-ld assume the C compiler uses GNU ld [default=no]<br /> --disable-libtool-lock avoid locking (might break parallel builds)<br /> --with-pic try to use only PIC/non-PIC objects [default=use both]<br /> --with-tags[=TAGS] include additional configurations [automatic]<br /><br /> --with-gnu-ld assume the C compiler uses GNU ld [default=no]Àlex at Corretgé.comhttp://www.blogger.com/profile/14999861189737917676noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-43489760058980285332011-11-02T23:53:00.010+01:002012-03-19T10:59:34.789+01:00Instal·lant una màquina blava - 4) PHP 5.4I finalment, instal·lem PHP. Al tractar-se d'una màquina de desenvolupament, instal·larem PHP 5.4 Release Candidate 1 i així podrem provar les noves opcions de PHP 5.4 com els <a href="http://www.php.net/manual/en/language.oop5.traits.php">traits</a> per a evitar algunes limitacions de les herències úniques pròpies de PHP. Aquestes novetats s'integraran properament a l'IDE <a href="http://netbeans.org/bugzilla/show_bug.cgi?id=201774">NetBeans</a>.<br /><br />Recuperarem el codi font de PHP:<br /><code><br />svn checkout https://svn.php.net/repository/php/php-src/branches/PHP_5_4 php-src-5.4 <br /></code><br /><br />Preparem llibreries i programes que necessitem per a crear el PHP 5.4 com a <a href="http://bloc.corretge.cat/2011/11/installant-una-maquina-blava-3-ihs-ibm.html">mòdul per a l'Apache</a> instal·lat a l'apartat 3 d'aquesta sèrie.<br /><code><br />apt-get install aspell curl libaspell-dev libbz2-dev libc-client-dev libcurl4-openssl-dev libfreetype6 libfreetype6-dev libjpeg62 libjpeg62-dev libmcrypt4 libmcrypt-dev libmhash2 libmhash-dev libming-dev libmysqlclient15-dev libncurses-dev libpng3 libpng12-dev libpspell-dev libreadline-dev libsasl2-dev libsnmp-dev libt1-5 libt1-dev libtidy-dev libxml2 libxml2-dev libxml2-utils libxpm4 libxpm-dev libxslt1-dev make build-essential autoconf bison<br /></code><br /><br /><br />Configurem el PHP<br /><code><br />cd php-src-5.4<br /><br />./buildconf<br /><br />./configure --with-apxs2=/usr/bin/apxs2 --disable-short-tags --with-openssl --with-zlib --enable-bcmath --with-bz2=/bin/bzip2 --enable-calendar --with-curl --with-curlwrappers --enable-exif --enable-ftp --with-gd --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-xpm-dir=/usr/lib --with-t1lib --enable-gd-native-ttf --enable-gd-jis-conv --with-gettext --with-imap --with-imap-ssl --with-ldap --with-ldap-sasl --enable-mbstring --with-mcrypt --with-mhash --with-ibm_db2=/opt/ibm/db2/V9.7 --with-pspell --with-readline --with-snmp --enable-soap --enable-sockets --with-tidy --enable-wddx --with-xmlrpc --with-xsl --enable-zip --with-pear --with-kerberos<br /></code><br /><br />I procedim a compilar, en una màquina amb 4GB de RAM i 2 processadors a 2,6GHz hem trigat 16 minuts.<br /><code><br />make && make install<br /></code><br /><br />Instal·lem el php.ini preparat per a desenvolupament<br /><code><br />cp php.ini-development /usr/local/lib/php.ini<br /></code><br /><br />Instal·lem el mòdul ibm_db2<br /><br /><code><br />pecl install ibm_db2<br /></code><br /><br />Indicant /opt/ibm/db2/V9.7 com a carpeta on tenim instal·lat el DB2, o allà on pertoqui.<br /><br />afegim la secció ibm_db2 al php.ini<br /><code><br />extension=/usr/local/lib/php/extensions/no-debug-zts-20100525/ibm_db2.so<br />ibm_db2.instance_name=db2inst1<br /></code><br /><br />Arrenquem l'apache<br /><code><br />/etc/init.d/apache2 restart<br /></code><br /><br />I certifiquem que funciona fent<br /><code><br />echo "<?php phpinfo();?>" > /var/www/index.php<br />rm /var/www/index.html<br /></code><br /><br />I obrint un navegador que apunti al servidor obtindrem<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjK-E0SGl6B04-FziLPYpuBqash912tTPrjDMNiJ1x1wQMvyuZyUAyDeDyP-FE1CziPN9ak7xV6K0rPnlRpYklmAm2QUUkmzst-5C3jezvY5WbNhjN_Rqv2ilioYaoM2I3Qq_Hnxd5-hZY/s1600/Captura-phpinfo%2528%2529+-+Google+Chrome-1.png"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 397px; height: 400px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjK-E0SGl6B04-FziLPYpuBqash912tTPrjDMNiJ1x1wQMvyuZyUAyDeDyP-FE1CziPN9ak7xV6K0rPnlRpYklmAm2QUUkmzst-5C3jezvY5WbNhjN_Rqv2ilioYaoM2I3Qq_Hnxd5-hZY/s400/Captura-phpinfo%2528%2529+-+Google+Chrome-1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5670454722066481010" /></a><br /><br />Si volem tenir també opcions de MySQL:<br /><code><br />./configure --with-apxs2=/usr/bin/apxs2 --disable-short-tags --with-openssl --with-zlib --enable-bcmath --with-bz2=/bin/bzip2 --enable-calendar --with-curl --with-curlwrappers --enable-exif --enable-ftp --with-gd --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-xpm-dir=/usr/lib --with-t1lib --enable-gd-native-ttf --enable-gd-jis-conv --with-gettext --with-imap --with-imap-ssl --with-ldap --with-ldap-sasl --enable-mbstring --with-mcrypt --with-mhash --with-ibm_db2=/opt/ibm/db2/V9.7 --with-pspell --with-readline --with-snmp --enable-soap --enable-sockets --with-tidy --enable-wddx --with-xmlrpc --with-xsl --enable-zip --with-pear --with-kerberos --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd<br /></code>Àlex at Corretgé.comhttp://www.blogger.com/profile/14999861189737917676noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-67166326395567893232011-11-02T21:09:00.003+01:002011-11-02T21:09:00.231+01:00Instal·lant una màquina blava - 3) IHS : IBM HTTP ServerPer tal de servir planes web i interpretar PHP al vol, instal·larem l'IHS, l'IBM HTTP Server, que és un Apache millorat i assegurat. Pel que es veu, no s'integra dins del WAS i cal instal·lar-ho separat. És a dir que si no tenim intenció de servir aplicacions Java, ens podem saltar el pas 1.<br /><br />El descarregarem del web d'IBM: <a href="http://www.ibm.com/software/webservers/httpservers/">IBM HTTP Server</a> i procedim a instal·lar-ho com indica el document <a href="http://www.ibm.com/developerworks/opensource/library/os-phphttp">Hosting PHP applications on the IBM HTTP Server</a> (gràcies Francisco) :<br /><br /><code><br />tar -xvf ihs.7000.linux.ia32.tar /root<br />cd IHS<br /></code><br /><br />Copiem responsefile.txt a opcions.txt editem aquest darrer i acceptem la llicència i modifiquem altres valors per omissió i esborrem la secció de windows:<br /><code><br />-OPT silentInstallLicenseAcceptance="true"<br />-OPT disableOSPrereqChecking="true"<br />-OPT installLocation="/opt/IBM/HTTPServer"<br />-OPT createAdminAuth="true"<br />-OPT adminAuthUser="ihsadmin"<br />-OPT adminAuthPassword="xxxx"<br />-OPT adminAuthPasswordConfirm="xxxx"<br />-OPT runSetupAdmin="true"<br />-OPT setupAdminUser="ihsadmin"<br />-OPT setupAdminGroup="www-data"<br />-OPT washostname="blue.corretge.ct"<br /></code><br /><br />I executem la instal·lació en mode silenci, doncs no tenim instal·lades les X al servidor:<br /><code><br />java -cp `pwd`/setup.jar -Xms48m -Xmx384m run -options "opcions.txt" -silent <br /></code><br /><br />I a nosaltres ens ha cascat. Bé, el fet d'estar en una distribució no suportada per IBM deu haver generate els problemes, així que instal·larem un Apache, serà una màquina blava al 50%. A fi de comptes l'IHS s'arrenca amb la instrucció apachectl.<br /><br /><code><br />sudo apt-get install apache2 apache2-threaded-dev apache2-mpm-prefork apache2-utils<br /></code><br /><br />I obtenim fàcilment el <span style="font-weight:bold;">It works!</span> de la felicitat.<br /><br />Més endavant ja enllaçarem WASCE amb Apache HTTP Server via mod_jk.Àlex at Corretgé.comhttp://www.blogger.com/profile/14999861189737917676noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-33214939595796387662011-10-28T08:56:00.003+02:002011-10-28T18:28:48.157+02:00Instal·lant una màquina blava - 2) DB2 Express Community EditionProcedirem a la instal·lació de la base de dades d'IBM, la DB2 en la seva versió lliure de cost, la <a href="http://www-01.ibm.com/software/data/db2/express/">DB2 Express-C</a>. Hi ha moltes versions, amb unes possibilitats molt interessants, però per a un entorn de desenvolupament, amb la CE en fem suficient.<div><br /></div><div>Amb els repositoris partner activat, tal i com s'indica a l<a href="http://bloc.corretge.cat/2011/10/installant-una-maquina-blava-1.html">'apartat 1</a> de la sèries de posts Instal·lant una màquina blava, procedirem a instal·lar DB2 desde la paqueteria d'Ubuntu.</div><br /><br /><code>sudo apt-get install db2exc</code><br /><br />Un cop instal·lat canviarem les contrasenyes dels usuaris creats:<br /><code><br />sudo passwd db2inst1<br />sudo passwd db2fenc1<br />sudo passwd dasusr1<br /></code><br /><br />Ens loginegem com l'usuari gestor de les instàncies DB2, i certifiquem que s'ha instal·lat correctament:<br /><code><br />sudo su db2inst1<br />db2level<br /><br />DB21085I Instance "db2inst1" uses "64" bits and DB2 code release "SQL09074"<br />with level identifier "08050107".<br />Informational tokens are "DB2 v9.7.0.4", "s110330", "IP23243", and Fix Pack<br />"4".<br />Product is installed at "/opt/ibm/db2/V9.7".<br /></code><br /><br />Creem una nova base de dades, per exemple CORRETGE ;-)<br /><br /><code><br />sudo su db2inst1<br />db2 create database CORRETGE<br /></code><br /><br />Cal tenir en compte que quan diem una base de dades, és un sistema de bases de dades, és a dir un objecte que conté esquemes on cada esquema conté taules i cada taula registres.<br /><br />Ah, i si no voleu tenir problemes, millor definir els noms de tots els objectes en caixa alta, així evitarem haver d'emprar les cometes a l'hora de qualificar-los, i evitar perdre el temps fins que te n'adones que el problema era aquest. Avisats esteu.<br /><br /><a href="http://www.ibm.com/developerworks/wikis/display/DB2/FREE+Book-+Getting+Started+with+DB2+Express-C">Literatura sobre IBM DB2 Express-C</a>.<br /><br />Per a poder gestionar còmodament la base de dades, en una màquina client amb les X activades instal·larem l'<a href="http://www-01.ibm.com/software/data/optim/data-studio/">IBM Data Studio</a>, una perspectiva d'eclipse per a la gestió de qualsevol de les DB2 existents al mercat. Descarreguem el full client des del DownloadDirector d'IBM.<br /><br />que executarem amb la instrucció<br /><code><br />/opt/IBM/DS3.1/eclipse<br /></code><br /><br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOl-W4iytCtwXbFmrBikQoCYdwGxIUyaU95SCWF5W7uirFka0YP7oxWLr-D_StzYXlb1qa3Dm_Vyc-Qjxl7ReIOutpF4B9coX7SCRJaCV0eQOCu7dM9WLU748Iml7NH0jxEDNNGuugYec/s1600/Captura-Database+Administration+-+%253CDiagram%253E+%253CSchema%253E+EYETEST+-+Connection+%252522db2+EYEOS%252522+-+IBM+Data+Studio+.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 229px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOl-W4iytCtwXbFmrBikQoCYdwGxIUyaU95SCWF5W7uirFka0YP7oxWLr-D_StzYXlb1qa3Dm_Vyc-Qjxl7ReIOutpF4B9coX7SCRJaCV0eQOCu7dM9WLU748Iml7NH0jxEDNNGuugYec/s400/Captura-Database+Administration+-+%253CDiagram%253E+%253CSchema%253E+EYETEST+-+Connection+%252522db2+EYEOS%252522+-+IBM+Data+Studio+.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5668459176379044562" /></a>Àlex at Corretgé.comhttp://www.blogger.com/profile/14999861189737917676noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-30617510220122499342011-10-27T18:50:00.011+02:002011-10-27T21:58:00.475+02:00Instal·lant una màquina blava - 1) WebSphere Application Server Community Edition<div style="text-align: center;"><br /></div><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-DDiAt88W8OTGC9sD35wUTAd1jgJxp3yL0uSUaGjU8q08Z2jsTMAh29bo-6KzIHvRUHIhwmDTV3BaeicMADHXozWxpSOqDAhv6AK1nSd0DSFIvrOPN93gT4P7U4ibu5C76vMAg2PeE9I/s1600/IBM+logo+vintage.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 200px; height: 165px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-DDiAt88W8OTGC9sD35wUTAd1jgJxp3yL0uSUaGjU8q08Z2jsTMAh29bo-6KzIHvRUHIhwmDTV3BaeicMADHXozWxpSOqDAhv6AK1nSd0DSFIvrOPN93gT4P7U4ibu5C76vMAg2PeE9I/s200/IBM+logo+vintage.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5668218574985254082" /></a>En aquesta sèrie de posts explicaré com instal·lar una màquina blava, una particular manera de celebrar el centenari d'IBM, amb l'IBM HTTP Server, IBM DB2 i PHP 5.4 en un Ubuntu Server 10.04 LTS de 64 bits.<div><br /></div><div>D'ençà la versió 6.0 de l'IHS (IBM Http Server) aquest producte només s'instal·la amb el WAS (WebSphere</div><div> Application Server). Per a fer-ho des del servei de paqueteria d'ubuntu, editarem l'arxiu <i>/etc/apt/sources.list</i> i descomentarem els reposioris <b>partner</b> : </div><br /><br /><code>deb http://archive.canonical.com/ubuntu lucid partner</code><br /><br />I actualitzem:<br /><code>sudo apt-get update<br /><div style="text-align: center;"><span class="Apple-style-span"><br /></span></div></code>Procedim a instal·lar el paqet <a href="http://www-01.ibm.com/software/webservers/appserv/community/">WAS CE Community Edition</a>, d'utilització lliure de pagament i més lleguer.<br /><br /><code>sudo apt-get install wasce-server</code><br /><br />I bé, ja el tenim instal·lat, comprovem l'status del servidor<br /><code>sudo /etc/init.d/wasce-server status<br />* Websphere CE is running <br /></code><br />Però no el veiem operatiu!<br />Executant el que fa l'start de wasce-server des de root, veiem que es triga prop de quatre minuts en arrencar, en una màquina amb dos processadors i 4GB de RAM, així que és questió d'esperar-se fins accedir al WebSphere Application Server Community Edition pel port 8090 i accedir a la cònsola administrativa.<br /><br />Usuari: system<br />Contrasenya: manager<br /><br /><div><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDNj3zuV3VuNeuJWrZ_UHorTgl_E-Z3kt3lMjhLCjAutJlla7PCjqdnFMXVLRgoNo-zRwImyBIOcOf7XaTLex1jdRywjk-sEb1XBQAsOMuyliQxqVrl5ca1sYzDrIwUE0Fa5OeuD7JCk8/s400/Captura-Welcome+to+WebSphere+Application+Server+Community+Edition+-+Google+Chrome.png" style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 308px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5668262928238475106" /></div><div><br />No cal dir que s'ha de canviar anant al menú Security/Users and Groups.</div>Àlex at Corretgé.comhttp://www.blogger.com/profile/14999861189737917676noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-35804781629237262242011-10-26T22:15:00.001+02:002011-10-26T22:17:40.433+02:00The IBM i From a PHP Programmer's PerspectiveAl número d'octubre de la revista <a href="http://phparch.us1.list-manage1.com/track/click?u=2d8ce686a29a06277ff9b9c15&id=6c60ce1c53&e=cb2d512f38">php|architect</a> hi ha un interessant article sobre PHP i IBM i (AS/400)<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrj2k6F0-iefvo4lqe7q0ZFRdjsmqgHPBVVl7DEvmdH1itInuUulnszTtMeTG1MPBkcB4sRN1Clfm32l0d-p2EraPDhMAS30f4dgBNJRVV5FaWb2qcN12xv6grXeL_Acbprai40hpfahI/s1600/Captura-php+architect%253A+October+2010-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="325" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrj2k6F0-iefvo4lqe7q0ZFRdjsmqgHPBVVl7DEvmdH1itInuUulnszTtMeTG1MPBkcB4sRN1Clfm32l0d-p2EraPDhMAS30f4dgBNJRVV5FaWb2qcN12xv6grXeL_Acbprai40hpfahI/s400/Captura-php+architect%253A+October+2010-1.png" width="400" /></a></div><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://gallery.mailchimp.com/2d8ce686a29a06277ff9b9c15/images/Magazine_template_header.2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="91" src="http://gallery.mailchimp.com/2d8ce686a29a06277ff9b9c15/images/Magazine_template_header.2.jpg" width="400" /></a></div><br />
<br />
<span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="color: #333333; font-family: Verdana; font-size: 12px; line-height: 18px;">IBM and Zend have pushed hard to prove that PHP on the IBM i is a viable solution, and it is. While they tend to gear most of their marketing toward mainframe developers to switch over to PHP, coming to the IBM i from a PHPers experience is a whole different matter. We know the language, just not this well-aged platform. IBM has done their best to make developers welcome but the environment is still different. I'll go through some of the common annoyances of having to work on the i, as well as tips to make life easier. This is not an introduction to programming on the i, just tips to make your life easier.<span class="Apple-converted-space"> </span><i><span style="color: #7a7a7a;">–by Chris Tankersley</span></i></span></span>Àlex at Corretgé.comhttp://www.blogger.com/profile/14477634634701017491noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-36443191609670567992011-09-26T16:34:00.000+02:002011-09-26T16:34:18.605+02:00Zend Reveals DBi, A New Version of MySQL for IBM i<div class="fby"><b> by Alex Woodie</b> from http://www.itjungle.com/tfh/tfh092611-story02.html</div><div class="fby"><br />
</div><div class="fb"> IBM i shops that were hesitant to deploy pre-packaged PHP apps on the platform because of the end of MySQL support from <a href="http://www.oracle.com/" target="new">Oracle</a> can go forward with their plans now thanks to the public unveiling of Zend DBi, a new IBM i-specific version of MySQL that <a href="http://www.zend.com/" target="new">Zend Technologies</a> will develop, maintain, and support. Zend DBi is slated to ship with the upcoming December release of the Zend PHP software stack for the IBM i server, the company said last week.</div><div class="fb"><br />
</div><div class="fb">Ever since <a href="http://www.itjungle.com/fhs/fhs011111-story01.html" target="new">Oracle announced plans to drop MySQL support for i5/OS V5R4 and IBM i 6.1</a> last December, <a href="http://www.ibm.com/" target="new">IBM</a> and Zend have been working to figure out a way to keep the open source database alive on the platform. MySQL is a critical piece of the PHP puzzle, since the majority of pre-packaged PHP applications (such as <a href="http://www.sugarcrm.com/" target="new">SugarCRM</a>, <a href="http://www.joomla.com/" target="new">Joomla</a>, and <a href="http://www.drupal.com/" target="new">Drupal</a>) were designed to use MySQL. Developers writing new PHP apps aren't affected as much, as they can hit the DB2/400 database directly.</div><div class="fb"><br />
</div><div class="fb">The solution to the problem became evident last week when Zend officials shared details of the forthcoming Zend Server 5.5 for IBM i release, which is expected to become generally available in December. The new PHP stack will contain Zend DBi, which Zend's IBM alliance director Michael Scarpato calls a "drop in replacement" for the old release of MySQL for IBM i.</div><div class="fb"><br />
</div><div class="fb">Scarpato on Friday outlined for <i>IT Jungle</i> the current state of MySQL on IBM i support and the plans for making Zend DBi the second officially supported database for the platform. "The status quo at the moment is fine. We ship MySQL as part of Zend Server for 5.1. It's still available from the Oracle website," he says.</div><div class="fb"><br />
</div><div class="fb">"The question in the minds of folks in the i community who rely on MySQL is, 'Who's going to take care of it as it goes forward?'," Scarpato asked rhetorically. "So as problems emerge in the code, or as security fixes need to be applied, or if there's some killer new feature that comes out for other platforms that is very relevant for the i platform as well, how do we get that over? Who's going to take care of that? It's an open source project. So anybody could do it. But who's really going to take responsibility to care and feed it, and then make commercial support available for the community who would like it? So that's going to be Zend."</div><div class="fb"><br />
</div><div class="fb">The initial release of Zend DBi will be, for all intents and purposes, functionally identical to the last supported MySQL for IBM i release to come out of Oracle, even if the actual code isn't quite the same. Zend hasn't finished porting it over, so it's impossible to say how much the code bases will look alike. But the plan going forward is for Zend DBi to diverge from the last supported version of MySQL from Oracle, Scarpato says.</div><div class="fb"><br />
</div><div class="fb">Any changes that Zend makes will be posted back to the MySQL open source project, as per the terms of the GNU GPL license that both MySQL and Zend DBi are distributed under. However, there are currently no plans to make Zend DBi an open source project in its own right, Scarpato says. No beta releases of Zend DBi are planned.</div><div class="fb"><br />
</div><div class="fb">Zend is putting in a lot of work to port Oracle's MySQL source code to IBM i, says Allison Butterill, the Power Systems application development offering manager at IBM. "Oracle provides source code on its website, and anybody can download and create binaries, but it's nowhere close to a trivial task," she says. "Zend is taking that on and will use that code for MySQL as the base for what they're going to provide with Zend DBi."</div><div class="fb"><br />
</div><div class="fb">IBM will continue to develop the IBMDB2i storage engine, which enables PHP applications that use MySQL to actually store data in DB2/400. A new release of the storage engine that works with Zend DBi will be available with Zend Server 5.5 for IBM i in December.</div><div class="fb"><br />
</div><div class="fb">Besides the new database, Zend Server 5.5 for IBM i will also mark the general availability of the new open source XML Toolkit that Zend and IBM have co-developed. The new toolkit, <a href="http://www.itjungle.com/fhs/fhs041211-story02.html" target="new">which we first covered in April</a>, was designed to do a better and more transparent job of connecting PHP applications with existing IBM i programs and services. The old toolkit, which was developed by <a href="http://www.easycom-aura.com/" target="new">AURA Equipments</a>, will continue to work with Zend Server 5.5, even though it's not distributed as part of the new PHP stack, Zend's senior director of product management Kent Mitchell says.</div><div class="fb"><br />
</div><div class="fb">The new IBM i release of Zend Server 5.5 will bring several other enhancements that have been available for Windows and Linux users for several months. Zend says these include new deployment and IT automation features that will help ease the handoff of PHP applications from development to operations teams, as well as new application delivery functions and automated scaling of enterprise PHP applications.</div><div class="fb"><br />
</div><div class="fb">The new stuff--Zend DBi, the XML Toolkit, and Zend Server 5.5 functions--will be discussed in great detail at the forthcoming ZendCon 2011 conference, which is scheduled for October 17 through 20 in Santa Clara, California. Zend has devoted an entire track to PHP on IBM i topics. PHP on IBM i pros who will be presenting at ZendCon include Mike Pavlak, Alan Seiden, Tony Cairns, and Tim Rowe.</div><div class="fb"><br />
</div><div class="fb">For more information on ZendCon 2011, see <a href="http://www.zendcon.com/" target="new">www.zendcon.com</a>. </div>Àlex at Corretgé.comhttp://www.blogger.com/profile/14477634634701017491noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-11374145527033969072011-08-23T20:37:00.001+02:002011-08-23T20:40:13.451+02:00PHP 5.2 discontinuedGood news for the PHP community, <a href="http://schlueters.de/blog/">Johannes Schlüter</a> says:<br />
<br />
<blockquote>All PHP users should note that the PHP 5.2 series is NOT supported<br />
anymore. All users are strongly encouraged to upgrade to PHP 5.3.8.</blockquote><br />
If you are currently in 5.2 and plans to go to 5.3, read the <a href="http://es2.php.net/migration53">Migrating guide</a>... previously :)<br />
<br />
Why is a good choice upgrade to 5.3.x?<br />
<span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: verdana,arial,helvetica,sans-serif; font-size: 14px;"></span></span><br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;">Support for<span class="Apple-converted-space"> </span><a href="http://php.net/namespaces" style="background-color: transparent; color: #000099;">namespaces</a></li><br />
<br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;"><a href="http://php.net/lsb" style="background-color: transparent; color: #000099;">Late static binding</a></li><br />
<br />
<br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;"><a href="http://php.net/closures" style="background-color: transparent; color: #000099;">Lambda Functions and Closures</a></li><br />
<br />
<br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;">Syntax additions:<span class="Apple-converted-space"> </span><a href="http://php.net/nowdoc" style="background-color: transparent; color: #000099;">NOWDOC</a>,<span class="Apple-converted-space"> </span><a href="http://php.net/ternary" style="background-color: transparent; color: #000099;">ternary short cut "?:"</a><span class="Apple-converted-space"> </span>and<span class="Apple-converted-space"> </span><a href="http://php.net/goto" style="background-color: transparent; color: #000099;">jump label</a><span class="Apple-converted-space"> </span>(limited goto),<span class="Apple-converted-space"> </span><a href="http://php.net/__callstatic" style="background-color: transparent; color: #000099;">__callStatic()</a></li><br />
<br />
<br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;">Under the hood performance improvements</li><br />
<br />
<br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;">Optional<span class="Apple-converted-space"> </span><a href="http://php.net/gc_enable" style="background-color: transparent; color: #000099;">garbage collection</a><span class="Apple-converted-space"> </span>for cyclic references</li><br />
<br />
<br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;">Optional<span class="Apple-converted-space"> </span><a href="http://php.net/mysqli.mysqlnd" style="background-color: transparent; color: #000099;">mysqlnd</a><span class="Apple-converted-space"> </span>PHP native replacement for libmysql</li><br />
<br />
<br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;">Improved<span class="Apple-converted-space"> </span><a href="http://windows.php.net/" style="background-color: transparent; color: #000099;">Windows</a><span class="Apple-converted-space"> </span>support including VC9 and experimental X64 binaries as well as portability to other supported platforms</li><br />
<br />
<br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;">More consistent float rounding</li><br />
<br />
<br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;">Deprecation notices are now handled via<span class="Apple-converted-space"> </span><code style="font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace;">E_DEPRECATED</code><span class="Apple-converted-space"> </span>(part of<span class="Apple-converted-space"> </span><code style="font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace;">E_ALL</code>) instead of the<span class="Apple-converted-space"> </span><code style="font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace;">E_STRICT</code><span class="Apple-converted-space"> </span>error level</li><br />
<br />
<br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;">Several enhancements to enable more<span class="Apple-converted-space"> </span><a href="http://php.net/ini.sections" style="background-color: transparent; color: #000099;">flexiblity in php.ini</a><span class="Apple-converted-space"> </span>(and ini parsing in general)</li><br />
<br />
<br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;">New bundled extensions:<span class="Apple-converted-space"> </span><a href="http://php.net/phar" style="background-color: transparent; color: #000099;">ext/phar</a>,<span class="Apple-converted-space"> </span><a href="http://php.net/intl" style="background-color: transparent; color: #000099;">ext/intl</a>,<span class="Apple-converted-space"> </span><a href="http://php.net/fileinfo" style="background-color: transparent; color: #000099;">ext/fileinfo</a>,<span class="Apple-converted-space"> </span><a href="http://php.net/sqlite3" style="background-color: transparent; color: #000099;">ext/sqlite3</a>,<span class="Apple-converted-space"> </span><a href="http://php.net/enchant" style="background-color: transparent; color: #000099;">ext/enchant</a></li><br />
<br />
<br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;">Over 140 bug fixes and improvements to PHP, in particular to:<span class="Apple-converted-space"> </span><a href="http://php.net/openssl" style="background-color: transparent; color: #000099;">ext/openssl</a>,<span class="Apple-converted-space"> </span><a href="http://php.net/spl" style="background-color: transparent; color: #000099;">ext/spl</a><span class="Apple-converted-space"> </span>and<span class="Apple-converted-space"> </span><a href="http://php.net/datetime" style="background-color: transparent; color: #000099;">ext/date</a></li><br />
<br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;"><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: verdana,arial,helvetica,sans-serif; font-size: 14px;">Added "max_file_uploads" INI directive, which can be set to limit the number of file uploads per-request to 20 by default, to prevent possible DOS via temporary file exhaustion.</span></span> </li><br />
<br />
<br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;"><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: verdana,arial,helvetica,sans-serif; font-size: 14px;">Added missing sanity checks around exif processing.</span></span></li><br />
<br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;"><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: verdana,arial,helvetica,sans-serif; font-size: 14px;"></span></span><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: verdana,arial,helvetica,sans-serif; font-size: 14px;">Fixed a safe_mode bypass in tempnam().</span></span></li><br />
<br />
<br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;"><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: verdana,arial,helvetica,sans-serif; font-size: 14px;">Fixed a open_basedir bypass in posix_mkfifo().</span></span><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: verdana,arial,helvetica,sans-serif; font-size: 14px;"> </span></span></li><br />
<br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;"><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: verdana,arial,helvetica,sans-serif; font-size: 14px;">Improved <a href="http://samy.pl/phpwn/">LCG entropy</a>. (Rasmus, Samy Kamkar)</span></span></li><br />
<br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;"><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: verdana,arial,helvetica,sans-serif; font-size: 14px;">Added a 3rd parameter to get_html_translation_table. It now takes a charset hint, like htmlentities et al.</span></span><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: verdana,arial,helvetica,sans-serif; font-size: 14px;"> </span></span></li><br />
<br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;"><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: verdana,arial,helvetica,sans-serif; font-size: 14px;">Methods with the same name as the last element of a namespaced class name will no longer be treated as constructor. This change doesn't affect non-namespaced classes.</span></span></li><br />
<br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;"><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: verdana,arial,helvetica,sans-serif; font-size: 14px;">Added ability to connect to HTTPS sites through proxy with basic authentication using stream_context/http/header/Proxy-Authorization.</span></span><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: verdana,arial,helvetica,sans-serif; font-size: 14px;"> </span></span></li><br />
<br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;"><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: verdana,arial,helvetica,sans-serif; font-size: 14px;">Added options to debug backtrace functions.</span></span></li><br />
<br />
<br />
<br />
<li style="list-style-type: square; padding-bottom: 3px; padding-top: 3px;"><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: verdana,arial,helvetica,sans-serif; font-size: 14px;">Fixed bug #54939 (File path injection vulnerability in RFC1867 File upload filename). Reported by Krzysztof Kotowicz. (CVE-2011-2202)</span></span><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: verdana,arial,helvetica,sans-serif; font-size: 14px;"> </span></span></li><br />
<br />
<br />
<br />
<br />
<br />
And more Key and Security Enhancements and Fixes.Àlex at Corretgé.comhttp://www.blogger.com/profile/14477634634701017491noreply@blogger.comtag:blogger.com,1999:blog-4594093783008410512.post-16958414266347616192011-08-15T19:13:00.001+02:002011-08-15T19:19:05.444+02:00baobab l'analitzador d'ocupació de disc gràficSi mai hem d'analitzar l'ocupació d'un disc, per a mostrar l'ocupació de les carpetes i subcarpetes, emprarem la comanda<br />
<code><br />
sudo du --max-depth=1 -x /<br />
</code><br />
Però si estem en un entorn gràfic, podem emprar la comanda baobab que fa el mateix que <a href="http://www.manpagez.com/man/1/du/">du</a>, però amb capacitat de drill-down i molt còmoda d'emprar, tenim l'aplicació <a href="http://live.gnome.org/GnomeUtils/Baobab">baobab</a>, que pertany al paquet <a href="http://live.gnome.org/GnomeUtils">gnome-utils</a>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUtyMAVbfBHPL2PyzefgjJy5iLRcJHa9F9JdiS5hr-tXsUroqd4LcMoB6DIW7IbRQ1ROX04UZP-PpPTuWZ3e8VvqLkVswX8uZs_w4Hn8ncwcqJKw74LSuGRxi3fSpwfrjHJaUCHWuo2Z4/s1600/Boababs.petit.princep.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em"><img border="0" height="400" width="318" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUtyMAVbfBHPL2PyzefgjJy5iLRcJHa9F9JdiS5hr-tXsUroqd4LcMoB6DIW7IbRQ1ROX04UZP-PpPTuWZ3e8VvqLkVswX8uZs_w4Hn8ncwcqJKw74LSuGRxi3fSpwfrjHJaUCHWuo2Z4/s400/Boababs.petit.princep.jpg" /></a></div><br />
Àlex at Corretgé.comhttp://www.blogger.com/profile/14477634634701017491noreply@blogger.com