Monday, February 27, 2017

link bantuan website lain setting linux

ini ada referensi lain dalam settingan linux

http://tutor-linuxs.blogspot.co.id/2010/01/install-epson-lx-300-printer-at-linux.html
https://tjhia.wordpress.com/2012/01/05/install-printer-lx-300-ii/

Friday, February 10, 2017

setingan dasar setelah menginstal nginx dan php 5 dalam membangun web server

cd /var/run/php

cd/etc/nginx/sites-available  enter

sudo nano default                 enter

sudo service nginx restart     enter

directori website kita ada pada :

/var/www/html

sudo nano test.php
<?php phpinfo();?>
copy source code -r websiteanda@websiteanda.com:/usr/share/nginx/html/namaaplikasilive/var/namauser/html

ini hanya bersifat catatan saya,
maaf jika kurang faham ^_^

Cara menginstal nginx dan php 5 untuk membangun web server

kali ini saya akan membagikan cara untuk membangun web server.
untuk membuat aplikasi web server kita harus memiliki nginx dan php 5 sebagai penggerak aplikasi tersebut.
apa itu nginx ? nginx adalah wadah untuk menampung server yang akan kita buat , bukan hanya nginx masih banya aplikasi yg lain, seperti apache tapi nginx lebih di rekomendasikan .

membangun webserver lebih baik di instal pada linux dan cara ini saya mencobanya pada linux ubuntu desktop

1. cara menginstal nginx
tekan dan tahan kombinasi ctrl + alt + t atau open terminal
ketikkan ( sudo apt-get install nginx )
tunggu proses sampai selesai , dan close .

2. instal php 5
    kenapa php 5 dan bukan php 7 ? karna php 5 sudah versi stable dan lebih compatible di gunakan .
ikuti langkah ini , pada terminal :

dpkg -l | grep php| awk '{print $2}' |tr "\n" " " enter

sudo aptitude purge your_packages_here enter

sudo apt-get purge `dpkg -l | grep php| awk '{print $2}' |tr "\n" " "`    enter
sudo add-apt-repository ppa:ondrej/php   enter
sudo apt-get install software-properties-common   enter
sudo apt-get update   enter

sudo apt-get install php5.6   enter
sudo apt-get install php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml
instalasi sudah selesai
verivikasilah php nya
php5.6-cli
sudo php -v               enter
<?php 
      //outputs php configuration info
      phpinfo(); 
?>
jika sudah muncul  ini maka sudah terverivikasi

Saturday, February 4, 2017

Filter Drop Traceroute Client Mikrotik

Untuk menyembunyikan melewati beberapa router atau via isp mana agar client tidak dapat membaca alur jaringan kita bisa kita hidden atau drop untuk traceroute nya kecuali tujuannya, berikut scriptnya untuk menghidden lalu lintas jaringan mikrotik kita 
Scriptnya :
 
/ip firewall filter add chain=forward protocol=icmp icmp-options=11:0 action=drop comment="Drop Traceroute client"



berikut hasilnya :

Menghadang Ddos Mikrotik

Menghadang Ddos

/ip firewal filter
add action=add-src-to-address-list address-list=DDOS address-list-timeout=15s chain=input disabled=no dst-port=1337 protocol=tcp
add action=add-src-to-address-list address-list=DDOS address-list-timeout=15m chain=input disabled=no dst-port=7331 protocol=tcp src-address-list=knock
add action=add-src-to-address-list address-list="port scanners" address-list-timeout=2w chain=input comment="Port scanners to list " disabled=no protocol=tcp psd=21,3s,3,1
add action=add-src-to-address-list address-list="port scanners" address-list-timeout=2w chain=input comment="SYN/FIN scan" disabled=no protocol=tcp tcp-flags=fin,syn
add action=add-src-to-address-list address-list="port scanners" address-list-timeout=2w chain=input comment="SYN/RST scan" disabled=no protocol=tcp tcp-flags=syn,rst
add action=add-src-to-address-list address-list="port scanners" address-list-timeout=2w chain=input comment="FIN/PSH/URG scan" disabled=no protocol=tcp tcp-flags=fin,psh,urg,!syn,!rst,!ack
add action=add-src-to-address-list address-list="port scanners" address-list-timeout=2w chain=input comment="ALL/ALL scan" disabled=no protocol=tcp tcp-flags=fin,syn,rst,psh,ack,urg
add action=add-src-to-address-list address-list="port scanners" address-list-timeout=2w chain=input comment="NMAP NULL scan" disabled=no protocol=tcp tcp-flags=!fin,!syn,!rst,!psh,!ack,!urg


Semoga bermanfaat

Filter Rule Mikrotik Mode Dasar

Settinglah dan perhatikan sebelum di kerjakan

