๐Ÿ‘ป OS & Tools/Ubuntu

Ubuntu 16.04 ์„ค์น˜ ๋ฐ ๊ธฐ๋ณธ ์„ธํŒ…

๋ณต๋งŒ 2019. 12. 30. 19:27

USB์— ์„ค์น˜ ํŒŒ์ผ ๋‹ค์šด๋กœ๋“œ, USB ๋ถ€ํŒ… ๋””์Šคํฌ ๋งŒ๋“ค๊ธฐ, ์„ค์น˜

์ฐธ๊ณ  : - https://goproprada.tistory.com/244

          - https://www.it-swarm.net/ko/dual-boot/%EB%93%80%EC%96%BC-%EB%B6%80%ED%8C%85%EC%9C%BC%EB%A1%9C-%EC%9A%B0%EB%B6%84%ED%88%AC-%EC%9E%AC%EC%84%A4%EC%B9%98/998318130/amp/

 

1) ์„ค์น˜ ์ด๋ฏธ์ง€ ํŒŒ์ผ ๋‹ค์šด๋กœ๋“œ : http://mirror.kakao.com/ubuntu-releases/16.04.6/

 

2) UUI ํ”„๋กœ๊ทธ๋žจ ๋‹ค์šด : https://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/

     - step 1 : Ubuntu ์„ ํƒ

     - step 2 : ubuntu ์„ค์น˜ ์ด๋ฏธ์ง€ ํŒŒ์ผ ์„ ํƒ

     - step 3 : ๋ถ€ํŒ… ๋””์Šคํฌ๋ฅผ ๋งŒ๋“ค USB ๋“œ๋ผ์ด๋ธŒ ์„ ํƒ

 

3)ํŒŒํ‹ฐ์…˜ ์„ค์ •

- ์„ค์น˜ ๋ฐฉ์‹์—์„œ 'something else' ์„ ํƒ

- ์„ค์น˜ํ•˜๊ณ ์ž ํ•˜๋Š” ๋””์Šคํฌ์˜ free space์—์„œ +๋ฅผ ๋ˆŒ๋Ÿฌ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ํŒŒํ‹ฐ์…˜ ์„ค์ •

     (1) swap ์˜์—ญ

         - 4096mb

         - swap ์˜์—ญ

     (2) root ์˜์—ญ

         - ํฌ๊ธฐ๋Š” ๋‚˜๋จธ์ง€ ์ „๋ถ€ ํ• ๋‹น (์•ˆ๊ฑด๋“œ๋ฆฌ๋ฉด ๋จ)

         - /

         - ext4 file system

     (3) device for boot loader installation : ์‚ฌ์šฉํ•˜๊ณ ์ž ํ•˜๋Š” ๋””์Šคํฌ (/dev/sdn)

- ์žฌ์„ค์น˜ ์‹œ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์„ค์ •

     (1) swap ์˜์—ญ : swap ์˜์—ญ์ธ์ง€ ํ™•์ธ

     (2) root ์˜์—ญ : - use as : Ext4 journaling file system

         - format the partition

         - mount point : /

     (3) device for boot loader installation : ์‚ฌ์šฉํ•˜๊ณ ์ž ํ•˜๋Š” ๋””์Šคํฌ (/dev/sdn)

 

โ€‹


โ€‹

ํ•œ๊ธ€ ์ž…๋ ฅ๊ธฐ (IBus ์„ค์น˜)

์ฐธ๊ณ  : https://techlog.gurucat.net/288

 

1) IBus ์„ค์น˜๋ฅผ ์œ„ํ•œ PPA(Personal Package Archieve) ์ถ”๊ฐ€

sudo add-apt-repository ppa:createsc/3beol

 

2) IBus์™€ IBus-hangul ์„ค์น˜

sudo apt-get update sudo apt-get install ibus ibus-hangul

 

3) ์„ค์ •

- terminal > ibus-setup > input method > customize active input methods > korean > hangul > add

- System Settings > Language Support>

Language for menus and windows : ํ•œ๊ตญ์–ด(Korean) ์—†์„ ์‹œ Install/Remove Languages์—์„œ ํ•œ๊ตญ์–ด(Korean) ์„ค์น˜

- System Settings > Text Entry > ์ขŒ์ธก ํ•˜๋‹จ + > Korean(Hangul)(IBus) ์„ ํƒํ•˜์—ฌ ์ถ”๊ฐ€

 

 

- System Settings > Text Entry > IBus ์„ค์ •(ํ‚ค๋ณด๋“œ ์•„์ด์ฝ˜ ์™ผ์ชฝ) > Hangul toggle key์—์„œ ํ•œ/์˜ ์ „ํ™˜ํ‚ค ์„ค์ •

 

 

4) IBus๋กœ ์ „ํ™˜๋˜๋ฉด ์šฐ์ธก ์ƒ๋‹จ์— ํƒœ๊ทน ๋ฌธ์–‘ ์ƒ๊น€.

 

 

โ€‹

โ€‹

๋งˆ์šฐ์Šค ๋ฏผ๊ฐ๋„ ์กฐ์ •

1) ์—ฐ๊ฒฐ๋œ ๋งˆ์šฐ์Šค์˜ id ๋ฒˆํ˜ธ ํ™•์ธ

