recently, the company added 40 servers for the last active function, although the server can be managed by saltstack (automated operations Tools Saltstack), the project can be released through Jenkins + Saltstack (using jenkins+ Saltstack+sh deploy the project to multiple servers, but before this need to get rid of the 40 server Saltstack configuration file Ah, can not be a server manually to deal with it (well, before you write this article on a half-day, really manual to modify, pit AH)Because
In MySQL 5.55.6, set synchronous replication filtering. For example, to ignore the t2 table of the test database, you need. added in the cnf configuration file: The replicate-ignore-tabletest.t2 must restart the mysql service process to take effect. In MySQL5.7, a new command can be used to support dynamic online modification without restarting the mysql process.
In MySQL 5.6/, set synchronous replication f
IIS, which provides Web services for Windows, sometimes has access too large to cause the Web site to open, restarting IIS is the best option.1. Interface operationOpen the services, Administrative Tools, Control Panel. Locate the "IIS Admin service" Right click on "Restart" pop-up "Stop other Services" window and click "Yes".2. Net command operationClick "Start", "Run", enter CMD to open the command window
In mysql 5.55.6, set synchronous replication filtering, for example, set to ignore test Database t2 table, you need to add in my. cnf configuration file: replicate-ignore-tabletest.t2 must restart mysql Service
In MySQL 5.6/, set synchronous replication filtering. For example, to ignore the t2 table of the test database, you need. add replicate-ignore-table = test in the cnf configuration file. t2 must
Nginx running PHP through fastcgi than Apache contains PHP environment has obvious advantages, recently, there is a message that PHP5.4 will most likely put php-fpm patch in the kernel, Nginx server platform to run PHP will be more relaxed, Let's take a look at a php-fpm smooth start and configure the service example.My PHP is the source of the installation. PHP-FPM after PHP 5.3.2 version does not support the previous php-fpm (start|
systemctl operation. The operating instructions are as follows: 1. To see if the SSHD service is started: See the above information to be sure it is started.2. If it is not started, you need to start the service:systemctl start sshd.service3. Restart the sshd service:systemctl restart sshd.service4. Set the service
After rebooting the operating system BizTalk Server Services, in my case: "BizTalk Service BizTalk Group:biztalk Serverapplication"fails to start automatically, despite being configured to doing so.This was a Microsoft known issues with BizTalk Runtime forcing us to manually start the services.I was hoping the BizTalk CU2 released in August, and resolved this problem, but no such luck.SolutionIn services.msc set the 'Startup type' to 'Automatic (Delay
My_url= "http://www.youwebsite.com/"result= ' curl-i $MY _url|grep "http/1.1 502"If [-N "$RESULT"]; Then/etc/init.d/mysql restart/ETC/INIT.D/PHP5-FPM restart/etc/init.d/nginx restartFiThe Curl-i URL will contain the following informationhttp/1.1 Okserver:nginx/1.1.19Date:tue, Sep 03:35:24 GMTcontent-type:text/html; Charset=utf-8Connection:keep-aliveAs long as grep is present http/1.1 (error code)You can per
When you appear ifconfig the name of the network adapter profile is not the same, the situationIfconfig displays a network card named Eth1, and the configuration file name is Ifcfg-eth0, which results in a failure.Solution:1. Delete the/etc/udev/rules.d/70-persistent-net.rules file and restart the system.2, Ifconfig-a view the MAC address of the ETH1 network card, and then renamed Ifcfg-eth0 to Ifcfg-eth1, with vim edit Ifcfg-eth1 file, hwaddr modifie
Command: NGINX-TTo view the reason for failure:Nginx: [Emerg] "fastcgi_pass" directive is duplicate in/etc/nginx/sites-enabled/default:61Nginx:configuration file/etc/nginx/nginx.conf Test FailedAnd then find a way to solve the reasonCd/etc/nginx/site-enabaled/defaultWith php5-cgi alone or with PHP5-FPMYou can do it with both of them.So I stared out of Fastcgi_pass's line.The service nginx restart is OK. Thi
1. How to restart MYSQL5 under Windows:When you install MySQL, the system adds services, and you can stop and start MySQL by 2, you can also use the command line mode, in the run input:Stop: net stop MySQL(where MySQL is the name of the MySQL service you installed)Startup: net start MySQL3, if you do not install system services, you can also locate in the command line mode in the bin directory under MySQL,
This person's MySQL can't run up, before still good, ask me how to recover, I did not in her problem of machine, on her own machine to try, finally solved, is now recorded here. 1, first of all her MySQL installation folder, data structure files, files all copied over (in short, according to the original MySQL directory configuration are all taken over the right, if not configured so complex, it is all in a directory that directly copied this directory line), Put it in the corresponding director
The practice of gracefulUse the endless library to implement, such as Access gin:r: = gin. Default () r.get ("/", index) endless. Listenandserve (":", R)We write a handler function with a specified time-out:Func index (c *gin. Context) { Duration:= c.query ("duration") Durationint, _:= StrConv. Atoi (Duration) * Time . Second) c.string (http. Statusok, duration)}Curl http://localhost:3000/?duration=10When using CTRL + C at the time of the test, all requests will be processed to exit
Answer:Assuming Nginx's installation directory is/application/nginx/sbin/nginx[Email protected] ~]# crontab-e# Timed restart Nginx by Zhangyao at 201707300 * * */application/nginx/sbin/nginx -S Reload >/dev/nullNoteToday is the 105th day of the day to accompany you and look forward to your progress .For questions and answers, please leave a comment in the blog comments section .Index of the topic of the previous periodhttp://lidao.blog.51cto.com/33880
The files are modified manually in the Tomcat runtime, but each time you restart Tomcat in Eclipse, the files in eclipse are always updated to Tomcat, similar to the restore, including uploading files to the server running directory, restarting, and deleting the uploaded folders or files. Very puzzled, at last, according to the following method, temporarily seems to be good, late to be seen. If you know the reason, you can also express your views and
@echo offREM defines the cycle interval time and monitoring services:Set secs=60Set srvname= "ServerName" echo.Echo ========================================echo = Query the status of the computer service, = =echo = = One query per interval of%secs% seconds, = =echo = starts immediately if it is found to be stopped. ==Echo ========================================Echo.Echo This script monitors the service as:
1. Create a new text file and change the file extension to. bat or. CMD (for example, reseth3server. BAT) to any directory on the hard disk.
The write content is as follows:
Net stop h3server
Description: stop the service named "h3server.
Net start h3server
Explanation: enable the service named "h3server.
2. Click "Start Menu"> "Control Panel"> "Task Plan" to add a task plan.
1. click Next.
2. Click
A group of netizens sent a message saying that an error was reported when running the service network restart. The error message is as follows:Huttingdownloopbackinterface: [OK]Bringinguploopbackinterface: [OK]Fgrep: ifcfg-ifcfg-eth0: NosuchfileordirectoryFgrep: ifcfg-ifcfg-eth0: NosuchfileordirectoryFgrep: ifcfg-ifcfg-eth0: NosuchfileordirectoryEgrep: ifcfg-ifcfg-eth0: NosuchfileordirectoryBringingupinterf
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.