SOLVED cpanel DNS-ONLY with apache and php

joaosavioli

Well-Known Member
Feb 7, 2008
67
12
58
Hello,

I'm using a vps with cpanel dns-only license.
I'd like to install apache and php in this machine, to automate some tasks, but I can see that cpanel disable it by yum.

[[email protected] etc]# yum search httpd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirror.math.princeton.edu
============================== N/S matched: httpd ==============================
iipsrv-httpd-fcgi.noarch : Apache HTTPD files for iipsrv
libmicrohttpd-devel.i686 : Development files for libmicrohttpd
libmicrohttpd-devel.x86_64 : Development files for libmicrohttpd
libmicrohttpd-doc.noarch : Documentation for libmicrohttpd
lighttpd-fastcgi.x86_64 : FastCGI module and spawning helper for lighttpd and
: PHP configuration
lighttpd-mod_authn_gssapi.x86_64 : Authentication module for lighttpd that uses
: GSSAPI
lighttpd-mod_authn_mysql.x86_64 : Authentication module for lighttpd that uses a
: MySQL database
lighttpd-mod_geoip.x86_64 : GeoIP module for lighttpd to use for location
: lookups
lighttpd-mod_mysql_vhost.x86_64 : Virtual host module for lighttpd that uses a
: MySQL database
nextcloud-httpd.noarch : Httpd integration for NextCloud
owncloud-httpd.noarch : Httpd integration for ownCloud
radicale-httpd.noarch : httpd config for Radicale
cpanel-perl-524-Test-Fake-HTTPD.x86_64 : CPAN module - a fake HTTP server
darkhttpd.x86_64 : A secure, lightweight, fast, single-threaded HTTP/1.1 server
libmicrohttpd.i686 : Lightweight library for embedding a webserver in
: applications
libmicrohttpd.x86_64 : Lightweight library for embedding a webserver in
: applications
lighttpd.x86_64 : Lightning fast webserver with light system requirements
mirmon-httpd.noarch : Apache configuration for mirmon
mod_auth_mellon.x86_64 : A SAML 2.0 authentication module for the Apache Httpd
: Server
mod_dav_svn.x86_64 : Apache httpd module for Subversion server
opensips-httpd.x86_64 : HTTP transport layer implementation
perl-Test-Fake-HTTPD.noarch : Fake HTTP server module for testing
python2-sphinxcontrib-httpdomain.noarch : Sphinx domain for documenting HTTP
: APIs
viewvc-httpd-fcgi.noarch : ViewVC configuration for Apache/mod_fcgid
viewvc-httpd-wsgi.noarch : ViewVC configuration for Apache/mod_wsgi
web-assets-httpd.noarch : Web Assets aliases for the Apache HTTP daemon

How could I enable regular yum in a cpanel dns-only machine?

Best regards
Joao
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,243
463
Hello,

You can remove the packages you want to install from the "Exclude=" line in the /etc/yum.conf file if you'd like to manually install them on the cPanel DNS-Only server.

Thank you.