pi@raspberrypi:~ $ sudo apt-get install mariadb-server

 

pi@raspberrypi:~ $ mysql -V
mysql  Ver 15.1 Distrib 10.3.22-MariaDB, for debian-linux-gnueabihf (armv8l) using readline 5.2

 

pi@raspberrypi:~ $ sudo mysql -u root
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 53
Server version: 10.3.22-MariaDB-0+deb10u1 Raspbian 10

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> 

 

<계정생성>

UPDATE mysql.user SET password=password('패스워드') WHERE user='root';
FLUSH PRIVILEGES;

create database tensorflow;

drop user '계정';
create user '계정'@'%' identified by '패스워드!';
create user '계정'@'localhost' identified by '패스워드!';

grant all privileges on DB명.* to '계정'@'localhost';
grant all privileges on DB명.* to '계정'@'%';

flush PRIVILEGES;

 

 

<방화벽 설정>

 

sudo nano /etc/mysql/mariadb.conf.d/50-server.cnf 
50-server.cnf 파일에서 bind-address = 127.0.0.1부분을 주석처리

 

# sudo iptables -A INPUT -p tcp --dport 3306 -j ACCEPT
# sudo iptables -A OUTPUT -p tcp --dport 3306 -j ACCEPT
# sudo iptables-save

pi@raspberrypi:~ $ service mysql stop
pi@raspberrypi:~ $ service mysql start


 

'Raspberry Pi' 카테고리의 다른 글

JDK Install  (0) 2020.01.18
Python Install  (0) 2020.01.18
Network Drive Mount(WD Cloud)  (0) 2020.01.18
Raspberry Pi 설치  (0) 2019.05.07

sudo apt update
sudo apt install default-jdk

pi@raspberrypi:~ $ java -version
openjdk version "11.0.5" 2019-10-15
OpenJDK Runtime Environment (build 11.0.5+10-post-Raspbian-1deb10u1)
OpenJDK Server VM (build 11.0.5+10-post-Raspbian-1deb10u1, mixed mode)



Installing Java 8 on Raspberry Pi
sudo apt update
sudo apt install openjdk-8-jdk

'Raspberry Pi' 카테고리의 다른 글

Maria DB 설치  (0) 2020.05.06
Python Install  (0) 2020.01.18
Network Drive Mount(WD Cloud)  (0) 2020.01.18
Raspberry Pi 설치  (0) 2019.05.07

#!/usr/bin/python <2.x
#!/usr/bin/python3 <3.x


sudo apt-get install python
sudo apt-get upgrade python
sudo apt-get install python3
sudo apt-get upgrade python3

pi@raspberrypi:~ $ python --version
Python 2.7.16
pi@raspberrypi:~ $ python3 --version
Python 3.7.3

 

 

Ref : https://www.youtube.com/watch?v=hGoXfLnNBOA

 

'Raspberry Pi' 카테고리의 다른 글

Maria DB 설치  (0) 2020.05.06
JDK Install  (0) 2020.01.18
Network Drive Mount(WD Cloud)  (0) 2020.01.18
Raspberry Pi 설치  (0) 2019.05.07

mkdir movie

sudo mount -t cifs -o user=아이디,pass=비번 //192.168.x.x/공유디렉토리명 /home/pi/movie 

 

'Raspberry Pi' 카테고리의 다른 글

Maria DB 설치  (0) 2020.05.06
JDK Install  (0) 2020.01.18
Python Install  (0) 2020.01.18
Raspberry Pi 설치  (0) 2019.05.07

1.OS Download

https://www.raspberrypi.org/downloads/

 

Raspberry Pi Downloads - Software for the Raspberry Pi

Download free software for the Raspberry Pi, including NOOBS, Raspbian, and third-party operating system images. Beginners should start with NOOBS.

www.raspberrypi.org

 

2. installer Download

https://www.balena.io/etcher/

 

balena - Home

Infrastructure to develop, deploy, and manage connected devices at scale

www.balena.io

3. VNC Download(Option)

https://www.realvnc.com/en/connect/download/viewer/

 

Download VNC Viewer | VNC® Connect

 

www.realvnc.com

4. SSH, VNC Enable

 

default password

pi / raspberrypi

pi@raspberrypi:~ $ passwd

-> Change Password

 

 

pi@raspberrypi:~ $ sudo raspi-config

(1) password

(2) hostname :  pi@raspberrypi:~ $

(3) Boot Option


(4)Localisation Options

한글 설정 : 한글설정 후 오류는 아래 화면 참조
Time Setting

 

(5) Interfacing Options


(6) Overclock


(7) Advanced Options

A1 > Enter > Pratition Resize

 

Memory Split : 128 MB Change
Resoultion


(8) Update

pi@raspberrypi:~ $ sudo apt-get update

한글 깨짐

pi@raspberrypi:~ $ sudo apt-get ibus-hangul

Editor tool 

pi@raspberrypi:~ $ sudo apt-get install fonts-unfonts-core

Font Install

pi@raspberrypi:~ $ sudo reboot

 

(9) About raspi-config

 

 

 

pi@raspberrypi:~ $ sudo apt-get upgrade

한글 변경 방법

[Shift] + [Space]

 

pi@raspberrypi:~ $ text

 

'Raspberry Pi' 카테고리의 다른 글

Maria DB 설치  (0) 2020.05.06
JDK Install  (0) 2020.01.18
Python Install  (0) 2020.01.18
Network Drive Mount(WD Cloud)  (0) 2020.01.18

+ Recent posts