Maastricht, Volkenburg, Kerkrade y unos pasitos por Alemania…

30 de Septiembre de 2009

Ultimo día para usar los pasajes de libres de tren. Asique que mejor que ir lo mas lejos posible. La puntita Sud-este Holandesa, frontera con Bélgica y Alemania.

Muy lindos lugares, tambien con fortalezas, cañones, ruinas de castillos, pasajes angostos entre las casas en el centro antiguo y un antiguo puente construido por los romanos. La geografia cambia bastante y el terreno se vuelve un poco mas ondulado, logicamente mucho mas qeu el resto del pais que es practicamente plano.

Aprovechando la cercanía con Alemania, me hice una caminata de menos de media hora para cruzar la frontera y comprar unas galletitas alemanas bañadas en chocolate. Tambien pude probar una zarzamora silvestre de un arbusto al costado del camino… Dejaremos Alemania para la próxima después de París!

Photo album that used Adobe Flash (Picasa). Flash and Picasa no longer exist.

Posted in Holanda | Leave a comment

How to install ZoneMinder on Raspberry PI 1 or 2 with Raspbian 8.1 (Jessy) 64 bit

A special Thanks to “Felixr” and “BBunge” from which I took the initial FAQ.

Prereq before starting:

  • SD card created with raspbian Jessie 64bit
  • filesystem is extended.
  • the systems boots in console mode with autologin disabled (X is disabled)

Log in as pi

pi  (followed by your root password)

sudo to root

sudo su

Configure your network and Set static IP address

 nano /etc/network/interfaces

Make changes similar to this:

auto eth0
 
#allow-hotplug eth0 (make sure this is commented or you will get 2 ip's)
iface eth0 inet static
  address 192.168.1.10
  netmask 255.255.255.0
  gateway 192.168.1.1
  dns-nameservers 192.168.1.1

Update Raspbian Sources

apt-get update

Check to be sure everything is up to date for the raspbian distribution

apt-get upgrade
apt-get dist-upgrade

Add the Debian Jessie backports

nano /etc/apt/sources.list

add to the top of the list:

deb http://http.debian.net/debian jessie-backports main

Ctrl+o Enter to save CTRL+x to exit

add priority to this repository

nano /etc/apt/preferences.d/zoneminder

add to the file:

Package: *
Pin: origin http.debian.net
Pin-Priority: 1100

Ctrl+o Enter to save CTRL+x to exit

Update Sources

apt-get update

you will get a GPG error message like this:

W: GPG error: http://http.debian.net jessie-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553    NO_PUBKEY 7638D0442B90D010

Fix this as following:

gpg --keyserver pgpkeys.mit.edu --recv-key  8B48AD6246925553
gpg -a --export 8B48AD6246925553 | sudo apt-key add -
gpg --keyserver pgpkeys.mit.edu --recv-key  7638D0442B90D010
gpg -a --export 7638D0442B90D010 | sudo apt-key add -

Update Sources again (now should go fine)

apt-get update

Package ‘tar’ (tar (1.29b-1~bpo8+1)) seems to be broken. exclude tar from upgrade

aptitude hold tar

Check to be sure everything is up to date for the raspbian distribution

apt-get upgrade
apt-get dist-upgrade

