File packaging and compression

File packaging and compression   Self feeling: it's easy to learn how to pack and compress files. Although there are many compression names, several are not commonly used, and several commonly used options are basically universal. It will produce a good result. Just learn the option of one command and remember the names of the remaining command ...

Posted by intergroove on Mon, 04 May 2020 12:19:42 -0700

Tensorflow visual programming

Install tensoflow 1.0 Linux/ubuntu: python2.7: pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.1-cp27-none-linux_x86_64.whl python3.5: pip3 install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.1-cp35-cp35m-linux_x86_64.whl Maxos: python2: pip install https://storage.googleapis.com/te ...

Posted by kr3m3r on Mon, 04 May 2020 08:56:13 -0700

MySQL common management SQL statements

Catalog Preface DDL DCL DML 1. Management database of DDL statements 1.1. Create database 1.2. Display database 1.3. Switch database 1.4. View the table information contained in the database 1.4.1. Switch to database to view table information 1.4.2. View the table information outside the library 1.5. Delete database 2. Manage users of ...

Posted by lordrt on Mon, 04 May 2020 08:10:07 -0700

Mysql decompression and installation of Censos - yellowtong

mysql is installed by decompressing the installation mode, so that we can install the version we want. The advantage of this installation mode is that I can install it wherever I want. It's easy and pleasant. The installation method of this device is similar to that of jdk, that is, decompressing, and then configuring permissions, services, ...

Posted by vB3Dev.Com on Mon, 04 May 2020 07:09:18 -0700

A thorough explanation of the 1024 limitation of Linux select (is the selection really limited by 1024?No)

Many years ago, I was interviewed. Why does the select call support up to 1024 file descriptors? I didn't answer, I didn't even know what select was doing. Over the years, I interviewed people with this question... At that time, I already had an expected answer in my mind that would satisfy me, and my expectation was probably: Macros in th ...

Posted by mash on Mon, 04 May 2020 05:49:53 -0700

Common commands for troubleshooting online problems

Memory bottleneck free free is to view memory usage, including physical memory, swap memory, and kernel buffer memory. Free-h-s 3 represents the output of memory every three seconds with the following commands [1014154@cc69dd4c5-4tdb5 ~]$ free total used free shared buff/cache available Mem: 119623656 ...

Posted by jdavidbakr on Mon, 04 May 2020 01:08:35 -0700

iptables persistence under CentOS

iptables rule persistence Set firewall rules iptables -A INPUT -s 1.1.1.1/32 -p tcp -m tcp --dport 22 -j DROP iptables -A INPUT -s 2.2.2.2/32 -p tcp -m tcp --dport 22 -j DROP iptables -A INPUT -s 3.3.3.3/32 -p tcp -m tcp --dport 22 -j DROP iptables -A INPUT -s 4.4.4.4/32 -p tcp -m tcp --dport 22 -j DROP Save firewall rules service iptabl ...

Posted by TechGuru on Sun, 03 May 2020 22:15:49 -0700

Linux Phase 9: Interim Architecture LNMP Chapter

IX. Interim Framework LNMP Chapter (1) Description of the LNMP architecture 1) Concatenate front-end web services with back-end storage services 2) Mainly implements handling PHP program dynamic requests (2) How the LNMP architecture works L Linux N nginx M mysql P php (3) LNMP Architecture Deployment 1) Install LNMP related software 1. ...

Posted by Jarod on Sun, 03 May 2020 22:12:49 -0700

MySQL high availability scheme Mgr + consumer combination test

To fully simulate a complete set of consumer + Mgr environment, we may need to configure the following servers:Three serve as the consumer server, and the other three serve as MySQL servers in MGR single master mode. 1, Build Mysql MGR: Download the new version of mysql 8.0.13 wget https://cdn.mysql.com/archives/mysql-8.0/mysql-8.0.13-linux-gl ...

Posted by tisa on Sun, 03 May 2020 15:16:08 -0700

Simple implementation of Linux multi process CS server

Simple implementation of Linux multi process CS server server side Multi process realizes multi-user connection, i.e. one connection for each user. Here, the server is still used to capitalize the received string and return it to the client. code implementation #include <stdio.h> #include <string.h> #include <netinet/in.h> ...

Posted by allinurl on Sun, 03 May 2020 14:00:54 -0700