Background:
Tools that were needed during troubleshooting self-hosted Nextcloud and Standard Notes.
Configurations:
nginx installation and its common paths.
apt update -y
apt install nginx -y
# /etc/nginx/sites-available
# /etc/nginx/sites-enabled
unlink /etc/nginx/sites-enabled/default
ln -s /etc/nginx/sites-available/YourConfigFile /etc/nginx/sites-enabled/YourConfigFile
Mount network shares on Ubuntu Server.
# I needed to share files between my Windows servers and Ubuntu servers. The shared folders were created and managed from Windows Server 2019.
apt update -y
apt install cifs-utils -y
mkdir /mnt/my-folder
mount -t cifs //server-name/share-name /mnt/my-folder -o username=username,password=password,domain=domain
# use mount command to see all mount points
Install net-tools to use ifconfig.
apt update -y
apt install net-tools -y