This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

*/

Orange Pi Lite 2 O/S 설치하기

Orange Pi Lite 2의 O/S 이미지와 설치 파일 위치 ( http://www.orangepi.org/downloadresources/) 에서 필요한 파일들을 다운로드 받는다.


기본적으로 메뉴얼 및 단말에 설치하고자 하는 이미지를 선택한다. 예를 들어 데비안을 선택하면 아래와 같이 나오고 구글드라이브나 메가크라우드, 바이두 크라우드에서 다운 받을수 있는 화면이 나온다.

마음에 드는곳에서 다운받고, 화면 제일 하단에서 Win32DiskImager-0.9.5-binary 를 다운받아 압축을 해제하고 실행시킨다.

위에서 다운받은 이미지(압축해제한)를 선택하고, 준비된 8GByte이상의 SD카드를 PC에 넣고 ‘Write”시킨다.

Write가 끝나면 SD를 OrangePi에 넣고  전원을 넣으면 HDMI로 로그인 화면을 볼수 있다.
ID와 PW는 O/S 이미지 다운받을때 적혀있던 root/orangepi를 사용한다.




Ubuntu에서 어떤 종류의 package가 있는지 검사하는 방법

리눅스에서 어떤 프로그램(package)가 있는지 검사할때 아래와 같이 apt-cache 명령을 쓴다
$apt-cache search <key word>

예를 들어 crossbuild-essential-armhf는 아는데 다른 종류의 크로스빌드툴은 어떤게 있는지 확인하고자 할때 다음과 같이 검색할 수 있다.
@ubuntu:~$ apt-cache search build-essential

build-essential - Informational list of build-essential packages
crossbuild-essential-arm64 - Informational list of cross-build-essential packages
crossbuild-essential-armhf - Informational list of cross-build-essential packages
crossbuild-essential-powerpc - Informational list of cross-build-essential packages
crossbuild-essential-ppc64el - Informational list of cross-build-essential packages
devscripts - scripts to make the life of a Debian Package maintainer easier
crossbuild-essential-armel - Informational list of cross-build-essential packages
crossbuild-essential-s390x - Informational list of cross-build-essential packages
dh-buildinfo - Debhelper addon to track package versions used to build a package
sbuild - Tool for building Debian binary packages from Debian sources

Ubuntu 사용중 Could not get lock /var/lib/dpkg/lock 오류 발생할 때

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

우분투 사용중 위와 같은 오류가 발생하는 경우가 있다. 이경우는 /var/lib/dpkg/lock파일이 존재할때 생기는 문제로 아래와 같이 해당 파일을 지워주면 해결된다
sudo rm /var/lib/apt/lists/lock

sudo rm /var/cache/apt/archives/lock

sudo rm /var/lib/dpkg/lock

sudo dpkg --configure –a