add chain=input protocol=tcp tcp-flags=syn,rst action=add-src-to-address-list address-list="port scanners" address-list-timeout=2w comment="" disabled=yes
add chain=input protocol=tcp tcp-flags=fin,psh,urg,!syn,!rst,!ack action=add-src-to-address-list address-list="port scanners" address-list-timeout=2w comment="" disabled=yes
add chain=input protocol=tcp tcp-flags=fin,syn,rst,psh,ack,urg action=add-src-to-address-list address-list="port scanners" address-list-timeout=2w comment="" disabled=yes
add chain=input protocol=tcp tcp-flags=!fin,!syn,!rst,!psh,!ack,!urg action=add-src-to-address-list address-list="port scanners" address-list-timeout=2w comment="" disabled=yes
add chain=input src-address-list="port scanners" action=drop comment="" disabled=yes
add chain=input protocol=tcp dst-port=21 src-address-list=ftp_blacklist action=drop comment="Filter FTP to Box" disabled=yes
add chain=output protocol=tcp content="530 Login incorrect" dst-limit=1/1m,9,dst-address/1m action=accept comment="" disabled=yes
add chain=output protocol=tcp content="530 Login incorrect" action=add-dst-to-address-list address-list=ftp_blacklist address-list-timeout=3h comment="" disabled=yes
add chain=forward protocol=tcp action=jump jump-target=tcp comment="Separate Protocol into Chains" disabled=yes
add chain=forward protocol=udp action=jump jump-target=udp comment="" disabled=yes
add chain=forward protocol=icmp action=jump jump-target=icmp comment="" disabled=yes
add chain=udp protocol=udp dst-port=69 action=drop comment="Blocking UDP Packet" disabled=yes
add chain=udp protocol=udp dst-port=111 action=drop comment="" disabled=yes
add chain=udp protocol=udp dst-port=135 action=drop comment="" disabled=yes
add chain=udp protocol=udp dst-port=137-139 action=drop comment="" disabled=yes
add chain=udp protocol=udp dst-port=2049 action=drop comment="" disabled=yes
add chain=udp protocol=udp dst-port=3133 action=drop comment="" disabled=yes
add chain=tcp protocol=tcp dst-port=69 action=drop comment="Bloking TCP Packet" disabled=yes
add chain=tcp protocol=tcp dst-port=111 action=drop comment="" disabled=yes
add chain=tcp protocol=tcp dst-port=119 action=drop comment="" disabled=yes
add chain=tcp protocol=tcp dst-port=135 action=drop comment="" disabled=yes
add chain=tcp protocol=tcp dst-port=137-139 action=drop comment="" disabled=yes
add chain=tcp protocol=tcp dst-port=445 action=drop comment="" disabled=yes
add chain=tcp protocol=tcp dst-port=2049 action=drop comment="" disabled=yes
add chain=tcp protocol=tcp dst-port=12345-12346 action=drop comment="" disabled=yes
add chain=tcp protocol=tcp dst-port=20034 action=drop comment="" disabled=yes
add chain=tcp protocol=tcp dst-port=3133 action=drop comment="" disabled=yes
add chain=tcp protocol=tcp dst-port=67-68 action=drop comment="" disabled=yes
add chain=icmp protocol=icmp icmp-options=0:0-255 limit=5,5 action=accept comment="Limited Ping Flood" disabled=yes
add chain=icmp protocol=icmp icmp-options=3:3 limit=5,5 action=accept comment="" disabled=yes
add chain=icmp protocol=icmp icmp-options=3:4 limit=5,5 action=accept comment="" disabled=yes
add chain=icmp protocol=icmp icmp-options=8:0-255 limit=5,5 action=accept comment="" disabled=yes
add chain=icmp protocol=icmp icmp-options=11:0-255 limit=5,5 action=accept comment="" disabled=yes
add chain=icmp protocol=icmp action=drop comment="" disabled=yes
add chain=input dst-address-type=broadcast action=accept comment="Allow Broadcast Traffic" disabled=yes
add chain=input connection-state=established action=accept comment="Connection State" disabled=yes
add chain=input connection-state=related action=accept comment="" disabled=yes
add chain=input connection-state=invalid action=drop comment="" disabled=yes

Friday, February 3, 2017

hal hal umum yang di Tambahkan sehabis Menginstal Linux Mint

1.Update
   caranya ( sudo apt-get update )
   enter dan masukkan password admin

2.Upgrade
   ( sudo apt-get upgrade )

3. Instal Wine
    ( sudo apt-get install wine )
    fungsinya untuk menjalankan program OS Windows pada Linux

4.Instal Samba
  ( Sudo apt-get install samba )
  fungsinya untuk file sharing dan sharing printer

5. Install SSH ( Optional )
    ( Sudo apt-get install ssh )
   untuk remote client via ssh

6. tambahan Font pada Libre Office
    silahkan akses link ini, untuk lebih lanjut
    http://fikiranbersama.blogspot.co.id/2017/01/hal-yang-perlu-di-tambahkan-jika.html

7.update dan upgrade untuk sebagai penutupnya .

silahkan coret coret di bawah, jika ada kritikan dan masukan.
Terimakasih sudah membaca  ^_^