Senin, 20 Februari 2012

command dasar di BackTrack

yah walaupun ane pake BlackBuntu..
tp agak sama ko Comandnya....
niii




[*] Login
Username root password toor > default user pada backtrack, saran ane setelah login langsung ganti password dengan command 
root@bt:~# passwd
kemudian masukkan password baru

[*] Memperbaiki tampilan splash:
root@bt:~# fix-splash

[*] Memulai X-server (Desktop GUI)
root@bt:~# startx

[*] networking
untuk memulai networking biasanya menggunakan WICD tpi sebelumnya ketik dulu di console:
root@bt:~# /etc/init.d/wicd start
lalu klik :
menu > internet > wicd netwok manager

setting ip dynamic, 
root@bt:~# dhclient <interface network ente>
-- interface disini bisa saja eth0 atau eth1

Setting IP static
misalnya :
interface - eth0
IP Address - 192.168.1.9/24
Default Gateway - 192.168.1.1
DNS server - 192.168.1.1
maka perintah yang digunakan adalah :

root@bt:~# ifconfig eth0 192.168.1.9/24
root@bt:~# route add default gw 192.168.1.1
root@bt:~# echo nameserver 192.168.1.1 > /etc/resolv.conf

settingan ini akan kembali default bila di reboot, untuk menjadikan permanen maka kita perlu meng-edit file /etc/network/interfaces,

root@bt:~# nano /etc/network/interfaces

auto eth0
iface eth0 inet static
address 192.168.1.9
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

kemudian save dengan menggunakan perintah CTRL+X kemudian jawab y kemudian enter

root@bt:~# update-rc.d networking defaults
root@bt:~# /etc/init.d/networking restart

[*] Memulai service di BT :
SSH (Secure Shell) 
sebelum menjalankan service ssh unutk pertama kali, kita perlu meng-generate key nya jalankan perintah:
root@bt:~# sshd-generate
root@bt:~# /etc/init.d/ssh start
Starting OpenBSD Secure Shell server: sshd.

untuk menghentikan service :
root@bt:~# /etc/init.d/ssh stop 
Stopping OpenBSD Secure Shell server: sshd.
apache webserver
root@bt:~# /etc/init.d/apache2 start
atau bisa jg dengan perintah

root@bt:~# service apache2 start
* Starting web server apache2

atau :
root@bt:~# apache2ctl start

untuk menghentikan service :

root@bt:~# /etc/init.d/apache2 stop

atau :
root@bt:~# service apache2 stop

atau :
root@bt:~# apache2ctl stop
MySQL
untuk memulai bisa menggunakan perintah :
root@bt:~# /etc/init.d/mysql start

atau:
root@bt:~# start mysql

untuk menghentikan :
root@bt:~# /etc/init.d/mysql stop

atau :
root@bt:~# stop mysql





sumber:DC

command dasar di BackTrack Rating: 4.5 Diposkan Oleh: r007-

0 komentar:

Posting Komentar