Mostrando entradas con la etiqueta Fedora 28. Mostrar todas las entradas
Mostrando entradas con la etiqueta Fedora 28. Mostrar todas las entradas

abril 26, 2019

dnf error Fedora 28


El error en Fedora 28 al realizar un dnf update fue el siguiente:

Traceback (most recent call last):
File "/usr/bin/dnf", line 58, in main.user_main(sys.argv[1:], exit_code=True) 
File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 179, in user_main errcode = main(args) 
File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 64, in main return _main(base, args, cli_class, option_parser_class) 
File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 99, in _main return cli_run(cli, base) 
File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 123, in cli_run ret = resolving(cli, base) 
File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 146, in resolving base.resolve(cli.demands.allow_erasing) 
File "/usr/lib/python3.7/site-packages/dnf/base.py", line 759, in resolve self._transaction = self._goal2transaction(goal) 
File "/usr/lib/python3.7/site-packages/dnf/base.py", line 656, in _goal2transaction ts.add_install(pkg, obs, reason) 
File "/usr/lib/python3.7/site-packages/dnf/db/group.py", line 256, in add_install ti_new = self.new(new, libdnf.transaction.TransactionItemAction_INSTALL, reason) 
File "/usr/lib/python3.7/site-packages/dnf/db/group.py", line 219, in new rpm_item = self._pkg_to_swdb_rpm_item(pkg) 
File "/usr/lib/python3.7/site-packages/dnf/db/group.py", line 210, in _pkg_to_swdb_rpm_item rpm_item = self.history.swdb.createRPMItem() 
File "/usr/lib/python3.7/site-packages/dnf/db/history.py", line 291, in swdb self._swdb = libdnf.transaction.Swdb(self.dbpath) 
File "/usr/lib64/python3.7/site-packages/libdnf/transaction.py", line 729, in __init__ this = _transaction.new_Swdb(*args) RuntimeError: Exec failed: no such table: main.trans_cmdline

El error me ocurrió al usar el comando siguiente:


# dnf update plexmediaserver-1.15.4.993-bb4a2cb6c.x86_64.rpm

Lo pude resolver quitando los repositorios de Plex que tenía instalados en yum.repos.d haciendo lo siguiente:

# cd /etc/yum.repos.d/

# rm plex.repo*

Sin embargo otros intentos pudieran servir en tu caso:

# dnf clean
# dnf update
# mv /var/lib/dnf/history /var/tmp/
# dnf clean all
# yum install python3-dnf.noarch --best --allowerasing
# yum reinstall python3-dnf
# dnf update python3
# dnf clean metadata

Si te sirvió da clic en la propaganda o deja un comentario.





agosto 23, 2018

¿Cómo quitar disco duro de forma segura en Linux?

En una terminal.

Invoca un "df -h" para ver cuáles son los puntos de montaje de tu sistema. Te saldrá algo así:


/dev/sdb1 917G 662G 209G 77% /Respaldo
/dev/sda5 379G 92G 268G 26% /home
/dev/sda1 477M 66M 386M 15% /boot
/dev/sda6 379G 15G 345G 4% /var


Fíjate en la primera columna, tu disco duro tendría que aparecer como "/dev/sdb1" o algo así (fíjate en la capacidad de la segunda columna).

$sudo umount /dev/sdb1

donde /dev/sdb1 es tu dispositivo USB y arreglado.

o

$su -c "umount /dev/sdb1"

Fuente: https://www.genbeta.com/respuestas/como-quitar-disco-duro-de-forma-segura-en-linux

agosto 22, 2018

Instalar MySQL 8.0/5.7 en Fedora 31/30/29/28/27, CentOS/RHEL 7.5/6.9 y Red Hat (RHEL) 7.5/6.9



Instalar MySQL 8.0/5.7 en Fedora 31/30/29/28/27, CentOS/RHEL 7.5/6.9


Guía para instalar MariaDB 10.2/10.1/10.3

MySQL es un Sistema Manejador de Bases de Datos  Relacionales - Relational Database Management System (RDBMS) que corre como un servidor dando acceso multiusuario y a  varias bases de datos.

