手动精简CentOS6

由于服务器提供商不提供CentOS6 Minimal,
于是乎,有点精简强迫症的我就开始手动精简服务器了.

经历了几次重装以后.现在服务器在低峰时期稳定在300MB左右的内存,响应速度还算不错.

还是先要说说我服务器的基本用途和架构的.

首先是NS(域名服务器),而且还要是Master,也就是主域名服务器,掌管SOA纪录,还有几个Slave NS,

其实是收发邮件用的Mail Server,支持SMTP和IMAPs

还有是一台FTP服务器,当然,这个是一个私人的FTP

最重要的莫过于WWW服务器了

 

因此我主要采用的架构是

BIND + Dovecot + Postfix + vsFTPd + Nginx + PHP-fpm + MySQL

然后精简的清单...

yum -y erase httpd xinetd sendmail procmail mailcap
chkconfig netfs off
chkconfig udev-post off
chkconfig rpcbind off
chkconfig vzquota off

 

安装时候的清单

 

yum -y install nginx mysql mysql-server postfix dovecot vsftpd php-fpm php-cli php-mysql php-mcrypt php-mbstring php-gd php-tidy php-xml php-xmlrpc cyrus-sasl-plain

 

以上内容仅供参考

 

这篇博文发表在 开发运维 | Dev Ops 目录下,标签为 , , , , ,
如需引用,请使用链接:https://note.mc256.dev/?p=32

This article published in 开发运维 | Dev Ops with tags , , , , , .
Cite this page using this link:https://note.mc256.dev/?p=32

您的邮箱地址不会被公开,评论使用Gravatar头像。
Your email address will not be published. This blog is using Gravatar.

正在提交评论... Submitting ...
正在为您准备评论控件 Loading Comment Plugin
Copyright © 2013-2023 mc256. All Rights Reserved.
Powered by WordPress on top of a dual-stack k3s Cluster using JuiceFS.
Wordpress Theme Designed By mc256.
Encrypted By Let's Encrypt.  Hosted On Linode + OVH + AWS.
DNS Provided By Hostker.
Status Page by CloudFlare Worker.