- En la barra de direcciones de Firefox, introduce la siguiente dirección :
chrome://pippki/content/resetpassword.xul - Presiona la tecla Intro.
- Aparecerá la página "Restablecer la contraseña maestra". Haz clic en para restablecer tu contraseña maestra.
miércoles, 13 de abril de 2016
Restablece tu contraseña maestra si la has olvidado
jueves, 3 de diciembre de 2015
Sync time in a domain envirnment / sincronizar hora en una ambiente de dominio
1. Ejecutar "cmd" como administrador
2. Ejecutar "net time /domain:nombredeldominio /set"
3. Confirmar con S o Y dependiendo del idioma del SO
miércoles, 11 de noviembre de 2015
Cómo desactivar CHKDSK al inicio de Windows
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
- BootExecute
Lo que debemos hacer para desactivar CHKDSK en las unidades que queramos es añadir un parámetro entre el autochk y el asterisco. Por ejemplo, si queremos desactivar la comprobación para la unidad C: debemos modificar el contenido de esa entrada por:
- autocheck autochk /k:C *
- autocheck autochk /k:C /k:D /k:E *
- autocheck autochk *
jueves, 13 de agosto de 2015
¿Cómo puedo activar Java en el explorador web?
Si ha instalado recientemente Java, puede que necesite reiniciar su explorador (cierre todas las ventanas del explorador y vuelva a abrirlas) para que el explorador pueda reconocer la instalación. Asegúrese también de que el contenido Java del explorador se ha activado mediante el panel de control de Java.
Siga estas instrucciones para activar Java mediante el explorador web.
Internet Explorer
- Haga clic en Herramientas y, a continuación en Opciones de Internet
- Seleccione el separador Seguridad y pulse el botón Nivel personalizado
- Busque Automatización de los applets de Java
- Seleccione el botón de radio Habilitar
- Haga clic en Aceptar para guardar sus preferencias
Chrome
- Introduzca about:plugins en el campo de búsqueda.
- En la lista de complementos, busque Java y compruebe si Java está activado (si aparece el enlace Desactivar, significa que Java ya está activado)
- Haga clic en el enlace Activar (si está disponible)
- (Opcional) Active la casilla Siempre Permitido para detener las advertencias adicionales de Chrome al ejecutar contenido Java
Explorador Chrome versión 42 y posteriores. A partir de la versión 42 (abril 2015), Chrome ha desactivado el método estándar por el que los exploradores soportan plugins. Más información
Firefox
- Abra el explorador Firefox o reinícielo si ya se estaba ejecutando
- En el menú de Firefox, seleccione Herramientas y, a continuación, haga clic en la opción Complementos
- En la ventana Administrador de complementos, seleccione Complementos
- Haga clic en el plugin Java (TM) Platform (Windows) o en Java Applet Plug-in (Mac OS X) para seleccionarlo
- Compruebe que la opción seleccionada es Preguntar antes de activar o Activar siempre. En versiones antiguas de Firefox, haga clic en el botón Activar (si en el botón aparece Desactivar, Java ya está activado)
Safari
- Haga clic en Safari y seleccione Preferencias
- Seleccione la opción Seguridad
- Seleccione Permitir complementos y, a continuación, haga clic en Administrar configuración de sitio web
- Haga clic en el elemento Java, seleccione una opción (Preguntar, Permitir o Permitir siempre) de la lista desplegable Al visitar otros sitios web
- Haga clic en Listo y, a continuación, cierre la ventana de preferencias de Safari
Opera 4.x y posteriores
- Opera para Windows no utiliza Java, sino una versión de Java incorporada en el propio explorador.
- Es posible que Opera para otras plataformas sí que admita Java. Consulte la documentación de Opera correspondiente a su plataforma.
- Para obtener más información consulte el siguiente artículo referido a la compatibilidad con Opera:
Compatibilidad con el software de Java en Opera
viernes, 26 de junio de 2015
No se puede acceder a windows con ningun usuario
Hay solución. Esto quie te voy a contar es un hack descarado de Windows Vista/7, pero si Microsoft lo ha permitido... ellos sabrán.
1) Arrancas con el CD de Windows VIsta, Eliges Idioma, pinchas abajo a la izquierda, opcion reparar. Eliges el tipo de instalacion de Vista y Siguiente.
2) EN la lista que aparece, bajas abajo del todo y seleccionas "Consola".
3) Tecleas:
c:
cd \windows\system32
4) Renombras el fichero sethc.exe como sethc.old (por ejemplo) y copiar el cdm.exe como sethc.exe, es decir:
ren sethc.exe sethc.old
copy cmd.exe sethc.exe
NOTA: Esto se puede hacer con cualquier metodo de booteo donde se pueda acceder al disco duro donde esta instalado el Sistema Operativo y renombrar archivos (por ejemplo Ubuntu)
5) Ahora reinicias e intentas arrancar Vista desde el disco duro de modo normal.
6) En la pantalla de bienvenida pulsa 5 veces seguidas y rapido la tecla Shift (Mayusculas) -la que está justo encima de la tecla CTRL.
7) Te aparecerá una consola, en ella escribe:
control userpasswords2
8) Crea allí un nuevo usuario de tipo Administrador. Si no te apareciese en ese momento en la pantalla de bienvenida, reinicia y te aparecerá.
9) Entras con ese nuevo usuario y puedes hacer lo que quieras. Volver a situar la contrseña del usuario anterior tuyo o lo que sea.
10) Como paso final hay que dejar el fichero sethc.old guardado sobre el original, es decir, abres una consola (Solo simbolo del sistema) con pribvilegios (boton derecha sobre ella y "Usar como Administrador") y ejecuta:
cd \windows\system32
del sethc.exe
ren sethc.old sethc.exe
Y arreglado... :-P
Un saludo,
jueves, 4 de junio de 2015
Eliminar vurus .Trashes
Resolucion
En paralelo, borramos los accesos directos que están en la raíz (lo cual son los punteros al virus).
martes, 2 de junio de 2015
How To Set Up Master Slave Replication in MySQL
About MySQL replication
MySQL replication is a process that allows you to easily maintain multiple copies of a MySQL data by having them copied automatically from a master to a slave database. This can helpful for many reasons including facilating a backup for the data,a way to analyze it without using the main database, or simply as a means to scale out.This tutorial will cover a very simple example of mysql replication—one master will send information to a single slave. For the process to work you will need two IP addresses: one of the master server and and one of the slave.
This tutorial will use the following IP addresses:
12.34.56.789- Master Database
12.23.34.456- Slave Database
Setup
This article assumes that you have user with sudo privileges and have MySQL installed. If you do not have mysql, you can install it with this command:sudo apt-get install mysql-server mysql-client
Step One—Configure the Master Database
Open up the mysql configuration file on the master server.sudo nano /etc/mysql/my.cnfOnce inside that file, we need to make a few changes.
The first step is to find the next lines and comment them:
#skip-networking
#bind-address = 127.0.0.1
This is because we want that our MySql listen to all the IP addresses.
The next configuration change refers to the server-id, located in the [mysqld] section. You can choose any number for this spot (it may just be easier to start with 1), but the number must be unique and cannot match any other server-id in your replication group. I'm going to go ahead and call this one 1.
Make sure this line is uncommented.
server-id = 1Move on to the log_bin line. This is where the real details of the replication are kept. The slave is going to copy all of the changes that are registered in the log. For this step we simply need to uncomment the line that refers to log_bin:
log_bin = /var/log/mysql/mysql-bin.logFinally, we need to designate the database that will be replicated on the slave server. You can include more than one database by repeating this line for all of the databases you will need.
binlog_do_db = newdatabaseAfter you make all of the changes, go ahead and save and exit out of the configuration file.
Refresh MySQL.
sudo service mysql restart
or
/etc/init.d/mysql restart
The next steps will take place in the MySQL shell, itself.Open up the MySQL shell.
mysql -u root -pWe need to grant privileges to the slave. You can use this line to name your slave and set up their password. The command should be in this format:
GRANT REPLICATION SLAVE ON *.* TO 'slave_user'@'%' IDENTIFIED BY 'password';Follow up with:
FLUSH PRIVILEGES;The next part is a bit finicky. To accomplish the task you will need to open a new window or tab in addition to the one that you are already using a few steps down the line.
In your current tab switch to "newdatabase".
USE newdatabase;Following that, lock the database to prevent any new changes:
FLUSH TABLES WITH READ LOCK;Then type in:
SHOW MASTER STATUS;You will see a table that should look something like this:
mysql> SHOW MASTER STATUS;
+------------------+----------+--------------+------------------+
| File | Position | Binlog_Do_DB | Binlog_Ignore_DB |
+------------------+----------+--------------+------------------+
| mysql-bin.000001 | 107 | newdatabase | |
+------------------+----------+--------------+------------------+
1 row in set (0.00 sec)
This is the position from which the slave database will start replicating. Record these numbers, they will come in useful later.
Next run the quit; command to get the bash shell.
This is because If you make any new changes in the same window, the database will automatically unlock. For this reason, you should quit MySql command line or open a new tab or window and continue with the next steps there.
Proceeding the with the database still locked, export your database using mysqldump in the new window (make sure you are typing this command in the bash shell, not in MySQL).
mysqldump -u root -p --opt newdatabase > newdatabase.sqlNow, unlock the databases (making them writeable again). For that you must enter to the MySQL command line again. Finish up by exiting the shell (make sure you are typing this command in the MySQL, not in bash shell).
mysql -u root -p
Enter password:
UNLOCK TABLES;
QUIT;
Now you are all done with the configuration of the the master database.
Step Two—Configure the Slave Database
Once you have configured the master database. You can put it aside for a while, and we will now begin to configure the slave database.Log into your slave server, open up the MySQL shell and create the new database that you will be replicating from the master (then exit):
mysql -u root -p
Enter password:
CREATE DATABASE newdatabase;
EXIT;
Import the database that you previously exported from the master database.mysql -u root -p newdatabase < /path/to/newdatabase.sqlNow we need to configure the slave configuration in the same way as we did the master:
sudo nano /etc/mysql/my.cnfWe have to make sure that we have a few things set up in this configuration. The first is the server-id. This number, as mentioned before needs to be unique. Since it is set on the default (still 1), be sure to change it's something different.
server-id = 2Following that, make sure that your have the following three criteria appropriately filled out:
relay-log = /var/log/mysql/mysql-relay-bin.log
log_bin = /var/log/mysql/mysql-bin.log
binlog_do_db = newdatabaseYou will need to add in the relay-log line: it is not there by default. Once you have made all of the necessary changes, save and exit out of the slave configuration file.
Restart MySQL once again:
sudo service mysql restart
or
/etc/init.d/mysql restart
The next step is to enable the replication from within the MySQL shell.Open up the the MySQL shell once again and type in the following details, replacing the values to match your information:
mysql -u root -p
Enter password:
SLAVE STOP;
CHANGE MASTER TO MASTER_HOST='12.34.56.789',MASTER_USER='slave_user',
MASTER_PASSWORD='password', MASTER_LOG_FILE='mysql-bin.000001',
MASTER_LOG_POS=107;
This command accomplishes several things at the same time:
- It designates the current server as the slave of our master server.
- It provides the server the correct login credentials
- Last of all, it lets the slave server know where to start replicating from; the master log file and log position come from the numbers we wrote down previously.
Activate the slave server:
START SLAVE;You be able to see the details of the slave replication by typing in this command. The \G rearranges the text to make it more readable.
SHOW SLAVE STATUS\G quit;If there is an issue in connecting, you can try starting slave with a command to skip over it:
SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 1; SLAVE START;All done.
SOURCE:
http://www.linux-party.com/index.php/42-mysql/8627-como-replicar-una-de-base-de-datos-de-mysql-1-de-2#
https://www.digitalocean.com/community/tutorials/how-to-set-up-master-slave-replication-in-mysql
IF YOU WANT TO SYNC SEVERAL BDS IN STEAD OF ONE DO THE FOLLOWING
=============================
MASTER: add lines to my.cnf
=============================
binlog-do-db=database_name_1
binlog-do-db=database_name_2
binlog-do-db=database_name_3
=============================
MASTER: SQL SYNTAX
=============================
GRANT REPLICATION SLAVE ON *.* TO 'user'@'%' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
FLUSH TABLES WITH READ LOCK;
UNLOCK TABLES;
SHOW MASTER STATUS;
output> file | Position | Binlog_Do_DB
mysql-bin.000963 1570 database_name_1,database_name_2,database_name_3
=============================
SLAVE: add lines to my.cnf
=============================
replicate-do-db=database_name_1
replicate-do-db=database_name_2
replicate-do-db=database_name_3
=============================
SLAVE: SQL SYNTAX
=============================
SLAVE STOP;
CHANGE MASTER TO MASTER_HOST='192.168.0.2', MASTER_USER='user', MASTER_PASSWORD='password', MASTER_LOG_FILE='mysql-bin.000963', MASTER_LOG_POS=98;
START SLAVE;
SHOW SLAVE STATUS;
SOURCE:
http://forums.mysql.com/read.php?26,171776,205870
Cambiar tamaño de fuente al reducir la ventana (HTML / CSS)
Cambiar el tamaño del texto a medida que se reduce el tamaño de la ventana (HTML5 / CSS3) . container { border : solid 1px blue ; ...
-
Para solucionar este error " El servidor envió una respuesta pasiva con una dirección no enrutable. Usando en su lugar la dirección de...
-
Seguro que alguna vez has pensado que si por casualidad tuvieses un percance con tu ordenador y perdieses todos los correos que tienes en...
-
Para esconder la verdadera url en la barra de direcciones solo basta con agregar el siguiente código en nuestra página. Lo que está en roj...

