====== Ubuntu Minimal ====== * [[https://help.ubuntu.com/community/Installation/MinimalCD|Installation/MinimalCD]] * 18.04 를 마지막으로 더이상 mini 는 나오지 않고 있음. * [[https://www.ubuntuopenbox.com/|Ubuntu Openbox]] * [[http://www.maketecheasier.com/install-a-minimal-ubuntu-on-old-laptop/|How to Install A Minimal (And Non-Bloated) Ubuntu On Your Old Laptop]] * [[http://www.circuidipity.com/ubuntu-trusty-install.html|Circuidipity | Ubuntu 14.04 Minimal Install]] * 최소 설치를 할 꺼면 Debian을 설치하는게 나을텐데 Ubuntu를 설치하는 이유는 PPA(Personal Package Archive)를 사용하여 최신 버전 애플리케이션을 공급받을 수 있기 때문. ===== Install Ubuntu Minimal : 현재 14.04 기준 ===== ==== 최소설치 ==== * [[https://help.ubuntu.com/community/Installation/MinimalCD|Installation/MinimalCD]] 에서 Minimal CD를 받아서 [[linux:unetbootin|UNetBootin]] 으로 USB에 구워서 부팅한다. * 유선 Lan을 연결한다. * 설치한다. * 설치 도중 키보드 설정에서 "아니오"를 선택하고 "영어(미국)"으로 기본 지정한다. * 설치 도중 파티션 작업등도 충분히 가능하다. * **소프트웨어 선택** 항목에서 **Manual package selection**을 지정한다. * 원한다면 설치하고자 하는 다른 패키지도 함께 지정할 수 있다. * 여기서 ''Manual package selection''을 선택했더니 ''aptitude''에서 ''Dependency resolution'' 오류가 발생하여 어차피 내가 설치하려고 했던 최소 선택으로 ''Basic Ubuntu Server'', ''OpenSSH Server''을 선택했더니 그냥 잘 넘어갔다. * aptitude가 떴을 때는 ''Dependency resolution'' 실패는 메뉴 -> Actions -> **Cancel pending actions**를 실행하니까 해소되었음 * [[linux:grub|Linux Grub]] Boot Loader 설치 항목에서 그냥 "예"를 누르면 USB(''/dev/sda'')에 설치해버릴 수도 있다. 앞서 파티셔닝할 때 본 HDD 장치(보통은 ''/dev/sdb''?)를 직접 적어줘야 했다. ==== 기본 패키지 설치 ==== * [[linux:windowmanager:openbox|OpenBox Window Manager]], [[linux:lightdm|LightDM]] 기준으로 할 때, # Console에서 한글이 안 보이므로 일단 LANG=C 로 작업 export LANG=C sudo apt-get install synaptic lightdm wicd openbox tint2 # lightdm 대신 gdm # wicd 대신 network-manager 설치해도 됨 * 설치 후 재부팅했을 때 ''lightdm''이 자동시작되지 않으면 [[http://askubuntu.com/questions/302788/gui-does-not-start-on-boot|12.04 - GUI does not start on boot]] 참조 # 아래를 통해 lightdm 실행 가능 sudo service lightdm start # DM 설정이 올바로 돼 있는지 확인 cat /etc/X11/default-display-manager # 위 파일이 없거나 잘못 지정돼 있으면 내용을 아래로 교체 sudo echo "/usr/sbin/lightdm" > /etc/X11/default-display-manager * 기타 기본 패키지 # 기본 tool sudo apt-get install tilda vim-gtk gdebi-core gdebi terminator xterm gmrun gnome-system-monitor # fonts sudo apt-get install fonts-nanum fonts-nanum-coding fonts-nanum-extra fonts-noto fonts-noto-cjk \ fonts-unfonts-core fonts-unfonts-extra ==== openbox & tint & lightdm session으로 Desktop Environment 구성 ==== * 의존성이 적은 편인 ''lightdm-webkit-greeter''를 선택했음. * [[linux:lightdm|LightDM]] * [[linux:windowmanager:openbox|OpenBox Window Manager]] 설정 with [[linux:tint2|tint2]] * ''gmrun''을 단축키로 빠르게 등록시켜줘야 그 이후 설정이 좀 편해짐. * [[linux:nitrogen|nitrogen]]으로 바탕화면 지정 ==== Network - "waiting for network configuration" ==== 위 문제 발생시 [[linux:network_manager|Linux network-manager]] 참조. ==== network-manager ==== * [[linux:network_manager|Linux network-manager]] 설치/설정 후 network 불통 상태가 발생하여 wicd로 전환. -> 사실은 network-manager 문제는 아니었음. 해당 항목 참조. ==== wicd ==== [[linux:wicd|wicd]] 네트워크 관리자. 이걸로 사용했음. [[linux:tint2|tint2]] 알림영역에도 잘 나옴. ==== input method 설정 ==== * [[linux:inputmethod|Input Method (입력기, 한글)]]를 따라 설치 sudo apt-get install uim uim-byeoru nabi * ''im-config''로 설정 * 알림영역이 안보이는 상태에서는 ''uim-pref-gtk''로 uim 설정 가능. ==== Software package repository & 장치 드라이버 hardware driver ==== sudo apt-get install software-properties-gtk update-manager * ''software-properties-gtk''를 통해 저장소 및 추가 독점 드라이버 등의 설정을 할 수 있다. * [[linux:ubuntu:upgrade|Ubuntu Upgrade]] 로 업그레이드 참조. ==== 불필요한 자동시작 프로그램 제거 ==== * ''/etc/xdg/autostart'' 에 있는 파일들은 데스크탑 환경 실행시 자동시작된다. * 불필요한 것은 이름을 변경해두는 식으로 막도록 한다. ==== Web Browser ==== * [[:firefox|Firefox]]의 경우 한국어팩이 자동으로 안깔렸다. sudo apt-get install firefox-locale-ko * [[:midori|Midori]]나 [[:qupzilla|QupZilla]] 같은 가벼운 브라우저를 추천한다. qupzilla는 QT5 IM이 필요함(다솜 등). ==== Touchpad 설정 ==== * [[linux:ubuntu:touchpad|Ubuntu Linux Touchpad]]를 통해 설정한다. xorg 직접 변경방식과 syndaemon 을 사용한 방식을 혼합해서 해야 한다. ==== Sound Volume ==== * [[linux:audio|Linux Audio / Sound]] 참조하여 ''volumeicon'' + ''pavucontrol'' 조합으로 사용하면 된다. ==== Terminal Emulator ==== * [[linux:xterm|xterm : Linux 기본 터미널]]이 가장 가볍지만 다소 불편함. * [[http://www.tecmint.com/linux-terminal-emulators/|20 Useful Terminal Emulators for Linux]] * [[http://st.suckless.org/|suckless.org st - simple terminal]] * ''gnome-terminal''이나 ''lxterminal'' 정도가 가볍고 괜찮은듯. ==== Bluetooth ==== * [[linux:ubuntu:bluetooth|블루투스 Bluetooth]]에서 ''blueman''을 설치해서 사용하면 된다. ==== conky ==== * 시스템 모니터링 indicator등을 대신하여 [[linux:conky|Conky]]를 설정해주면 된다. ==== Power Manager ==== * [[http://openbox.org/wiki/Power_management|Openbox Power Management]]