How to Check the Apache Version on a Linux Dedicated cPanel Server

Quick Checking Your Apache Version Number If you need to check the Apache version number installed on your server, you can do so in one of a couple ways. In the default configuration, Apache will be set to display its version information on most of you error pages. This means

How to update apache to the latest version?

Check the current version of apache by running httpd –v Then execute the following commands: cd /usr/local/directadmin/customapache ./build clean ./build update ./build apache_mod_ssl This should update both the configure options and the version of apache to the most recent version. Once the update is completed, restart apache: RedHat:/sbin/service httpd restart

Common Linux Log Files and Their Uses

List of Linux Log Files The following is a list of commonly found log files within Linux, alongside a short description of what kind of information each file contains. Typically, all log files on linux servers are located under the /var/log directory. Depending on the setup of your server though,

How to Change/Set Date, Time, & Timezone on a Linux Server

The date, time, and timezone are important aspects of a Linux system that affect how it operates and interacts with other systems. There are different ways to describe and change these settings in Linux, depending on the distribution and the tools available. Below you will find information on how to

How to Fix Internal Server Error 500

Sometimes, an error in permissions or syntax within a script will result in an Internal Server Error 500, also known as an HTTP Error 500. But what does this mean, and how do you fix it? Well, in order to fix an HTTP Error 500, you must first understand what

Install Direct Admin on Linux systems

Step 1) Do you meet the system requirements? – Clean OS install: Redhat 7.2, 7.3, 8.0, 9.0, Fedora (any version), CentOS (any version). PS :- The setup file for Redhat also works for Fedora and CentOS (any version). – At least one external IP address (NAT/LAN-based systems will NOT work).

Install SSL for Direct Admin

Setup SSL Certificates for Direct Admin: This step is only required if you wish to use DirectAdmin through SSL. You will also have to change set SSL=1 in the directadmin.conf file. ( /home/directadmin/directadmin.conf ) # openssl req -new -x509 -keyout /usr/local/directadmin/conf/cakey.pem.tmp -out /usr/local/directadmin/conf/cacert.pem # openssl rsa -in /usr/local/directadmin/conf/cakey.pem.tmp -out /usr/local/directadmin/conf/cakey.pem

Make diskuage, bandwidth and webalizer stats update more frequently

Cron is the tool used to control the update frequency of the stats. You can easily change the frequency by modifying the cron job. Cron file for RedHat: /etc/cron.d/directadmin_cron Cron file for FreeBSD: /etc/crontab Edit the cron file and locate the line that looks like the following: 10 0 *

Downgrade from apache 2 back to apache 1.3

If you need to go back to apache 1.3 after installing apache 2, you’ll need to do the following: 1) Restore the old httpd.conf file: cp -f /etc/httpd/conf/httpd.conf.1.3.backup /etc/httpd/conf/httpd.conf 2) Get DirectAdmin to use the old httpd.conf files for the users. Edit the /usr/local/directadmin/conf/directadmin.conf file and change apache_ver=2.0 to apache_ver=1.3.

How to downgrade from apache 2 back to apache 1.3

If you need to go back to apache 1.3 after installing apache 2, you’ll need to do the following: 1) Restore the old httpd.conf file: cp -f /etc/httpd/conf/httpd.conf.1.3.backup /etc/httpd/conf/httpd.conf 2) Get DirectAdmin to use the old httpd.conf files for the users. Edit the /usr/local/directadmin/conf/directadmin.conf file and change apache_ver=2.0 to apache_ver=1.3.

I can’t login to DirectAdmin on port 2222

If you are unable to access your server via https://1.2.3.4:2222, then 1 of 3 things is likely happening: 1. DirectAdmin might not be running or 2. You have a firewall blocking port 2222. Number 2. is easy to check by simply running (only on redhat systems): /sbin/service iptables stop /sbin/chkconfig

BLOG NAVIGATION