Centos7 restart Apache, nginx, mysql, php-fpm commands

Copyright notice: This article is an original article for bloggers. It can not be reproduced without permission from bloggers. apache start-up systemctl start httpd Stop it systemctl stop httpd restart systemctl restart httpd mysql start-up systemctl start mysqld Stop it systemctl stop mysqld restart systemctl restart mysqld php-fpm start-up systemctl start php-fpm Stop it systemctl stop php-fpm restart systemctl restart php-fpm nginx start-up systemctl start nginx Stop it systemctl stop nginx restart systemctl restart nginx

The MySQL database looks at the size and number of records occupied by the data table.

MySQLYou can open MySQL’s information_schema database if each table in the database takes up space and the number of rows it records. There is a TABLES table in the library. The main fields of the table are: TABLE_SCHEMA : Database nameTABLE_NAME: table nameENGINE: storage engine usedTABLES_ROWS: record numberDATA_LENGTH: data sizeINDEX_LENGTH: index size The size of the space occupied by a table is equivalent to the size of the data and the size of the index.Examples: 1、View all the table sizes of the enrolment_db Library: select table_name,table_rows from tables where TABLE_SCHEMA =...

Vue first experience

As a front-end rookie, in the usual development and learning, in addition to in-depth understanding of the various features of JavaScript and css, familiar with a framework is also essential. Vue is very popular because of its small, lightweight, learning and smoothing features. Here is a summary of the pit and tricks of the little rookie. 1.Avoid double brackets when loading pages. Official recommendation v-cloak <style>   [v-cloak] { display: none; } </style> <div id=’app’ v-cloak> {{message}} </div> 2.I haven’t thought about it yet

Kafka performance test 1.0.0

kafkaProvide tool kafka-producer-perf-test.sh for pressure measurement. parameter Explain messages                Producers send the total number of messages. message-size Size of each message batch-size Number of messages sent per batch topics Topic sent by producer threads Producers use several threads to send simultaneously. broker-list  List of machine ip:port for installing Kafka services producer-num-retries A message failed to send retry times. request-timeout-ms A message request sends timeout time.   ./kafka-produce...

Bzoj3993: [SDOI2015] interstellar warfare (two points + maximum flow)

Title Description 3333In the year of the galaxy, the X corps and the Y regiment are fighting fiercely. At one stage of the battle, Legion Y dispatched a total of N giant robots to attack Legion X positions, of which the armor value of the first giant robot was Ai. When the armor value of a giant robot is reduced to zero or less, the giant robot is destroyed. XThe Legion has M laser weapons, the second of which can reduce the armor value of a giant robot Bi per second. The attack of laser weapons is continuous. This laser weapon is very strange. A laser weapon can only attack certain enemies. ...