In the CentOS system, the software installation program is quite complex, but the most common are two kinds:
1) One is the source code of the software, you need to build it yourself. This software installation package is typically a tar package
Download the installation package: https://dev.mysql.com/downloads/First prepare the mysql5.7.17 installation package, and install the package in the/data/software directoryGo to the/usr/local directory and unzip the MySQL installation
Let's take a look at an example:
1.compress all. txt files under the current directory and archive them to the this.tar.gz file. We can use
Tar zcvf this.tar.gz./*. txt2.decompress the files in this.tar.gz under the current directory to the current
Install the latest version of Mysql5.6 in the tar package under Centos6.41. Download
Mysql: http://www.mysql.com/downloads/ (ORACLE account to be registered)
Version: mysql-advanced-5.6.21-linux-glibc2.5-x86_64.tar.gz
Linux: centos6.4 x642.
Install the latest version of Mysql5.6 and centos6.4mysql5.6 in the tar package under Centos6.4.1. Download
Mysql: http://www.mysql.com/downloads/ (ORACLE account to be registered)
Version: mysql-advanced-5.6.21-linux-glibc2.5-x86_64.tar.gz
Linux:
1. Install the dependency package first (the dependency package is a bit more, we use the Yum Way to install)Yum-y install zlib zlib-devel OpenSSL openssl-devel pcre pcre-devel2. Upload the nginx-1.7.6.tar.gz to/usr/local/3. Rename the package name
Tar package in Linux specify path fileWww.111cn.net Editor: Yahoo Source: ReprintIn the Linux system to package and extract files I can use the tar command to solve, as long as the use of different parameters can achieve different needs, the
The first is compression:Tar-czvp-f skype_backup.tar.gz Skype_backupSegmentation:Split-b 4000k skype_backup.tar.gz skype_backup_20090626.tar.gz. –verboseIf the above two sentences are merged into one sentence:Tar-czvp-f–skype_backup |split-b
Reprint Please specify source:http://blog.csdn.net/guoyjoe/article/details/44836547First, on the basis of the source installation: I hit a tar package:Cd/u01/myss06Tar cvzf My3306.tar.Second, close the firewallChkconfig iptables offService Iptables
One, zip compressionInstall Zip and unzip firstYum Install-y Zip/unzipzip 1.txt.zip 1.txtCompressed file 1.txt, compressed filename is called 1.txt.zip zip -r 123.zip 123/Compressed folder 123/specified name 123.zip unzip 1.txt.zipThe zip file
PackagedThe list of files to be packaged is put into c_list.txt, and if it is a database file, you can use show tables; commands to list the table names.#!/bin/bash# Bulk Package for I in ' cat c_list.txt ' do tar-jcvf $i. tar.bz2 $i. frm $i. MYD $i.
Unzip a file today, come out a lot of this:/bin/tar:ignoring Unknown Extended header keyword ' Schily.dev '/bin/tar:ignoring Unknown Extended header keyword ' Schily.ino '/bin/tar:ignoring Unknown Extended header keyword ' schily.nlink 'Check the
Tar packaging compression and decompression use1.tar Compression Package/root/desktop the entire directory and put the packaged files into the/root/backup directory [[email protected] ~]# tar-czvf/root/backup/ Desktop.tar.gz
This article describes the programs that are compressed under Linux, such as tar, gzip, gunzip, bzip2, bunzip2, compress, uncompress, zip, unzip, RAR, Unrar, and how to use them for. Tar,. GZ,. tar.gz,. tgz,. bz2,. tar.bz2,. Z. Tar. Z,. zip,. rar 10
I. Problem description there is a demand now, and I don't know how to achieve compression: Tar czvf/Data/backup/test.tar.gz/data/a/B/Directory decompression: CD/Data/Test tar xzvf/Data/backup/Test.tar.gz: The decompressed file
From: http://bbs.chinaunix.net/viewthread.php? Tid = 609471
To understand the differences between tarball and rpm, let's start with the generation of software.
To put it simply, today's computer is able to operate because it handles 0 and 1, but the
There is a requirement that doesn't know how to implement it.
Compression: tar czvf/data/backup/test.tar.gz/data/a/B/directory
Decompress: cd/data/test
Tar xzvf/data/backup/test.tar.gz
The problem is that the decompressed file is
To reduce the amount of space occupied by log files, in many cases we package the log files in days or weeks as tar.gz packages. While this is a good space to take advantage of, it is inconvenient when we want to look at the contents of a compressed
Tar
Tar is a very extensive document packaging format used in Linux. The advantage is that it consumes very little CPU and time to package files, but it is just a packaging tool and is not responsible for compression. Here's how to package a
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.