Postingan

Menampilkan postingan dengan label Debian

Change hostname and FQDN on debian

Hostname and FQDN on Debian On Debian systems, the hostname is set during startup by the script: /etc/init.d/hostname.sh This script reads the hostname from the file: /etc/hostname You can use this file to update the system hostname as well as its FQDN (Fully Qualified Domain Name) . Important Note In the /etc/hosts file, the order of hostname and FQDN must be correct . The FQDN should appear first, followed by the short hostname. Steps to Change Hostname and FQDN 1. Update the Hostname Run: echo "my-computer" > /etc/hostname 2. Update the Hosts File Edit /etc/hosts : echo "127.0.0.1 my-computer.my-domain.ext my-computer localhost" > /etc/hosts Order explanation: FQDN → my-computer.my-domain.ext Short hostname → my-computer Local alias → localhost 3. Apply the Changes Run: /etc/init.d/hostname.sh Verify the Changes Check the hostname: hostname Output: my-computer Check the FQDN: hostname --fqdn Output: my-computer.my-doma...

Cara upgrade Debian 9

Upgrade yang saya lakukan adalah dari Debian 9.2 ke 9.5 cek debian version dengan perintah lsb_relesea -a untuk upgrade caranya cukup simple, pertama pastikan repository sudah terkonfigurasi dengan baik, kemudian tinggal jalankan perintah apt-get update apt-get dist-upgrade reboot cek kembali lsb_release -a

Konfigurasi User Disk Quota

Gambar
Contoh soal: - Tambah sebuah disk, jadikan sebuah partisi dengan file system ext4, mount di /data - Buat user dengan direktori di /data/[user] - Terapkan quota untuk user Jawab: Configuration summary root@nas-srv1:~#apt get install quota quotatool root@nas-srv1:~#pico /etc/fstab ... /dev/sdb1 /data ext4 defaults,usrquota 0 0 root@nas-srv1:~#reboot root@nas-srv1:~#quotacheck -um /data root@nas-srv1:~#quotaon -uv /data root@nas-srv1:~#quotaon -p -a root@nas-srv1:~#edquota -u nasohi #set quota for a user 'nasohi' # specify quota. the example below set 1G for it User            used    soft    hard  grace    used  soft  hard  grace ---------------------------------------------------------------------- nasohi   --      0    1024000 1024000              0     0     0 root@na...

Pembahasan IT Network Systems Administration Module A DNS (Forward Zone, Reverse Zone, CNAME, MX, Split View)

Gambar
Pembahasan IT Network Systems Administration — DNS (Forward Zone, Reverse Zone, CNAME, MX, Split View) Berikut adalah screenshot dan video pembahasan mengenai Module A: DNS, yang mencakup konfigurasi: Berikut penjelasan singkat dan mudah dipahami: 1. Forward Zone Forward Zone adalah konfigurasi DNS untuk menerjemahkan nama domain menjadi alamat IP. 👉 Contoh: www.perusahaan.com → 192.168.1.10 Jadi ketika user mengetik domain di browser, DNS akan mencari IP-nya melalui forward lookup. --- 2. Reverse Zone Reverse Zone adalah kebalikan dari forward zone, yaitu untuk menerjemahkan alamat IP menjadi nama domain. 👉 Contoh: 192.168.1.10 → www.perusahaan.com Biasanya digunakan untuk: Validasi email server Logging jaringan Keamanan (PTR record) --- 3. CNAME (Canonical Name) CNAME adalah record DNS yang berfungsi sebagai alias dari domain lain. 👉 Contoh: ftp.perusahaan.com → CNAME → file.perusahaan.com Artinya: Tidak punya IP sendiri Mengarah ke domain utama --- 4. MX Record (Mail Exchange) MX...

Installing PowerShell Core on Linux

Gambar
Download the Debian package powershell_6.0.3-1.debian.9_amd64.deb from the releases page onto the Debian machine. https://github.com/PowerShell/PowerShell/releases/tag/v6.0.3 An then execute the following in the terminal: wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.3/powershell_6.0.3-1.debian.9_amd64.deb dpkg -i powershell_6.0.3-1.debian.9_amd64.deb apt-get install -f Run PowerShell

Adding a New Virtual Disk to a Virtual Machine GNU/Linux Debian

Gambar
Berikut adalah screenshot penambahan virtual disk ke virtual machine GNU/Linux Debian 1. Klik menu settings pada vm yang ingin ditambah disk nya 2.  Cek disk di GNU/Linux Debian Berikut menggunakan perintah fdisk -l Ini menggunakan perintah lsblk Bisa terlihat dua disk yang baru ditambahkan dengan masing-masing size 5GB sudah terdeteksi di GNU/Linux Debian, untuk lokasi /dev/sd* lihat dan sesuaikan di system anda, selanjutnya bisa dilakukan konfigurasi partisi, LVM, RAID, Mounting, dll.

How to use jigdo downloader to download Debian Linux installation ISO images (CD, DVD, DLBD)

The files in that directory are provided in Jigdo format . Jigdo allows you to download a complete ISO image efficiently by retrieving file pieces from a Debian mirror and assembling them locally. At the end of the process, you will get an exact ISO file , the same as if you had downloaded it directly via HTTP or FTP. 📥 Jigdo Download Sources 🌍 Official Global Mirror https://cdimage.debian.org/debian-cd/current/amd64/jigdo-dlbd/ 🇮🇩 Indonesia Mirror (Recommended for speed) http://kambing.ui.ac.id/iso/debian/current/amd64/jigdo-dlbd/ 🧰 Step 1 — Install Jigdo Tools Install the required package: apt-get install jigdo-file ▶️ Step 2 — Run Jigdo Start the tool: jigdo-lite You will see a prompt like this: To start a new download, enter URL of .jigdo file. You can also enter several URLs/filenames, separated with spaces, or enumerate in {}, e.g. `http://server/cd-{1_NONUS,2,3}.jigdo' jigdo: 🌐 Step 3 — Enter Jigdo File URL Paste the URL of the .jigdo file when pr...