Con esta guía ser instalará o actualizará MySQL Community Server a su última versión 5.7 (5.7.22) / 8.0 (8.0.11)  en Fedora 31/30/29/28/27, CentOS/RHEL 7.5/6.9

Esta guía trabaja con Oracle Linux y Scientific Linux tambíen.

Importante: Si estás actualizando MySQL (desde una versión anterior), entonces asegurate que tengas los respaldos y copias de tu base de datos y de la configuración. Recuerda correl el comando mysql_upgrade

Instalar MySQL Database 5.7.22/8.0.11 on Fedora 31/30/29/28/27/26, CentOS 7.5/6.9, Red Hat (RHEL) 7.5/6.9

1. Cambiate al usuario root

su -
## OR ##
sudo -i

2. Instala los repositorios YUM de MySQL

Fedora

## Fedora 31 ##
dnf install https://dev.mysql.com/get/mysql80-community-release-fc31-1.noarch.rpm

## Fedora 30 ##
dnf install https://dev.mysql.com/get/mysql80-community-release-fc30-1.noarch.rpm

## Fedora 29 ##
dnf install https://dev.mysql.com/get/mysql80-community-release-fc29-1.noarch.rpm

## Fedora 28 ##
dnf install https://dev.mysql.com/get/mysql80-community-release-fc28-1.noarch.rpm

## Fedora 27 ##
dnf install https://dev.mysql.com/get/mysql80-community-release-fc27-1.noarch.rpm

## Fedora 26 ##
dnf install https://dev.mysql.com/get/mysql80-community-release-fc26-1.noarch.rpm

CentOS and Red Hat (RHEL)

## CentOS 7 and Red Hat (RHEL) 7 ##
yum localinstall https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm

## CentOS 6 and Red Hat (RHEL) 6 ##
yum localinstall https://dev.mysql.com/get/mysql80-community-release-el6-1.noarch.rpm

3a. Actualiza o instala MySQL 8.0.11

Fedora 31/30/29/28/27/26

dnf install mysql-community-server

o

dnf update mysql-community-server

CentOS 7.5/6.9 and Red Hat (RHEL) 7.5/6.9

yum install mysql-community-server

o

yum update mysql-community-server


3b. Actualiza o instala MySQL 5.7.22

Fedora 31/30/29/28/27/26

dnf --disablerepo=mysql80-community --enablerepo=mysql57-community install mysql-community-server

CentOS 7.5/6.9 and Red Hat (RHEL) 7.5/6.9

yum --disablerepo=mysql80-community --enablerepo=mysql57-community install mysql-community-server

4. Arranca MySQL server y realizar ejecución automática de MySQL al bootear

Fedora 31/30/29/28/27/26 and CentOS 7.5 and Red Hat (RHEL) 7.5

systemctl start mysqld.service ## use restart after update

systemctl enable mysqld.service

CentOS 6.9 and Red Hat (RHEL) 6.9

/etc/init.d/mysql start ## use restart after update
## OR ##
service mysql start ## use restart after update

chkconfig --levels 235 mysqld on

5. Generar un password aleatorio para root

grep 'Un password temporal es generado para root@localhost' /var/log/mysqld.log |tail -1

Example Output:


2015-11-20T21:11:44.229891Z 1 [Note] Un password temporal es generado para root@localhost: -et)QoL4MLid

And root password is: -et)QoL4MLid


6. Instalación segura de MySQL

  • Change root password
  • Remove anonymous users
  • Disallow root login remotely
  • Remove test database and access to it
  • Reload privilege tables

Empezar una instalación segura para MySQL con el siguiente comando:

/usr/bin/mysql_secure_installation

Salida:

Securing the MySQL server deployment.

Enter password for user root: 

The existing password for the user account root has expired. Please set a new password.

New password: 

Re-enter new password: 

VALIDATE PASSWORD PLUGIN can be used to test passwords
and improve security. It checks the strength of password
and allows the users to set only those passwords which are
secure enough. Would you like to setup VALIDATE PASSWORD plugin?

