hostnamectl set-hostname fqdn.domain.tld
sudo apt install postfix libsasl2-modules mailutils -y
Download Office Deployment Tool (ODT) | |
https://officecdn.microsoft.com/pr/wsus/setup.exe | |
Generate Configuration from Here | |
https://config.office.com/deploymentsettings | |
Or create a file named "Configuration.xml" | |
<Configuration ID="715bbef8-1f6a-4e50-b9dd-bd8f2185885d"> | |
<Add OfficeClientEdition="64" Channel="Current"> | |
<Product ID="O365ProPlusRetail"> | |
<Language ID="en-us" /> |
sudo useradd -rs /bin/false prometheus | |
sudo mkdir /etc/prometheus /var/lib/prometheus | |
cd /tmp && wget https://github.com/prometheus/prometheus/releases/download/v2.51.0/prometheus-2.51.0.linux-amd64.tar.gz | |
tar -xvf prometheus-*.*-amd64.tar.gz && cd prometheus-*.*-amd64 | |
sudo mv console* /etc/prometheus | |
sudo mv prometheus.yml /etc/prometheus | |
sudo mv prometheus promtool /usr/local/bin/ | |
sudo chown prometheus:prometheus /usr/local/bin/prometheus /etc/prometheus /var/lib/prometheus | |
sudo nano /etc/systemd/system/prometheus.service |
general: | |
# This can be changed to allow messages to be sent from multiple IP addresses | |
use_ip_pools: true | |
web: | |
# The host that the management interface will be available on | |
host: fqdn.domain.tld | |
# The protocol that requests to the management interface should happen on | |
protocol: https |
hostnamectl set-hostname fqdn.domain.tld
curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh get-docker.sh
curl -SL https://github.com/docker/compose/releases/download/v2.24.1/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose && sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
Enable System IP forwarding first
echo 'net.ipv4.ip_forward = 1' | sudo tee -a /etc/sysctl.conf
echo 'net.ipv6.conf.all.forwarding = 1' | sudo tee -a /etc/sysctl.conf
sudo sysctl -p /etc/sysctl.conf
Here is sample network configuration (remove comments "##") Replace your interface name, public IP, internal NAT IP
## Download Go | |
sudo wget --output-document /opt/go.tar.gz https://go.dev/dl/go1.22.3.linux-amd64.tar.gz | |
## Remove Existing Go and Extract Downloaded Go | |
sudo rm -rf /usr/local/go && sudo tar --directory /usr/local --extract --gzip --file /opt/go.tar.gz && sudo rm /opt/go.tar.gz | |
## Delete & Recreate user for Derper | |
sudo userdel -r derp && sudo useradd --system --create-home --home-dir /opt/derp --shell /bin/bash derp | |
## Export Profile path |