Instructions one. Host default installed database has SQL Server 2005 and MySQL, the service is enabled by default, the use of CPU in the enabled and the use of memory is very large, if the host does not need a database or do not need a database to stop its services, the following methods:
1. Stop SQL Server Method One: Open the Start menu → "All programs →microsoft SQL Server 2005→ Configuration Tool →sql Server Configuration Manager" option, as shown in the following figure (Figure 1)
Select SQL Server 2005 Services and right-click the SQL Server Fulltext Search (MSSQLSERVER) and SQL Server (MSSQLSERVER) services to select Stop, as shown in the following figure (Figure 2)
Right-click the "Properties" → "service" To change the "start mode" to "disabled", as shown in the following figure
Method Two: Open the "Start" menu → "run" the following figure (Figure 3)
Enter "cmd" in the input box of the running window and determine the following figure (Figure 4)
Enter the "net stop mssqlserver" at the cursor and return to the following figure (Figure 5)
That is, the SQL Server (MSSQLSERVER) service is stopped, followed by the input "SC config mssqlserver start= disabled" in the cursor and enter the following figure (Figure 6)
Disabling SQL Server (MSSQLSERVER) startup mode disables the same method of entering "net stop msftesql" and "sc config msftesql start= disabled" at the cursor to "SQL Server Fulltext Search (MSSQLSERVER) service stop and start mode disabled
2. Stop MySQL Method One: Open the Start menu → "All programs → admin tools → services" option, as shown in the following figure (Figure 7)
Right-click the "MYSQL" service to "stop", as shown in the following figure (Figure 8)
Note: When stopping operations on a service, there are 5 services that do not perform a "stop" operation on it, and once the stop may affect the normal functioning of the host, 5 services are Hyper-V heartbeat service, Hyper-V shadow copy requestor, Hyper-V guest shutdown service, Hyper-V Time Synchronization Services, Hyper-V data Exchange services are shown below
Then right-click "Properties" and change the startup type to "disabled" and OK, as shown in the following figure (Figure 9)
Method Two: Open the "Start" menu → "run" in the running Window input box "cmd", OK, at the cursor input "net stop MySQL" Return, that is, stop the MySQL service, at the cursor input "sc config mysql start= disabled" enter , the start type is changed to Disabled, as shown in the following figure (Figure 11)
Note: The database installed on the host is SQL Server Express 2005, capacity Max 4G, if a single database exceeds 4G, users need to install SQL2005 Standard Edition or Enterprise Edition Two. Host support ASP,. NET (1.0/2.0), PHP (4/5), Perl, Python, and so on, the Web service extensions can be "allowed" and "Prohibit" operations, the procedure is: Open the Start menu → "All programs → administrative Tools →internet information Services (IIS) Manager" option, The following figure (Figure 13)
Click the "local Computer" → "Web Service Extensions" on the left as shown below (Figure 14)
Right-click the Web service you want to disable, click "Prohibit", that is to prohibit some Web services to stop operation of this Web service can also use the command line, open the "Start" menu → "run" in the running window of the input box input "cmd", OK, in the cursor out of the input "C:\WINDOWS\ System32\iisext.vbs/disext the Web service to stop and enter, for example, to stop ASP services, as shown below (Figure 15)
Displays all Web service extension commands on the local computer as "C:\windows\system32\iisext.vbs/listext" as shown below (Figure 16)
Host default is to run PHP5, if you want to switch to PHP4, the step is: Open the "Start" menu → "run" in the running Window input box input "cmd", OK, in the cursor out of the input "cscript C:\WINDOWS\system32\inetsrv\ Fcgiconfig.js-remove-section:php ", and enter, that is, stop the current PHP, and then at the cursor input" cscript C:\WINDOWS\system32\inetsrv\fcgiconfig.js-add- Section:php-extension:php-path:c:\php\php4\php.exe ", and enter, that runs the PHP4, as shown below (Figure 17)
Finally, type "iisreset" at the cursor and restart IIS for the change to take effect, as shown in the following figure (Figure 18)
If you want to switch from PHP4 to PHP5, the method is the same, the instruction is a little different, the step is: Open the "Start" menu → "run" in the running Window input box input "cmd", OK, in the cursor out of the input "cscript C:\WINDOWS\system32\inetsrv\ Fcgiconfig.js-remove-section:php ", and enter, that is, stop the current PHP, and then at the cursor input" cscript C:\WINDOWS\system32\inetsrv\fcgiconfig.js-add- Section:php-extension:php-path:c:\php\php5\php-cgi.exe ", and enter, that is, run the PHP5, and finally type" iisreset "at the cursor and restart IIS for the change to take effect.
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.