Check which Apache modules are loaded
Answer:
To check which Apache modules are loaded, in RHEL/Fedora/CentOS, type
# httpd -M
In Debian/Ubuntu
# sudo apache2ctl -M
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
Check which Apache modules are loaded
Answer:
To check which Apache modules are loaded, in RHEL/Fedora/CentOS, type
# httpd -M
In Debian/Ubuntu
# sudo apache2ctl -M
How to tell if Apache 2 is using prefork or worker MPM?
Answer:
If you are running in Red Hat Linux/ Fedora/ CentOS
# httpd -V
....
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
...
If you are running in Debian/ Ubuntu, you can use apache2 -V, which get the same output as above.
Immediate time synchronization in RHEL/CentOS/Fedora
Answer:
If you want to sync the system time without installing ntpd package, rdate is an older way but it will do what you need.
# rdate -s ntp0.cornell.edu
You can find a list of time servers at: http://pank.org/blog/2004/08/time-server-list.html
Remove package with Yum
Answer:
You can use the following command to remove packages using yum,
e.g. remove Firefox
yum remove firefox
To remove multiple packages, try
yum remove firefox gedit
How to remove installed package using RPM?
Answer:
To remove installed package using rpm, use the following command
e.g. remove Firefox
rpm -e firefox
To remove multiple packages, try
rpm -e firefox gedit