Moving HTTPD From One Machine to Another: Difference between revisions

From DISI
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
= Introduction =
= Introduction =
Here are instructions on how to migrate HTTPD functions to another machine. Main example is migrating from CentOS 7 to Rocky Linux 8.
Here are instructions on how to migrate HTTPD functions to another machine. Main example is migrating from CentOS 7 to Rocky Linux 8 (vav to vav2)


= Instructions =
= Instructions =
# Install these packages
# Install these packages
#: <source> dnf install -y webalizer httpd certbot python3-certbot-apache mod_limitipconn </source>
#: <source> dnf install -y webalizer httpd certbot python3-certbot-apache mod_limitipconn </source>
#
# Copy these files from old to new machine
#* /etc/httpd/conf.d/*
#* /var/www/html/index.html
#* /etc/webalizer.d/*
#* /etc/letsencrypt
#* /root/UCSF_SSL_CERT
#* /var/log/httpd/*
#* /var/lib/webalizer/
#* /var/www/usage/

Revision as of 00:15, 17 July 2024

Introduction

Here are instructions on how to migrate HTTPD functions to another machine. Main example is migrating from CentOS 7 to Rocky Linux 8 (vav to vav2)

Instructions

  1. Install these packages
     dnf install -y webalizer httpd certbot python3-certbot-apache mod_limitipconn
  2. Copy these files from old to new machine
    • /etc/httpd/conf.d/*
    • /var/www/html/index.html
    • /etc/webalizer.d/*
    • /etc/letsencrypt
    • /root/UCSF_SSL_CERT
    • /var/log/httpd/*
    • /var/lib/webalizer/
    • /var/www/usage/