Entradas

Configurar samba smb en entronos RedHat / centos version 7.X 8.X ... 2020

  What is Samba To provide printer and file sharing, Microsoft Windows uses a facility known as  SMB (Server Message Block) . This same facility is sometimes known as  NetBIOS  or  LanManager . Thanks to Andrew Tridgell and others, Linux systems provide support for SMB via a package known as Samba. Like SMB, Samba lets you: Share printers and files among Microsoft Windows, OS/2, Netware, and Unix systems Establish a simple nameserver for identifying systems on your local area network Backup PC files to a Linux system and restore them Administer users and passwords Samba has proven its reliability and high performance in many organizations.Samba software suite on Enterprise Linux is a collection of programs that implements the Server Message Block (commonly abbreviated as SMB) protocol for UNIX systems. Installing Samba In Enterprise Linux system, install below packages to get started with Samba. You can download/install these packages from yum server using the “yum install” command. sa

Entrar a una shell ssh en nuestro terminal android usando la red de datos celular, 3G, 4G,5G

 Si queremos conectar a nuestro smartphone por 4G, usando ssh: -Instalamos Termius desde google play -Instalamos userland desde google play:   *Instalar Ubuntu desde lista de S.O, una vez instalado no iniciar sesion vnc   *Agregar sesion ssh (segunda pesta a de userland)   *conectar por ssh a debian:      *sudo su      *apt update && apt upgrade      * apt install wget -Dejamos el binario arm64 en http://bitcoinshell.mooo.com/users/usuario/ o hacemos wget al binario arm64 en downloads ngrok.com -Descomprimimos ngrok:  $tar xpvfz ngrok_arm64xxxxx.tgz -Hay que pedir el authtoken en ngrok.com y ejecutamos este comando en Termux, android,  Este comando salva el authtoken en un fichero ngrok.yml  $./ngrok authtoken ToKenQueNosHaDadoNgRoK -Ya podemos ejecutar ngrok para usar el tunnel, por ejemplo para conexion ssh (tiene que ser el puerto 22 para que ngrok redireccione al puerto ssh de localhost):  $./ngrok tcp 22 -Ya podemos entrar con ssh, en windows por putty y en linux (user es

Particion vmware vcenter al 100% llena porque el fichero audit.log no ha sido rotado

  /dev/sda3 - root partition 100% full due to Audit.log files not being rotated in vCenter Server Appliance (2149278) Last Updated:  22/4/2020 Categories:  Troubleshooting   38 Language:                   Chinese (Simplified) English                             subscribe   Symptoms 100% capacity used for  /dev/sda3 . Size of  audit.log  file is very large and  /var/log/audit  folder consumes majority of the space. Saved logs from log rotate policy reference a date that is not in line with the policy. Unable to connect to the vCenter Server as services are not started. Running  /etc/cron.daily/logrotate  manually rotates logs as expected. Accessing vSphere Web Client might fail with error:  503 service unavailable   Purpose This article provides steps to reduce the  audit.log  size.   Resolution To resolve this issue, truncate the  audit.log  file and verify the cron job is working correctly.   Truncate audit.log Log in to the vCenter Server Appliance through SSH. Run this command to en

Incrementar el espacio de disco en vmwarre vcenter vsphere 6.0

  Increasing the disk space for the VMware vCenter Server Appliance in vSphere 6.0 (2126276) Last Updated:  8/10/2019 Categories:  How to   17 Language:                   Chinese (Simplified) Japanese English                             subscribe   Purpose This article provides steps to increase the disk space of a specific VMDK for the vCenter Server Appliance 6.x. With the introduction of Logical Volume Management (LVM) in vSphere 6.0, you are now able to dynamically increase the disk size of the vCenter Server disks.   List of VMDKs for a vCenter Server Appliance 6.0 - Size Mount point and Purpose   Resolution To increase the disk capacity for a specific VMDK on the vCenter Server Appliance 6.0 Note : This KB article is not applicable for increasing the size of the root ( / ) partition as the root partition is not LVM, we cannot modify the size of root ( / )   Log in to the vCenter Server Appliance using SSH and root credentials. Run this command to enable the Bash shell: shell.set