Catatan Yang Mungkin Terlupakan

A Guide to SSH Port Forwarding/Tunnelling

BY SUPRIYO BISWAS · UPDATED FEBRUARY 10, 2018 SSH is a widely used protocol for system administration and file transfer. In addition, it has a feature called SSH tunnelling  (or SSH port forwarding). It creates an encrypted connection between a local computer and a remote computer through which you can relay traffic. It is very useful, and you …

A Guide to the Linux “Top” Command

BY SUPRIYO BISWAS · UPDATED APRIL 30, 2018 The top command allows users to monitor processes and system resource usage on Linux. It is one of the most useful tools in a sysadmin’s toolbox, and it comes pre-installed on every distribution. Unlike other commands such as ps, it is interactive, and you can browse through the list of processes, …

vagrant vs docker

For some time now Vagrant has been the go-to solution for creating development environments that can be configured independantly of your machine and shared with a team. There are many benefits to using virtual machines over installing software directly on your local machine (as MAMP does for example): Software stacks are entirely independent from the machine you are working …

Docker Cheat Sheet

Source : https://www.docker.com/sites/default/files/Docker_CheatSheet_08.09.2016_0.pdf

systemctl vs chkconfig

Since I’ve mostly been using Red Hat or the gui desktop of Ubuntu lately I’ve neglected to notice the transitions from the sysVinit packages to systemd. Recently I installed Fedora 16 and was a little surprised when chkconfig didn’t work anymore. I decided I would write a post that gives the systemctl version of a …

 learn the Python programming language from scratch

This is a detailed tutorial designed for coders who need to learn the Python programming language from scratch. In this course, I’ll try to highlight many of Python’s capabilities and features. Python is an easy-to-learn programming language. Your First Program >>> print “Hello World” Hello World >>>   On UNIX: #!/usr/local/bin/python print “Hello World”   Expressions Expressions …

What is the difference between grep, pgrep, egrep, fgrep?

grep grep is an acronym that stands for “Global Regular Expressions Print”. grep is a program which scans a specified file or files line by line, returning lines that contain a pattern. A pattern is an expression that specifies a set of strings by interpreting characters as meta-characters. For example the asterisk meta character (*) …

Vagrant Issue on Linux Mint

i have some issue with  running vagrant, ]# vagrant init ubuntu/trusty64 A `Vagrantfile` has been placed in this directory. You are now ready to `vagrant up` your first virtual environment! Please read the comments in the Vagrantfile as well as documentation on `vagrantup.com` for more information on using Vagrant. adi.subekti@ops-desktop /vm/vagrant/trusty64 $ vagrant up Bringing …

Vagrant MacOs Installation

Vagrant Create and configure lightweight, reproducible, and portable development environments. Vagrant is an amazing tool for managing virtual machines via a simple to use command line interface. Before you start In order to simplify the installation process you should install homebrew-cask which provides a friendly homebrew-style CLI workflow for the administration of Mac applications distributed as binaries. …

Convert qcow2 to raw image and raw to qcow2 image

qemu-img is a QEMU disk image utility, which allows us to create, convert and modify images offline. It can handle all image formats supported by QEMU (including qcow2 and raw image format). Installing qemu-img: ]# yum install qemu-img Converting qcow2 image to raw image format using qemu-img: ]# qemu-img convert -f qcow2 -O raw image.qcow2 image.img Converting raw image to qcow2 image format using qemu-img: ]# qemu-img convert -f raw -O qcow2 …