root@proxmox:~# pct enter 111
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
root@DebianTest:~# dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "en_US.UTF-8",
LC_CTYPE = "en_US.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales (this might take a while)...
en_US.UTF-8... done
Generation complete.
root@DebianTest:~# apt update
Ign:1
http://ftp.debian.org/debian stretch InRelease
Get:2
http://ftp.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:3
http://ftp.debian.org/debian stretch Release [118 kB]
Get:4
http://ftp.debian.org/debian stretch-updates/main amd64 Packages.diff/Index [736 B]
Get:5
http://security.debian.org stretch/updates InRelease [62.9 kB]
Get:6
http://ftp.debian.org/debian stretch Release.gpg [2,373 B]
Get:7
http://security.debian.org stretch/updates/main amd64 Packages [176 kB]
Get:8
http://security.debian.org stretch/updates/main Translation-en [81.3 kB]
Get:9
http://ftp.debian.org/debian stretch-updates/main Translation-en [3,040 B]
Get:10
http://ftp.debian.org/debian stretch-updates/main amd64 Packages [5,168 B]
Get:11
http://security.debian.org stretch/updates/contrib amd64 Packages [1,352 B]
Get:12
http://security.debian.org stretch/updates/contrib Translation-en [1,023 B]
Get:13
http://ftp.debian.org/debian stretch/main amd64 Packages [7,095 kB]
Get:14
http://ftp.debian.org/debian stretch/main Translation-en [5,393 kB]
Get:15
http://ftp.debian.org/debian stretch/contrib Translation-en [45.9 kB]
Fetched 13.1 MB in 3s (4,188 kB/s)
Reading package lists... Done
Building dependency tree... Done
43 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@DebianTest:~# apt-get install apache2
Reading package lists... Done
Building dependency tree... Done
The following additional packages will be installed:
apache2-bin apache2-data apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0
Suggested packages:
www-browser apache2-doc apache2-suexec-pristine | apache2-suexec-custom
The following NEW packages will be installed:
apache2 apache2-bin apache2-data apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0
0 upgraded, 9 newly installed, 0 to remove and 43 not upgraded.
Need to get 1,794 kB/2,123 kB of archives.
After this operation, 7,073 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1
http://security.debian.org stretch/updates/main amd64 apache2-bin amd64 2.4.25-3+deb9u3 [1,181 kB]
Get:2
http://security.debian.org stretch/updates/main amd64 apache2-utils amd64 2.4.25-3+deb9u3 [217 kB]
Get:3
http://security.debian.org stretch/updates/main amd64 apache2-data all 2.4.25-3+deb9u3 [162 kB]
Get:4
http://security.debian.org stretch/updates/main amd64 apache2 amd64 2.4.25-3+deb9u3 [235 kB]
Fetched 1,794 kB in 0s (6,587 kB/s)
Selecting previously unselected package libapr1:amd64.
(Reading database ... 20254 files and directories currently installed.)
Preparing to unpack .../0-libapr1_1.5.2-5_amd64.deb ...
Unpacking libapr1:amd64 (1.5.2-5) ...
Selecting previously unselected package libaprutil1:amd64.
Preparing to unpack .../1-libaprutil1_1.5.4-3_amd64.deb ...
Unpacking libaprutil1:amd64 (1.5.4-3) ...
Selecting previously unselected package libaprutil1-dbd-sqlite3:amd64.
Preparing to unpack .../2-libaprutil1-dbd-sqlite3_1.5.4-3_amd64.deb ...
Unpacking libaprutil1-dbd-sqlite3:amd64 (1.5.4-3) ...
Selecting previously unselected package libaprutil1-ldap:amd64.
Preparing to unpack .../3-libaprutil1-ldap_1.5.4-3_amd64.deb ...
Unpacking libaprutil1-ldap:amd64 (1.5.4-3) ...
Selecting previously unselected package liblua5.2-0:amd64.
Preparing to unpack .../4-liblua5.2-0_5.2.4-1.1+b2_amd64.deb ...
Unpacking liblua5.2-0:amd64 (5.2.4-1.1+b2) ...
Selecting previously unselected package apache2-bin.
Preparing to unpack .../5-apache2-bin_2.4.25-3+deb9u3_amd64.deb ...
Unpacking apache2-bin (2.4.25-3+deb9u3) ...
Selecting previously unselected package apache2-utils.
Preparing to unpack .../6-apache2-utils_2.4.25-3+deb9u3_amd64.deb ...
Unpacking apache2-utils (2.4.25-3+deb9u3) ...
Selecting previously unselected package apache2-data.
Preparing to unpack .../7-apache2-data_2.4.25-3+deb9u3_all.deb ...
Unpacking apache2-data (2.4.25-3+deb9u3) ...
Selecting previously unselected package apache2.
Preparing to unpack .../8-apache2_2.4.25-3+deb9u3_amd64.deb ...
Unpacking apache2 (2.4.25-3+deb9u3) ...
Setting up libapr1:amd64 (1.5.2-5) ...
Setting up apache2-data (2.4.25-3+deb9u3) ...
Processing triggers for libc-bin (2.24-11) ...
Setting up libaprutil1:amd64 (1.5.4-3) ...
Processing triggers for systemd (232-25) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up liblua5.2-0:amd64 (5.2.4-1.1+b2) ...
Setting up libaprutil1-ldap:amd64 (1.5.4-3) ...
Setting up libaprutil1-dbd-sqlite3:amd64 (1.5.4-3) ...
Setting up apache2-utils (2.4.25-3+deb9u3) ...
Setting up apache2-bin (2.4.25-3+deb9u3) ...
Setting up apache2 (2.4.25-3+deb9u3) ...
Enabling module mpm_event.
Enabling module authz_core.
Enabling module authz_host.
Enabling module authn_core.
Enabling module auth_basic.
Enabling module access_compat.
Enabling module authn_file.
Enabling module authz_user.
Enabling module alias.
Enabling module dir.
Enabling module autoindex.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module filter.
Enabling module deflate.
Enabling module status.
Enabling module reqtimeout.
Enabling conf charset.
Enabling conf localized-error-pages.
Enabling conf other-vhosts-access-log.
Enabling conf security.
Enabling conf serve-cgi-bin.
Enabling site 000-default.
Created symlink /etc/systemd/system/multi-user.target.wants/apache2.service → /lib/systemd/system/apache2.service.
Created symlink /etc/systemd/system/multi-user.target.wants/apache-htcacheclean.service → /lib/systemd/system/apache-htcacheclean.service.
Processing triggers for libc-bin (2.24-11) ...
Processing triggers for systemd (232-25) ...
root@DebianTest:~# systemctl status apache2
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2017-10-01 16:14:10 UTC; 1min 34s ago
Main PID: 1484 (apache2)
CGroup: /system.slice/apache2.service
├─1484 /usr/sbin/apache2 -k start
├─1485 /usr/sbin/apache2 -k start
└─1487 /usr/sbin/apache2 -k start
Oct 01 16:14:10 DebianTest systemd[1]: Starting The Apache HTTP Server...
Oct 01 16:14:10 DebianTest apachectl[1473]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Oct 01 16:14:10 DebianTest systemd[1]: Started The Apache HTTP Server.
root@DebianTest:~# exit
exit
root@proxmox:~# pct stop 111 && pct start 111 && pct enter 111
root@DebianTest:~# systemctl status apache2
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: inactive (dead)