Press y|Y for Yes, any other key for No: y

There are three levels of password validation policy:

LOW    Length >= 8
MEDIUM Length >= 8, numeric, mixed case, and special characters
STRONG Length >= 8, numeric, mixed case, special characters and dictionary                  file

Please enter 0 = LOW, 1 = MEDIUM and 2 = STRONG: 0
Using existing password for root.

Estimated strength of the password: 100 
Change the password for root ? ((Press y|Y for Yes, any other key for No) : y

New password: 

Re-enter new password: 

Estimated strength of the password: 50 
Do you wish to continue with the password provided?(Press y|Y for Yes, any other key for No) : y
By default, a MySQL installation has an anonymous user,
allowing anyone to log into MySQL without having to have
a user account created for them. This is intended only for
testing, and to make the installation go a bit smoother.
You should remove them before moving into a production
environment.

Remove anonymous users? (Press y|Y for Yes, any other key for No) : y
Success.


Normally, root should only be allowed to connect from
'localhost'. This ensures that someone cannot guess at
the root password from the network.

Disallow root login remotely? (Press y|Y for Yes, any other key for No) : y
Success.

By default, MySQL comes with a database named 'test' that
anyone can access. This is also intended only for testing,
and should be removed before moving into a production
environment.


Remove test database and access to it? (Press y|Y for Yes, any other key for No) : y
 - Dropping test database...
Success.

 - Removing privileges on test database...
Success.

Reloading the privilege tables will ensure that all changes
made so far will take effect immediately.

Reload privilege tables now? (Press y|Y for Yes, any other key for No) : y
Success.

All done! 

Importante: Sin no quieres, por alguna razón , realizar la instalación Segura de MySQL, entonces, por lo menos, es importante cambiar el password de root con los siguientes comandos

mysqladmin -u root password [your_password_here]

## Example ##
mysqladmin -u root password myownsecrectpass

7. Conectar al Sistema Manejador de bases de datos MySQL mediante (localhost) pidiendo un password para acceder

mysql -u root -p

## OR ##
mysql -h localhost -u root -p

8. Crear una base de datos en MySQL y permitir una conexión a la base de datos creada

El siguiente ejemplo usa los siguientes parametros:
  • DB_NAME = webdb
  • USER_NAME = webdb_user
  • REMOTE_IP = 10.0.15.25
  • PASSWORD = password123
  • PERMISSIONS = ALL
## CREATE DATABASE ##
mysql> CREATE DATABASE webdb;

## CREATE USER ##
mysql> CREATE USER 'webdb_user'@'10.0.15.25' IDENTIFIED BY 'password123';

## GRANT PERMISSIONS ##
mysql> GRANT ALL ON webdb.* TO 'webdb_user'@'10.0.15.25';

##  FLUSH PRIVILEGES, Tell the server to reload the grant tables  ##
mysql> FLUSH PRIVILEGES;

Enable Remote Connection to MariaDB Server –> Open MySQL Port (3306) on Iptables Firewall (as root user again)


1. Fedora 31/30/29/28/27/26 and CentOS/Red Hat (RHEL) 7.5

1.1 Agregar una regla nueva al Firewalld

firewall-cmd --permanent --zone=public --add-service=mysql

## OR ##

firewall-cmd --permanent --zone=public --add-port=3306/tcp

1.2 Resetear el servicio firewalld.service

systemctl restart firewalld.service

2. CentOS/Red Hat (RHEL) 6.9

2.1 Editar el archivo /etc/sysconfig/iptables :

nano -w /etc/sysconfig/iptables

2.2 Agregar el siguiente regla INPUT:

-A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT

2.3 Restart Iptables Firewall:

service iptables restart
## OR ##
/etc/init.d/iptables restart


3. Test remote connection

mysql -h 10.0.15.25 -u myusername -p


Fuente: https://www.if-not-true-then-false.com/2010/install-mysql-on-fedora-centos-red-hat-rhel/



agosto 14, 2018

Listar tablas y bases de datos en Postgresql


Este artículo explica brevemente cómo listar bases de datos (lo que equivale a ejecutar show databases en MySQL) y tablas (show tables en MySQL) en Postgres, ejecutando consultas desde línea de comandos con la herramienta psql. La primera limitación que se encuentra un usuario de MySQL al interactuar por primera vez con un gestor de bases de datos Postgres.



A pesar de que existen herramientas gráficas, como pgAdmin, es necesario conocer cómo se realizan las tareas desde línea de comandos para estar preparado para cuando las papas queman.
La herramienta psql provee una terminal interactiva contra servidores de bases de datos PostgreSQL. Es posible utilizarla de forma local (ejecutar psql directamente en la consola del servidor de bases de datos), o contra un servidor remoto especificando el host y puerto mediante los parámetros -h y -p:
root@dbserver42:~# psql -U postgres
psql (9.3.3)
Type "help" for help.

postgres=#
Para listar las bases de datos de un servidor Postgres (luego de conectarse al mismo) ejecutar el comando \l:
postgres=# \l
                                     List of databases
   Name    |  Owner   | Encoding |   Collate   |    Ctype    |      Access privileges
-----------+----------+----------+-------------+-------------+-----------------------------
 prueba    | postgres | UTF8     | es_AR.UTF-8 | es_AR.UTF-8 | postgres=CTc/postgres      +
           |          |          |             |             | rol_prueba=Tc/postgres     +
           |          |          |             |             | rol_readonly=Tc/postgres
 postgres  | postgres | UTF8     | es_AR.UTF-8 | es_AR.UTF-8 |
 template0 | postgres | UTF8     | es_AR.UTF-8 | es_AR.UTF-8 | =c/postgres                +
           |          |          |             |             | postgres=CTc/postgres
 template1 | postgres | UTF8     | es_AR.UTF-8 | es_AR.UTF-8 | postgres=CTc/postgres      +
           |          |          |             |             | =c/postgres
(4 rows)

postgres=#
Luego, para cerrar la terminal psql, ejecutar el comando \q:
postgres=# \q
root@dbserver42:~#
También es posible listar las bases de datos ejecutando directamente el comando psql -l en la terminal bash:
root@dbserver42:~# psql -U postgres -l
                                     List of databases
   Name    |  Owner   | Encoding |   Collate   |    Ctype    |      Access privileges
-----------+----------+----------+-------------+-------------+-----------------------------
 prueba    | postgres | UTF8     | es_AR.UTF-8 | es_AR.UTF-8 | postgres=CTc/postgres      +
           |          |          |             |             | rol_prueba=Tc/postgres     +
           |          |          |             |             | rol_readonly=Tc/postgres
 postgres  | postgres | UTF8     | es_AR.UTF-8 | es_AR.UTF-8 |
 template0 | postgres | UTF8     | es_AR.UTF-8 | es_AR.UTF-8 | =c/postgres                +
           |          |          |             |             | postgres=CTc/postgres
 template1 | postgres | UTF8     | es_AR.UTF-8 | es_AR.UTF-8 | postgres=CTc/postgres      +
           |          |          |             |             | =c/postgres
(4 rows)

En el listado se observan 4 bases de datos, de las cuales 3 son bases de datos de sistema (no se deben eliminar). Cada vez que se crea una base de datos con el comando CREATE DATABASE, en realidad se está copiando una base de datos existente (por defecto el modelo estándar de bases de datos "template1"). Entonces, la base de datos "template1" es una plantilla desde la cual se construyen nuevas bases de datos. Si se agregan objetos a esta base de datos, serán copiados en bases de datos subsecuentes cada vez que se utilice el comando CREATE DATABASE. El segundo modelo estándar de bases de datos "template0" contiene los mismos datos que posee inicialmente "template1", es decir los objetos estándar predefinidos por la versión de PostgreSQL. Nunca deben realizarse modificaciones sobre "template0". La tercera base de datos de sistema, "postgres", funciona como base de datos por defecto para gestionar conexiones al servidor de bases de datos por parte de usuarios y aplicaciones. Se crea cuando se inicia un cluster de bases de datos y es una simple copia de "template1". Puede eliminarse (drop) y recrearse si es necesario. Para mayor información ver la documentación oficial de PostgreSQL: 21.3. Template Databases.



Para listar tablas de una base de datos Postgres existe el comando \dt. Conectarse a la base de datos especificando su nombre con el parámetro -d, y luego ejecutar el comando \dt. Por ejemplo el listado de tablas de una base de datos de un sistema Moodle:
root@dbserver42:~# psql -U postgres -d moodle
psql (9.3.3)                                                           
Type "help" for help.                                                  

moodle=# \dt
                      List of relations
 Schema |               Name               | Type  |  Owner
--------+----------------------------------+-------+----------
 public | mdl_assign                       | table | postgres
 public | mdl_assign_grades                | table | postgres
 public | mdl_assign_plugin_config         | table | postgres
 public | mdl_assign_submission            | table | postgres
 public | mdl_assign_user_flags            | table | postgres
 public | mdl_assign_user_mapping          | table | postgres
 public | mdl_assignfeedback_comments      | table | postgres
 public | mdl_assignfeedback_file          | table | postgres
 public | mdl_assignment                   | table | postgres
 public | mdl_assignment_submissions       | table | postgres
 public | mdl_assignsubmission_file        | table | postgres
 public | mdl_assignsubmission_onlinetext  | table | postgres
 public | mdl_backup_controllers           | table | postgres
 public | mdl_backup_courses               | table | postgres
 public | mdl_backup_files_template        | table | postgres
 public | mdl_backup_ids_template          | table | postgres
 public | mdl_backup_logs                  | table | postgres
 public | mdl_badge                        | table | postgres
 public | mdl_badge_backpack               | table | postgres
 public | mdl_badge_criteria               | table | postgres
 public | mdl_badge_criteria_met           | table | postgres
--Más--
Manual de PostgreSQL 9.3: PostgreSQL 9.3.4 Documentation

Fuente: https://www.linuxito.com/programacion/337-como-listar-tablas-y-bases-de-datos-en-postgres

Montar partición formateada en sistema de archivos ext4 en Linux

Mounting an ext4 File System

An ext4 file system can be mounted with no extra options, same as any other file system:
~]# mount block_device /mount/point
The default mount options are optimal for most users. Options, such as acl, noacl, data, quota, noquota, user_xattr, nouser_xattr, and many others that were already used with the ext2 and ext3 file systems, are backward compatible and have the same usage and functionality. Also, with the ext4 file system, several new ext4-specific mount options have been added, for example:
barrier / nobarrier
By default, ext4 uses write barriers to ensure file system integrity even when power is lost to a device with write caches enabled. For devices without write caches, or with battery-backed write caches, you disable barriers using the nobarrier option:
~]# mount -o nobarrier block_device /mount/point
stripe=value
This option allows you to specify the number of file system blocks allocated for a single file operation. For RAID5 this number should be equal the RAID chunk size multiplied by the number of disks.
journal_ioprio=value
This option allows you to set priority of I/O operations submitted during a commit operation. The option can have a value from 7 to 0 (0 is the highest priority), and is set to 3 by default, which is slightly higher priority than the default I/O priority.
Default mount options can be also set in the file system superblock using the tune4fs utility. For example, the following command sets the file system on the /dev/mapper/VolGroup00-LogVol02 device to be mounted by default with debugging disabled and user-specified extended attributes and Posix access control lists enabled:
~]# tune4fs -o ^debug,user_xattr,acl /dev/mapper/VolGroup00-LogVol02
For more information on this topic, refer to the tune4fs(8) manual page.
An ext3 file system can also be mounted as ext4 without changing the format, allowing it to be mounted as ext3 again in the future. To do so, run the following command on a block device that contains an ext3 file system:
~]# mount -t ext4 block_device /mount/point
Doing so will only allow the ext3 file system to use ext4-specific features that do not require a file format conversion. These features include delayed allocation and multi-block allocation, and exclude features such as extent mapping.
Warning
Using the ext4 driver to mount an ext3 file system has not been fully tested on Red Hat Enterprise Linux 5. Therefore, this action is not supported because Red Hat cannot guarantee consistent performance and predictable behavior for ext3 file systems in this way.
For more information on mount options for the ext4 file system, see Section 2.2.2, “Specifying the Mount Options” and the mount(8) manual page.
Note
If you want to enable persistent mounting of the file system, remember to update the /etc/fstab file accordingly. For example:
/dev/mapper/VolGroup00-LogVol02    /test    ext4    defaults    0 0

