Ir al contenido principal

Montar USB en Linux

Para instalar memoria USB en Linux se realiza de la siguiente forma

How To Mount USB flash drive from Command Line
Mounting a USB flash drive in GNOME (or another Linux desktop environment) is as easy as plug and play. Yet, occasionally, you need to mount one on a server which does not run X, then you must know how to do it on the command line.
Become root.$ sudo -s

Plug in USB drive to a USB port.

Identify the correct partition name corresponding to the USB drive.
For my Debian system, it is sda, and partition

1.$ dmesg grep -i 'SCSI device'...
SCSI device sda: 3903488 512-byte hdwr sectors (1999 MB)
Alternatively,
$ grep SCSI /var/log/messages...Dec 1 11:52:26 tiger kernel: SCSI device sda: 3903488 512-byte hdwr sectors (1999 MB)
Mount the partition to an existing mount point (directory).
$ mkdir -p /mnt/myusb
$ mount -t vfat -o rw,users /dev/sda1 /mnt/myusb
users give non-root users the ability to unmount the drive.
You can verify the drive is indeed mounted as follows:
$ mount
You should see a line in the output that looks like:
/dev/sda1 on /mnt/myusb type vfat (rw,noexec,nosuid,nodev)
To retrieve the USB drive:
You must unmount the partition before physically unplugging the USB device.
$ umount /mnt/myusb
You can run the mount command again (with no argument) to verify that the volume is indeed mounted.
Unplug USB drive.

Comentarios

Entradas populares de este blog

Configurar Shorewall en CENTOS y Debian

Tomado de  http://www.com-sl.org/staticpages/index.php?page=config-shorewall-2da-parte Como   configurar un Firewall con Shorewall en dos Interfaces de Red con políticas DROP en CentOS y Debian . Autor:  Henry D. Rosado T. Correo electrónico:  bleycklinx@gmail.com Otros Datos:   Clic Aqui En este tutorial indicare como se configura un Firewall con Shorewall con políticas DROP en dos interfaces de red para CentOS y para Debian. Shorewall Shorewall  (Shoreline Firewall) es una robusta y extensible  herramienta de alto nivel para la configuración de muros cortafuego .  Shorewall  solo necesita se le proporcionen algunos datos en algunos ficheros de texto simple y éste creará las reglas de cortafuegos correspondientes a través de  iptables .  Shorewall  puede permitir utilizar un sistema como muro cortafuegos dedicado, sistema de múltiples funciones como  puerta de enlace, dispositivo de encaminamiento y servidor . Shorewall no solo le permite configurar un firewall seguro,  poderoso y rob...

Seguridad de Servicios de Internet Information Server 6.0

Seguridad de Servicios de Internet Information Server 6.0 En esta página Introducción Antes de comenzar Reducción del ámbito de ataque en el servidor Web Configuración de cuentas Configuración de seguridad para archivos y directorios Seguridad en sitios Web y directorios virtuales Configuración del nivel de sockets seguro (Secure Sockets Layer, SSL) en el servidor Web Introducción Los servidores Web son objetivo frecuente de distintos tipos de ataques de seguridad. Algunos de estos ataques son lo suficientemente graves como para causar daños importantes en factores como activos empresariales, productividad o relaciones con el cliente; todos ellos son inoportunos y resultan frustrantes. La seguridad de los servidores Web es fundamental para el éxito de su empresa. En este documento se analiza cómo comenzar el proceso de seguridad de un servidor Web que ejecuta Servicios de Internet Information Server (IIS) 6.0 con el sistema operativo Microsoft...

Instalacion Moodle en debian 4.0 R6

Tomado de http://docs.moodle.org/en/Debian_GNU/Linux_installation Debian GNU/Linux installation From MoodleDocs Jump to: navigation , search Contents[ hide ] 1 Installing Moodle as a Debian package 1.1 Using apt-get, aptitude or Synaptic 1.2 Manual download 2 Installing moodle from .tgz(.tar.gz) or .zip file 2.1 Step 1: Install required packages 2.2 Step 2: Download moodle 2.3 Step 3: Unpack file 2.4 Step 4: Start web and database servers 2.5 Step 5: Finally install 3 Installing Moodle from CVS 3.1 Install php, MySQL and other needed components 3.2 Setup MySQL Database 3.3 Get Moodle from CVS 3.4 Create a data directory and set Moodle directory permissions 3.5 Change Apache to use Moodle as the web site 3.6 Setup Moodle 3.7 Install cron 3.8 Other recommended settings 3.9 Updating from CVS if (window.showTocToggle) { var tocShowText = "show"; var tocHideText = "hide"; showTocToggle(); } Installing Moodle as a Debian package Using apt-get, aptitude or Synaptic Make su...