<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Tio Jevero on Medium]]></title>
        <description><![CDATA[Stories by Tio Jevero on Medium]]></description>
        <link>https://medium.com/@tiojevero?source=rss-18689e4e4abe------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*3xb90xJqJMoFXmAjMQpUow.png</url>
            <title>Stories by Tio Jevero on Medium</title>
            <link>https://medium.com/@tiojevero?source=rss-18689e4e4abe------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 00:59:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tiojevero/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[CCNA RS — Remote Cisco Switch via SSH— Tio Jevero]]></title>
            <link>https://medium.com/tio-jevero/ccna-rs-remote-cisco-switch-via-ssh-tio-jevero-f1a6bcb2de9b?source=rss-18689e4e4abe------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1a6bcb2de9b</guid>
            <category><![CDATA[switch]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[routing]]></category>
            <category><![CDATA[certification]]></category>
            <category><![CDATA[cisco]]></category>
            <dc:creator><![CDATA[Tio Jevero]]></dc:creator>
            <pubDate>Tue, 13 Aug 2019 08:18:46 GMT</pubDate>
            <atom:updated>2019-08-13T08:18:46.439Z</atom:updated>
            <content:encoded><![CDATA[<h3>CCNA RS — Remote Cisco Switch via SSH— Tio Jevero</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IggxFn6M12k-nmzfCBgkzg.png" /></figure><p>Hello World 🤗</p><p>Pada tulisan saya sebelumnya saya sudah menunjukan bagaimana cara mengaktifkan Telnet di Cisco Switch agar bisa diremote dari perangkat lain. Untuk tulisan saya kali ini, seperti judulnya, saya akan membahas tentang bagaimana cara mengakses atau meremote Switch Cisco dengan menggunakan SSH. Sebelum masuk ke materi konfigurasinya, sebelumnya saya juga akan menjelaskan sedikit tentang apa itu SSH.</p><h4>Apa itu SSH ? 🤷‍♂️</h4><p><strong>SSH </strong>atau <strong>Secure Shell </strong>adalah salah satu protocol jaringan client-server yang digunakan untuk meremote atau mengakses suatu perangkat dari jarak jauh, atau dari luar perangkat itu sendiri. Mungkin pengertiannya terdengar sama dengan pengertian <strong>Telnet</strong> pada <a href="https://medium.com/@tiojevero/ccna-rs-remote-cisco-switch-via-telnet-tio-jevero-6691c7a49d69">tulisan saya sebelumnya</a>. Itu karena saya memang copas dari situ 😂. Hehehe… itu karena sejatinya Telnet dan SSH itu memang fungsinya sama, yaitu sama-sama layanan remote client-server.</p><blockquote>Terus bedanya apa? Kenapa harus pake SSH kalo sudah ada Telnet?</blockquote><p>Tenang-tenang, gausah emosi dulu ✋.. akan saya jelaskan kok perbedaan Telnet dan SSH. Makannya baca paragraf selanjutnya 👇👇.</p><h4><strong>SSH vs Telnet 🔫</strong></h4><p>SSH singkatnya adalah versi lebih mutakhir dari Telnet. Pada SSH koneksi yang dibentuk jauh lebih aman 🔐daripada koneksi remote yang dibentuk dengan Telnet. Itu karena pada SSH terdapat proses Enkripsi, sedangkan pada Telnet tidak ada. SSH tidak hanya dapat menjadi protocol remote saja, melainkan juga dapat menjadi media file transfer. Namun Telnet sedikit lebih cepat daripada SSH, hal ini dikarenakan proses Enkripsi pada SSH cukup membutuhkan waktu meskipun tidak memakan waktu lama. Baik, saya rasa sudah cukup untuk perkenalan dengan SSH, selanjutnya kita langsung saja memulai konfigurasinya . Tapi maaf ya kalau ada beberapa kalimat di tulisan ini yang saya copas dari tulisan saya sebelumnya, itu karena konfigurasi dari SSH dan Telnet ini tidak jauh berbeda😁.</p><h4>Konfigurasi 🔧</h4><p>Topologi yang akan kita gunakan pada konfigurasi kali ini adalah seperti dibawah ini 👇.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/1*ABLPHJsJ6IhNXQfUPyJKAA.png" /><figcaption>Remote Cisco Switch via SSH Topology</figcaption></figure><p>Jadi seperti yang kita ketahui pada gambar diatas 👆, kita memiliki 1 Switch untuk diremote dan 1 PC untuk meremote Switch-nya. Disini PC-1 terhubung ke Interface Fa0/1 pada Switch(SW-1). Untuk IP Address pada Switch kita tidak menaruhnya langsung di Interface Fa0/1, melainkan kita disini akan menaruhnya di vlan1 yang mana IP Address nya adalah 192.168.26.1/24 dan untuk pada sisi PC adalah 192.168.26.2/24. Selanjutnya langsung saja kita mulai konfigurasinya 🚀.</p><p>Pertama, kita konfigurasi IP Address pada PC-1 dan SW-1 seperti pada Topologi diatas, untuk SW-1 seperti yang saya katakan sebelumnya, kita akan mengkonfigurasi IP Address bukan pada Interface Fa0/1, namun pada Vlan. Untuk SW-1 konfigurasinya seperti berikut.</p><pre><strong>Switch(config)#</strong> interface vlan1<br><strong>Switch(config-if)#</strong> no shutdown<br><strong>Switch(config-if)#</strong> ip address 192.168.26.1 255.255.255.0<br><strong>Switch(config-if)#</strong> exit<br><strong>Switch(config)#</strong></pre><p>Setelah konfigurasi IP Address selesai, pastikan antara SW-1 dan PC-1 sudah bisa berkomunikasi satu sama lain, kalian bisa test dengan melakukan Ping. Setelah SW-1 dan PC-1 terhubung satu sama lain, selanjutnya kita bisa mengkonfigurasi atau mengaktifkan SSH agar Switch bisa diremote dari PC-1. Untuk konfigurasi SSH nya, pertama, kita buat domain pada switch terlebih dahulu, lalu kita melakukan generate rsa key (hostname dari switch tidak boleh Default). Untuk konfigurasinya adalah seperti berikut.</p><pre><strong>Switch(config)# </strong>ip domain-name tiojevero.net<br><strong>Switch(config)#</strong> hostname SW-1<br><strong>SW-1(config)#</strong> crypto key generate rsa<br>The name for the keys will be: SW-1.tiojevero.net<br>Choose the size of the key modulus in the range of 360 to 2048 for your<br>General Purpose Keys. Choosing a key modulus greater than 512 may take<br>a few minutes.<br>How many bits in the modulus [512]:<br>% Generating 512 bit RSA keys, keys will be non-exportable…[OK]<br><strong>SW-1(config)#</strong></pre><p>Selanjutnya kita bisa mulai melakukan konfigurasi untuk mengaktifkan SSH-nya. Konfigurasinya seperti berikut.</p><pre><strong>SW-1(config)#</strong> username admin password tiojevero<br><strong>SW-1(config)# </strong>line vty 0 2<br><strong>SW-1(config-line)#</strong> transport input ssh<br><strong>SW-1(config-line)#</strong> login local<br><strong>SW-1(config-line)# </strong>enable secret tiojevero<br><strong>SW-1(config)#</strong></pre><p>Jika kalian sudah melakukan konfigurasi diatas, selanjutnya coba akses SW-1 menggunakan SSH dari PC-1 seperti dibawah ini.</p><pre><strong>C:\&gt;</strong> ssh -l admin 192.168.26.1<br>Password:<br><strong>SW-1&gt;</strong> enable<br>Password:<br><strong>SW-1#</strong> conf t<br>Enter configuration commands, one per line. End with CNTL/Z.<br><strong>SW-1(config)#</strong></pre><p>Seperti yang kalian lihat diatas, kita sudah berhasil mengakses SW-1 menggunakan SSH dari PC-1.</p><p>Selesai 🏁</p><p><strong>Stay Tune, and see you on the Next Tutorial.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1a6bcb2de9b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tio-jevero/ccna-rs-remote-cisco-switch-via-ssh-tio-jevero-f1a6bcb2de9b">CCNA RS — Remote Cisco Switch via SSH— Tio Jevero</a> was originally published in <a href="https://medium.com/tio-jevero">Tio Jevero</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CCNA RS — Remote Cisco Switch via Telnet — Tio Jevero]]></title>
            <link>https://medium.com/tio-jevero/ccna-rs-remote-cisco-switch-via-telnet-tio-jevero-6691c7a49d69?source=rss-18689e4e4abe------2</link>
            <guid isPermaLink="false">https://medium.com/p/6691c7a49d69</guid>
            <category><![CDATA[switch]]></category>
            <category><![CDATA[cisco]]></category>
            <category><![CDATA[certification]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[routing]]></category>
            <dc:creator><![CDATA[Tio Jevero]]></dc:creator>
            <pubDate>Tue, 13 Aug 2019 07:25:44 GMT</pubDate>
            <atom:updated>2019-08-13T07:25:44.188Z</atom:updated>
            <content:encoded><![CDATA[<h3>CCNA RS — Remote Cisco Switch via Telnet — Tio Jevero</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IggxFn6M12k-nmzfCBgkzg.png" /></figure><p>Hello World 🤗</p><p>Pada tulisan kali ini , saya akan membahas tentang bagaimana cara mengakses atau meremote Switch Cisco dengan menggunakan Telnet. Sebelum masuk ke materi konfigurasinya, sebelumnya saya akan menjelaskan sedikit tentang apa itu Telnet.</p><h4>Apa itu Telnet ? 🤷‍♂️</h4><p><strong>Telnet</strong> atau <strong>Telecommunication Network </strong>adalah protocol jaringan client-server yang digunakan untuk meremote atau mengakses suatu perangkat dari jarak jauh, atau dari luar perangkat itu sendiri. Telnet sendiri secara default menggunaknan Protocol TCP pada port 23 untuk membuat koneksi. Jadi tujuan utama kita pada tulisan saya kali ini, adalah bagaimana agar nantinya kita bisa mengakses atau melakukan remote pada Switch Cisco secara Remote menggunakan layanan Telnet ini.</p><h4>Telnet di Cisco Switch 💅</h4><p>Pada Switch Cisco, secara Default layanan Telnet dimatikan, sehingga jika kita ingin meremote Switch Cisco dengan Telnet, maka kita perlu mengaktifkan Telnet terlebih dahulu. Lalu bagaimana caranya untuk mengaktfikannya? Berikut akan saya bahas.</p><h4>Konfigurasi 🔧</h4><p>Topologi yang akan kita gunakan pada konfigurasi kali ini adalah seperti dibawah ini 👇.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/1*ABLPHJsJ6IhNXQfUPyJKAA.png" /><figcaption>Remote Cisco Switch via Telnet Topology</figcaption></figure><p>Jadi seperti yang kita ketahui pada gambar diatas 👆, kita memiliki 1 Switch untuk diremote dan 1 PC untuk meremote Switch-nya. Disini PC-1 terhubung ke Interface Fa0/1 pada Switch(SW-1). Untuk IP Address pada Switch kita tidak menaruhnya langsung di Interface Fa0/1, melainkan kita disini akan menaruhnya di vlan1 yang mana IP Address nya adalah 192.168.26.1/24 dan untuk pada sisi PC adalah 192.168.26.2/24. Selanjutnya langsung saja kita mulai konfigurasinya 🚀.</p><p>Pertama, kita konfigurasi IP Address pada PC-1 dan SW-1 seperti pada Topologi diatas, untuk SW-1 seperti yang saya katakan sebelumnya, kita akan mengkonfigurasi IP Address bukan pada Interface Fa0/1, namun pada Vlan. Untuk SW-1 konfigurasinya seperti berikut.</p><pre><strong>Switch(config)#</strong> interface vlan1<br><strong>Switch(config-if)#</strong> no shutdown<br><strong>Switch(config-if)#</strong> ip address 192.168.26.1 255.255.255.0<br><strong>Switch(config-if)#</strong> exit<br><strong>Switch(config)#</strong></pre><p>Setelah konfigurasi IP Address selesai, pastikan antara SW-1 dan PC-1 sudah bisa berkomunikasi satu sama lain, kalian bisa test dengan melakukan Ping. Setelah SW-1 dan PC-1 terhubung satu sama lain, selanjutnya kita bisa mengkonfigurasi atau mengaktifkan Telnet agar Switch bisa diremote dari PC-1. Berikut adalah konfigurasinya.</p><pre><strong>Switch(config)#</strong> username admin password tiojevero<br><strong>Switch(config)#</strong> line vty 0 2<br><strong>Switch(config-line)# </strong>login local<br><strong>Switch(config-line)# </strong>exit<br><strong>Switch(config)# </strong>enable secret tiojevero</pre><ul><li>Perintah <strong>username admin password tiojevero</strong> digunakan untuk mengaktifkan username bernama admin dengan password tiojevero.</li><li>Angka <strong>2 </strong>pada perintah<strong>line vty 0 2 </strong>menggambarkan maksimal banyaknya devices yang bisa mengakses Switch lewat Telnet.</li><li>Perintah <strong>login local </strong>adalah perintah untuk membuat Switch melihat Database(Username dan Password) di Local nya untuk Autentikasi.</li><li>Perintah <strong>enable secret tiojevero </strong>digunakan untuk mengaktifkan password untuk perintah <strong>enable</strong> yang biasa kita ketikan saat pertama kali masuk Switch.</li></ul><p>Setelah kalian melakukan seluruh konfigurasi diatas, seharusnya sekarang Switch Cisco sudah bisa diakses dari luar dengan menggunakan Telnet dari PC-1 seperti dibawah ini.</p><pre><strong>C:\&gt; </strong>telnet 192.168.26.1<br>Trying 192.168.26.1 …Open<br>User Access Verification</pre><pre>Username: admin<br>Password:</pre><pre><strong>Switch&gt;</strong>            <br><strong>Switch&gt;</strong> enable<br>Password:<br><strong>Switch#</strong> conf t<br>Enter configuration commands, one per line.  End with CNTL/Z.<br><strong>Switch(config)#</strong></pre><p>Seperti yang kalian lihat diatas, kita sudah berhasil mengakses SW-1 menggunakan Telnet dari PC-1.</p><p>Selesai 🏁</p><p><strong>Stay Tune, and see you on the Next Tutorial.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6691c7a49d69" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tio-jevero/ccna-rs-remote-cisco-switch-via-telnet-tio-jevero-6691c7a49d69">CCNA RS — Remote Cisco Switch via Telnet — Tio Jevero</a> was originally published in <a href="https://medium.com/tio-jevero">Tio Jevero</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Debian System Administration #0 — Introduction — Tio Jevero]]></title>
            <link>https://medium.com/tio-jevero/debian-system-administration-0-introduction-tio-jevero-8b8459e3cfbd?source=rss-18689e4e4abe------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b8459e3cfbd</guid>
            <category><![CDATA[system]]></category>
            <category><![CDATA[debian]]></category>
            <category><![CDATA[sysadmin]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Tio Jevero]]></dc:creator>
            <pubDate>Tue, 13 Aug 2019 01:05:10 GMT</pubDate>
            <atom:updated>2019-08-13T01:05:10.303Z</atom:updated>
            <content:encoded><![CDATA[<h3>Debian System Administration #0 — Introduction — Tio Jevero</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-nx6EUjnpPIxGVpUhskvUg.png" /></figure><p>In This Tutorial Series we will learn Linux System Administration especially Debian for absolute Beginners which never using Linux before.</p><p>Before that, i want to Introduce my self. My Name is Tio Jevero i am 16 Years Old, basically i am Full Stack Web Developer, i often use Django and Flask for Back End and Vue or React for Front End. So why i make this Tutorial Series? Of course the reason is i want to sharing my knowledge to you all, and practice my writing skills to be even better.</p><p>First time I saw Linux was in 2010, because my uncle at that time installing Ubuntu 8.04 (Herdy Heron) to Dual Boot with Windows XP on My Father’s PC. At that time I didn’t know that Ubuntu is Linux Based Operating System, which i knew at that time Ubuntu is like Anti-Virus, because my uncle said that Ubuntu can’t get a Virus. At that time I never used Ubuntu and only saw my Uncle using it. But in 2013 My Father’s PC the Motherboard is burning, and after it i never saw Linux on My Father’s PC again, and also because My Uncle has worked outside My City where i live.</p><p>Until finally in 2015, i began to know about EthicaI Hacking, and on some articles that i read, said that “If you want to be a Hacker, you must using Linux Based OS”, so i decided to install Ubuntu 14.04 LTS to my own Laptop with Windows 7 Dual Boot. At that time i only learn about Hacking and it is very funny and doing little ignorance with hacking, but i can’t be called Hacker, because i only using scripts that others have made, and script kiddie is the proper name for me at the time. Starting at that time i began to move frequently from one linux distro to another linux distro. The Linux Distro i’ve used is ubuntu, kali linux, xubuntu, debian, parrotsec, tealinux, and now i am using Deepin OS for daily work that need linux. Btw the Deepin OS is installed on VirtualBox on My Windows 10, not on my Hard Disk😂. But in my Virtual Box i also install ParrotSec and Debian.</p><p>Okay i think my introduction and the story how i know linux is enough, and i’am so sorry if my story is little bit random, but it’s not important😂. The Important things is to pay attention to a few things below before following this Tutorial Series.</p><ul><li>Basic Knowledge about Computer and Networking.</li><li>Laptop or PC with minimum RAM 2GB.</li><li>Internet Connection</li><li>Strong learning desires.</li></ul><p>In the Next Tutorial we will get acquinted with Debian Linux.</p><p><strong>Stay Tune, and see you on the Next Tutorial.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b8459e3cfbd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tio-jevero/debian-system-administration-0-introduction-tio-jevero-8b8459e3cfbd">Debian System Administration #0 — Introduction — Tio Jevero</a> was originally published in <a href="https://medium.com/tio-jevero">Tio Jevero</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CCNA RS  —  Port Security Violation —  Tio Jevero]]></title>
            <link>https://medium.com/tio-jevero/ccna-rs-port-security-violation-tio-jevero-2e7a18c9946c?source=rss-18689e4e4abe------2</link>
            <guid isPermaLink="false">https://medium.com/p/2e7a18c9946c</guid>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[switch]]></category>
            <category><![CDATA[cisco]]></category>
            <category><![CDATA[routing]]></category>
            <category><![CDATA[certification]]></category>
            <dc:creator><![CDATA[Tio Jevero]]></dc:creator>
            <pubDate>Tue, 06 Aug 2019 04:39:09 GMT</pubDate>
            <atom:updated>2019-08-06T05:05:56.232Z</atom:updated>
            <content:encoded><![CDATA[<h3>CCNA RS — Port Security Violation — Tio Jevero</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IggxFn6M12k-nmzfCBgkzg.png" /></figure><p>Hello World 🤗</p><p>Pada tulisan kali ini , saya akan membahas tentang Konfigurasi Port Security Violation di Cisco Switch. Apa itu Port Security ? Berikut akan saya jelaskan.</p><h4>Port Security 🔐</h4><p>Port Security sebenernya adalah suatu metode pengelompokan trafik atau kontrol trafik yang bekerja di Layer 2 (Data Link) pada OSI Layer, yang berfungsi mendaftarkan ataupun membatasi End Devices atau Perangkat Client, apakah dapat tekoneksi ke suatu Port Switch atau tidak.</p><p>Port Security biasanya digunakan atau diimplementasikan untuk membatasi MAC Address mana saja yang dapat terkoneksi ke suatu Port Switch, sehingga pengguna End Devices tidak bisa asal memindah-mindah Port-nya.</p><p>Prinsip kerjanya adalah dengan mendefinisikan atau menentukan MAC Address End Devices mana saja yang boleh terkoneksi dengan suatu Port Switch. Ada 3 metode untuk mendaftarkan MAC Address End Devices ke dalam Switch, berikut adalah beberapa metode tersebut.</p><ul><li><strong>Static : </strong>Pada metode ini kita menentukan secara manual MAC Address mana yang boleh terkoneksi ke suatu Port Switch. MAC Address yang sudah didaftarkan akan disimpan ke dalam Running-Config dan MAC Address Table, lalu apabila Switch dimatikan MAC Address yang sudah didaftarkan tidak akan hilang.</li><li><strong>Dynamic : </strong>Pada metode ini switch secara otomatis mendeteksi MAC Address yang sudah terkoneksi ke suatu Port. Jika menggunakan Metode Dynamic, maka MAC Address yang sudah terdaftarkan akan hilang saat Switch dimatikan.</li><li><strong>Sticky : </strong>Metode ini adalah gabungan dari 2 metode sebelumnya yaitu Static dan Dynamic. Pada metode ini akan secara otomatis mendeteksi MAC Address yang sudah terkoneksi, lalu memasukan ke Running-Config dan MAC Address Table, sehingga saat Switch dimatikan MAC Address yang sudah terdaftar tidak akan hilang.</li></ul><h4>Port Security Violation 🚦</h4><p>Selain memiliki 3 Metode untuk mendaftarkan MAC Address ke Switch, juga terdapat 3 Mode untuk menentukan Violation atau hukuman bagi yang MAC Address nya tidak terdaftar di Running-Config atau MAC Address Table. Berikut adalah 3 Mode tersebut.</p><ul><li><strong>Protect : </strong>Pada mode ini apabila ada MAC Address yang tidak terdaftar pada suatu Port, maka Port tetap akan hidup atau menyala, tetapi Port tidak dapat digunakan. Switch juga akan mengirimkan Pesan Notifikasi pada Protocol SNMP (Simple Network Management Protocol).</li><li><strong>Restrict :</strong> Mode ini hampir sama dengan mode Protect, perbedaanya hanya pada mode ini tidak mengirimkan pesan SNMP.</li><li><strong>Shutdown : </strong>Pada mode ini apabila ada MAC Address yang tidak terdaftar pada suatu Port, maka Port tersebut akan di Nonaktifkan atau di Shutdown dan switch akan mengirimkan pesan SNMP.</li></ul><h4>Konfigurasi 🔧</h4><p>Karena teori dan konsep dasar dari Port Security Violation ini sudah saya bahas diatas ☝, sekarang kita bisa mulai melakukan Konfigurasinya 🚀.</p><p>Konfigurasi ini bisa kalian terapkan di Cisco Packet Tracer maupun Real Devices. Untuk Konfigurasi kali ini saya akan menggunakan Topologi seperti dibawah ini 👇.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*fFTSeQa6Oqq-eoW5cN0Mbw.png" /><figcaption>Port Security Violation Topology</figcaption></figure><p>Pertama Konfigurasikan IP Address pada masing-masing PC sesuai pada Topologi, dan pastikan masing-masing PC bisa ping atau bisa berkomunikasi satu sama lain.</p><p>Selanjutnya, seperti pada topologi diatas, PC1 yang terhubung ke Port Fa0/1 Switch akan kita konfigurasi Violation Protect dan kita akan menggunakan MAC Address Sticky. Konfigurasinya adalah sebagai berikut.</p><pre><strong>Switch(config)# </strong>interface fa0/1<br><strong>Switch(config-if)#</strong> switchport mode access<br><strong>Switch(config-if)#</strong> switchport port-security<br><strong>Switch(config-if)#</strong> switchport port-security mac-address sticky<br><strong>Switch(config-if)#</strong> switchport port-security violation protect<br><strong>Switch(config-if)#</strong> exit<br><strong>Switch(config)#</strong></pre><p>Untuk PC2 yang terhubung ke Port Fa0/2 Switch, akan kita konfigurasi Violation Restrict dan juga MAC Address Sticky. Konfigurasinya sebagai berikut.</p><pre><strong>Switch(config)# </strong>interface fa0/2<br><strong>Switch(config-if)#</strong> switchport mode access<br><strong>Switch(config-if)#</strong> switchport port-security<br><strong>Switch(config-if)#</strong> switchport port-security mac-address sticky<br><strong>Switch(config-if)#</strong> switchport port-security violation restrict<br><strong>Switch(config-if)#</strong> exit<br><strong>Switch(config)#</strong></pre><p>Sedangkan untuk PC3 yang terhubung ke Port Fa0/3 Switch, akan kita konfigurasi Violation Shutdown dan sama seperti sebelumnya juga menggunakan MAC Address Sticky. Berikut adalah konfigurasinya.</p><pre><strong>Switch(config)# </strong>interface fa0/3<br><strong>Switch(config-if)#</strong> switchport mode access<br><strong>Switch(config-if)#</strong> switchport port-security<br><strong>Switch(config-if)#</strong> switchport port-security mac-address sticky<br><strong>Switch(config-if)#</strong> switchport port-security violation shutdown<br><strong>Switch(config-if)#</strong> exit<br><strong>Switch(config)#</strong></pre><p>Pastikan MAC Address PC sudah tercatat seperti dibawah ini.</p><pre><strong>Switch(config)#</strong> do show port-security address</pre><pre>Secure Mac Address Table</pre><pre>-------------------------------------------------------------------</pre><pre>Vlan  Mac Address     Type           Ports Remaining    Age(mins)<br>----  --------------  -----          ---------------    ---------</pre><pre>1     0002.1783.9D08  SecureSticky   FastEthernet0/1    -</pre><pre>1     0001.423B.3516  SecureSticky   FastEthernet0/2    -</pre><pre>1     0002.16CE.BB3B  SecureSticky   FastEthernet0/3    -</pre><pre>-------------------------------------------------------------------</pre><pre>Total Addresses in System (excluding one mac per port) : 0</pre><pre>Max Addresses limit in System (excluding one mac per port) : 1024</pre><p>Setelah Konfigurasi pada Switch selesai, sekarang kita coba tukar Port masing-masing PC,PC1 ke Port Fa0/2, PC2 ke Port Fa0/3 PC3 ke Port Fa0/1 seperti dibawah ini.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1001/1*lED_H16RGKcs3UPmXnDxLQ.png" /><figcaption>Port Security Violation (Change Port)</figcaption></figure><p>Setelah Port ditukar, coba kita cek status dari masing-masing Interface seperti dibawah ini.</p><pre><strong>Switch(config)#</strong> do show port-security interface fa0/1<br>Port Security              : Enabled<br>Port Status                : Secure-up ✅<br>Violation Mode             : Protect   ✅<br>Aging Time                 : 0 mins<br>Aging Type                 : Absolute<br>SecureStatic Address Aging : Disabled<br>Maximum MAC Addresses      : 1<br>Total MAC Addresses        : 1<br>Configured MAC Addresses   : 0<br>Sticky MAC Addresses       : 1<br>Last Source Address:Vlan   : 0002.16CE.BB3B:1<br>Security Violation Count   : 2</pre><pre><strong>Switch(config)# </strong>do show port-security interface fa0/2<br>Port Security              : Enabled<br>Port Status                : Secure-up ✅<br>Violation Mode             : Restrict  ✅<br>Aging Time                 : 0 mins<br>Aging Type                 : Absolute<br>SecureStatic Address Aging : Disabled<br>Maximum MAC Addresses      : 1<br>Total MAC Addresses        : 1<br>Configured MAC Addresses   : 0<br>Sticky MAC Addresses       : 1<br>Last Source Address:Vlan   : 0002.1783.9D08:1<br>Security Violation Count   : 2</pre><pre><strong>Switch(config)# </strong>do show port-security interface fa0/3<br>Port Security              : Enabled<br>Port Status                : Secure-shutdown ✅<br>Violation Mode             : Shutdown        ✅<br>Aging Time                 : 0 mins<br>Aging Type                 : Absolute<br>SecureStatic Address Aging : Disabled<br>Maximum MAC Addresses      : 1<br>Total MAC Addresses        : 1<br>Configured MAC Addresses   : 0<br>Sticky MAC Addresses       : 1<br>Last Source Address:Vlan   : 0001.423B.3516:1<br>Security Violation Count   : 2</pre><p>Seperti yang kita lihat diatas, untuk Violation Mode Protect dan Restrict, Port Statusnya tetap Secure-Up (Interface tetap menyala), namun antar PC sudah tidak bisa Ping satu sama lain. Sedangkan untuk Violation Mode Shutdown, Port Statusnya adalah Secure-Shutdown (Interface dinonaktifkan/mati), yang pastinya jg tidak bisa Ping satu sama lain. Gak percaya? coba ping antar PC , jika antar PC masih bisa saling Ping, maka ada yang salah dengan konfigurasi kalian.</p><p>Selesai 🏁</p><p><strong>Stay Tune, and see you on the Next Tutorial.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2e7a18c9946c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tio-jevero/ccna-rs-port-security-violation-tio-jevero-2e7a18c9946c">CCNA RS  —  Port Security Violation —  Tio Jevero</a> was originally published in <a href="https://medium.com/tio-jevero">Tio Jevero</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flask Web Development #0 — Introduction — Tio Jevero]]></title>
            <link>https://medium.com/@tiojevero/flask-web-development-0-introduction-tio-jevero-13e392b2d39d?source=rss-18689e4e4abe------2</link>
            <guid isPermaLink="false">https://medium.com/p/13e392b2d39d</guid>
            <category><![CDATA[flask]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[code]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Tio Jevero]]></dc:creator>
            <pubDate>Sat, 23 Mar 2019 07:56:49 GMT</pubDate>
            <atom:updated>2019-03-23T07:56:49.803Z</atom:updated>
            <content:encoded><![CDATA[<h3>Flask Web Development #0 — Introduction — Tio Jevero</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3dJB5j15yhfgAc27sd_OiQ.png" /></figure><p>Hello World, welcome to the Flask Web Development For Beginners Tutorial Series, with me Tio Jevero.</p><p>Like the tittle of this Tutorial Series, we will learn about Flask Web Development for Beginners, and in the first Tutorial of this Tutorial Series, we will get acquinted with Flask.</p><h3>What is Flask?</h3><p><a href="http://flask.pocoo.org/"><strong>Flask</strong></a><strong> </strong>is a <a href="https://en.wikipedia.org/wiki/Microframework">microframework</a> or Web Framework written in <strong>Python </strong>Programming Language, and based on <a href="http://werkzeug.pocoo.org/"><strong>Werkzeug</strong></a><strong>, </strong>and using <a href="http://jinja.pocoo.org/docs/2.10/"><strong>Jinja 2 for Templating</strong></a>.</p><p>For the Initial Release, Flask is developed by <a href="https://en.wikipedia.org/wiki/Armin_Ronacher">Armin Ronacher</a> in 2010, from <a href="https://www.pocoo.org/"><strong>Pocoo</strong></a>. Pocoo is an Internation Group of Python Enthusiasts formed in 2004. Now Flask has reached 1.02 Version as Stable Release that released on May, 2 2018. Now Flask is using <a href="http://flask.pocoo.org/docs/1.0/license/"><strong>BSD License</strong></a>.</p><p>Flask is classified as microframework because, Flask does not require particular libraries or tools, and Flask does not have Database Abstraction Layer, Form Validation, or other components where pre-existing libraries provide common functions. It is does not mean Flask is the limited Framework, but the point is that we as a developer are free to use many python extensions as needed.</p><p>The Following is the Flask Features which i quote from Wikipedia.</p><ul><li>Contains development server and debugger</li><li>Integrated support for unit testing</li><li>RESTful request dispatching</li><li>Uses <a href="https://en.wikipedia.org/wiki/Jinja_(template_engine)">Jinja2</a> Templating</li><li>Support for secure cookies (client side sessions)</li><li>100% <a href="https://en.wikipedia.org/wiki/WSGI">WSGI</a> 1.0 compliant</li><li><a href="https://en.wikipedia.org/wiki/Unicode">Unicode</a>-based</li><li>Extensive documentation</li><li><a href="https://en.wikipedia.org/wiki/Google_App_Engine">Google App Engine</a> compatibility</li><li>Extensions available to enhance features desired</li></ul><p>Before you follow this Flask Tutorial Series, i suggest to you, to pay attention at the following requirement before following this Tutorial Series.</p><ul><li>Basic Knowledge about Computer and Web Technology</li><li>Basic Knowledge about Python Procedural or OOP.</li><li>Laptop or PC that has been Installed Python 3 or 2.7 (I recomend Python 3).</li><li>Web Browser.</li><li>Text Editor (Sublime, VSCode, Atom)</li><li>Strong learning desires.</li></ul><p>Okey i think the Introduction of Flask is enough. In the Next Tutorial we will doing Lab Setup for Flask Web Development.</p><p><strong>Stay Tune, and see you on the Next Tutorial.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=13e392b2d39d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Debian System Administration #0— Introduction— Tio Jevero]]></title>
            <link>https://medium.com/@tiojevero/debian-system-administration-0-introduction-tio-jevero-631a5bbb2b8d?source=rss-18689e4e4abe------2</link>
            <guid isPermaLink="false">https://medium.com/p/631a5bbb2b8d</guid>
            <category><![CDATA[debian]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[sysadmin]]></category>
            <category><![CDATA[system-administration]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Tio Jevero]]></dc:creator>
            <pubDate>Sat, 23 Mar 2019 07:54:35 GMT</pubDate>
            <atom:updated>2019-03-23T08:10:11.746Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-nx6EUjnpPIxGVpUhskvUg.png" /></figure><p>In This Tutorial Series we will learn Linux System Administration especially Debian for absolute Beginners which never using Linux before.</p><p>Before that, i want to Introduce my self. My Name is Tio Jevero i am 16 Years Old, basically i am Full Stack Web Developer, i often use Django and Flask for Back End and Vue or React for Front End. So why i make this Tutorial Series? Of course the reason is i want to sharing my knowledge to you all, and practice my writing skills to be even better.</p><p>First time I saw Linux was in 2010, because my uncle at that time installinf Ubuntu 8.04 (Herdy Heron) to Dual Boot with Windows XP on My Father’s PC. At that time I didn’t know that Ubuntu is Linux Based Operating System, which i knew at that time Ubuntu is like Anti-Virus, because my uncle said that Ubuntu can’t get a Virus. At that time I never used Ubuntu and only saw my Uncle using it. But in 2013 My Father’s PC the Motherboard is burning, and after it i never saw Linux on My Father’s PC again, and also because My Uncle has worked outside My City where i live.</p><p>Until finally in 2015, i began to know about EthicaI Hacking, and on some articles that i read, said that “If you want to be a Hacker, you must using Linux Based OS”, so i decided to install Ubuntu 14.04 LTS to my own Laptop with Windows 7 Dual Boot. At that time i only learn about Hacking and it is very funny and doing little ignorance with hacking, but i can’t be called Hacker, because i only using scripts that others have made, and script kiddie is the proper name for me at the time. Starting at that time i began to move frequently from one linux distro to another linux distro. The Linux Distro i’ve used is ubuntu, kali linux, xubuntu, debian, parrotsec, tealinux, and now i am using Deepin OS for daily work that need linux. Btw the Deepin OS is installed on VirtualBox on My Windows 10, not on my Hard Disk😂. But in my Virtual Box i also install ParrotSec and Debian.</p><p>Okay i think my introduction and the story how i know linux is enough, and i’am so sorry if my story is little bit random, but it’s not important😂. The Important things is to pay attention to a few things below before following this Tutorial Series.</p><ul><li>Basic Knowledge about Computer and Networking.</li><li>Laptop or PC with minimum RAM 2GB.</li><li>Internet Connection</li><li>Strong learning desires.</li></ul><p>In the Next Tutorial we will get acquinted with Debian Linux.</p><p><strong>Stay Tune, and see you on the Next Tutorial.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=631a5bbb2b8d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Debian System Administration #8 — Linux Group Management — Tio Jevero]]></title>
            <link>https://medium.com/@tiojevero/debian-system-administration-8-linux-group-management-tio-jevero-18bcd4d03eb4?source=rss-18689e4e4abe------2</link>
            <guid isPermaLink="false">https://medium.com/p/18bcd4d03eb4</guid>
            <category><![CDATA[debian]]></category>
            <category><![CDATA[sysadmin]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[system-administration]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Tio Jevero]]></dc:creator>
            <pubDate>Fri, 22 Mar 2019 04:53:41 GMT</pubDate>
            <atom:updated>2019-07-08T08:22:35.489Z</atom:updated>
            <content:encoded><![CDATA[<h3>Debian System Administration #8 — Linux Group Management — Tio Jevero</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-nx6EUjnpPIxGVpUhskvUg.png" /></figure><p>This Tutorial is actually still one part with the previous Tutorial, but i dont want to make the tutorial too long, so i decide to divide to 2 Tutorial.</p><p>The main function of Group in Linux is actually to make make easier for System Administrator to set up access rights for each user, so that Access Rights do not need to be determined individually for each user. For example on your Linux System, you have 5 Users, of course will be not effective if we give access rights one by one, so this is where the group is needed. OK let’s start learning about how to managing Group in Linux.</p><h4>groupadd</h4><p>This Command is used to create new Group.The following is an example.</p><pre>root@debian:/# <strong>groupadd normalgroup</strong><br>root@debian:/#</pre><h4><strong>groupdel</strong></h4><p>This Command is used to remove existing group. The following is an example.</p><pre>root@debian:/# <strong>groupdel normalgroup</strong><br>root@debian:/#</pre><h4>groups</h4><p>This Command is used to find the group of existing user. In this case we will find user with the name “networking” we have made in previous tutorial. The following is an example.</p><pre>root@debian:/# <strong>groups networking<br><em>networking : networking</em></strong></pre><p>if you look at the example above, you will see user networking have group networking too, this is because if we create new users, automatically create new group with same name with the user.</p><h3>Adding Users into Group</h3><p>We can also adding existing users into a group. How we can do this? we can use <strong>adduser </strong>command to adding existing users into a group.</p><pre>root@debian:/# <strong>adduser networking normalgroup</strong><br><strong><em>Adding user `networking&#39; to group `normalgroup&#39; ...<br>Adding user networking to group normalgroup<br>Done.</em></strong><br>root@debian:/# <strong>groups networking</strong><br><strong><em>networking : networking normalgroup</em></strong></pre><p><strong>adduser networking normaluser </strong>: used to adding user networking into group with the name “normalgroup”.</p><p><strong>groups networking </strong>: used to show groups of networking users. And we will see networking are in 2 Group, networking and normalgroup.</p><p>So that’s some way to management groups in linux especially debian. In the Next Tutorial we will learn Directory and File Permission in Linux.</p><p><strong>Stay Tune, and see you on the Next Tutorial.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=18bcd4d03eb4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Debian System Administration #7 — Linux User Management — Tio Jevero]]></title>
            <link>https://medium.com/@tiojevero/debian-system-administration-7-linux-user-management-tio-jevero-c6c2d63efc83?source=rss-18689e4e4abe------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6c2d63efc83</guid>
            <category><![CDATA[debian]]></category>
            <category><![CDATA[system-administration]]></category>
            <category><![CDATA[sysadmin]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Tio Jevero]]></dc:creator>
            <pubDate>Thu, 21 Mar 2019 15:07:29 GMT</pubDate>
            <atom:updated>2019-03-21T15:07:29.163Z</atom:updated>
            <content:encoded><![CDATA[<h3>Debian System Administration #7 — Linux User Management — Tio Jevero</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-nx6EUjnpPIxGVpUhskvUg.png" /></figure><p>Linux is Multi-user Operating System, so Linux allow multiple users from different computers or terminal to access a single Linux Systems in same time. So this will greatly facilitate the Administrator who handles Linux Server to control access for some peoples to the Server, so that full control of the Server is still owned by Administrator.</p><p>In Linux, generally User types is divided in 2 types, namely <strong>Root User</strong> and <strong>Normal User</strong>.</p><p><strong>Root User</strong> is users who can doing Anything to Linux Systems including remove the System.</p><p><strong>Normal User </strong>is users who have limited access to Linux Systems.</p><p>Before we start to learn how to add,modify, or remove Users in Linux, we must enter Root User mode. How do we enter Root User mode? Just type <strong>su </strong>like this.</p><pre>username@debian:~$ <strong>su</strong><br><strong><em>Password:{your root password}</em></strong><br>root@debian:/home/username# </pre><p>And you have successfully access to Root User.</p><p>Let’s see how User Management in Linux espicially Debian.</p><h4>useradd</h4><p>This command is used to create new user without asking user detail including password, so if we use this command we need different command to set the users password, the command is <strong>passwd</strong>. The following is an example.</p><pre>root@debian:/home/username# <strong>cd /</strong><br>root@debian:/# <strong>useradd networking</strong><br>root@debian:/# <strong>passwd networking</strong><br><strong><em>Enter new UNIX password:{new user password}</em></strong><em><br></em><strong><em>Retype new UNIX password:{new user password}</em></strong><em><br></em><strong><em>passwd: password updated successfully</em></strong><br>root@debian:/#</pre><p><strong>cd / </strong>: used to change active directory from /home/username to root (/).</p><p><strong>useradd networking </strong>: used to add new user with the name “networking” without asking user detail including password.</p><p><strong>passwd networking </strong>: used to change password for user networking</p><h4>adduser</h4><p>This command is used to create new user with asking user detail including password, so we don’t need <strong>passwd</strong> command to change password from new user. The following is an example.</p><pre>root@debian:/# <strong>adduser monitoring</strong><br><em>Adding user `monitoring’ …<br>Adding new group `monitoring’ (1009) …<br>Adding new user `monitoring’ (1007) with group `monitoring’ …<br>Creating home directory `/home/monitoring’ …<br>Copying files from `/etc/skel’ …<br></em><strong><em>Enter new UNIX password:{new password}<br>Retype new UNIX password:{new password}</em></strong><em><br>passwd: password updated successfully<br>Changing the user information for monitoring<br>Enter the new value, or press ENTER for the default<br> </em><strong><em>Full Name []:{optional}<br> Room Number []:{optional}<br> Work Phone []:{optional}<br> Home Phone []:{optional}<br> Other []:{optional}</em></strong><em><br></em><strong><em>Is the information correct? [Y/n] y</em></strong><br>root@debian:/# <strong>ls home/</strong><br><strong><em>lost+found  monitoring username</em></strong></pre><p><strong>adduser monitoring </strong>: used to create new user with the name “monitoring” with asking user detail including password.</p><p><strong>ls home/ </strong>: used to display directory or files inside /home/ directory, and we will see montoring directory existing here.</p><h4>userdel</h4><p>This command is used to remove existing users. The following is an example.</p><pre>root@debian:/# <strong>su monitoring</strong><br>monitoring@debian:/$ <strong>su</strong><br><strong>Password:</strong><br>root@debian:/# <strong>userdel monitoring</strong><br><strong><em>userdel: user monitoring is currently used by process 2347</em></strong><br>root@debian:/# <strong>userdel -rf monitoring</strong><br><strong><em>userdel: user monitoring is currently used by process 2347<br>userdel: monitoring mail spool (/var/mail/monitoring) not found</em></strong><br>root@debian:/# <strong>su monitoring</strong><br><strong><em>No passwd entry for user ‘monitoring’</em></strong><br>root@debian:/# <strong>ls home/</strong><br><strong><em>lost+found osboxes username</em></strong></pre><p><strong>su monitoring </strong>: used to change active user from root user to monitoring user.</p><p><strong>su</strong> : used to entering root user mode, when monitoring user is active.</p><p><strong>userdel monitoring </strong>: used to remove user, but in example above, the monitoring user can’t to be removed because the user is used by process 2347. How we can remove an active user? we need to use some arguments.</p><p><strong>userdel -rf monitoring </strong>: used to remove active user. As what i said before, userdel need some arguments to remove active user, it is <strong>-rf</strong></p><p><strong>su monitoring </strong>: used to login in to monitoring user. But because we remove this user before, we can’t logged in.</p><p><strong>ls home/ </strong>: used to display directory or files inside /home/ directory, and we will see montoring directory is removed from here.</p><p>So that’s some way to management users in linux especially debian. In the Next Tutorial we will learn Group Management in Linux, and it is very related with this Tutorial, and you must learn it.</p><p><strong>Stay Tune, and see you on the Next Tutorial.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6c2d63efc83" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Debian System Administration #6 — Basic Linux Command— Tio Jevero]]></title>
            <link>https://medium.com/@tiojevero/debian-system-administration-6-basic-linux-command-tio-jevero-9aff4e01f034?source=rss-18689e4e4abe------2</link>
            <guid isPermaLink="false">https://medium.com/p/9aff4e01f034</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[debian]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[sysadmin]]></category>
            <category><![CDATA[system-administration]]></category>
            <dc:creator><![CDATA[Tio Jevero]]></dc:creator>
            <pubDate>Thu, 21 Mar 2019 09:45:14 GMT</pubDate>
            <atom:updated>2019-03-23T08:06:40.457Z</atom:updated>
            <content:encoded><![CDATA[<h3>Debian System Administration #6 — Basic Linux Command— Tio Jevero</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-nx6EUjnpPIxGVpUhskvUg.png" /></figure><p>Welcome back with me Tio Jevero, in Debian System Administration Tutorial Series.</p><p>In this Tutorial we will learn to understanding Basic Command in Linux especially Debian. Unlike Windows Server that focused on GUI for its Configuration, almost All Configuration in Debian are done in CLI Mode or Terminal. Therefore, understanding Command Shell in Linux is Very Important. But in this Tutorial we will not learn All of Linux Command, because it is very much.We will only learn few Command that we will use in this Tutorial Series. Before we learn the command, we must know what is Shell.</p><h3>Shell</h3><p>What is Shell? Shell is a Command Interpreter Program that used for bridges users with Operating System or Linux Kernel as core of Operating System. Generally Shell provided a Prompt as a User Interface, Prompt is used to place a Commands from Users to tell the Operating System to do a Job.</p><p>Shell has a many types. The Following are some types of Shell that Supported on Linux Based Operating System.</p><ul><li>Bourne Shell (sh)</li><li>C Shell (csh)</li><li>Korn Shell (ksh)</li><li>Bourne Again Shell (bash)</li><li>etc.</li></ul><h3>BASH (Bourne Again Shell)</h3><p>By Default on Debian is using Bourne Again Shell(BASH) from GNU. BASH is types of Shell that is a next version of Bourne Shell, and takes some features from C Shell and Korn Shell. BASH is Easy to Use and have a lot of Features, it makes BASH is a Very Ideal Shell for All Linux Users.</p><p>If you notice, your terminal will appear like this.</p><pre><strong>username@debian:~$</strong></pre><p><strong>username </strong>: show your active User right now.</p><p><strong>debian </strong>: show your hostname.</p><p><strong>~ </strong>: show directory where user is existing, if you are Root User this symbol will be change to “ <strong>/</strong> ”</p><p><strong>$ </strong>: show your user types, is Normal User or Root User. If Normal User then the symbol is “ <strong>$</strong> ”, but if you are Root User this symbol will be change to “ <strong># </strong>”.</p><p>And that is the BASH.</p><p>To check the BASH Version on your Operating System, type this on Terminal.</p><pre>username@debian:~$ <strong>echo $BASH_VERSION</strong><br><strong>4.4.12(1)-release</strong></pre><p>it means i using BASH 4.4.12 Version.</p><h3>BASH Commands</h3><p>As what i said before, we will not learn All the Command, we just learn some Commands which will be help in this Tutorial Series.</p><h4><strong>pwd</strong></h4><p>This Command is used to find out where the user is or what directory is active. The following is an example.</p><pre>username@debian:~$ <strong>pwd</strong><br><strong><em>/home/username</em></strong><br>username@debian:~$</pre><h4>ls</h4><p><strong><em>ls </em></strong>is command to show the files are existing in the active directory or inactive directory. The following is an example.</p><pre>username@debian:~$ <strong>ls</strong><br><strong><em>Desktop Documents Downloads Music Pictures Public Templates Videos</em></strong><br>username@debian:~$</pre><h4>cd</h4><p>This Command is used to change active directory. The following is an example.</p><pre>username@debian:~$ <strong>cd /etc/network</strong><br><strong>username@debian:/etc/network$</strong><br>username@debian:/etc/network$ <strong>cd ..</strong><br><strong>username@debian:/etc$</strong></pre><p><strong>cd /etc/network </strong>: used to change active directory to <em>/etc/network</em><strong><em> </em></strong>.</p><p><strong>cd .. </strong>: used to exit one level directory from active directory.</p><h4>mkdir</h4><p>This Command is used to make new directory in active directory or inactive directory. The following is an example.</p><pre>username@debian:~$ <strong>cd Documents/</strong><br>username@debian:~/Documents$ <strong>mkdir myfiles</strong><br>username@debian:~/Documents$ <strong>ls</strong><br><strong><em>myfiles</em></strong><br>username@debian:~/Documents$ <strong>mkdir myfiles/private<br></strong>username@debian:~/Documents$ <strong>ls myfiles/</strong><br><strong><em>private</em></strong><br>username@debian:~/Documents$ <strong>mkdir myfiles/{images,video,audio}</strong><br>username@debian:~/Documents$ <strong>ls myfiles/</strong><br><strong><em>audio  images  private  video</em><br></strong>username@debian:~/Documents$ <strong>mkdir -p movie/{action,comedy}</strong><br>username@debian:~/Documents$ <strong>ls</strong><br><strong><em>movie  myfiles</em><br></strong>username@debian:~/Documents$<strong> ls movie/<br><em>action  comedy</em></strong></pre><p><strong>cd Documents/ </strong>: used to change active directory to /home/username/Documents/ <em>.</em></p><p><strong>mkdir myfiles</strong> : used to create directory with named “ myfiles ” inside /home/username/Documents/.</p><p><strong>ls </strong>: used to display directory or files in the current active directory (/home/username/Documents/<em>) </em>and we will se new directory with the name “myfiles”<em>.</em></p><p><strong>mkdir myfiles/private </strong>: used to make the new directory with name “private” inside /home/username/Documents/myfiles/ .</p><p><strong>ls myfiles/ </strong>: used to display directory or files in the /home/username/Documents/myfiles<strong>/ </strong>and because before we type this command we type <strong>mkdir myfiles/private </strong>we will see new directory with the name “private”.</p><p><strong>mkdir myfiles/{images,video,audio} </strong>: used to create multiple directory(images,video,audio) with one command, inside<em> </em>/home/username/myfiles/ .</p><p><strong>ls myfiles/ </strong>: used to display directory or files in the /home/username/Documents/myfiles<strong>/ </strong>and because before we type this command we type <strong>mkdir myfiles/{images,video,audio} </strong>we will see new directory(images,video,audio).</p><p><strong>mkdir -p movie/{action,comedy} </strong>: used to create new directory with the name “movie” inside /home/Documents/, and make new directory inside movie/ with the name “action” and “comedy”. <strong>-p</strong> argument its means <em>parent</em>, and used to make parent directory as needed, for example if you want to create new directory inside a directory who does not exist or will be created, you need to use <strong>-p</strong>.</p><p><strong>ls </strong>: used to display directory or files in the current active directory (/home/username/Documents/<em>), </em>and we will see new directory with the name “movie”.</p><p><strong>ls movie/ </strong>: used to display directory or files in /home/username/movie/, and we will se new directory with the name “action ” and “comedy”.</p><h4>rmdir</h4><p>This command is used to remove existing directory, but cannot remove not empty directory. The following is an example.</p><pre>username@debian:~/Documents$ <strong>mkdir myproject</strong><br>username@debian:~/Documents$ <strong>ls</strong><br><strong><em>movie myfiles myproject</em></strong><br>username@debian:~/Documents$ <strong>rmdir myproject/</strong><br>username@debian:~/Documents$ <strong>ls</strong><br><strong><em>movie myfiles</em></strong><br>username@debian:~/Documents$ <strong>rmdir movie/{action,comedy}</strong><br>username@debian:~/Documents$ <strong>ls movie/<br></strong>username@debian:~/Documents$</pre><p><strong>mkdir myproject </strong>: used to make new directory with name “myproject” .</p><p><strong>ls </strong>: used to display directory or files in the current active directory (/home/username/Documents/<em>) </em>and we will se new directory with the name “myproject” <em>.</em></p><p><strong>rmdir myproject/ </strong>: used to remove existing directory, in this case we remove myproject/ directory.</p><p><strong>ls </strong>: used to display directory or files in the current active directory (/home/username/Documents/<em>) </em>and and we will see the myproject / directory will be removed <em>.</em></p><p><strong>rmdir movie/{action,comedy} </strong>: used to remove multiple directory, in this case we remove “action” and “comedy” directory inside movie directory.</p><p><strong>ls movie/ </strong>: used to display directory or files inside movie/ directory.</p><h4>touch</h4><p>This Command is used to make New Files. The following is an example.</p><pre>username@debian:~/Documents$ <strong>touch notes.txt</strong><br>username@debian:~/Documents$ <strong>ls</strong><br><strong><em>movie myfiles notes.txt</em><br></strong>username@debian:~/Documents$ <strong>touch movie/movielist.txt</strong><br>username@debian:~/Documents$ <strong>ls movie/</strong><br><strong><em>movielist.txt</em></strong></pre><p><strong>touch notes.txt </strong>: used to create new files with the name “notes.txt” .</p><p><strong>ls </strong>: used to display directory or files in the current active directory (/home/username/Documents/<em>), </em>and we will see movie/ directory, myfiles/ directory and notes.txt files<em>.</em></p><p><strong>touch movie/movielist.txt </strong>: used to create new files with the name “movielist.txt” inside movie/ directory</p><p><strong>ls movie/ </strong>: used to display directory or file in movie/ directory, and we will see files movielist.txt existing in this directory.</p><h4>rm</h4><p>This Command is used to remove existing files or directory. The following is an example.</p><pre>username@debian:~/Documents$ <strong>ls</strong><br><strong><em>movie  myfiles  notes.txt</em></strong><br>username@debian:~/Documents$ <strong>rm notes.txt</strong><br>username@debian:~/Documents$ <strong>ls<br><em>movie myfiles</em><br></strong>username@debian:~/Documents$ <strong>rm movie/movielist.txt</strong><br>username@debian:~/Documents$ <strong>ls movie/</strong><br>username@debian:~/Documents$ <strong>rm -d movie/</strong><br>username@debian:~/Documents$ <strong>ls</strong><br><strong><em>myfiles</em><br></strong>username@debian:~/Documents$ <strong>rm -rf myfiles/</strong><br>username@debian:~/Documents$ <strong>ls<br></strong>username@debian:~/Documents$</pre><p><strong>ls </strong>: used to display directory or files in the current active directory (/home/username/Documents/)<em>.</em></p><p><strong>rm notes.txt </strong>: used to remove file notes.txt from /home/username/Documents/.</p><p><strong>ls </strong>: used to display directory or files in /home/username/Documents/ and we will see notes.txt removed from this directory<em>.</em></p><p><strong>rm movie/movielist.txt </strong>: used to remove movielist.txt from /home/username/Documents/movie/ .</p><p><strong>ls movie/ </strong>: used to display directory or files in /home/username/Documents/movie/ and we will see this directory is empty.</p><p><strong>rm -d movie/ </strong>: used to remove movie/ directory from /home/username/Documents/. <strong>-d</strong> argument its mean <em>directory</em>, used when we want to remove empty directory.</p><p><strong>rm -rf myfiles/ </strong>: used to remove non-empty directory. In this case we remove myfiles/ directory from /home/username/Documents/, which is myfiles/ is containing images/, video/, audio/ directory. <strong>-r </strong>argument its mean <em>recursive, </em>its used when we want to remove not empty directory. <strong>-f </strong>argument its mean <em>force, </em>its used when we want to remove without confirmation.</p><p><strong>ls </strong>: used to display directory or files in the current active directory (/home/username/Documents/) and we will see this directory is empty<em>.</em></p><h4><strong>cp</strong></h4><p>This command is used to copy existing directory or files. The following is an example.</p><pre>username@debian:~/Documents$ <strong>mkdir linux</strong><br>username@debian:~/Documents$ <strong>ls<br></strong><strong><em>linux</em></strong><br>username@debian:~/Documents$ <strong>touch linux/{debian.txt,fedora.txt}</strong><br>username@debian:~/Documents$ <strong>ls linux/</strong><br><strong><em>debian.txt fedora.txt</em></strong><br>username@debian:~/Documents$ <strong>mkdir mylinux</strong><br>username@debian:~/Documents$ <strong>ls</strong><br><strong><em>linux mylinux</em></strong><br>username@debian:~/Documents$ <strong>cp linux/debian.txt mylinux/</strong><br>username@debian:~/Documents$ <strong>ls mylinux/</strong><br><strong><em>debian.txt</em></strong></pre><p><strong>mkdir linux </strong>: used to create new directory with the name “linux” inside /home/username/Documents/ .</p><p><strong>ls</strong> : used to display directory or files in /home/username/Documents/ and we will see linux/ directory existing here.</p><p><strong>touch linux/{debian.txt,fedora.txt} </strong>: used to create new files with the name “debian.txt” and “fedora.txt” inside /home/username/Documents/linux/ .</p><p><strong>ls linux/ </strong>: used to display directory or files in /home/username/Documents/linux/ .</p><p><strong>mkdir mylinux </strong>: used to create new directory with name “mylinux” inside /home/username/Documents/ .</p><p><strong>cp linux/debian.txt mylinux/ </strong>: used to copy debian.txt from linux/ directory to mylinux/ directory.</p><p><strong>ls mylinux/ </strong>: used to used to display directory or files in /home/username/Documents/linux/ and we will se debian.txt existing in this directory.</p><h4>mv</h4><p>This Command is used to move or rename directory or files. This following is an example.</p><pre>username@debian:~/Documents$ <strong>ls linux/</strong><br><strong><em>debian.txt fedora.txt</em></strong><br>username@debian:~/Documents$ <strong>mv linux/fedora.txt mylinux/</strong><br>username@debian:~/Documents$ <strong>ls mylinux/</strong><br><strong><em>debian.txt fedora.txt</em></strong><br>username@debian:~/Documents$ <strong>ls linux/</strong><br><strong><em>debian.txt</em></strong><br>username@debian:~/Documents$ <strong>mv mylinux/fedora.txt mylinux/arch.txt</strong><br>username@debian:~/Documents$ <strong>ls mylinux/</strong><br><strong><em>debian.txt arch.txt</em></strong></pre><p><strong>nano / pico</strong></p><p><strong>nano</strong> / <strong>pico </strong>is command to open text editor, which we can create new files or edit existing files. Actually debian also have <strong>vi text editor</strong> but in this Tutorial Series, we will not using <strong>vi text editor, </strong>because <strong>vi text editor </strong>is more difficult to understand for ordinary people. In this Tutorial we more often using <strong>nano text editor </strong>because it can be said that <strong>nano</strong> is a development from <strong>pico</strong> and <strong>nano</strong> cover <strong>pico’s</strong> shortcomings.</p><p>I will create new files with the name “myname.txt” and open it on <strong>nano text editor</strong>, to do this, type the following command.</p><pre>username@debian:~/Documents$ <strong>nano myname.txt</strong></pre><p>And the <strong>nano text editor </strong>will open like following picture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/961/1*v2XWc55s17AcCYt4vq6LxQ.png" /></figure><p>To save this, press <strong>Ctrl + x </strong>in pc or <strong>⌘ + x </strong>in mac. Then type <strong>“ y ” </strong>and press Enter, and it will be saved and create a new files with the name “myname.txt”.</p><h4>cat</h4><p>This Command is used for print or view content of a file. For example we will print a content of files we have created before.</p><pre>username@debian:~/Documents$ <strong>cat myname.txt</strong><br><strong><em>Hello My Name is Tio Jevero!<br>Welcome to Debian System Administration Tutorial Series<br></em></strong>username@debian:~/Documents$</pre><h4><strong>grep</strong></h4><p>This Command is used to find character,word, or sentence with a specific keyword. For example, we will find a “Hello” word in <strong>myname.txt </strong>.</p><pre>username@debian:~/Documents$ <strong>cat myname.txt | grep Hello</strong><br><strong><em>Hello My Name is Tio Jevero!</em></strong></pre><p>Everything we learned above still doesn’t have 10% of the bash shell command in debian. To see All the Command open this link <a href="https://wiki.debian.org/ShellCommands">https://wiki.debian.org/ShellCommands</a>.</p><p>In the Next Tutorial we will learn User Management in Debian Linux.</p><p><strong>Stay Tune, and see you on the Next Tutorial.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9aff4e01f034" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Debian System Administration #2 — Linux Directory Tree — Tio Jevero]]></title>
            <link>https://medium.com/@tiojevero/debian-system-administration-2-linux-directory-tree-tio-jevero-36a4dec9ee95?source=rss-18689e4e4abe------2</link>
            <guid isPermaLink="false">https://medium.com/p/36a4dec9ee95</guid>
            <category><![CDATA[system-administration]]></category>
            <category><![CDATA[debian]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[sysadmin]]></category>
            <dc:creator><![CDATA[Tio Jevero]]></dc:creator>
            <pubDate>Wed, 20 Mar 2019 10:21:18 GMT</pubDate>
            <atom:updated>2019-03-21T10:14:58.557Z</atom:updated>
            <content:encoded><![CDATA[<h3>Debian System Administration #2 — Linux Directory Tree — Tio Jevero</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-nx6EUjnpPIxGVpUhskvUg.png" /></figure><p>Before, you learn more about how to Configure Debian as Server Operating System, you must understand Directory Tree in Linux. Because most configurations in Debian will not be far from the Directory Tree. Why like that? Because configurations files in Linux , will be separated from each other, according to types of configuration files. For example, if you want to configure ssh server you must go on <strong><em>/etc/ssh/ </em></strong>directory, different from if you want to configure or add themes, then you must go on <strong><em>/usr/share/themes</em></strong> directory.</p><p>Linux using <strong>Hierarchical Concept</strong> for Directory Tree. In Linux the base Directory is root, root is symbolized with (<strong>/</strong>). So All Directory is under root(/) directory. Here is the Linux Directory Tree in General.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_FkLFm7GWBa5vMvcIYFJUQ.png" /></figure><p>The Picture above does not show Directory Tree from All Linux Distributions, but in General that is the Directory Tree. This is the Explanation from each Directory in the Picture Above.</p><h4>root (/)</h4><p>As what I said before, root is a<strong> Parent Directory </strong>or<strong> Base Directory </strong>for All Linux Distribution. In other words, All Linux Directories are in this Directory.</p><h4>/bin</h4><p>This Directory containing Binary Files and Executable Files, that can be used by Regular User or Root User.</p><h4>/boot</h4><p>This Directory containing Files for System Booting.</p><h4>/dev</h4><p>This Directory containing Devices Files.</p><h4>/etc</h4><p>This Directory containing Host-Specific System Configuration.</p><h4>/home</h4><p>This Directory containing Home Directories for Regular User. The name of Existing Directory in <strong><em>/home</em></strong> is the name of Regular User, for example, i have User with Usename tiojevero, then there will be <strong><em>/home/tiojevero </em></strong>.</p><h4>/lib</h4><p>This Directory containing Library Files and Kernel Modules Files.</p><h4><strong>/media</strong></h4><p>This Directory containing Mount Point for Replaceable Media.</p><h4>/mnt</h4><p>This Directory is used for Mount Point for Mounting a File System Temporarily.</p><h4>/opt</h4><p>Containing Files for Add-On Application Software Packages</p><h4>/proc</h4><p>This is Virtual Directory for System Information</p><h4>/run</h4><p>Containing Run-Time Variable Data.</p><h4>/sbin</h4><p>This Directory containing Essentials System Binaries.</p><h4>/sys</h4><p>This is Virtual Directory for System Information, like <strong><em>/proc.</em></strong></p><h4>/tmp</h4><p>This Directories containing Temporary Files when System is Running.</p><h4>/usr</h4><p>This Directories is used by All User to do various purposes. When you Installing Program in Linux, those Program will installed on this Directory</p><h4>/var</h4><p>Containing Variable Data, like cache, spool, log file, or mailbox user.</p><h4>/srv</h4><p>This Directory containing Data for Services provided by the System.</p><p>Not all directories need to be understood, because what we will use in this Tutorial is not all. Some directories that we will use in this Tutorial is <strong><em>root(/)</em></strong>, <strong><em>/etc</em></strong>, <strong><em>/home</em></strong>, <strong><em>/media</em></strong>, <strong><em>/mnt</em></strong>, <strong><em>/usr</em></strong>, and <strong><em>/var</em></strong>. But the most important thing to understand is about <strong>Linux</strong> <strong>Hierarchical Concept</strong>.</p><p>In the Next Tutorial we will learn about Basic Command in Debian Linux.</p><p><strong>Stay Tune, and see you on the Next Tutorial.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=36a4dec9ee95" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>