This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

Monday, November 04, 2024

Docker, DNS container startup script

Docker, command line below can not auto start upon server boot updocker run -d --rm -it --name dnsmasq -v ${PWD}/dnsmasq.d:/etc/dnsmasq.d:ro -v ${PWD}/hosts:/etc/hosts -v ${PWD}/dnsmasq.conf:/etc/dnsmasq.conf -v /var/log/dnsmasq/dnsmasq.log:/var/log/dnsmasq.log -p 53:53/tcp -p 53:53/udp dnsmasqChanges:${PWD}  =>  /home/ubuntu/dnsmasq--rm    =>  --restart unless-stopped docker run -d -it --name dnsmasq -v /home/ubuntu/dnsmasq/dnsmasq.d:/etc/dnsmasq.d:ro...

Saturday, August 31, 2024

How to Enable ssl nginx on Ubuntu 22.04

sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/ssl-cert-snakeoil.key -out /etc/ssl/certs/ssl-cert-snakeoil.pemsudo openssl dhparam -out /etc/nginx/dhparam.pem 4096sudo nano /etc/nginx/snippets/ssl-params.confcd /etc/nginx/sites-availablesudo cp defaul ssl-defaultsudo nano ssl-default--->...

Friday, August 30, 2024

How to Install Docker on Ubuntu 22.04

cd ~sudo apt updatesudo apt install apt-transport-https ca-certificates curl software-properties-commoncurl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpgecho "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg]...

Friday, August 09, 2024

How to Enable snmp Daemon

$ sudo apt update$ sudo apt install snmp snmpd snmp-mibs-downloader$ sudo nano /etc/snmp/snmpd.confThen set rocommunity password securely:agentaddress  udp:161view   systemonly  included   .1.3.6.1.2.1view   systemonly  included   .1.3.6.1.4.1rocommunity  public1234xA12 default -V systemonly$ sudo systemctl restart snmpdSecuring SNMP ConfigurationSecurity is a critical aspect when configuring...

Friday, July 26, 2024

How to test your Linux Antivirus (eicar)

Here are the step I follow to test if antivirus is working: Download these antivirus test file, do not be afraid they are will not harm to your server. $ cd ~ && mkdir virustest$ wget https://secure.eicar.org/eicarcom2.zip $ wget https://secure.eicar.org/eicar_com.zip $ wget https://secure.eicar.org/eicar.com.txt $...

Antivirus for Linux (clamav)

Antivirus for linux mostly delivered as commercial product, rare to be a free. Among free of charge antivirus for linux, but with limited features is clamav. How to install clamav? $ sudo apt update $ sudo apt install clamav How use use clamav to scan virus? $ clamscan /path/to/targetHow to update...

Monday, July 22, 2024

Ansible Ubuntu 24.04 LTS

Ansible installation on Ubuntu 24.04LTS sudo apt update sudo apt upgrade sudo apt install ansible sudo mkdir /etc/ansible sudo chown user:user /etc/ansible ansible-config init --disabled > /etc/ansible/ansible.cfg nano /etc/ansible/hosts Test ping ansible all -m pi...

Sunday, July 21, 2024

Tutorial Network 01

 Jaringan sederhana berikut terdiri dari 2 komputer. div class="mxgraph" style="max-width: 100%; border: 1px solid transparent; position: relative; touch-action: none; color-scheme: light; cursor: pointer; overflow: hidden; margin-top: 26px; width: 621px; height: 353.957px;" data-mxgraph="{"highlight":"#0000ff","nav":true,"resize":true,"toolbar":"zoom layers tags lightbox","edit":"https://app.diagrams.net/#Hyasriady%2Ftutorial%2Fmain%2Fnet01.drawio#%7B%22pageId%22%3A%22e3a06f82-3646-2815-327d-82caf3d4e204%22%7D","xml":"\n...