티스토리 뷰

1. Raspberry Pi 2 준비

Raspberry Pi 2를 구한다.




2. FreeBSD 다운

ftp://ftp.freebsd.org/ 서버에 접근

가장 최근의 Snapshots을 다운 받으면 된다.

웹 브라우저를 통해서 받아도 되고 FTP를 통해서 받아도 된다.


ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/11.0/FreeBSD-11.0-CURRENT-arm-armv6-RPI2-20150625-r284814.img.xz




3. xz 압축 풀기



4. Micro-SD Card 삽입 후 Burn

$ diskutil list

또는 

$ df -h

위 명령어를 이용하여 Micro-SD Card가 삽입된 disk를 확인한다.


그리고 아래와 같이 disk를 unmount 해준다.

diskutil unmountDisk disk2


unmount를 한 다음 dd 명령어를 이용하여 Burn!

sudo dd if=FreeBSD-11.0-CURRENT-arm-armv6-RPI2-20150625-r284814.img of=/dev/disk2 bs=1m conv=sync


diskutil 명령어로 확인을 하고 disk를 eject!



5. Micro-SD Card를 Raspberry Pi 2에 삽입한 다음 전원과 기타 장비들을 연결해주면 자동으로 부팅

초기 아이디와 패스워드는 다음과 같다.

id/password: root/root



- 외부에서 ssh을 이용하여 root로 접근하는 것을 허용할 경우 아래와 같이 설정

vi /etc/ssh/sshd_config

PermitRootLogin yes

# 주석 처리할 경우 default(PermitRootLogin no)로 설정됨



- Kali 2.0.1 (rpi2) 설치 시 참고한 내용

sudo dd if=kali-2.0.1-rpi2.img of=/dev/disk2 bs=512k

This process can take a while depending on your SD card’s device speed and image size. Once the dd operation is complete, insert the SD card into the Raspberry Pi and power it on.


You should be able to log into Kali (as user root, using the password toor) and execute the startx command at the shell prompt to start up the XFCE desktop environment.



- SSH Host Key 에러 시 참고한 내용

IMPORTANT!

Please change your SSH host keys as soon as possible as all ARM images are pre-configured the same keys. You should also change the root password to something more secure, especially if this machine will be publicly accessible!


Changing the SSH host keys can be accomplished by doing the following:

$ rm /etc/ssh/ssh_host_*

$ dpkg-reconfigure openssh-server

$ service ssh restart



'Operating System > FreeBSD' 카테고리의 다른 글

tmux 설치 및 설정  (0) 2015.10.18
FAMP - Installing Apache, MySQL, PHP on FreeBSD  (0) 2015.07.22
python27, py-pip 설치 및 설정  (0) 2015.07.22
bash 설치 및 설정  (0) 2015.07.22
vim-tiny 설치 및 설정  (0) 2015.07.12
Portsnap  (0) 2015.07.12
FTP 설정  (0) 2015.07.05
USER 관리  (0) 2015.07.05
날짜/시간 설정  (0) 2015.07.02
Network 및 Hostname 설정  (0) 2015.07.02
댓글
«   2024/03   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
링크
공지사항
Total
Today
Yesterday