سلام من یه سرور لینوکس centos دارم با 256 مگ رم، وقتی دستور free -m رو میزنم حافظه خالی فقط 40-50 مگابایته.
میخواستم بدونم چه سرویسهای غیر ضروری رو میتونم حذف کنم تا حافضه آزاد بشه.
و چگونگی این کار رو هم اگه امان داره بگین. خیلی ممنونم.
نمایش نسخه قابل چاپ
سلام من یه سرور لینوکس centos دارم با 256 مگ رم، وقتی دستور free -m رو میزنم حافظه خالی فقط 40-50 مگابایته.
میخواستم بدونم چه سرویسهای غیر ضروری رو میتونم حذف کنم تا حافضه آزاد بشه.
و چگونگی این کار رو هم اگه امان داره بگین. خیلی ممنونم.
کسی نیست راهنمایی بکنه؟؟
یکی کمک کنه.
سلام
به این پست مراجعه کنید :
http://www.webhostingtalk.ir/f93/27045/#post257852
شاید مفید بود
مجازی ساز چی هست؟
خروجی free -m دستور top رو بزارید.
سلام عزیز
سرویس های زیر رو بر حسب نیازتون غیر فعال کنید:
I don’t have RAID disks on a virtual machine, so:
chkconfig mdmonitor off
I don’t need kernel auditing because I dumped SElinux anyway, so:
chkconfig auditd off
I already have cron, that’s enough, so:
chkconfig anacron off
chkconfig atd off
The first boot is already behind me, so:
chkconfig firstboot off
No need for CPU speed optimizalition on a virtual machine:
chkconfig cpuspeed off
I’m using only a single core, single CPU, so:
chkconfig irqbalance off
There’s no smartcard reader, so
chkconfig pcscd off
Won’t need network discovery either, so:
chkconfig avahi-daemon off
Not gonna use NTFS since the rest is all Windows, so:
chkconfig nfslock off
chkconfig rpcgssd off
chkconfig rpcidmapd off
Nope, no printers for you either, so:
chkconfig cups off
It’s already behind a firewall, so:
chkconfig iptables off
chkconfig ip6tables off
No way bluetooth will work in a virtual machine, so
chkconfig bluetooth off
Hardware is not gonna change, so:
chkconfig kudzu off
Let’s dump the harddisk monitoring too:
chkconfig smartd off
Nothing to automount as well:
chkconfig autofs off
Who needs a mouse in the shell?
chkconfig gpm off
I’ll just run yum when I want, no need to notify me.
chkconfig yum-updatesd off
Now, enjoy a nice clean install!