Tag:decompression

  • Linux tips: introduce the usage of tar command packaging, compression, encryption and decryption

    Time:2021-10-12

    In Linux, you can usetarThe command packs multiple files and directories into the specified archive file. It should be noted that,tarBy default, the command only packs multiple files together and does not compress the files. Therefore, the file size after packaging will not become smaller. Due to the addition of some tar format file information, […]

  • Learn a Linux command every day (42): unzip

    Time:2021-10-10

    Yesterday’s recommendation:Learn a Linux command every day (41): zip Command introduction The unzip command is used to extract the compressed package file compressed by the zip command. #Debian / Ubuntu installation apt-get install unzip #CentOS installation [[email protected] ~]# unzip -bash: unzip: command not found [[email protected] ~]# yum install unzip -y Syntax format unzip [ OPTIONS ] file[.zip] [file(s) …] Option description -c   # Output the decompressed results and convert the characters appropriately -f   # […]

  • Installing nginx under Linux

    Time:2021-10-3

    Nginx uses: http reverse proxy, load balancing server, front-end dynamic and static separation, etcNginx benefits: stability, high performance, less resource consumption, etc Manage identity operations with super #Download installation package wget http://nginx.org/download/nginx-1.12.2.tar.gz #Installation dependency yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel #Decompress tar -zxvf nginx-1.12.2.tar.gz cd nginx-1.12.2/ #Execute configuration ./configure #Compile and install […]

  • Fast speed, good performance! Compression artifact zstd

    Time:2021-10-1

    Tool introduction This paper mainly introduces the function and performance test of zstd tool We call zstandard or zstd a fast lossless compression algorithm, which is a real-time compression scheme for zlib level and better compression ratio. It consists of a very fast entropy phase, provided by huff0 and FSE libraries. This project is a […]

  • Use the tar command to archive and compress files

    Time:2021-9-11

    Archive and compress files Benefits of archiving and compressing files: save hard disk resources and speed up file transfer rateThe tar command is used to package and compress filesIn this figure, 123456 files are packaged into a.tar file, but the a.tar file is still large. Continue to use itGzip is compressed into a smaller compressed […]

  • PHP uses the ZipArchive class to manipulate an instance of a file

    Time:2021-9-10

    ZipArchive class is a class specially used for file compression and decompression. The purpose of saving disk space can be achieved by compressing files, and the volume of compressed files is smaller, which is convenient for network transmission. In ZipArchive class, we mainly use the following methods: 1: Open (open a compressed package file) $zip […]

  • Practice series – Kafka cluster deployment

    Time:2021-9-8

    Version selection kafka_2.12-0.11.0.3Version number Description: Kafka is developed using Scala. The previous 2.12 is the version number of Scala, and the later is the version number of Kafka.Version 0.11 is already a relatively complete version of Kafka. The later versions are all kinds of enhancements to streaming. If it is only used as a message […]

  • Bytebuffermessageset of Kafka message store

    Time:2021-9-1

    abstract Messageset is a very important hierarchical concept for Kafka to operate message at the bottom. From the name, it can be seen that it is a collection of messages, but the processing logic in the code mainly considers the processing of nested messages. The main function of messageset is to provide sequential read and […]

  • CentOS offline installation gcc-c + +, make, nginx

    Time:2021-8-4

    Recently, the server of a project of the company will not provide an Internet environment due to security considerations. Yum and WGet cannot be used, so it can only upload offline packages to install applications. Make compilation is required when installing applications using tar source package, so it depends on GCC and G + + […]

  • Linux uses zip, gzip, bzip2, XZ and other commands to compress files and directories

    Time:2021-8-4

    compress decompression explain zip unzip Compatible with UNIX and windows, it can compress multiple files or directories gzip gunzip Compress a single file, with low compression rate and low CPU overhead bzip2 bunzip2 Compress a single file, with high compression rate and high CPU overhead xz unxz Compressing a single file has the advantages of […]

  • Building PHP environment from scratch – php8 – Extension – redis

    Time:2021-6-28

    1、 Download1、https://pecl.php.net/get/redis-5.3.2.tgzDownload to local, file transfer to/usr/local/src/2、wget -P /usr/local/src/ https://pecl.php.net/get/redis-5.3.2.tgz 2、 Decompress, compile and install1. Decompress > cd /usr/local/src/ > tar xzf redis-5.3.2.tgz > cd redis-5.3.2 2. Check and compile > /usr/local/php8/bin/phpize > ./configure –with-php-config=/usr/local/php8/bin/php-config > make 3. Installation > make install #After installation, the redis.so extension file will be generated in the / usr […]

  • Installing nginx on Linux

    Time:2021-3-19

    Nginx uses: http reverse proxy, load balancing server, front-end static and dynamic separation, etcNginx benefits: stability, high performance, less resource consumption, etc Super management identity operation #Download installation package wget http://nginx.org/download/nginx-1.12.2.tar.gz #Installation dependency yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel #Decompress tar -zxvf nginx-1.12.2.tar.gz cd nginx-1.12.2/ #Execution configuration ./configure #Compile and install (the […]