linux的各大发行版,都有些不必要的服务被默认开启了,针对ubuntu,我们可以采用选择性关闭的方法加速起动,提高系统性能。 这里我们安装一个软件: sudo apt-get install sysv-rc-conf 然后这样起动: sudo sysv-rc-conf 在这个软件里,可以用键盘的方向键移动,用空格选取,也可以直接用鼠标选取,最后用q保存退出,一下列出服务的名称和基本的解释。 acpi-support 这个是关于电源支持的默认是1,2,3,4,5下启动,我...
apache > HTTP Server > 文档 > 版本2.2 致谢 | 本篇译者: 金步国 ( 其他作品 ) | 本页最后更新:2006年10月20日[ 查看最新版本 ]停止和重启本文档叙述了在类Unix系统上如何停止和重启apache 。 Windows NT/2000/XP/2003的用户请参见 以服务方式运行apache ,Windows 9x/ME用户则参见 在控制台中运行apache 。 简介为了停止或者重新启动apache ,你必须向正在运行的 httpd 进程发送信号。有两种发送信号的方法。...
HttpServer 1. cd /usr/local/apache/bin/ 2. ./apactl start,restart,stop 3. cd /var/www/ HttpServer 1. cd /usr/local/apache/bin/ 2. ./apactl start,restart,stop 3. cd /var/www/ 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/10133/showart_47982.html
一次在没有停掉apache时就修改了httpd.conf,结果在./apachectl stop后 出现Invalid command 'AddModule', perhaps mis-spelled or defined by a module not included in the server 错误, 用netstat -A inet -lnp看时 Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:8009 0.0.0.0:...
可以在命令行里执行命令 setterm -blength 0 不过这种方法在机器重启后就会失效,永久性关闭可以将这条命令写入到/etc/bash.bashrc文件中,在其它发行版里,这个文件可能不是这样命名的,一般是/etc/bashrc。至于这个是做什么用的,可以参考这篇blog。 http://blog.chinaunix.net/u3/93196/showart.php?id=1973206 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/93196/showart_1992660.html
1. sudo /etc/init.d/gdm stop //关闭X Window 2. sudo /etc/init.d/gdm restart //重启X Window 当在X Window模式下,需要关闭时,可以就需要以上方法。例如:安装N驱动时。 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/87597/showart_1794214.html
iptables -A INPUT -i ! PPP0 -j ACCEPT 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/22697/showart_1180607.html