I have installed apache from the source with:prefix=/usr sysconfdir=/etc/httpd/ localstatedir=/var.
useradd -g apache -d /usr/apache -s /sbin/nologin apache
I have to build exactly Apache-1.3.41 on Linux.
I installed the httpd server using the following commands:
apt-get install gcc make openssl libssl-dev
I have apache set to use the apache user account and apache user group.
I am trying to uninstall apache to install nginx, but it doesn't seem to work.
$ ps aux | grep httpd
root 22348 0.0 0.2 167252 8864 ? Ss 14:33 0:00 /usr/sbin/httpd -k start -DSSL
apache 22353 0.0 0.1 167624 6088 ? S 14:33 0:00 /usr/sbin/httpd -k start -DSSL
apache 22354 0.0 0.1 167252 5292 ?
I have apache MaxMemFree 150 set in httpd.conf. However, when I use htop/top to look at the apache process, it still eat 648M shown below.
I am using CentOS.
I have a directory such as:
drwxrwsr-x 2 someuser deploy 4096 Apr 23 23:29 logs
Apache is a member of the deploy group:
I believe I'm sure that the user that apache is running as, is in fact "apache":
$ ps aux | egrep '(apache|httpd)'
apache 26573 0.0 2.6 429516 13176 ?
Am using a RHEL 5.5 shared server, my user has complete access to /opt folder.
No root access, cant write to /etc, /usr etc.
So, I downloaded httpd-2.4.6 and httpd-2.4.6-deps onto /opt (ie.
So I just installed Apache on a new CentOS 7 server, using Yum.
I am hosting a small testing website with Apache running on Linux, using free EC2 Micro instance.
When I tried to look at background process with "top", I saw a lot of (30+) "apache" user
PID user PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
12104 apache 20 0 429m 9024 2420 S 1.0 0.2 0:02.91 httpd
12273 apache 20 0 429m 9108 2504 S 1.0 0.2 0:01
Hello all ,
I know this is the default configuration for cPanel , running apache as nobody that is .
And i also know that php is running under handler(in my case fscgi) and using suexec .
i just want to run apache under apache.apache for firewalling reasons .
could this be done ? and if so would it sustain updating ?