Thursday, December 19, 2013

Recompilar Gimp optimizado para AMD-FX8120

Primero: bajar fuentes y dependencias

$ apt-get update
$ apt-get build-dep gmic gimp (...)
$ apt-build --noupdate source gmic gimp (...)

Build de cada paquete:

1) Accedemos a directorio creado por 'apt-build':

$ cd /var/cache/apt-build/[NOMBRE-DE-PAQUETE]

2) Build:

$ env DEB_CFLAGS_APPEND="-O2 -march=bdver1 -mprefer-avx128 -pipe" dpkg-buildpackage -uc -us -j8

*** Procedimiento para Gimp ***

1) compilar e instalar babl
2) compilar e instalar gegl
 - a veces no aparecia "-march=bdver1"
3) compilar e instalar gimp
4) compilar e instalar gmic
5) compilar e instalar gimp-plugin-registry
- no compila

Saturday, December 14, 2013

Friday, October 11, 2013

Thursday, October 10, 2013

Postfix

Para usar 1.2.3.4 como "smart host":

$ vim /etc/postfix/main.cf

relayhost = [1.2.3.4]

(probado en CentOS 6.4)

Wednesday, August 14, 2013

Wednesday, August 7, 2013

Friday, August 2, 2013

Saturday, July 20, 2013

Friday, July 5, 2013

Certificados SSL con Apache

1. Crear clave privada

$ openssl genrsa -des3 -out private.key 2048

Para evitar la encriptación:

$ openssl genrsa -des3 -out private.key 2048

2. Crear CSR

$ openssl req -new -sha1 -key private.key -out certisur-sha1.csr

Tuesday, June 25, 2013

smartctl p/SAS


# smartctl -d scsi -H /dev/sda
smartctl 5.43 2012-06-30 r3573 [x86_64-linux-2.6.32-358.6.2.el6.x86_64] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

SMART Health Status: OK

# smartctl -d scsi --all /dev/sda
smartctl 5.43 2012-06-30 r3573 [x86_64-linux-2.6.32-358.6.2.el6.x86_64] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

Vendor:               SEAGATE 
Product:              ST914603SSUN146G
Revision:             0B70
User Capacity:        146.810.536.448 bytes [146 GB]
Logical block size:   512 bytes
Logical Unit id:      0xzzzzzzzzzzzzzzzz
Serial number:        xxxxxxxxxxxx        xxxxxxxx
Device type:          disk
Transport protocol:   SAS
Local Time is:        Tue Jun 25 15:55:41 2013 ART
Device supports SMART and is Enabled
Temperature Warning Enabled
SMART Health Status: OK

Current Drive Temperature:     28 C
Drive Trip Temperature:        68 C
Manufactured in week 14 of year 2011
Specified cycle count over device lifetime:  10000
Accumulated start-stop cycles:  36
Elements in grown defect list: 0
Vendor (Seagate) cache information
  Blocks sent to initiator = 3525719670
  Blocks received from initiator = 2628710377
  Blocks read from cache and sent to initiator = 948581501
  Number of read and write commands whose size <= segment size = 333091422
  Number of read and write commands whose size > segment size = 6
Vendor (Seagate/Hitachi) factory information
  number of hours powered up = 10638,62
  number of minutes until next internal SMART test = 58

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:   757040161        0         0  757040161   757040161      17189,741           0
write:         0        0         0         0          0       3592,824           0

Non-medium error count:       18
No self-tests have been logged
Long (extended) Self Test duration: 3600 seconds [60,0 minutes]

Tuesday, June 18, 2013

Icinga

/etc/apt/sources.list para Ubuntus viejos

https://help.ubuntu.com/community/EOLUpgrades#Requirements



## EOL upgrade sources.list
# Required
deb http://old-releases.ubuntu.com/ubuntu/ CODENAME main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-security main restricted universe multiverse

# Optional
#deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-backports main restricted universe multiverse

Tuesday, June 11, 2013

Monday, April 29, 2013

Thursday, March 7, 2013

VMPlayer 5.0.1: Failed to load OpenSSL libraries

ERROR:
  • SSLLoadSharedLibraries: Failed to load OpenSSL libraries. libdir is /usr/lib/vmware

FIX:

$ sudo vmware-installer --install-component=vmware-tools-windows-8.4.6-385536.i386.component

Tuesday, March 5, 2013

Wednesday, February 27, 2013

VirtualBox @ Ubuntu 12.10

VirtualBox @ Ubuntu 12.10

Eye-Fi

Snort

 Instalación y configuración de Snort.