GPD WINã¸Debian 8(Jessie)ãã¤ã³ã¹ãã¼ã«
GPD WINãè²·ãã¾ããã
Debian 8(Jessie)ãã¤ã³ã¹ãã¼ã«ãã¦ã¿ãã®ã§ããã£ããã¨ãªã©ãã¡ã¢ãã¦ããã¾ãã
1. Windows 10ä¸ã§ãã¼ãã£ã·ã§ã³ãµã¤ãºå¤æ´
- 16GBåãDebianç¨ã«ç©ºãã
- Windows 10でパーティションのサイズを変更する方法 -EaseUS
- ãæ¹æ³ï¼ï¼Windows 10ã®å èµãã£ã¹ã¯ç®¡çãã¼ã«ã§ãã¼ãã£ã·ã§ã³ãµã¤ãºãå¤æ´ãã®ããæ¹ã§è¡ã£ã
2. Debianã¤ã³ã¹ãã¼ã«ç¨USBãã©ãã·ã¥ã¡ã¢ãªä½æ
$ wget http://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-8.7.1-amd64-netinst.iso $ sudo dd if=debian-8.7.1-amd64-netinst.iso of=/dev/sdb
3. 2.ã§ä½æããUSBãã©ãã·ã¥ã¡ã¢ãªããèµ·å
1. GPD WINãã·ã£ãããã¦ã³
2. GPD WINã¸USBãããæ¥ç¶ãUSBããã¸2.ã®USBãã©ãã·ã¥ã¡ã¢ãªã¨USB-Ethernetãæ¥ç¶
- USB-Ethernetã¯ãLUA3-U2-ATXãã使ç¨
- netinstã§ã¯GPD WINã®WLANãããã¯èªèã§ããªã模æ§
- BCM4356ã¨ãããããããã
- ちょっと、やったこと/思うこと: GPD WINのPlamo Linuxで内蔵無線LANが使えた
3. GPD WINã®é»æºãå
¥ããDELãã¼ãé£æããUEFIè¨å®ç»é¢ã¸å
¥ã
- USBãã©ãã·ã¥ã¡ã¢ãªããèµ·å
4. debian-installerãèµ·åããã®ã§ã¦ã£ã¶ã¼ãã«å¾ããDebianã¤ã³ã¹ãã¼ã«
- ã¤ã³ã¹ãã¼ã«å ã¯ããã©ã«ãã§æå®ããã¦ãããé£ç¶ç©ºãé åã使ç¨ã
- ã¤ã³ã¹ãã¼ã«ããã½ããã¦ã§ã¢ã®ãã§ãã¯ããã¯ã¹ã¯å
¨ã¦ãã§ãã¯ãå¤ãã
- aptã§æ§ç¯ãããã
- è±åé
åã®å»å°ã¨åããããããã¼ãã¼ãã¬ã¤ã¢ã¦ãã¯ãæ¨æº101ãã»ãè±èª(US)ããè¯ã
- å¥ã®è¨å®ã§ã¤ã³ã¹ãã¼ã«ãã¦ãã¾ã£ãå ´åã¯ãã¤ã³ã¹ãã¼ã«å¾ã«"dpkg-reconfigure keyboard-configuration"ã³ãã³ãã§å¤æ´ã§ãã
5. Debianã§èµ·åããå¿ è¦ãªã¢ããªã±ã¼ã·ã§ã³çãã¤ã³ã¹ãã¼ã«ã»è¨å®
rootã¦ã¼ã¶ã¼ã§ãã°ã¤ã³
ã²ã¨ã¾ãã·ã¹ãã ã¢ãããã¼ã
# apt update && apt upgrade
SSHãµã¼ããã¤ã³ã¹ãã¼ã«
# apt install openssh-server
- "ip a"ã³ãã³ãã§GPD WINã®IPã¢ãã¬ã¹ç¢ºèª
- 以éãå¥PCããGPD WINã¸ãã°ã¤ã³ããæä½
- Debianã¤ã³ã¹ãã¼ã«æã«ä½æããã¦ã¼ã¶ã¼(yohgami)ã§ãã°ã¤ã³ãã
sudoãã¤ã³ã¹ãã¼ã«
$ su apt install sudo adduser yohgami sudo
- yohgamiã¦ã¼ã¶ã¼ãsudoã°ã«ã¼ãã¸è¿½å ãã
- ä½µãã¦ãsudoersã§NOPASSWDè¨å®ãè¡ã
NTPã®ã¤ã³ã¹ãã¼ã«ã»è¨å®
$ sudo apt install ntp $ sudo nano /etc/ntp.conf 以ä¸ã追å > # You do need to talk to an NTP server or two (or three). > #server ntp.your-provider.example > server ntp.nict.jp # 追å > server ntp.nict.jp # 追å > server ntp.nict.jp # 追å $ sudo systemctl restart ntp
NetworkManagerã®ã¤ã³ã¹ãã¼ã«ã»eth0ã®è¨å®ãNetworkManagerã¸ä»»ãã
$ sudo apt-get install network-manager $ sudo nano /etc/network/interfaces eth0 ãç¡å¹å
åèµ·å
$ sudo systemctl reboot
aptlineã¸contribã»non-free追å
ã¤ãã§ã«sakuraã®ãªãã¸ããªã¸å¤æ´ãã
-- /etc/apt/sources.list.old 2017-04-23 21:33:49.652894645 +0900 ++ /etc/apt/sources.list 2017-04-23 21:35:08.181431193 +0900 @ -4,11 +4,11 @@ #deb cdrom:[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 NETINST Binary-1 20170116-10:57]/ jessie main deb http://ftp.jp.debian.org/debian/ jessie main deb-src http://ftp.jp.debian.org/debian/ jessie main deb http://debian-mirror.sakura.ne.jp/debian/ jessie main contrib non-free deb-src http://debian-mirror.sakura.ne.jp/debian/ jessie main contrib non-free deb http://security.debian.org/ jessie/updates main deb-src http://security.debian.org/ jessie/updates main deb http://security.debian.org/ jessie/updates main contrib non-free deb-src http://security.debian.org/ jessie/updates main contrib non-free # jessie-updates, previously known as 'volatile' deb http://ftp.jp.debian.org/debian/ jessie-updates main
æ°ããAPTè¨å®ã§update & upgrade
$ sudo apt update && sudo apt upgrade
GPD WINã®ç¡ç·LANãããè¨å®(失æ)
$ sudo apt install firmware-brcm80211
$ sudo systemctl reboot
=> çµå±ãWLANãèªèããããã¨ã¯åºæ¥ããã²ã¨ã¾ã諦ã
X Window Systemè¨å®
$ sudo apt install xinit $ sudo apt install gnome-terminal $ sudo apt install xserver-xorg $ sudo apt install slim $ sudo apt install awesome awesome-extra
- ä½µãã¦Display Manager SLiMã§èªåãã°ã¤ã³è¨å®
- ã¾ããç»é¢å転ã®è¨å®ãè¡ã
æ¥æ¬èªå
¥åé¢ä¿
$ sudo apt install uim mozc-server uim-mozc $ sudo apt install fonts-ipafont $ sudo systemctl reboot