Fuente: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/deployment_guide/s1-filesystem-ext4-mount

agosto 06, 2018

Establecer la conexión de red en Fedora 28

Initial Settings : Network Settings
2018/05/07
[1] Set static IP address to the server. ( Replace the section [ens3] to your own interface name )
# set hostname

[root@localhost ~]#
hostnamectl set-hostname dlp.srv.world
# display devices

[root@localhost ~]#
nmcli device

DEVICE  TYPE      STATE      CONNECTION
ens3    ethernet  connected  ens3
lo      loopback  unmanaged  --

# set IPv4 address

[root@localhost ~]#
nmcli connection mod ens3 ipv4.addresses 10.0.0.30/24

# set default gateway

[root@localhost ~]#
nmcli connection mod ens3 ipv4.gateway 10.0.0.1

# set DNS

[root@localhost ~]#
nmcli connection mod ens3 ipv4.dns 10.0.0.1

# set manual for static setting (it's [auto] for DHCP)

[root@localhost ~]#
nmcli connection mod ens3 ipv4.method manual

# restart the interface and reload the settings

[root@localhost ~]#
nmcli connection down ens3; nmcli connection up ens3

Connection 'ens3' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/1)
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/2)
# show settings

[root@localhost ~]#
nmcli device show ens3

GENERAL.DEVICE:                         ens3
GENERAL.TYPE:                           ethernet
GENERAL.HWADDR:                         52:54:00:1F:F9:3F
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.CONNECTION:                     ens3
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveC
WIRED-PROPERTIES.CARRIER:               on
IP4.ADDRESS[1]:                         10.0.0.30/24
IP4.GATEWAY:                            10.0.0.1
IP4.ROUTE[1]:                           dst = 10.0.0.0/24, nh = 0.0.0.0, mt = 1
IP4.ROUTE[2]:                           dst = 0.0.0.0/0, nh = 10.0.0.1, mt = 100
IP4.DNS[1]:                             10.0.0.1
IP6.ADDRESS[1]:                         fe80::5054:ff:fe1f:f93f/64
IP6.GATEWAY:                            --
IP6.ROUTE[1]:                           dst = ff00::/8, nh = ::, mt = 256, tabl
IP6.ROUTE[2]:                           dst = fe80::/64, nh = ::, mt = 256
IP6.ROUTE[3]:                           dst = fe80::/64, nh = ::, mt = 100

# show state

[root@localhost ~]#
ip addr show

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 52:54:00:1f:f9:3f brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.30/24 brd 10.0.0.255 scope global noprefixroute ens3
       valid_lft forever preferred_lft forever
    inet6 fe80::5054:ff:fe1f:f93f/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
[2] Disable IPv6 like follows if you do not need it.

[root@localhost ~]#
vi /etc/default/grub
# line 7: add

GRUB_CMDLINE_LINUX="
ipv6.disable=1
resume=/dev/mapper/fedora-swap.....
# apply changes

[root@localhost ~]#
grub2-mkconfig -o /boot/grub2/grub.cfg

[root@localhost ~]#

Fuente: https://www.server-world.info/en/note?os=Fedora_28&p=initial_conf&f=3

¿Cómo poner el conteo de las filas en una consulta en MySql?

 ¿Cómo poner el conteo de las filas en una consulta en MySql? SELECT  @rownum := @rownum + 1 AS contador,  /*Contador*/ t.*  /* nombre d...