Category: unix

  • Install Rocky Linux

    Download the DVD iso from rockylinux. Since DVD iso is the full installation package. Step01 Mount the iso to the device you want to install rocky linux. Step02 Choose language you would like to use Step03 Basic system configuration page (Step 04~08 will refer to this snapshot)The installation can not continue if you have not…

  • Change hostname on Centos (CLI)

    If you forgot to set the hostname at the installation process, it’s little bit tricky to change it using shell(CLI). This blog post will teach you how to change hostname using command line. Prerequisite1. You have root password/sshkey or sudo user’s password Step 01Check current hostname using hostnamectl. The value display under “Static hostname” is…

  • How to setup DHCP server on Ubuntu

    Sometimes we might need to set up a DHCP server for our testing. Here is how to set up a simple DHCP server in ubuntu. Step 01Update the package repository. Step 02Install isc-dhcp-server package. Step 03Check which interface you want the DHCP server to listen on.In my example the interface is “enp0s25”. Step 04Edit the…

  • How to set time(zone) on unix server

    Step1List timezones with command below. Step2Find the desired timezone in list. Step3Set timezone with the command below. Step4Check the if the timezone has been changed with the command below.