In the development and debugging process, need to be compared to the old and new code differences, we can use GIT/SVN and other version control tools to do the comparison. Different versions of the database table structure also differ, and we also need to compare the differences and get the updated structure of the SQL statement.
For example, the same set of code, in the development environment is normal, in the test environment problems, in addition to check the server settings, but also to the
MySQLUtilities1.5alpha released MySQL Utilities 1.5 alpha
| Publisher: joejoe0332 | view:14| Comment: 0 | original author: oschina | from: oschina
Summary: MySQL Utilities 1.5 alpha released: http://dev.mysql.com/downloads/utilities/1.5.html MySQL Utilities provides a set of command line tools for maintaining and ma
Guava includes some core libraries used by Google in Java projects: collections, caching, primitives support, concurrency library, common annotations, string processing, and I/O. Google engineers use these tools every day during development.
However, it is not the most effective method to read Javadoc by learning how to make good use of these libraries. Here, we try to introduce the most common and powerful features of Guava in a readable, easy, and pleasant way.
Some parts of this wiki may not
messages[*] Support for devfs[*] Use the devpts filesystem for unix98 ptysBuild options --->[] Build busybox as a static binary (no share libs) this option is not selected, that is, the dynamic mode is used, which can save hundreds of KB of space.[*] Do you want to build busybox with a cross compiler?(/Home/BR/buildroot/build_arm/staging_dir/bin/ARM-Linux-uclibc-) Cross Compiler specifies the cross compiler path, that is, the cross compiler path built using buildroot.[*] Don't use/usr must be s
-covB> [file | device] partsCpio-icduvAccount Management/Etc/passwd SYSTEM account information/Etc/shadow account password information is encrypted by MD5 32-bitAdd "*" in front of the password column 『*』『! "Forbidden to use an account/Etc/group system group information/Etc/gshadowNewgrp change logon GroupUseradd adduser create new user ---------> useradd-m test automatically create the user's login directoryUseradd-m-g pgroup test ---------> specify
: Files packaged by the tar program and compressed by gzip# Compress-cr/etc# Compress-d etc. Z# Compress-cr/etc> etc. Z# Gzip/etc/man. config login man.configwill be changed to man.config.gz# Zcat man.config.gz# Gzip-d man.config.gz decompress the file# Gzip-9-c man. config> man.config.gz is compressed with the optimal compression ratio and the original file is retained.# Bzip2-z man. config# Bzcat man.config.bz2# Bzip2-d man.config.bz2# Bzip2-9-c man. config> man.config.bz2 is compressed with t
/etc.tar.bz2/etc compressed with bzip2# Tar-ztvf/tmp/etc.tar.gz# Tar-zxvf/tmp/etc.tar.gz unzip23. the dd command can not only create a file, but also be used for backup. dd can read the content of the device and then back up the entire device into a file.# Dd if = "input_file" of = "output_file" bs = "block_size" count = "number"Cpio command is a method of redirecting data streams to output/input files. it is most suitable for backup.# Cpio-covB> file
is generally under/usr/local, of course, you can also change the location of the installation on your own for specific applications./Etc/entire directory/usr/local/entire directory # data setting fileAssume that the server is WWW + MySQL:/Var/www entire directory/Srv/www entire directory/Var/lib/mysql # service-related files in one sentence3. directories that do not need to be backed up/Dev/Proc/Mnt/TmpThat is to say, other directories can be selected for backup.Ii. Backup toolsCommand column t
services chkconfig -- list -----> to list various service statuses.Ntsysv sets various services of the systemCpio backup file
Compression command:*. Z compress program zookeeper case;*. Bz2 Bzip2 program zookeeper case;*. GZ gzip program upload history case;* The resources packaged by the. Tar program have not been deleted;* .Tar.gz tar program packaging example, which has passed the gzip exampleCompress filename compressed file plus [-D] uncompressGzip filename compression plus [-D] decompress
displays the modules loaded into the system
Modinfo displays information about the kernel module
Insmod loading Module
Modprobe automatically processes the load-able Module
Rmmod Delete Module
Check chkconfig and set various system services chkconfig -- list -----> to list various service statuses.
Ntsysv sets various services of the system
Cpio backup file
Compression command:
*. Z compress program zookeeper case;
*. Bz2 Bzip2 program zookeeper case;
*. GZ gzip program upload history case;
* T
Runlevel displays the current runlevel
Depmod
Lsmod displays the modules loaded into the system
Modinfo displays information about the kernel module
Insmod loading Module
Modprobe automatically processes the load-able Module
Rmmod Delete Module
Check chkconfig and set various system services chkconfig -- list -----> to list various service statuses.
Ntsysv sets various services of the system
Cpio backup file
Compression command:* Files compressed by the. Z compress program;*. Files compressed
home The. Tar.gz/home is backed up in home/home compared to the new files in 2007/03/01. Tar--exclude/home/cao-zxvf myfile.tar.gz/home/*/etc to back up/home,/etc, but do not/home/cao cd/tmp; TAR-CVF-/etc | tar -XVF-The/etc/is packaged and unlocked directly under/TMP without generating a file. The Tar zxvf aaa.tar.gz the unzip command. Tar jxvf aaa.tar.bz2 extract Command Tar zxvf aaa.tar.gz-c/var/www extract aaa.tar.gz to/var/www directory Cpio-covb
up various services for the systemCpio Backup FilesCompress Command*. Z Compress program-compression files;*.BZ2 bzip2 program compression files;*.gz gzip program compression files;The *.tar tar program is packaged with no compression;*.tar.gz tar package files, which are also compressed by gzipCompress filename Compressed file plus [-d] Decompression uncompressgzip filename compression plus [-d] Unzip zcat 123.gz View compressed file contentsbzip2-z filename compression plus [-d] Unzip bzcat f
kernel modules
Insmod Loading Module
Modprobe Automatic Process Loading module
Rmmod Delete Module
Chkconfig Check, set up the system of various services Chkconfig--list-----gt; List Service Status
NTSYSV set up various services for the system
Cpio Backup Files
Compression command:
*. Z Compress program compressed file;
*.BZ2 bzip2 Program compressed file;
*.GZ gzip program compressed file;
The *.tar of the TAR program is not compressed;
*.tar.gz the TAR program, where it has been compressed
Extract cpio filesCPIO-IDMV
You can also extract the img file:CPIO-IDMV
Cpio Backup commandBackup: Cpio-covb > [file|device] Back up data to a file or deviceRestore: Cpio-icduv
Common parameters:-O: Copy data to a file or device-I: Restoring data from a file or device to a system-T: View the file or device content created by Cpio-C: A relatively new portable format storage-V: Displays the file name in the backup process on the screen-B: Allow pr
/var/www extract aaa.tar.gz to/var/www directory CPIO-COVB > [file|device] Backup Cpio-icduv
38. Network commandIfconfig display or set up a network device, you can view the current IP, similar to the ipconfig in WindowsService Network restart (/etc/rc.d/init.d/network restart) Reboot network cardIfdown eth0 off the NICIfup eth0 Open Network cardRoute-n View routing TableRoute add-net 192.168.20.1 netmask 255.255.255.0 Dev eth0Netstat View networ
Extract cpio files CPIO-IDMV
You can also extract the img file: CPIO-IDMV
Backup command backup: CPIO-COVB > [File|device]
To back up data to a file or device: Cpio-icduv
Restore data to the system common parameters:-o: Copy data to a file or device
-I: Restoring data from a file or device to a system
-T: View the file or device content created by Cpio
-C: A relatively new portable format storage
-V: Displays the file name in the backup pro
moduleInsmod loading ModuleModprobe automatically processes the load-able ModuleRmmod Delete ModuleCheck chkconfig and set various system services chkconfig -- list -----> to list various service statuses.Ntsysv sets various services of the systemCpio backup file
Compression command:*. Z compress program zookeeper case;*. Bz2 Bzip2 program zookeeper case;*. GZ gzip program upload history case;* The resources packaged by the. Tar program have not been deleted;* .Tar.gz tar program packaging exa
Compression command:*. Z compress program zookeeper case;*. Bz2 Bzip2 program zookeeper case;*. GZ gzip program upload history case;* The resources packaged by the. Tar program have not been deleted;* .Tar.gz tar program packaging example, which has passed the gzip exampleCompress filename compressed file plus [-D] uncompressGzip filename compression plus [-D] decompress zcat 123.gz to view the compressed file contentBzip2-Z filename compression plus [-D] unzip bzcat filename.bz2 to view the com
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