Autor: Latinos.be

Comunidad latina en Bélgica

Liberar espacio en tu vps de ovh

Empiea por un df -h https://www.getpagespeed.com/server-setup/clear-disk-space-centos df -h yum clean all rm -rf /var/cache/yum/ rm -rf /var/tmp/yum-* package-cleanup –quiet –leaves –exclude-bin package-cleanup –oldkernels –count=2 rm -rf /root/.composer/cache rm -rf /home/*/.composer/cache https://www.cyberciti.biz/faq/remove-log-files-in-linux-unix-bsd/ >/var/log/messages https://documentation.cpanel.net/display/CKB/How+to+Clean+Unmanaged+Log+Files https://documentation.cpanel.net/display/CKB/The+cPanel+Log+Files /usr/local/cpanel/logs/access_log >/var/log/messages >/var/log/secure rm -rf /home/*/logs/* rm -rf /home/*/tmp/*

Como hacer un autoincremento conun trigger SQL

Si tenemos una tabla tipo: CREATE TABLE T_CLIENTES ( CLI_ID int(11) NOT NULL, CLI_NOMBRE char(32) COLLATE utf8_unicode_ci NOT NULL, CLI_APELLIDO varchar(25) COLLATE utf8_unicode_ci DEFAULT NULL, CLI_EMPRESA varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; INSERT INTO `T_CLIENTES` (`CLI_ID`, `CLI_NOMBRE`, `CLI_APELLIDO`, `CLI_EMPRESA`) VALUES (‘1’, ‘Rosa’, ‘Navas’, ‘Empresa ABC’), (‘2’,