Nginx reboot Command
The code is as follows
Copy Code
Sudo/etc/init.d/nginx Usage:/etc/init.d/nginx {Start|stop|status|restart|condrestart|try-restart|reload|force-reload|configtest}
With root permissions
The code is as follows
Copy Code
#killall Nginx#nginx
Attention:
Source code installation Nginx face such trouble, can not use
1. Locate the php.ini configurationFind/-name ' php.ini '/usr/local/php/etc/php.iniFind the Extension=php_curl.dll and remove the semicolon from the front.2, restart PHPPHP-FPM in PHP 5.3.3 no longer supports commands such as/USR/LOCAL/PHP/SBIN/PHP-FPM (Start|stop|reload) that php-fpm previously had, and signal control is required:The master process can understand the following signals:INT, term: Immediate TerminationQUIT: Smooth TerminationUSR1: Reop
Service network restart failed.
Cause of error: Job for Network.service failed because-control process exited with error code. "Systemctl status Network.service" and "Journalctl-xe" for details.
Check: Systemctl status Network.service
Output:
[Root@localhost network-scripts]# systemctl status Network.serviceNetwork.service-lsb:bring Up/down NetworkingLoaded:loaded (/etc/rc.d/init.d/network; bad; vendor pre
In the mysql5.5/5.6 version, set up synchronous replication filtering, such as setting the T2 table that ignores the test library, you need to add in the my.cnf config file:Replicate-ignore-table=test.t2The MySQL service process must be restarted to take effect.In MySQL5.7, a new command is available to support online dynamic modification without restarting the MySQL process.Example:Change REPLICATION FILTER replicate_do_db= (DB1,DB2); Change REPLICAT
The first step is to create the following two log tablesPress CTRL + C to copy the codePress CTRL + C to copy the code CREATE TABLE ' General_log ' ( ' event_time ' timestamp not NULL DEFAULT current_timestamp on UPDATE Current_ TIMESTAMP, ' user_host ' mediumtext not NULL, ' thread_id ' bigint (+) unsigned not null, ' server_id ' int (10) unsigned not NULL, ' command_type ' varchar ($) NOT null, ' argument ' mediumtext not null ) Engine=csv DEFAULT Charset
Tags: ZabbixThe following error occurred while restarting the Zabbix3.2.7 service650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M01/A2/84/wKioL1mhMWKB2j34AAAYjSg8b5U857.png "title=" Qq20170826162945.png "alt=" Wkiol1mhmwkb2j34aaayjsg8b5u857.png "/>The reason is that the MySQL library file is missing and the file or directory is not indicated.Previously loaded is the mysql5.5 version of the database, the library path is/usr/local/mysql55/lib/libmysqlclient.so.18, now simply add the libra
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.