/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
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.Common compression:[Email protected] test]# zip-r test.zip./*All files and folders under the
a while, after the decompression is complete, you will see this prompt:If you want to unzip all the files in a subfolder of a compressed folder, for example, if we want to unzip all the files in the subfolder under the compressed H:\ROM, we can switch the working directory to H:\ROM, the command is as follows:
CD/D H:\ROM
After the switch succeeds, you will see a string of words before the cu
This example describes the Python zip and unzip data methods. Share to everyone for your reference. The implementation method is as follows:
# Zipping and unzipping a string using the zlib module# a very large string could be zipped and saved to a file speeding U P File Writing time # and later reloaded and unzipped by another program speeding up reading of the file# tested with Pyth ON24 vegaseat 15aug2005import zlibstr1 = \ "" "Dallas Cowboys foo
From: http://www.ezloo.com/2008/01/linux_zip_unzip.html
The basic usage of the zip command is: Zip [parameter] [file 1] [file 2]
Simple Example:
Pack the testfile in this directory into the test.zip file: Zip test.zip test/*. If an absolute path is used in the file, it is also an absolute path in the compressed file. That is to say, if you zip test.zip/home/test/*, the level is also like this in the compressed file.
Parameter List:
-A converts a file to ASCII mode.
-F try to repair damaged compr
For linux command zip unzip, use zip to compress the file. at the shell prompt, enter the following command: Ghost indicates the file you created, and filesdir indicates that you want to place the new zip file...
For linux command zip unzip, use zip to compress the file. at the shell prompt, enter the following command: zip-r filename.zip filesdir www.2cto.com. In this example, filename.zip represents th
MongoDB client tool unzip vue cracked version attached baidu Network Disk address: pan. baidu. coms1w8OyU overall feeling is a bit similar to mysql-front, as shown below:
MongoDB client tool unzip vue cracked version attached Baidu Network Disk address: http://pan.baidu.com/s/1w8OyU overall feeling and mysql-front is a bit similar, as follows:
MongoDB client tool un
1.zip commandZip-r myfile.zip./*All files and folders under the current directory are compressed into myfile.zip files, and-R indicates that all files in the subdirectory are compressed recursively.2.unzip commandUnzip-o-d/home/sunny Myfile.zipUnzip the Myfile.zip file to/home/sunny/-O: Overwrite the file without prompting;-d:-d/home/sunny indicates that the file is extracted to the/home/sunny directory;3. Otherzip-d Myfile.zip Smart.txtTo delete a sm
Just started using JAR-XVF to decompress also error, suspect jar decompression command there is a problem. Then install the zip-related package to extract or error.Jar Decompression ErrorJAR-XVF Aix.ppc64_11gR2_database_1of2.zipInflated:database/stage/components/oracle.sysman.console.db/11.2.0.1.0/1/datafiles/filegroup4.jarjava.io.EOFException:Unexpected end of ZLIB input streamAt Java.util.zip.InflaterInputStream.fill (inflaterinputstream.java:241)At Java.util.zip.InflaterInputStream.read (infl
Linux decompression rar file (Unrar installation and use, sub-volume decompression)Windows platform A lot of compressed documents for RAR files, then how to do Linux decompression rar file (Unrar installation and use)?Simple, CENTOS5 installation Unrar can be. Unrar Installation methods are as follows:wget HTTP://DAG.WIEERS.COM/RPM/PACKAGES/UNRAR/UNRAR-3.6.8-1.EL5.RF.I386.RPM;RPM-UVH unrar-3.6.8-1.el5.rf.i386.rpm;Copy the above command and execute it under root.Basic Unrar Usage : unrar x-o--y c
In recent projects using Java to implement the Zip/unzip XML file functionality, Java comes with the API to facilitate the implementation of file compression and decompression, record the relevant code.
Zip source file to destination file with source file name
Public void Zip(file src, file dest) {InputStreaminch=NULL; Zipoutputstream zos=NULL;Try{Zos =NewZipoutputstream (NewFileOutputStream (dest)); ZipEntry ze=NewZipEntry (Src.getname
Linux under the unzip command Daquan. tarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gz and. tgzDecompression: Tar zxvf FileName.tar.gzCompression: Tar zcvf FileName.tar.gz DirName———————————————. bz2Decompression 1:bzip2-d filename.bz2Decompression 2:BUNZIP2 filename.b
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.