5/27/2023 0 Comments Centos install apache![]() ![]() ![]() In order to achieve that, create file sudo vi /etc/profile.d/httpd.shĪnd paste there following contents: pathmunge /usr/local/apache2/bin I’d like to have all executables from Apache available from everywhere. That’s because httpd is not on your $PATH. If you try to type httpd -v in your command line, it will result in command not found. ![]() If you just copy apr-1.6.3 without changing the name, it will give you a warning about missing apr directory. It’s important to not to include version number in APR directories. You need to copy the source codes to correct directory: cp -r apr-1.6.3 httpd-2.4.33/srclib/aprĬp -r apr-util-1.6.1 httpd-2.4.33/srclib/apr-util Install required tools for compilation sudo yum install autoconf expat-devel libtool libnghttp2-devel pcre-devel -yĪpache requires APR library for compilation. In order to install EPEL repository execute following command: Follow the below steps to install apache in CentOS 7 ![]()
0 Comments
Leave a Reply. |