Articles Comments

{ Berbagi, Menulis, Dan Mengajar } Ilmu… » Linux

Cara Membuat Nginx-SSL

Nginx-SSL … Read entire article »

Filed under: Linux

Crontab Man

https://crontab.guru/examples.html … Read entire article »

Filed under: Linux

Cara Install HTTPS / SSL di Nginx

InstallHTTPSdiNginx … Read entire article »

Filed under: File Config, Linux

Cara Enable Start Up di Linux Centos

Ikuti Langkah2x sbb : 1. Buatlah Script berisi program di folder   /root/scripts/ –> Contoh File routing.sh 2. ‘Copy Paste’kan Link  Program  routing.sh  script di baris paling bawah rc.local. 3. Lalu Buat Chmod 755 4. Ketik Perintah  ke Consol –> systemctl enable rc-local 5. Reboot OS. —————————– joe /root/scripts/routing.sh chmod +x /root/scripts/routing.sh joe /etc/rc.d/rc.local –> Paste link Script di baris paling bawah, /root/scripts/routing.sh chmod u+x /etc/rc.d/rc.local reboot … Read entire article »

Filed under: Linux

Crontab Editor, Cara Merubah Crontab Editor

Cara Merubah Editor Crontab, ke Editor lain,.. export VISUAL=joe … Read entire article »

Filed under: Linux

C Programming Linux

http://www.gidforums.com/t-3369.html … Read entire article »

Filed under: 4. Programming / IDE, Linux

SSH COmmandLine Tunnel

SSH-Tunneling is useful for getting into remote firewalled systems securely. If you need to access a database server, cvs repository, or other service that is blocked off by a firewall, ssh tunnels will let you access them as if you were on the local network. This makes the systems very secure, and promotes encrypted transmission. SSH GUI based clients have control panels that allow you to setup tunnels. Sometimes, it is necessary to automate such a task on the shell level. SSH tunneling can be an excellent security enhancement to an automated system. #using the command line only, open ssh tunnel to cvs repository $ ssh -l youruser yourhost.com -p 22 -N -f -C -L 2401:yourhost.com:2401 Argument summary: * -l login name * -p remote host port (It is best to connect to ssh on something … Read entire article »

Filed under: Linux

Basic IPtables Firewall

Default Block and Selective Port to Open — #/bin/bash iptables -Z iptables -F -t filter iptables -F -t nat iptables -P INPUT DROP iptables -P FORWARD DROP iptables -P OUTPUT ACCEPT #Untuk accept ICMP (ping) iptables -A INPUT -s 0/0 -d 0/0 -p icmp -j ACCEPT #Untuk Localhost iptables -A INPUT -s 127.0.0.1 -d 0/0 -j ACCEPT #Untuk FTP iptables -A INPUT -s 10.8.9.153 -d 10.8.9.103 -p tcp –dport 21 -j ACCEPT … Read entire article »

Filed under: Linux

Atur Date Time Mesin Linux

Masalah sering terjadi ketika kita selesai melakukan installasi Linux ternyata format Waktu yang di install tidak sesuai dengan lokasi kita berada, misalkan lokasi kita di indonesia, maka format waktu yang benar adalah ’WIT’ #—Contoh—# Wed Jun 4 13:20:02 WIT 2008 #— End —# — nah bila format waktu yang kita inginkan ternyata berbeda, cara mensetting / membetulkan format waktunya gampang : 1. Hapus Format Waktu yang salah # mv /etc/localtime /etc/localtime.old 2.Buat Simbolik Link yang sesuai dengan tempat kita berada (Red. Indonesia) # ln -s /usr/share/zoneinfo/Asia/Jakarta /etc/localtime 3.Bikin Program Auto Update Setiap 5 Menit (dengan Crontab) */5 * * * * /usr/sbin/ntpdate id.pool.ntp.org .::. GoodLuck .::. … Read entire article »

Filed under: Linux

RAID Linux Software

Tips & Trik Instalasi Gentoo/x86 Sven Vermeulen AuthorXavier Neys EditorDzikri Aziz Translator Diperbarui 18 September 2007 1. Pendahuluan Pengenalan Dokumen ini berisi berbagai macam tips dan trik untuk instalasi Gentoo/x86. Kebanyakan dari tips dan trik ini didiskusikan dengan singkat – karena dibuat sebagai tambahan petunjuk instalasi dan bukan sebagai pengganti. Daftar Isi Instalasi Advanced RAID Software RAID ATA menggunakan kernel 2.4 Menggunakan kernel CD Instalasi Menyederhanakan Instalasi Meninggalkan Terminal Mengatasi Error/Masalah Pemeriksaan Disk Anda Secara Mendalam Memperbaiki Instalasi yang Salah 2. Instalasi Advanced RAID Software Catatan: Jika anda kurang akrab dengan raid software, silakan baca Software-RAID-HOWTO. Catatan: Sebuah prosedur yang lebih terinci bisa anda temukan di Panduan Instalasi Cepat Raid Software dan LVM2 x86. Ketika anda telah boot dari CD Instalasi, muat modul RAID yang diperlukan. Misalnya jika anda berencana untuk menggunakan RAID-1: Daftar Kode 2.1: Load modul … Read entire article »

Filed under: Linux