Install PHP, and MySQL server (This installs MySQL server 5.5. If you want to use MySQL 5.6 follow the instructions Install MySQL 5.6 on Debian Jessie (using mariadb also works fine, as tested on Debian 8.2, replacement package for mysql-server is then mariadb-server)

apt-get install  php5 mysql-server php-pear php5-mysql

Install Zoneminder

apt-get install zoneminder

You may need to install “extra” VLC components (I will check this and edit as needed)

apt-get install libvlc-dev libvlccore-dev vlc

Create Zoneminder database in MySQL (Note: this also creates the default Zoneminder user and permissions in MySQL)

This next step creates a file which contained the MySQL user and password. Otherwise you will have to enter the user and password on the command line which is not secure!

Go to the root directory

cd ~

Create a hidden password file

nano .my.cnf

Enter this content (but use your MySQL root password!)

[client]
user=root
password=(mysqlpass)

Ctrl+o Enter to save

CTRL+x to exit

Create database (press ENTER after each command)

mysql < /usr/share/zoneminder/db/zm_create.sql 
mysql -e "grant select,insert,update,delete,create on zm.* to 'zmuser'@localhost identified by 'zmpass';"

Remove password file

rm .my.cnf

Set permissions of /etc/zm/zm.conf to root:www-data 740

chmod 740 /etc/zm/zm.conf

chown root:www-data /etc/zm/zm.conf

create link for apache (paths can differ) ———-  Skipped this to get it to work…0———-

 

ln -s /etc/zm/apache.conf /etc/apache2/conf-enabled/zoneminder.conf

Enable Zoneminder service to start at boot

systemctl enable zoneminder.service

Add www-data to the sudo group (to enable use of local video devices)

adduser www-data video

Start Zoneminder

systemctl start zoneminder.service

Check to see that Zoneminder is running

systemctl status zoneminder.service

Enable CGI and Zoneminder configuration in Apache.

a2enmod cgi

a2enconf zoneminder

Restart Apache

service apache2 restart

 

      • You may be tempted to try Zoneminder at this point but there is one setting you will need to change from the web gui. Read on!!!

Optional: Install Cambozola (needed if you use Internet Explorer)

cd /usr/src && wget http://www.andywilcock.com/code/cambozola/cambozola-latest.tar.gz
tar -xzvf cambozola-latest.tar.gz
replace 936 with cambozola version downloaded
cp cambozola-0.936/dist/cambozola.jar /usr/share/zoneminder

Kernel shared memory settings:

Set shared memory for 512MB RPi board: 1) 128MB shhmax shared:

 sudo su -
 echo "kernel.shmmax = 134217728" >> /etc/sysctl.conf
 exit

2) 2MB shmall pages:

sudo su -
echo "kernel.shmall = 2097152" >> /etc/sysctl.conf
exit

Set PHPs Default Timezone

sudo nano /etc/php5/apache2/php.ini

ctrl+w to search, and type

date.timezone

Remove the initial ‘;’ and enter your timezone from the list at http://php.net/manual/en/timezones.php

The line should look something like

date.timezone = Europe/London

ctrl + x

‘y’ to save and exit

Restart Apache

service apache2 restart

You should now be able to access the web server using http://servername

Open Zoneminder in web browser

http://serverip/zm

Click Options

Uncheck: Check with zoneminder.com for updated versions (?) click Save

Click Images tab

Check Is the (optional) cambozola java streaming client installed (?) Click Save

Click Paths

Change PATH_ZMS from /cgi-bin/nph-zms to /zm/cgi-bin/nph-zms Click Save

Optional: under Paths change PATH_SWAP to /dev/shm (puts this process in RAM drive) Click Save

Restart Zoneminder

Your Zoneminder install is now ready to add cameras!

Posted in IT | Leave a comment

Friesland – Groningen, Sept 2009

Aprovenchando pasajes de tren libres, me fuí para el norte de Holanda. Haciendo escala en Leeuwarden tomé un trencito que va hasta un puerto pesquero llamado Harlingen. Harlingen es ademas puerto de salida de los ferrys a las islas Vlieland y Terschelling donde muchos Holandeses se van de camping en vacaciones. Tambien por alli se pueden observar lobos marinos aunque yo no pude ir a verlos.
El camino al norte para mi fue un poco mas de lo mismo sin dejar de ser pintoresco, vacas, ovejas, campo y molinos. Las ciudades de Leeuwarden, Harlingen y Groningen (en el orden que las visite) tambien son bastante antiguas y tienen fortalezas o defensas y hasta una torre torcida! Italianos, que se creen con la torre de Pisa!?

Photo album that used Adobe Flash (Picasa). Flash and Picasa no longer exist.

Posted in Holanda | Leave a comment

Rotterdam – septiembre 2009

Habiendo estado varias veces en Rotterdam, no me había dado una buena vuelta. Agarre la bici y me fui por ahí. El puerto de Rotterdam es uno de los mas grandes del mundo y el mas importante de Europa. Dando unas vueltas pude ver varias curiosidades y hasta una exposicion al aire libre de todo tipo de navíos y algo de tecnología portuaria en acción. http://www.wereldhavendagen.nl/index_eng.htm