xinput --list --short

 

 

2) ๋งˆ์šฐ์Šค ๋ฏผ๊ฐ๋„ ์กฐ์ • (์ˆซ์ž ์ปค์งˆ์ˆ˜๋ก ๋Š๋ ค์ง)

xinput -set-prop 9 'Device Accel Constant Deceleration' 3.0

 

3) Startup Application์— ํ•ด๋‹น ๋ช…๋ น์–ด ์ถ”๊ฐ€

 

 

โ€‹

โ€‹

๋งˆ์šฐ์Šค ํœ  ์†๋„ ์กฐ์ • (imwheel)

1) imwheel ์„ค์น˜

sudo apt-get install imwheel

 

2) ์„ค์ • ํŒŒ์ผ ์ƒ์„ฑ

gedit ~/.imwheelrc 
# ์•„๋ž˜ ๋‚ด์šฉ ์ž‘์„ฑ 
".*" 
None, Up, Button4, 3 # ๊ฐ’์ด ์ปค์ง€๋ฉด ์†๋„ ๋นจ๋ผ์ง 
None, Down, Button5, 3

 

3) ์‹œ์ž‘ํ•  ๋•Œ ์ž๋™์œผ๋กœ ํ™œ์„ฑํ™”๋˜๊ฒŒ ํ•˜๊ธฐ

sudo gedit /etc/X11/imwheel/startup.conf > IMWHEEL_START=0

 

4) imwheel ์žฌ์‹œ์ž‘

imwheel -k

โ€‹

โ€‹

ํ„ฐ๋ฏธ๋„ ์„ค์ •

์ฐธ๊ณ  : https://programmingsummaries.tistory.com/389

- ํ„ฐ๋ฏธ๋„ ๋งˆ์šฐ์Šค ์šฐํด๋ฆญ > Profile > Profile Preferences

- General > Initial terminal size

- Colors

โ€‹

โ€‹

์‹œ์Šคํ…œ ์„ค์ •

- brightness & lock > ํ™”๋ฉด๋„๊ธฐ ์„ค์ •

- power > ์ ˆ์ „๋ชจ๋“œ ์„ค์ •

โ€‹

โ€‹

apt ๊ธฐ๋ณธ repo mirror์„ Kakao mirror์œผ๋กœ ๋ฐ”๊พธ์–ด ๋‹ค์šด๋กœ๋“œ ์†๋„๋ฅผ ๋น ๋ฅด๊ฒŒ ํ•˜๊ธฐ

1) /etc/apt/sources.list ํŒŒ์ผ์„ vi๋กœ ์—ด๊ธฐ

sudo vi /etc/apt/sources.list

 

2) ํŒŒ์ผ ๋‚ด์˜ ๋ชจ๋“  ์ €์žฅ์†Œ ์ฃผ์†Œ๋ฅผ mirror.kakao.com์œผ๋กœ ๋ณ€๊ฒฝ ํ›„ ์ €์žฅ

- ๋ณ€๊ฒฝ ๋ฐฉ๋ฒ•์€ %s/(๋ณ€๊ฒฝํ•  ๋Œ€์ƒ)/(๋ณ€๊ฒฝํ•  ๊ฐ’)

:%s/kr.archive.ubuntu.com/mirror.kakao.com 
:%s/security.ubuntu.com/mirror.kakao.com 
:wq (์ €์žฅํ•˜๊ณ  ๋๋‚ด๊ธฐ)

 

3) sudo apt-get update๋กœ ์ ์šฉ

sudo apt-get update

 

 

vim ์„ค์ •

https://norux.me/13

 

 

ํฐํŠธ ๋‹ค์šด๋กœ๋“œ

์ฐธ๊ณ : https://jamix.tistory.com/41

#1. ํฐํŠธ ํŒŒ์ผ ๋‹ค์šด๋กœ๋“œ ๋ฐ ์„ค์น˜
mkdir ~/.local/share/fonts
cd ~/.local/share/fonts
wget https://github.com/naver/d2codingfont/releases/download/VER1.3.2/D2Coding-Ver1.3.2-20180524.zip
unzip D2Coding-Ver1.3.2-20180524.zip

#2. ํฐํŠธ ์บ์‹œ ์ง€์šฐ๊ณ  ๋‹ค์‹œ ์ƒ์„ฑ
fc-cache -f -v

#3. ์ž˜ ์„ค์น˜ ๋˜์—ˆ๋Š”์ง€ ํ™•์ธ
fc-list | grep "D2Coding"

#4. ์ฒญ์†Œ
rm -rf D2Coding*

 

๋ฐ˜์‘ํ˜•

'๐Ÿ‘ป OS & Tools > Ubuntu' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

์„œ๋ฒ„์— jupyter notebook ์›๊ฒฉ ์—ฐ๊ฒฐ  (0) 2020.01.02
build Chromium in Ubuntu  (0) 2019.12.30
vi ๊ฐ„๋‹จํ•œ ์‚ฌ์šฉ๋ฒ•  (0) 2019.12.30
Ubuntu 16.04์— Kakaotalk ์„ค์น˜  (0) 2019.12.30
Ubuntu ๋‹จ์ถ•ํ‚ค  (0) 2019.12.30