توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : حذف سرویس های غیر ضروری در centos
ace_gishniz
December 8th, 2011, 20:54
سلام من یه سرور لینوکس centos دارم با 256 مگ رم، وقتی دستور free -m رو میزنم حافظه خالی فقط 40-50 مگابایته. 
میخواستم بدونم چه سرویسهای غیر ضروری رو میتونم حذف کنم تا حافضه آزاد بشه. 
و چگونگی این کار رو هم اگه امان داره بگین. خیلی ممنونم.
ace_gishniz
December 8th, 2011, 23:42
کسی نیست راهنمایی بکنه؟؟
ace_gishniz
December 11th, 2011, 18:49
یکی کمک کنه.
Warez-Host.IR
December 11th, 2011, 18:54
سلام
به این پست مراجعه کنید :
http://www.webhostingtalk.ir/f93/27045/#post257852
شاید مفید بود
mohsen1
December 11th, 2011, 19:00
مجازی ساز چی هست؟
خروجی free -m دستور top رو بزارید.
Iran Web Host
December 11th, 2011, 19:01
سلام عزیز
سرویس های زیر رو بر حسب نیازتون غیر فعال کنید:
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!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.