• 欢迎访问db1024网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏db1024吧

Debian系统环境精简优化

主机教程 Liam 1年前 (2019-04-29) 378次浏览 5个评论 扫描二维码

提示:在操作这些步骤最好是在我们刚重装系统,而不是在已经运行网站中优化机器,以免出现机器问题。

升级Debian系统

apt-get update&&apt-get upgrade 

移除多余的软件

apt-get -y purge apache2-* bind9-* xinetd samba-* nscd-* portmap sendmail-* sasl2-bin

对于这些被移除软件的说明:

apache2-* //apache服务器,一般我们自己会用一键安装包安装 bind9-* //我们不需要用VPS搭建DNS,所以去掉 xinetd //xinetd是服务守护进程 samba-* //samba能让linux使用windows共享功能,不需要 nscd-* //DNS缓存软件,同bind9,不需要 portmap //端口转发,一般Web服务器不需要 sendmail-* //发送邮件用,如果有需要保留 sasl2-bin //一个权限程序,占用资源,删除 

删除多余组件

apt-get -y purge lynx memtester unixodbc python-* odbcinst-* sudo tcpdump ttf-* 

清理缓存文件

apt-get autoremove && apt-get clean 

通过上述4步,就可以完成对debian系统的精简优化。


db1024 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:Debian系统环境精简优化
喜欢 (1)
关于作者:
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
(5)个小伙伴在吐槽
  1. Fantastic goods from you, man. I've understand your stuff previous to and you're just extremely excellent. I actually like what you've acquired here, certainly like what you're stating and the way in which you say it. You make it enjoyable and you still care for to keep it wise. I can not wait to read much more from you. This is actually a great web site.
    black mass2020-08-31 05:39 回复 Mac OS X | Firefox浏览器 59.0
  2. I have been browsing online greater than three hours these days, yet I by no means discovered any interesting article like yours. It's beautiful worth sufficient for me. In my opinion, if all site owners and bloggers made excellent content as you probably did, the web will be much more helpful than ever before.
    black mass2020-08-28 15:55 回复 Windows 7 | 360浏览器 SE
  3. Your way of explaining the whole thing in this piece of writing is truly good, all be capable of easily be aware of it, Thanks a lot.
    website hosting services2020-08-26 07:03 回复 Linux | Chrome 64.0.3282.167
  4. This is really fascinating, You are a very skilled blogger. I've joined your feed and sit up for in the hunt for extra of your magnificent post. Also, I have shared your website in my social networks
    cheap flights2020-08-24 18:52 回复 Mac OS X | Safari浏览器 601.1.27
  5. I've been browsing online more than 3 hours today, but I by no means found any interesting article like yours. It's beautiful value enough for me. In my opinion, if all website owners and bloggers made just right content as you probably did, the internet will likely be a lot more helpful than ever before. adreamoftrains web hosting company
    adreamoftrains web hosting reviews2020-08-12 12:07 回复 Mac OS X | Firefox浏览器 62.0