Control Web Panel

WebPanel => Installation => Topic started by: dpfa on September 25, 2017, 05:41:35 AM

Title: How to free space like uninstall ClamAV, AMaViS, etc.
Post by: dpfa on September 25, 2017, 05:41:35 AM
Dear Mates,

I'm having a VPS with 10 GB SSD but it's filling so I need to remove any extra things like ClamAV, AMaViS, etc. because I don't want to use them.

What to do?

Thanks
Title: Re: How to free space like uninstall ClamAV, AMaViS, etc.
Post by: 24x7servermanagement on September 25, 2017, 10:25:04 AM
yum remove amavis
yum remove clamav 
Title: Re: How to free space like uninstall ClamAV, AMaViS, etc.
Post by: dpfa on September 25, 2017, 10:35:47 AM
Thanks for your reply. So one of the command worked "yum remove clamav" it shows only 16 MB removing.

So can you suggest what should I remove or delete so that I can maximum space.

Thanks
Title: Re: How to free space like uninstall ClamAV, AMaViS, etc.
Post by: Igor S. on September 25, 2017, 01:32:41 PM
Hi, you have to know what exactly folders used disk space.
Try to check it with command:
Code: [Select]
du -sh /*Also you can use command for detailed checks:
Code: [Select]
du -sh /path/to/checking/folder/
Thanks for your reply. So one of the command worked "yum remove clamav" it shows only 16 MB removing.

So can you suggest what should I remove or delete so that I can maximum space.

Thanks
Title: Re: How to free space like uninstall ClamAV, AMaViS, etc.
Post by: studio4host on September 25, 2017, 01:32:58 PM
in cwp you have yum manager and from there you can remove anything by single click so you don't need to know package names as all installed are listed there.

Don't forget that removing packages you also remove cwp custom configuration for that service and later if you will need some of this packages you could have some issues.

also you can check more detailed your disk usage by using cwp disk_details module, it has per folder usage.
IP:2030/admin/index.php?module=disk_details
Title: Re: How to free space like uninstall ClamAV, AMaViS, etc.
Post by: dpfa on September 26, 2017, 05:06:57 AM
Thanks for your suggestions guys! Anything else you feel I can do to free disk space?

Thanks
Title: Re: How to free space like uninstall ClamAV, AMaViS, etc.
Post by: 6Sense on September 27, 2017, 09:24:39 AM
10GB is a tiny, tiny server & it will continue to be an annoying challenge to keep the file size down.

Why not just upgrade to at least a 25GB VPS. They are highly affordable these days.
Title: Re: How to free space like uninstall ClamAV, AMaViS, etc.
Post by: studio4host on September 28, 2017, 10:21:44 AM
Thanks for your suggestions guys! Anything else you feel I can do to free disk space?

Thanks

you would need to setup log rotation or log cleaner and check the system more often so that requires more human time which is more expensive then upgrading server storage.