Archivo del Autor: carlosap

Yum Groupinstall

irst you can see all the yum groups available with the command: yum grouplist You can install X and Gnome or KDE like this: yum groupinstall «X Window System» «GNOME Desktop Environment» or yum groupinstall «X Window System» «KDE (K Desktop Environment)» You may also want to add some other groups from the list like… Leer más: Yum Groupinstall »

How to disable IPv6 on RHEL/CentOS 4

There’s a myth on the web surrounding the method on how to disable IPv6 under RHEL/CentOS 4 Adding “NETWORKING_IPV6=no” to /etc/sysconfig/network DOES NOT work If you want to disable IPv6, the only true working trick is : echo «alias net-pf-10 off» >> /etc/modprobe.conf

Erastótenes

Astrónomo, Historiador, Filósofo, Matemático. Era el bibliotecario de la biblioteca de Alejandría. Wiki Los secretos de la evolución son tiempo y muerte.Tiempo para acumular mutaciones favorables.Carl Sagan La tierra tiene unos 4,500 millones de añosGas y polvos estelares la formaron.  

Strings

Concatenar strings $str1 = “hola “;$str2 = “que tal “;$str3= “como estas?”; $str4 = $str1.$str2.$str3; Strings CharsSe pueden reemplazar los caracteres:$str1 = «0123456789″;$str1[2]=»x«; Cambiar a mayusculas y minúsculas:strtoupper();strtolower(); Capitaliza la primera letra:ucfirst(); Capitaliza todas las letras:ucwords();ASCII chr(32) = spacechr(65) = A ord(“A”) = 65;   Tags: strings

unset()

unset() Syntax:    void unset(mixed var [, mixed var, …])var    Variable to unset. Unsets a variable. unset() destroys one or more variables and deallocates the memory associated with them. Code: <?php $a = «Some data»; unset($a); if (!isset($a)) {    print «\$a is no longer available»; } ?> Output: $a is no longer available

Introducción a PHP

¿ Que es PHP ? Scripting / Programming Language (“C – Like”) FREE and Open Source Fast, Open, Stable, Cross Platform! No compilation! PHP is all about “Community”    

Windows Setup VPN

ESCENARIO : CLIENTE VPN : WINXP , IP = 192.168.1.53 obtenida por DHCP del ROUTER SERVIDOR : WIN 2003 SERVER en VMWARE WS , IP = 192.168.1.35 dada por DHCP del ROUTER Instalé el servidor de VPN normalmente y me funciono pero sin tocar absolutamente nada dejó de funcionar dándome el error 733 . Después… Leer más: Windows Setup VPN »

Images MouseOver

 <script language=»javascript»>   //Images MouseOver  function imageMouseOver(){  document.supercomputadora.src=»images/scomputer.jpg»; }function imageMouseOut(){  document.supercomputadora.src=»images/scomputergris.jpg»; }   </script> </head> <body><a href=»#» onmouseover=»javascript:imageMouseOver()» onmouseout=»javascript:imageMouseOut()»<img src=»images/scomputergris.jpg» name=»supercomputadora» /></a> </body> Tags: mouseover, mouseout