Linux processing USB Data-mount-tar.gz Software Installation-linux environment Software installation method

Source: Internet
Author: User
Tags gz file

1. USB stick inserted into Linux will generally have the following reflection

(1)/dev directory, more than one SDB disk.

Because: Currently there are two hard disks in the system, SDA is the original system disk. SDB is the inserted USB drive.

Where: SDB1 represents a partition of the SDBU disk.

(2) in the/dev/disk/hard drive directory, you can view all the hard drive identities in the current system through By-label.

Where file is the drive letter to insert the USB drive.

(3) With Fdisk you can see all the partitions that are currently plugged into the USB drive.

  

Through the above features, you can see the inserted USB stick can be recognized by the Linux system, but not into the inside of the U disk.

2. Mount the USB drive to the Linux system and manipulate the files to the Linux execution location

(1) New mount point directory

Mkdir/home/dmpoint

Create a new list of attached documents in the home directory

(2) Mount/dev/sdb1/home/dmpoint

Mount the disk directory of the USB drive to the new mount point

The test can be entered

(3) Copy the target directory to the specified location in Linux

Cp-r 06160236JMK/HOME/JC

-R must be replicated at the time of the directory replication

3. Installing the TAR.GZ Software

(1) tar.gz Soft Armor Introduction

the installation of the tar.gz file is the way to compile the source code yourself .
To say a word, tar is to make a file into a package, not compressed; GZ is a. tar file that is compressed with gzip, so it becomes a. tar.gz file.

If installed, unpack the package first, TAR-ZXVF xxx.tar.gz, which will generate a folder named after the file name. there will be some readme, install, Doc and so on some documents, read carefully, you can know this software installation need what special set what .

Enter the directory to view the Readme file or install file with detailed installation commands. The general installation steps are./configure Enter make enter make install enter make clean enter if configure does not pass, stating that your system environment does not meet the requirements, the software depends on the file is not installed, you need to follow the information to specific analysis.

(2) Compress the file and unzip a directory at the current location

TAR-ZXVF xxx.tar.gz

  

(2) Read the Readme file and install it

4. "Uninstall" The directory that is hung in the external disk directory

Umount mount point Directory location

Umount/home/dmpoint

Umount Device file name

Umount/dev/sdb1

Endl

Linux processing USB Data-mount-tar.gz Software Installation-linux environment Software installation method

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.