티스토리 뷰
728x90
출처
리눅스 정보 확인
CPU 정보 확인
$ cat /proc/cpuinfo processor : 0 BogoMIPS : 48.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4 ... 생략 ... Hardware : Allwinnersun50iw2Family Revision : 0000 Serial : 0000000000000000
instruction set architecture (ISA)
$ uname -i aarch64
커널에 대한 정보
$ uname -a Linux NanoPi-NEO2-Black 4.14.111 #1 SMP Thu Dec 19 19:12:27 CST 2019 aarch64 aarch64 aarch64 GNU/Linux
OS버전에 대한 정보
$ cat /etc/issue Ubuntu 16.04.2 LTS \n \l
논리 코어 수 확인
$ grep -c processor /proc/cpuinfo 4
root 암호 fa
Give root password for maintenance (or press Control-D to continue): fa
네트워크 설정
# sudo vi /etc/network/interfaces
source-directory /etc/network/interfaces.d # auto lo # iface lo inet loopback auto eth0 iface eth0 inet dhcp allow-hotplug wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
eth0 비활성화
# ifdown eth0 Internet Systems Consortium DHCP Client 4.3.3 Copyright 2004-2015 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/02:01:3e:0b:dd:fd Sending on LPF/eth0/02:01:3e:0b:dd:fd Sending on Socket/fallback DHCPRELEASE on eth0 to 192.168.2.1 port 67 (xid=0x56937d73) send_packet: Network is unreachable send_packet: please consult README file regarding broadcast address. dhclient.c:2474: Failed to send 300 byte long packet over fallback interface.
eth0 활성화
# ifup eth0 Internet Systems Consortium DHCP Client 4.3.3 Copyright 2004-2015 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/02:01:3e:0b:dd:fd Sending on LPF/eth0/02:01:3e:0b:dd:fd Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0x958b0a6c) DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 (xid=0x958b0a6c) DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15 (xid=0x958b0a6c) DHCPREQUEST of 192.168.0.3 on eth0 to 255.255.255.255 port 67 (xid=0x6c0a8b95) DHCPOFFER of 192.168.0.3 from 192.168.0.1 DHCPACK of 192.168.0.3 from 192.168.0.1 bound to 192.168.0.3 -- renewal in 2733 seconds.
ssh 서비스 등록
# systemctl enable ssh Synchronizing state of ssh.service with SysV init with /lib/systemd/systemd-sysv-install... Executing /lib/systemd/systemd-sysv-install enable ssh
ssh 접속 설정 - nanopi config
# npi-config
JDK 설치
$ sudo apt install openjdk-8-jdk
Bazel 설치
$ sudo apt install build-essential zip $ mkdir bazel $ cd bazel $ wget https://github.com/bazelbuild/bazel/releases/download/0.29.1/bazel-0.29.1-dist.zip $ unzip bazel-0.29.1-dist.zip $ $ sudo env EXTRA_BAZEL_ARGS="--host_javabase=@local_jdk//:jdk" VERBOSE=yes BAZEL_JAVAC_OPTS="-J-Xms384m -J-Xmx1024m" bash ./compile.sh $ sudo cp output/bazel /usr/local/bin/bazel
댓글
300x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- Xcode
- 서울오토살롱
- BPI-M4
- android
- ffmpeg
- JavaScript
- 일본여행
- Java
- 동경
- Delphi
- Spring MVC
- NDK
- ubuntu
- ble
- 송주경
- sas2009
- Mac
- Delphi Tip
- flex
- KOBA
- koba2010
- SAS
- Linux
- 지스타2007
- 튜닝쇼 2008
- oracle
- 전예희
- Spring
- MySQL
- 레이싱모델 익스트림 포토 페스티벌
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함