A veces es necesario dump un repositorio porque o bien cambias de hosting o quieres hacer un backup de tu svn.

Normalmente un dump se hace con svnadmin, pero si intentas hacerlo con un repositorio remoto, te encontrarás con el siguiente error.

svnadmin dump http://projectname.com/svn > repodumpsvnadmin: 'http://projectname.com/svn' is an URL when it should be a path

Pasos a seguir para solucionarlo

1. Crea un repositorio local

svnadmin create /repository

2. Añade un “pre-revprop-change” hook al repositorio local

echo > /repository/hook/pre-revprop-change.cmdecho '#!/bin/sh' > repository/hooks/pre-revprop-changechmod +x repository/hooks/pre-revprop-change

3. Sincroniza tu nuevo repositorio con el remoto

svnsync init file:////repository…

Feliz de escribir este post, ya que puedo decir que he finalizado la versión primera de mi proyecto personal tuuth.

Si conocéis o tenéis a algún familiar dentista, ya es hora de que le habléis de la clínica dental en la nube.

Más información aquí www.tuuth.com

Originally published at www.tizonsoft.net on May 20, 2018.


You want to connect to your server using OpenSSH in your terminal but every time you need to write down the password, how to avoid this?

Open your terminal in your current computer (let’s call it, L for local and user lu for local user) in on L as user lu and generate a pair of authentication keys.

lu@L:~> ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/lu/.ssh/id_rsa):
Created directory '/home/lu/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/lu/.ssh/id_rsa.
Your public key has been saved in /home/lu/.ssh/id_rsa.pub.
The…

Por fin puedo escribir, después de un año en la creación de la idea y desarrollo, que está lista la primera versión de tuuth, la aplicación web para dentistas.

Si conoces a algún dentista o clínica dental, no dudes en hablarle de tuuth.com

Originally published at www.tizonsoft.net on January 13, 2013.


Publicado en 12 diciembre 2014 por Tizon

CategoríasDiario Etiquetas3d, showreel, ycharlo

Originally published at www.tizonsoft.net on May 12, 2018.


SELECT table_schema "DB Name", Round(Sum(data_length + index_length) / 1024 / 1024, 1) "DB Size in MB" FROM information_schema.tables GROUP BY table_schema;

Originally published at www.tizonsoft.net on May 10, 2016.


Today I deployed a new idea, papiro

Papiro is a personal expenses tracker, without too many options, focus only to track expenses and show some graphs.

Sign up, it is free

www.papiro.in

Originally published at www.tizonsoft.net on February 26, 2015.


The new web app that I developed it is called trenopic.com

Trenopic is a trending topic archive. It saves every hour the top ten trending topics for eleven countries (at the moment)He creado una nueva aplicación web llamada trenopic.com

Es una simple web que almacena los trending topics cada hora de once países hasta el momento.

La misión de esta web, es tener un histórico de trending topics.

Originally published at www.tizonsoft.net on March 31, 2014.


Add A New User To A Group

Add a new user called tizon to a group called www-data, enter:

# useradd -G www-data -d /home/tizon -m tizon # passwd tizon

Where,

  • -G www-data : Add tizon to secondary group called www-data. This group must exists on the system.
  • -d /home/tizon : Path to the tizon’s home directory
  • -m : Create the new user’s home directory if it does not already exist.
  • tizon : Username / login name

UNIX Add Existing User To A Secondary Group

Use usermod command to modify a user’s login definition on the system including group membership. For, example add user tizon to owners group, enter:

# usermod -G owners tizon

Add…


1. Navigate to /root.

$ cd /root

2. Create a new file

$ vim mysql.sh

3. Insert the following lines to the file

#!/bin/bash /usr/bin/mysqladmin ping | grep 'mysqld is alive' > /dev/null 2>&1 if [ $? != 0 ] then /etc/init.d/mysqld stop /etc/init.d/mysqld start echo Starting at `date` fi

4. Give execute permission.

$ chmod 755  mysql.sh

5. Set a cron to check it at regular intervals, 5 min in this case

$ crontab -e */5 * * * * sh -x mysql.sh

6. Also give the command below to check the logs

$ touch /root/mysql.log

1. Ve al…

José Antonio Tizón

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store