http://emilientaque.fr/2010/01/how-to-disable-apache2-from-running-on-startup/
How to disable apache2 from running on startup
I was trying to remove the following warning from passenger-memory-stats, I had to install apache2 but without running it :
*** WARNING: The Apache executable cannot be found.
Please set the APXS2 environment variable to your 'apxs2' executable's filename,
or set the HTTPD environment variable to your 'httpd' or 'apache2' executable's filename.
# To stop apache2 for this session only:
sudo /etc/init.d/apache2 stop
# To remove apache2 permanently from startup scripts:
sudo update-rc.d apache2 remove
# To reinstate apache2 in the startup scripts:
sudo update-rc.d apache2 defaults
分享到:
相关推荐
This shows how to disable control alt and delete by tricking the computer into thinking that the screensaver is running.
This is a straight forward example of how to disable any Win95/98 window..
后仿
如何关闭QC3.0
As there are a lot questions about "how to disable home button in android?" on Stack Overflow, such as how to disable home button in android? Android - Is It possible to disable the click of home ...
Severity Code Description ... To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 解决方案:更改预处理定义 右击项目名,选择Properties 在c/c++下选择Preprocessor 点击图
docudel.zip This example shows how to clear the document history on the start menu.<END><br>2 , BatteryAPIdemo.zip This example demonstrates how to "To get information about the battery status ...
- Updated license management, in an attempt to remove a rare crash on startup. Release 5.3 build 1012.0002 WIN32 release 31 October 2007 - New build of Rebooter (64-bit Windows correction). - ...
How to enable and disable autocorrect keywords with syntax highlighting Insert Menu Commands UltraEdit includes several special insert functions under the Insert menu. You can use these functions to ...
This paper will present a complete overview of PatchGuard mecanisms, from the initialization to the Blue Screen Of Death, and insights about how we implemented a driver able to disable it. Especially,...
please read the document "upgrading_to_v4.txt" before you begin working on your existing projects. Note about "Property does not exist" errors: Since all demos were developed with the latest ...
The boot.ini option /3GB was created for those cases where systems actually support greater than 2 GB of physical memory and an application can make use of it This capability allows memory intensive ...
Disable Input to a WebBrowser Control
As there are a lot questions about "how to disable home button in android?" on Stack Overflow, such as how to disable home button in android? Android - Is It possible to disable the click of home b
To disable this feature set this option to empty value ;user_ini.filename = ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes) ;user_ini.cache_ttl = ...
此adb中无adb disable-verity命令,如果在cmd中输入以上命令会报 /system/bin/sh: disable-verity: not found 的错误。具体可看本人的文章 ”/system/bin/sh: disable-verity: not found 的解决方案“ 【使用方式】...
蚁剑的能绕过disable_functions的插件,插件无法下载问题
How to disable item like this picture
Fixed empty panes on startup when hot_exit was set to false Fix Open Containing Folder on Windows with a folder containing a comma Fix multi-cursor pasting when clipboard contains one or more full ...
USB4 1.0 ECN - Adding Disable Time Sync Bit to TMU_ADP_CS_6 - V2