Ubuntu

If GUI is not installed on Ubuntu, you need to setup Network configuration by editing some files.

Here is an example of how to set static IP address on Ubuntu 20.04.Move the default configuration file.$ mv/etc/netplan/00-installer-config.yaml/etc/netplan/00-installer-config.yaml.bkupEdit Netwo ...

CentOS,Firewall,Infrastructure,Security,Ubuntu

For example, we assume that the packets received at the Node A’s interface “192.168.0.3” will be forwarded from another interface “172.20.0.1” to the destination Node B “172.20.0.11”.

Forward From Node A (192.168.0.3) to Node B (172.20.0.11)

In the f ...

Infrastructure,Ubuntu

NOTICE: Certbot-auto can NOT Work on Ubuntu 20.04

Generally we can download certbot-auto and use it by using like the following commands,

wget mv certbot-auto/usr/local/bin/certbot-autosudo chown root/usr/local/bin/certbot-autosudo chmod 0755/usr/local/bin/certbot-auto

Example: Get a certifi ...

Infrastructure,Ubuntu

Check Current Timezone$ timedatectl

Example:

$ timedatectl Local time: Wed 2020-07-01 01:35:04 UTC Universal time: Wed 2020-07-01 01:35:04 UTC RTC time: Wed 2020-07-01 01:35:05 Time zone: Etc/UTC (UTC, +0000)System clock synchronized: yes NTP service: active RTC in local TZ: noChange Timezone

Infrastructure,Nginx,Ubuntu

Nginx is one of the most popular and highest performance web servers in the world.
In most cases it is used a web server or HTTP/HTTPS reverse proxy. Also recently it can become a proxy of UDP stream.

Install Nginx on Ubuntu 20.04sudo apt updatesudo apt install nginxCheck If Your Nginx is ...

Infrastructure,Ubuntu

Install Samba Server on Ubuntu 20.04

Install the Samba from Ubuntu repository with following commands in your Ubuntu terminal.

sudo apt upgradesudo apt install samba

After install, check status and version.

smbd --versionsystemctl status smbdsystemctl status nmbd

Example:

Edit/etc/sam ...

Infrastructure,Ubuntu

This is quick setup guide to connect to Ubuntu 20.04 via Remote Desktop.

Install xrdp with apt commandsudo apt updatesudo apt install -y xrdpsudo systemctl restart xrdpConnect from Windows 10 to Ubuntu 20.04

Open RDP on Windows 10 . Before you connect from Windows to Ubuntu via RDP, I recomm ...