Posts

Showing posts from 2021

Configure Static IP Address (CLI) on Ubuntu 18.04.5 LTS

 goto: sudo nano /etc/netplan/01-netcfg.yaml Sample Config: # This file describes the network interfaces available on your system # For more information, see netplan(5). network:   version: 2   renderer: networkd   ethernets:         ens160:             dhcp4: no             addresses: ['192.168.1.26/24']             gateway4: 192.168.1.1             nameservers:                 addresses: [8.8.8.8, 8.8.4.4]                 search: [hak786.blogspot.com] sudo netplan apply

How to Install Nginx on Ubuntu 16.04

  Prerequisites Before starting with the tutorial, make sure you are logged in as a  user with sudo privileges  and you don’t have Apache or any other service running on port 80 or 443. Install Nginx Nginx packages are available in Ubuntu default software repositories. The installation is a pretty straightforward, simply run the following commands: sudo apt update sudo apt install nginx Once the installation is completed, check the status of the Nginx service by typing: sudo systemctl status nginx The output should show you that the Nginx service is active and running: ● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Active: active (running) since Sun 2018-01-05 15:44:04 UTC; 1min 59s ago Main PID: 1291 (nginx) CGroup: /system.slice/nginx.service ├─1291 nginx: master process /usr/sbin/nginx -g daemon on; master_process on └─1293 nginx: worker pro

How To Install Webmin on Ubuntu 18.04

Image
  Step 1 — Installing Webmin First, we need to add the Webmin repository so that we can easily install and update Webmin using our package manager. We do this by adding the repository to the  /etc/apt/sources.list  file. Open the file in your editor: sudo nano /etc/apt/sources.list   Copy Then add this line to the bottom of the file to add the new repository: /etc/apt/sources.list . . . deb http://download.webmin.com/download/repository sarge contrib   Copy Save the file and exit the editor. Next, add the Webmin PGP key so that your system will trust the new repository: wget http://www.webmin.com/jcameron-key.asc sudo apt-key add jcameron-key.asc   Copy Next, update the list of packages to include the Webmin repository: sudo apt update   Copy Then install Webmin: sudo apt install webmin   Copy Once the installation finishes, you’ll be presented with the following output: Output Webmin install complete. You can now login to https:// your_server_ip :10000 as root with your