god!Originally I started to use the method, is the decompression under Windows, and then copied into the directory I created, so I lost a connection file (you can check it yourself)Therefore, this error occurs, and if the compressed package is copied first, there will be no loss of the soft connection file.Crossing do not believe, you can try it yourself, in the shared folder, unzip a compressed package and then copy to another directory, and then co
/mysql--datadir=/usr/local/mysql/data--user= Mysql
# Change Root password /usr/local/mysql/bin/mysqladmin-u root-p Password "123456" 3. Configure the Firewall # Configure the firewall to turn on port 3306 Vim/etc/sysconfig/iptables # Add the following rule to port 22 below this rule -A input-m state--state new-m tcp-p TCP--dport 3306-j ACCEPT # Restart Firewall /etc/init.d/iptables Restart # or service iptables restart # start MySQL Service mysqld Start # or/etc/init.d/mysqld start 4. Test if
Tags: command working folder compression test operating system Hang file Decompression = = =NOTE: * Compress into limited. zip format filesCommon decompression:[Email protected] test]# Unzip-o test.zip-d tmp/Unzip the compressed file Test.zip under the specified directory TMP , and require the unzip command to overwrite the original file if the same file exists.C
Zip is a widely used compression program, the file will be compressed after the additional ". zip" the compressed file for the extension. Parameters-A adjusts the executable auto-unzip file.-b-C adds a comment to each compressed file.-d deletes the specified file from within the compressed file.The directory name is not established within the-D compressed file.-F The effect of this parameter is similar to specifying the "-u" parameter, but not only up
Command name: zipFunction Description: Compress the file.Syntax:zip [-acddffghjjkllmoqrstuvvwxyz$][-b >][-ll][-n >][-t >][- >][Compressed Files [file ...] [-i >][-x ;] Note:zip is a widely used compression program that compresses files that have a ". zip" extension. Parameters-A adjusts the executable auto-unzip file.-b> Specifies the directory where files are temporarily stored. -C adds a comment to each compressed file.-d deletes the specifie
-O to set the latest change time for all files in the compressed file to the time of compression
-x specifies that you do not process which files in the. zip archive
-I only compress files that match the criteria
-F attempt to repair corrupted compressed file
-D does not establish directory names in compressed files
-A adjust the executable auto-unzip file
-j Delete executable file, leave a normal zip archive
Decompress the compressed file test.zip under the specified directory tmp. if the same file already exists, the unzip command must overwrite the original file. Unzip
Command name: zip
Function description: compress a file.
Syntax: zip [-AcdDfFghjJKlLmoqrSTuvVwXyz $] [-B
] [-Ll] [-n
] [-T
] [-
] [Shrink files] [files...] [-I
] [-X
]
Recently in the Boss System Cloud Platform deployment script, the tune-up found a problem in the shell script, the following recordsA place to indicate whether to overwrite[[email protected]test]# unzip/home/redis/test/main-d-1544-160316.zip-d/home/redis/test/staribossarchive:/home/redis/test/Main-d-1544-160316.zipreplace/home/redis/test/stariboss/dbpasswordencryption.bat? [Y]es, [N]o, [A]ll, [N]one, [r]ename: Query the
Example: compressing the contents of the current directory on the server as a xxx.zip fileZip-r xxx.zip./*Unzip the zip file to the current directoryUnzip Filename.zip============================Another: Some servers do not install the ZIP package does not execute the zip command, but basically can be used with the tar command, the example is as follows:tar-zcvf/home/zdzlibs.tar.gz/home/zdz/java/zdzlibs/============================Linux zip commandZip
Tags: UNIX HP-UX unzipWhen you first install the Oracle database on HP-UX, you will not be able to extract the Oracle DB Software media (*.zip format) uploaded to HP-UX because the executable program is not unzip.At this point, you can go to https://updates.oracle.com/unzips/unzips.html this URL to download HP-UX UNIZP media.Now the full text of this article is summarized below:UnZip Utilities DownloadPatches downloaded from Oracle is in the. zip format. To
The issue of unzip when installing oracle database software under hp-ux is hp-uxunzip.
When you first install the oracle database under hp-ux, you will encounter the Oracle database software medium (*. zip Format) cannot be decompressed, because there is no unzip executable program.
At this point, you can go to the https://updates.oracle.com/unzips/unzips.html URL to download the unizp media under hp-ux.
T
Install zip, unzip, g ++, and other software in linux.
Recently, the company has configured a new 64-bit ECs instance. during deployment, it found that the zip/unzip compression and decompression software was not installed.
So I had to install these two software on my own. The best way to use linux is yum. The two commands are installed.
First, list the software installation package:
# Yum list | grep zip/
During website migration, too many files in the website directory will consume a lot of time, so we need to use the compression and decompression commands, such as, I need to back up the/home/wwwroot folder, however, because wwwroot contains tens of thousands or even more files, you need to use the zip command to compress the wwwroot file and then transfer it:
CD/wwwroot
Zip-r wwwroot.zip wwwroot
OK ,the wwwrootfile is compressed into the wwwroot.zip format, which is uploaded an
background: still a friend, when invoking the unzip command with PHP, there is a problem with permission being rejected again.Notice: The problem described here is to execute PHP files using the PHP command line, so the process is the owner of the user who is logged in, not the Nginx user.Log in as root to set read and Execute permissions for MyUser's home directoryNotice:CD to a directory, you need to have Execute permissions on the directory, otherw
This class implements the reference PHP manual comment/** * Function: Unzip file in ZIP format * author:friker * date:2015-15-14 * reference:http://php.net/manual/zh/ref.zip.php * All Rights reserved:[emailprotected] */class unzip{public Function __construct () {//init code here ... Heade R ("Content-type:text/html;charset=utf8"); /*** unzip the file to the spe
Unzip
Tar
Common Decompression Commands: TAR-ZXVPF : Unzip TAR-ZCVPF: Compression # tar [-j|-z] [CV] [-F established file name ] filename ... Packaging and Compression # tar [-j|-z] [TV] [-F established file name ] View file name # tar [-j|-z] [XV] [-F established file name ] [-C directory ] Unzip Parameters: - Z : Through gzip the s
The unzip command is used to decompress compressed package syntax compressed by zipUnzip (parameters) (option)General usage Unzip aaa.zip-d homed/extract to home directory unzip-v aaa.zip View compressed file contents Unzip-t Aaa.zip Verify that compressed files are complete options-C: Display the extracted results to
series of compressed files to make a summary:1) for files ending in. tarTAR-XF All.tar2) for files ending in. gzGzip-d all.gzGunzip all.gz3) for files ending with. tgz or. tar.gzTar-xzf all.tar.gzTar-xzf all.tgz4) files ending with. bz2Bzip2-d all.bz2BUNZIP2 all.bz25) For tar.bz2 end of fileTAR-XJF all.tar.bz26) for. Z End of FileUncompress all. Z7) files ending with. tar.zTar-xzf All.tar.zIn addition, there are methods for extracting common compressed files under window, zip and. Rar,linux.1)
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.