version 1.59, 2019/10/30 03:42:05
|
version 1.62, 2019/12/03 21:52:44
|
Line 357 sub get_hostname {
|
Line 357 sub get_hostname {
|
} |
} |
|
|
# |
# |
# get_hostname() prompts the user to provide the server's IPv4 IP address |
# get_hostip() prompts the user to provide the server's IPv4 IP address |
# |
# |
# If invalid input is provided, the routine is called recursively |
# If invalid input is provided, the routine is called recursively |
# until, a valid IPv4 address is provided. |
# until, a valid IPv4 address is provided. |
Line 734 sub chkconfig {
|
Line 734 sub chkconfig {
|
if (($distro =~ /^ubuntu/) && ($version <= 8)) { |
if (($distro =~ /^ubuntu/) && ($version <= 8)) { |
$daemon{'cups'} = 'cupsys'; |
$daemon{'cups'} = 'cupsys'; |
} |
} |
|
if (($distro =~ /^ubuntu/) && ($version >= 18)) { |
|
$daemon{'ntp'} = 'chrony'; |
|
} |
} elsif ($distro =~ /^fedora(\d+)/) { |
} elsif ($distro =~ /^fedora(\d+)/) { |
my $version = $1; |
my $version = $1; |
if ($version >= 15) { |
if ($version >= 15) { |
Line 2603 sub copy_httpd_conf {
|
Line 2606 sub copy_httpd_conf {
|
## |
## |
## The LON-CAPA mpm.conf enables the prefork MPM module in |
## The LON-CAPA mpm.conf enables the prefork MPM module in |
## Apache. This is also the default for RHEL/CentOS/Oracle |
## Apache. This is also the default for RHEL/CentOS/Oracle |
## Linux 7and earlier, and Fedora 26 and earlier. For more |
## Linux 7 and earlier, and Fedora 26 and earlier. For more |
## recent versions of those distros, the event MPM is enabled |
## recent versions of those distros, the event MPM is enabled |
## by default. After ©_mpm_conf() is run, the prefork MPM |
## by default. After ©_mpm_conf() is run, the prefork MPM |
## module will be enabled instead of the event MPM module. |
## module will be enabled instead of the event MPM module. |