• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

remove some packages

L

lhwparis

Guest
hi all,
i am playing arround removing some packages now i have two questions:
when i disable apache perl and python modules apache starts without this 2 modules but i still can check python support in plesk. is there a way plesk recognizes which apache modules are enabled and can be used?
to optimize apache is there a list which apache modules are necessary for plesk and which can be removed to speed up apache?

another question: if i try to deinstall psa-horde it uninstalls psa-passwd too. can i remove it or is it used by plesk not only horde?

thanks.
 
List of modules to disable is specified in /usr/lib/plesk-9.0/vps_optimized_aspects/apache-modules-all

# rpm -qi psa-passwd-3.1.3-cos5.build1010110112.13.noarch
Name : psa-passwd Relocations: (not relocatable)
Version : 3.1.3 Vendor: Horde
Release : cos5.build1010110112.13 Build Date: Wed 12 Jan 2011 01:39:51 PM NOVT
Install Date: Tue 25 Jan 2011 08:47:13 AM NOVT Build Host: bcos5x64.plesk.ru
Group : Web Source RPM: psa-passwd-3.1.3-cos5.build1010110112.13.src.rpm
Size : 3928496 License: GPL
Signature : (none)
Packager : Parallels <[email protected]>
URL : http://horde.org/
Summary : Horde password changing application for Parallels Panel
Description :
Passwd is the Horde password changing application. It provides fairly
complete support for changing passwords via poppassd, ldap, unix expect
scripts, the unix smbpasswd command for smb/cifs password support,
servuftp, vmailmgr, vpopmail, and sql passwords.

The Horde Project writes web applications in PHP and releases them under
Open Source licenses. For more information (including help with Passwd)
please visit http://www.horde.org/.
 
thanks igor!
what about the point when i disable apache mod_python the python checkbox in service-plans and subscriptions is not disabled? do i have to remove the packages?
 
What about

# /usr/local/psa/bin/domain -u test.com -perl false -python false

And it is not so easy to remove these modules:

# rpm -e --test mod_perl mod_python
error: Failed dependencies:
perl(APR::pool) is needed by (installed) perl-Apache-ASP-2.59-0.93298.x86_64
perl(APR::Table) is needed by (installed) perl-Apache-ASP-2.59-0.93298.x86_64
perl(Apache2::Connection) is needed by (installed) perl-Apache-ASP-2.59-0.93298.x86_64
perl(Apache2::Log) is needed by (installed) perl-Apache-ASP-2.59-0.93298.x86_64
perl(Apache2::RequestIO) is needed by (installed) perl-Apache-ASP-2.59-0.93298.x86_64
perl(Apache2::RequestRec) is needed by (installed) perl-Apache-ASP-2.59-0.93298.x86_64
perl(Apache2::RequestUtil) is needed by (installed) perl-Apache-ASP-2.59-0.93298.x86_64
perl(Apache2::Response) is needed by (installed) perl-Apache-ASP-2.59-0.93298.x86_64
perl(Apache2::ServerRec) is needed by (installed) perl-Apache-ASP-2.59-0.93298.x86_64
perl(Apache2::ServerUtil) is needed by (installed) perl-Apache-ASP-2.59-0.93298.x86_64
perl(Apache2::SubRequest) is needed by (installed) perl-Apache-ASP-2.59-0.93298.x86_64
mod_perl is needed by (installed) plesk-core-10.10.1-cos5.build1010110120.18.x86_64
mod_perl >= 2.0.0 is needed by (installed) perl-Apache-ASP-2.59-0.93298.x86_64
mod_python is needed by (installed) plesk-core-10.10.1-cos5.build1010110120.18.x86_64

:)
 
thanks Igor;) yes i have seen this dependencies and decided its better to not remove this packages ;)
 
@parallels playing around a little bit with deactivating some apache modules and other things i wanna make a suggestion.
pls grey out buttons in service-plan-hosting-management and in customers-hosting-controls when a module is not available

for example: i never had installed java-tomcat support but i can choose it in service-plan-hosting-management. why?
ok thats not a realy big problem because only sysadmins can see this but what about checking which apache modules are enabled?
if i disable mod_python for example plesk does not recognize this. python is still available in service-plan management AND in smb-hosting-settings (customers view) so customers can activate it! think this is a problem.
 
Thank you IgorG will look into it. I think thats the way to go:)
 
Back
Top