Tampilkan postingan dengan label Linux. Tampilkan semua postingan
Tampilkan postingan dengan label Linux. Tampilkan semua postingan
Minggu, 15 Maret 2015
Kamis, 05 Maret 2015
Virtual Memory Virtual Memory
Terminal
# dd if=/dev/zero of=/swapfile bs=1024 count=8192
# mkswap /swapfile 8192
# sync
# swapon /swapfile
Tambahkan pada baris terakhir di /etc/rc.d/rc.local atau tambahkan
baris ini di /etc/fstab :
"/swapfile swap swap defaults" tanpa tanda petik.
Done.
# dd if=/dev/zero of=/swapfile bs=1024 count=8192
# mkswap /swapfile 8192
# sync
# swapon /swapfile
Tambahkan pada baris terakhir di /etc/rc.d/rc.local atau tambahkan
baris ini di /etc/fstab :
"/swapfile swap swap defaults" tanpa tanda petik.
Done.
swap memory on linux swap memory on linux
Terminal
type
dd if=/dev/zero of=/swapfile bs=1M count=1000
set up
mkswap /swapfile
Aktivate swap file
swapon /swapfile
change permission of file
gedit /etc/fstab
sudo chmod 777 /etc/fstab
parameter on file :"/etc/fstab"
/swapfile swap swap defaults 0 0
verification of swap memory, type on terminal:
free -m
then restart.
Done..
type
dd if=/dev/zero of=/swapfile bs=1M count=1000
set up
mkswap /swapfile
Aktivate swap file
swapon /swapfile
change permission of file
gedit /etc/fstab
sudo chmod 777 /etc/fstab
parameter on file :"/etc/fstab"
/swapfile swap swap defaults 0 0
verification of swap memory, type on terminal:
free -m
then restart.
Done..
Selasa, 03 Maret 2015
My zorin repair when damaged My zorin repair when damaged
Type on terminal
gconftool --recursive-unset /apps/panel
rm -rf ~/.gconf/apps/panel
pkill gnome-panel
Done.
Selasa, 25 Februari 2014
Prozilla Prozilla
prozilla (Download Manager)
- kh4sh4@bt:~# wget -c http://old-releases.ubuntu.com/ubuntu/pool/universe/p/prozilla/prozilla_1.3.7.4-1_i386.deb
- Install kh4sh4@bt:~# dpkg -i prozilla_1.3.7.4-1_i386.deb
- Edit file konfigurasi prozilla "/etc/prozilla/prozilla.conf" kh4sh4@bt:~# gedit /etc/prozilla/prozilla.conf# How many mirrors we will request from ftpsearch.# This option only make sense w/ ftpsearch ON##mirrors = 40# The timeout period# How long do we wait when there is no response before starting again##timeout = 180# How many attempts do we make when we encounter a data transmission error# to get the file in (default is 200), specify 0 to try infinitely ##tries = 200#The timedelay between retries. (default 15 seconds)##retrydelay = 15# The force option, off by default. When enabled cause Prozilla NOT# to prompt the user about overwriting existent files etc..##forcemode = off# Maximum redirections allowed##maxredirs = 10# Use ~/.netrc? On by default##netrc = on# Uses PASV by default. If you don't like it set it OFF and will use PORT instead.##pasv = off# If you turn this option ON, when an error occurs, ProZilla will print the# error to stdout and quit instead of waiting for the user to press a key to# exit##nogetch = off#The maxbps option can be used to limit the bandwith consumption of# prozilla for example maxbps = 40000 will limit it to consume a maximum of# 40k of bandwith, the default is 0 which means unlimited bandwith# consumption (ie no limitation just get as fast as possible)#maxbps = 0 (set max bps jadi 0 untuk koneksi unlimited)#mainoutputdir#This specifies to which directory the output file will be built#mainoutputdir = /home/weasel/downloads#Now if you download a file called gcc-2.95.2.tar.bz2 it will be saved as#/home/weasel/downloads/gcc-2.95.2.tar.bz2#mainoutputdir = /home/dongdot (Direktori file download disimpan)
- cara download
kh4sh4@bt:~# proz http://www.bokep.coli/Skandal_Flazer&Jocker_maniac.HD
parameter -r <-- Resumekh4sh4@bt:~# -r proz http://www.bokep.coli/Skandal_Flazer&Jocker_maniac.HD
kalo bingung ketik "man prozilla"
Rabu, 29 Januari 2014
Autotrash Autotrash
Hapus file sampah secara otomatis
type:
apt-get update
apt-get install autotrash
autotrash -d 10
See:
-d <days of age to purge>,
--delete <number of megabytes to purge>, or
--min-free <number of megabytes to make free>
type:
apt-get update
apt-get install autotrash
autotrash -d 10
See:
-d <days of age to purge>,
--delete <number of megabytes to purge>, or
--min-free <number of megabytes to make free>
Scalpel Scalpel
Type:
dd if=/dev/sda1 of=/media/dataku/imagerecovery.img
untuk menyalin partisi /dev/sda1 yang ingin direcovery menjadi image.
install scalpel
apt-get install scalpel
konfigurasi
gedit /etc/scalpel/scalpel.conf
hilangkan tanda # untuk merecovery data yang berextensi PDF *contoh
mkdir recovery
scalpel -o recovery imagerecoveri.img
done..
dd if=/dev/sda1 of=/media/dataku/imagerecovery.img
untuk menyalin partisi /dev/sda1 yang ingin direcovery menjadi image.
install scalpel
apt-get install scalpel
konfigurasi
gedit /etc/scalpel/scalpel.conf
hilangkan tanda # untuk merecovery data yang berextensi PDF *contoh
mkdir recovery
scalpel -o recovery imagerecoveri.img
done..
Jumat, 24 Januari 2014
Remastersys Remastersys
gedit /etc/apt/sources.list
copas
deb http://www.geekconnection.org/remastersys/repository karmic/
save
apt-get update
apt-get install remastersys
apt-get install ubiquity-frontend-gtk
copas
deb http://www.geekconnection.org/remastersys/repository karmic/
save
apt-get update
apt-get install remastersys
apt-get install ubiquity-frontend-gtk
Untuxcut with Arpon Untuxcut with Arpon
apt-get install arpon
gedit /etc/default/arpon
Code:
# Defaults for arpon initscript
# sourced by /etc/init.d/arpon
# installed at /etc/default/arpon by the maintainer scripts
# You must choose between static ARP inspection (SARPI) and
# dynamic ARP inspection (DARPI)
#
# For SARPI uncomment the following line (please edit also /etc/arpon.sarpi)
# DAEMON_OPTS="-q -f /var/log/arpon/arpon.log -g -s"
# For DARPI uncomment the following line
# DAEMON_OPTS="-q -f /var/log/arpon/arpon.log -g -d"
# Modify to RUN="yes" when you are ready
RUN="yes"
konfigurasi arpon ini, untuk mengaktifkan arpon maka lihat pada baris ini
# Modify to RUN=”yes” when you are ready
RUN=”no”
see this:
Code:
# Modify to RUN=”yes” when you are ready
RUN=”no”
change it:
Code:
# Modify to RUN=”yes” when you are ready
RUN=”yes”
save..
gedit /etc/default/arpon
Code:
# Defaults for arpon initscript
# sourced by /etc/init.d/arpon
# installed at /etc/default/arpon by the maintainer scripts
# You must choose between static ARP inspection (SARPI) and
# dynamic ARP inspection (DARPI)
#
# For SARPI uncomment the following line (please edit also /etc/arpon.sarpi)
# DAEMON_OPTS="-q -f /var/log/arpon/arpon.log -g -s"
# For DARPI uncomment the following line
# DAEMON_OPTS="-q -f /var/log/arpon/arpon.log -g -d"
# Modify to RUN="yes" when you are ready
RUN="yes"
konfigurasi arpon ini, untuk mengaktifkan arpon maka lihat pada baris ini
# Modify to RUN=”yes” when you are ready
RUN=”no”
see this:
Code:
# Modify to RUN=”yes” when you are ready
RUN=”no”
change it:
Code:
# Modify to RUN=”yes” when you are ready
RUN=”yes”
save..
Minggu, 19 Januari 2014
Install Virtualbox on Backbox Install Virtualbox on Backbox
Terminal:
apt-get update
apt-get install virtualbox-qt
Done
apt-get update
apt-get install virtualbox-qt
Done
install kernel-headers install kernel-headers
terminal:
apt-get update
apt-cache search linux-headers-$(uname -r)
apt-get install linux-headers-$(uname -r)
done
apt-get update
apt-cache search linux-headers-$(uname -r)
apt-get install linux-headers-$(uname -r)
done
extract file extract file
start code-->
ex () {
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xjf $1 ;;
*.tar.gz) tar xzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) rar x $1 ;;
*.tar.xz) tar -Jxvf $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xf $1 ;;
*.tbz2) tar xjf $1 ;;
*.tgz) tar xzf $1 ;;
*.zip) unzip $1 ;;
*.Z) uncompress $1 ;;
*.7z) 7z x $1 ;;
*) echo "'$1' cannot be extracted via extract()" ;;
esac
else
echo "'$1' is not a valid file"
fi
}
<--end code
copas on .bashrc and save
command--> extract file.tar.gz
ex () {
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xjf $1 ;;
*.tar.gz) tar xzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) rar x $1 ;;
*.tar.xz) tar -Jxvf $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xf $1 ;;
*.tbz2) tar xjf $1 ;;
*.tgz) tar xzf $1 ;;
*.zip) unzip $1 ;;
*.Z) uncompress $1 ;;
*.7z) 7z x $1 ;;
*) echo "'$1' cannot be extracted via extract()" ;;
esac
else
echo "'$1' is not a valid file"
fi
}
<--end code
copas on .bashrc and save
command--> extract file.tar.gz
Jumat, 17 Januari 2014
MITM Detection MITM Detection
credit goes to writer vladz <vladz@devzero.fr.
#!/bin/bash
# A fully customisable ARP spoofing detection script
#
# Copyright (C) 2008 vladz <vladz@devzero.fr>
#
# This tool will prevent yourself against Man-In-The-Middle attacks. For
# better usage run this script in a xterm:
# $ xterm -e "/bin/bash mitm.sh"
f="/proc/net/arp" # Dump file of the kernel ARP table
t=5 # Time interval between two checks (in sec)
m="- WARNING - MITM detected" # Alert msg displayed when MITM occurs
d="+%y/%m/%d-%H:%M:%S" # Date format style
while true; do
sleep ${t}; awk '{if(x[$4]++) exit 1;}' ${f} || \
{ printf "*** At %s %s ***\n" "`date ${d}`" "${m}"; cat ${f}; }
done
Rabu, 15 Januari 2014
Senin, 13 Januari 2014
ghostscript ghostscript
Terminal:
apt-get install ghostscript
Terminal:
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
Done..
apt-get install ghostscript
Terminal:
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
Done..
Minggu, 12 Januari 2014
XAMPP XAMPP
Download
Install
Terminal:
chmod 755 xampp-linux-1.8.2-0-installer.run
Run
./xampp-linux-1.8.2-0-installer.run
That's all. XAMPP is now installed below the /opt/lampp directory.
or
Terminal:
tar xvfz xampp.tar.gz -C/opt
Start XAMPP
/opt/lampp/lampp start
/opt/lampp/lampp stop
Parameter
start Starts XAMPP.
stop Stops XAMPP.
restart Stops and starts XAMPP.
startapache Starts only the Apache.
stopapache Stops the Apache.
stopssl Stops the Apache SSL support.
stopftp Stops the ProFTPD server.
Starts a small security check programm.
To uninstall XAMPP just type in this command:
rm -rf /opt/lampp
cek: http://localhost
Install
Terminal:
chmod 755 xampp-linux-1.8.2-0-installer.run
Run
./xampp-linux-1.8.2-0-installer.run
That's all. XAMPP is now installed below the /opt/lampp directory.
or
Terminal:
tar xvfz xampp.tar.gz -C/opt
Start XAMPP
/opt/lampp/lampp start
/opt/lampp/lampp stop
Parameter
start Starts XAMPP.
stop Stops XAMPP.
restart Stops and starts XAMPP.
startapache Starts only the Apache.
stopapache Stops the Apache.
stopssl Stops the Apache SSL support.
stopftp Stops the ProFTPD server.
Starts a small security check programm.
To uninstall XAMPP just type in this command:
rm -rf /opt/lampp
cek: http://localhost
Libre Office Libre Office
install Libre Office
Terminal:
tar -zxvf Libreoffice.tar.gz
cd LibreOffice
cd DEBS
dpkg -i *.deb
Done..
Uninstall Libre Office
Terminal:
apt-get remove --purge libreoffice*
apt-get clean
apt-get autoremove
Done..
Jumat, 10 Januari 2014
Tor+Proxychains Tor+Proxychains
terminal:
apt-get update
apt-get install tor
service tor start
for check
service tor status
for stop
service tor stop
# cd /etc
# vi proxychains.conf
type
socks5 127.0.0.1 9050
save
type
proxychains iceweasel www.ipsaya.com or proxychains firefox www.ipsaya.com
done..
apt-get update
apt-get install tor
service tor start
for check
service tor status
for stop
service tor stop
# cd /etc
# vi proxychains.conf
type
socks5 127.0.0.1 9050
save
type
proxychains iceweasel www.ipsaya.com or proxychains firefox www.ipsaya.com
done..
Kamis, 09 Januari 2014
Install&conf Printer di Kali Linux Install&conf Printer di Kali Linux
- synaptic install:
cups
cups-client
or apt-get install cups cups-client "foomatic-db*" - terminal:
adduser root lpadmin
See:
Adding user `root' to group `lpadmin' ...
Adding user root to group lpadmin
Done.
(root mean your system account,if your account is with different name, type different name) - restart kali
- restart (or stop and start) the daemons:
service samba restart && service cups restart
or
service cups restart
if you do not have SAMBA on your system
Install Mozilla Firefox di Kali Linux Install Mozilla Firefox di Kali Linux
Terminal:
apt-get remove iceweasel
echo -e "\ndeb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main" | tee -a /etc/apt/sources.list > /dev/null
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C1289A29
apt-get update
apt-get install firefox-mozilla-build
Done
apt-get remove iceweasel
echo -e "\ndeb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main" | tee -a /etc/apt/sources.list > /dev/null
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C1289A29
apt-get update
apt-get install firefox-mozilla-build
Done
Langganan:
Postingan (Atom)





















