linux

How to create an autostart script in Linux (Red Hat / CentOS / Fedora)

How to create an auto start script in Linux (Red Hat / CentOS / Fedora): Option 1: Use chkconfig script to run /etc/init.d/… Create a script and place in /etc/init.d (e.g /etc/init.d/myscript). The script should have the following format: #!/bin/bash # chkconfig: 2345 20 80 # Source function library. . /etc/init.d/functions start() { # code to start app …

How to create an autostart script in Linux (Red Hat / CentOS / Fedora) Read More »

How to Recover Deleted Files (rm -rf) or Accidentally click Empty Recycle Bin

So, sometimes “shit” can happen. Accidentally do rm -rf in linux OS, or click empty recycle bin in windows. Or, disk is corrupt, boot sector is broken, etc. This is a very useful tool to help you to “try” to fix it. Sometimes it works, and sometimes it doesn’t. At least you try… 😉 Err, …

How to Recover Deleted Files (rm -rf) or Accidentally click Empty Recycle Bin Read More »

CentOS 7. Which installer need to Download: Minimal, DVD, or Everything?

Size of CentOS 7 iso. To determine which package that you want to install/download (DVD, Everything, or Minimal). 4.0G CentOS-7-x86_64-DVD-1503-01.iso 7.1G CentOS-7-x86_64-Everything-1503-01.iso 696M CentOS-7-x86_64-LiveCD-1503.iso 1.0G CentOS-7-x86_64-LiveGNOME-1503.iso 1.2G CentOS-7-x86_64-LiveKDE-1503.iso 636M CentOS-7-x86_64-Minimal-1503-01.iso 360M CentOS-7-x86_64-NetInstall-1503.iso Better to start with minimal, and add package needed with yum install package later on after installation.   Kind Regards, Doddi Priyambodo

YUM Repository Installation for RedHat / CentOS / Fedora

  There are several people still asking about how to create YUM Repository in their Local Linux distribution. So, here you go… Step 1: Install “createrepo” To create Custom YUM Repository we need to install additional software called “createrepo” on our cloud server. We can install “createrepo” by running the following command from console: yum …

YUM Repository Installation for RedHat / CentOS / Fedora Read More »

Mekanisme IP Port Forward di Linux, Mikrotik, Windows

IP & Port Forwarding. Mekanisme port forward adalah sebuah cara untuk melakukan penerusan paket ke tempat lain, tanpa client perlu mengetahui dan merasakan bahwa sebenarnya paket itu bukan ditembak ke server tujuan dari client. Melainkan dialihkan ke server yang lain. Konfigurasi : CLIENT —>SERVER (published) —> SERVER (local) Mekanisme untuk melakukan Port Forwarding adalah sebagai …

Mekanisme IP Port Forward di Linux, Mikrotik, Windows Read More »