Tag: Amazon Linux 2

4 occurrences
Occurrence Published
Published: June 2022

Sendmail configuration

In OpenSuse use: m4 /etc/mail/linux.mc > /etc/sendmail.cf make In Fedora, Redhat or Amazon Linux 2 instead use: /etc/mail/make Restart sendmail To restart sendmail, in OpenSuse use: systemctl restart sendmail In Fedora, Redhat or Amazon Linux instead use: service sendmail restart Test configuration To check that everything is configured correctly, you can ask sendmail to confirm how it will deliver messages to the Jiglu domain.

Published: February 2022

Java installation

On OpenSuse use: zypper install java-11-openjdk java-11-openjdk-headless You may also need to install fonts so that the captcha images work: zypper install fetchmsttfonts On Amazon Linux 2 instead use: yum install java-11-amazon-corretto java-11-amazon-corretto-headless If it was already installed you may need to check the correct JRE is set as the default: update-alternatives --config java

Published: April 2021

Configuring Apache

Automatic starting To enable Apache to start when the server is booted, on OpenSuse use: systemctl enable apache2 systemctl start apache2 On Amazon Linux 2 use: systemctl enable httpd systemctl start httpd

PostgreSQL installation

On OpenSuse 15.2 to install PostgreSQL 12 use: zypper install postgresql12 postgresql12-server postgresql12-contrib On Amazon Linux 2 to install PostgreSQL 10 use: amazon-linux-extras install postgresql10 Shared memory Most Linux distributions will come with shared memory already suitably configured for running PostgreSQL.