Resolucion
En paralelo, borramos los accesos directos que están en la raíz (lo cual son los punteros al virus).
sudo apt-get install mysql-server mysql-client
sudo nano /etc/mysql/my.cnfOnce inside that file, we need to make a few changes.
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.
sudo service mysql restart
or
/etc/init.d/mysql restart
The next steps will take place in the MySQL shell, itself.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.
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.
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:
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.
sudo service mysql restart
or
/etc/init.d/mysql restart
The next step is to enable the replication from within the MySQL shell.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:
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.
For 32-bit DEB-systems you need the teamviewer_i386.deb package.
For 64-bit DEB-systems without Multiarch you need the teamviewer_amd64.deb package. Please see note on Multiarch below.
For installing TeamViewer, we recommend using the graphical installer.
If you prefer to use the command line or if there is no graphical installer available you can use either one of these commands as an administrator:
For the 32-bit package:
dpkg -i teamviewer_linux.debFor the 64-bit package:
dpkg -i teamviewer_linux_x64.debIn case "dpkg" indicates missing dependencies, complete the installation by executing the following command:
apt-get install -fCuando hablamos de agregar usuarios de manera masiva a AD no solo hablamos de una manera, por lo menos conozco tres, una es importando un archivo CSV con los datos de los usuarios, con unos comandos en PowerShell y a través de la consola CMD, que es la que prefiero porque algunas veces PowerShell la suele complicar.
El comando que vamos a usar es dsadd user pero no solo eso, tenemos que agregarle los atributos, como por ejemplo,
dsadd user cn=nacho,cn=users,dc=techdays,dc=local -disabled no -pwd Maradona10 -mustchpwd yes
Y acá vamos a desmenuzar esto para que se entienda.
– dsadd user: es el comando
– cn=Nacho: es el usuario
– ou=users: es el grupo al que va a pertener el usuario.
– dc=techdays: es el dominio
– dc=local: también es parte del dominio. Acá también puede ir .com si nuestro dominio es así.
– -disabled no: quiere decir que la cuenta esta habilitada
– -pwd Maradona10: Es el password que vamos a ponerle por defecto a todos los usuarios que agreguemos.
– mustchpwd yes: Significa que el usuario tiene que cambiar el password en el siguiente Login
Esto es lo básico para crear la cuenta, basta con cargarlo en un .bat y correrlo desde el CMD, obviamente siempre cambiando el dato del usuario y también recuerden que la contraseña debe cumplir con los requisitos de seguridad de W2k8 que son por lo menos 8 caracteres, una mayúscula y por lo menos un número. Si están pensando en ponerle cualquiera, total, después se va cambiar, déjenme decirles que cometen un error, si no cumplen con eso, la cuenta se va a crear deshabilitada y después van a tener que habilitar una por una.
Para usar las opciones específicas de un idioma en los programas de versión de 2007 Office, en primer lugar deberá asegurarse de que el idioma deseado está instalado en el equipo. Si necesita un paquete de idioma para un idioma concreto, consulte Comprar, instalar, configurar o desinstalar un paquete de idioma de Microsoft Office 2007. A continuación, deberá habilitar el idioma deseado. Las opciones específicas de idioma que se activan dependen de los idiomas que están habilitados y de los programas que usa. También es posible que sea necesario cambiar el idioma del teclado. Para ello, consulte Habilitar distribuciones del teclado para distintos idiomas.
Haga clic en Inicio, Todos los programas, Microsoft Office, Herramientas de Microsoft Office y, a continuación, en Configuración de idioma de Microsoft Office 2007.
Haga clic en la ficha Idiomas de edición.
Seleccione el idioma que desea habilitar en la lista Idiomas de edición disponibles y, a continuación, haga clic en Agregar.
El idioma se agrega a la lista Idiomas de edición habilitados y se activan todas las opciones específicas del idioma disponibles en versión de 2007 Office. Para obtener más información acerca de los idiomas con soporte limitado, consulte Comprender el concepto de soporte limitado.
Nota Si habilita la distribución del teclado para un idioma de Microsoft Windows, el idioma se agrega automáticamente a la lista Idiomas de edición habilitados.
Cambiar el tamaño del texto a medida que se reduce el tamaño de la ventana (HTML5 / CSS3) . container { border : solid 1px blue ; ...