Tambien para los fanáticos de Jackie Chan, aquí se filmó la película “Who am I?” en la que Jackie se desliza por los vidrios de un edifio y hasta lucha en el patio central de las casas cubicas. Tambien hay un “Walk of Fame” donde lógicamente Jackie dejó su firma.

En el museo del puerto, que incluye el puerto original, se pueden ver numerosos barcos de todas las épocas, bueno, por lo menos muy antiguos hay.

También en Rotterdam encontramos el Erasmusbrug, un puente bastante grande e importante y el Euromast. De ambos hay muuuchas referencias en internet y solo voy a poner un par de fotitos…

Photo album that used Adobe Flash (Picasa). Flash and Picasa no longer exist.

Posted in Holanda | Leave a comment

Los 31 con amigos por holanda!

Aprovechando su paseo por Europa, Nico y Andres R. se dieron una vueltita por Holanda para visitarme. Para pasar el 26 nos subimos a la bici para dar una linda vueltita por Holanda que sumó unos 52kms. Por el camino marcado en naranja en el mapa pudieron (y pude) conocer muchas mas de que Holanda que el tipico paseo por Amsterdam. Así pudimos salir de Hilversum entre los caserones camino a s’graveland, cruzar el bosque, los lagos de Loosdrecht para llegar a Weesp viendo los molinos y el pueblo, seguir hasta Muiden viendo el castillo Muiderslot y volver por la costa del Gooimeer para pasar por la fortaleza de Naarden y el bosque Spanderswoud. Asi vimos un poco de todo lo que hay por aqui.
El martes paseo por Amsterdam porque sino… Almuerzo en la plaza y caminata siguiendo la ruta de los guias turisticos que generalmente lo tienen armado como para meter un poco de todo lo que hay que ver. Mas abajo, mapa y fotos que hablan por si solas!

Eso si, no dejamos de comer Brootje Kroket con patat, stroopwaffels y speculaas!

Ver Paseos Rumbolls en bici en un mapa más grande

Photo album / video that used Adobe Flash (Picasa / cold-link.com). Flash and these services no longer exist.

Posted in Holanda | Leave a comment

Dune du Pyle, Arcachon – Francia

104 metros de altura, 2,7 kilometros de largo, 500 metros de ancho formada por 60 millones de m3 de arena. Se formo por vientos del oeste durante el siglo XVIII y es la mas grande de europa. Desde arriba se puede ver un gran bosque de pinos, la peninsula del cabo Ferret y los bancos de arena Arguin.

Salimos el 11 de julio de Holanda con Elbert en el auto llegando a un camping oscuro a las 11 de la noche luego de unos 1100 kms. Una vez ubicados… a armar la carpa y dormir. A la mañana siguiente pudimos descubrir a 100 metros la gran duna. 3 o 4 veces mas alta que los arboles! Es increible…

Lo primero que hicimos fue subir a la duna para ver que se veía y como era la playa. Luego de subir, tratando de retomar el aire pudimos ver el oceano atlantico y todo lo descripto antes. Claro eran como 250 escalones…. 5 a 10 minutos de escalada y si se hacia por la arena era casi imposible porque cada paso patinaba 40 cms para abajo. Bajamos hasta el mar y vimos que no habia nadie ahí haciendo “playa”.  La playa estaba un poquito mas al sur, bastante bien organizada. Estacionamiento en el bosque.. bien grande y gratis, algun barcito, kiosko, y en la playa juegos gratis como beach volley, handball y arco y flecha.  Las que molestaron fueron las agua vivas, una tarde nadie se podia meter al agua por la cantidad qeu habia y los guardavidas no dejaban entrar.

Yendo para el lado del pueblo de arcachon encontramos distintas playas, un barrio que nos hizo recordar a tigre por las casas grandes y cercos largos, los barquitos y veleros anclados en la playa muy cerca de la gente y gaviotines pescando tambien entre la gente.

Algunas fotos… y si se hace “zoom out” sobre el mapa se puede ver el camino desde Holanda…

Photo album / video that used Adobe Flash (Picasa / cold-link.com). Flash and these services no longer exist.


Ver Camino a la Playa! en un mapa más grande

Posted in Francia | Leave a comment