jueves, 27 de diciembre de 2012

Ubuntu Server 12.04 64-bit with Zoneminder 1.25.0

En este Link hay una receta de cocina para Instalar Zoneminder 1.25.0
En Ubuntu Server 12.04 LTS (32 o 64)

Si necesita camaras IP puedo conseguir a muy buen precio..

http://www.zoneminder.com/wiki/index.php/Ubuntu_Server_12.04_64-bit_with_Zoneminder_1.25.0_the_easy_way

Change Default Zoneminder Events Directory

nano /etc/sysctl.conf


add
kernel.shmall = 134217728
kernel.shmmax = 134217728

rm /usr/share/zoneminder/events
rm /usr/share/zoneminder/images
rm /usr/share/zoneminder/temp

mkdir /zoneminder
mkdir /zoneminder/images
mkdir /zoneminder/events
mkdir /zoneminder/temp

ln -s /zoneminder/images /usr/share/zoneminder/images
ln -s /zoneminder/events /usr/share/zoneminder/events
ln -s /zoneminder/temp /usr/share/zoneminder/temp

chown www-data:www-data -R /zoneminder/

reboot

miércoles, 17 de octubre de 2012

IredMail POP3.IMAP.Connection.without.STARTTLS

Since iRedMail-0.8.0, all clients are forced to use IMAPS and POPS (via STARTTLS) for better security by default. If you want to enable POP3/IMAPS without STARTTLS, please update below two parameters in dovecot.conf and restart Dovecot service:

File: dovecot.conf
disable_plaintext_auth=no
ssl=yes

Again, it's strongly recommended to use only POP3S/IMAPS for better security.

lunes, 15 de octubre de 2012

Mikrotik Router Board and RouterOS

Instalacion  y Configuracion

http://www.scribd.com/doc/94118713/Fundamentos-Basicos-Del-Sistema-Mikrotik-Routeros

Ver Espacio utilizado Linux

If you want to list all the subdirectory sizes under /home, run the following command: 

# du -sh /home/*

martes, 18 de septiembre de 2012

Reset Root Password Linux Centos


Help! I forgot my root password. How do I log in now?
You can log in using single-user mode and create a new root password.
To enter single-user mode, reboot your computer. If you use the default boot loader, GRUB, you can enter single user mode by performing the following:
  1. At the boot loader menu, use the arrow keys to highlight the installation you want to edit and type [A] to enter into append mode.
  2. You are presented with a prompt that looks similar to the following:
    grub append> ro root=LABEL=/
    
  3. Press the Spacebar once to add a blank space, then add the word single to tell GRUB to boot into single-user Linux mode. The result should look like the following:
    ro root=LABEL=/ single
    
  4. Press [Enter] and GRUB will boot single-user Linux mode. After it finishes loading, you will be presented with a shell prompt similar to the following:
    sh-2.05b#
    
  5. You can now change the root password by typing
    passwd root
    
    You will be asked to re-type the password for verification. Once you are finished, the password will be changed. You can then reboot by typing reboot at the prompt; then you can log in to root as you normally would.

miércoles, 11 de julio de 2012

For the rate by min in Elastix Billing

For the rate by min in Elastix billing, do the following:

Go to /var/www/html/modules/billing_report
Edit index.php

Locate the following lines (249 and 260):

$charge=(($cdr[8]/60)*$datos_tarifa['rate'])+$datos_tarifa['offset'];
$charge=(($cdr[8]/60)*$rate)+$rate_offset;


And replace by:

$charge=(ceil($cdr[8]/60)*$datos_tarifa['rate'])+$datos_tarifa['offset'];
$charge=(ceil($cdr[8]/60)*$rate)+$rate_offset;