LOOX U/C30ã«Lubuntuãå ¥ãã
ãã£ãããã³ãªããã¶ã£ã¦ããLOOX U
ãã£ãããªãã®ã§Linuxã§ãå
¥ãã¦ãµã¼ãã«ãã¦ã¿ãããã¨ã
ã©ãºãã¤ããµã¼ãã«ããã£ã¦ã®ãæè¿ã®å®çªãããã®ã§ãããLOOXUãããçµæ§å¸¸æéé»ã®ãµã¼ãã¨ãã¦ã¯çµæ§åªç§ã ã¨æããã§ãã
ãããï¼ï¼å¹´ä»¥ä¸åã®ãã·ã³ã§ãæ¦ããã®ãï¼
- LOOX Uããµã¼ãã«ããã¡ãªãã
- ãã¦ãä½ããããï¼
- HDDæè£ ï¼ãï¼ï¼
- ã¤ã³ã¹ãã¼ã«
- åæè¨å®
- ä»å¾ããããäºï¼ãã£ããã¨ï¼
LOOX Uããµã¼ãã«ããã¡ãªãã
çé»å
æ¨æºï¼Wæ大ï¼ï¼Wã¨ããæ°åãããããå°ãªãã¨æãã¾ããCPUãé
·ä½¿ããªããããªéç¨ã§ããã°çµæ§ãããã
ATOM Z520ã£ã¦TDP 2Wããããªã®ã§ããIntelç³»CPUã¨ãã¦ã¯æ´ä»£æå°ã
PCã¨ãã¦ã¯éåã ããã©ãºãã¤ã¨æ¯ã¹ãã¨ããããã®å®å
ATOM Z520 1.33GHz ã¡ã¢ãª1GBããªãã¨ããªãããããªãï¼
é»æºææãããããªã¼ã§åä½å¯è½
å¤å°ã®åé»ã§ãè½ã¡ãªãã¨ããã®ã¯å¿å¼·ãã§ããUPSãããã
WiFiãBluetoothãUSBãSDãCFãªã©å¤ãã®I/F
IEEE802.11nãã©ãã2.0
USB2.0
SDXCæªå¯¾å¿
ãªã©ãããã«ï¼ï¼å¹´ä»¥ä¸åã®ãã·ã³ãªã®ã§ææ°ã®I/Fã«ã¯è¦å£ããã¾ãããããã§ãå½æææ°ã®è¦æ ¼ã«å¯¾å¿ããã ããããä»ã§ãå
å使ãã¾ãã
ãã£ã¹ãã¬ã¤ã»ãã¼ãã¼ãã»USBãã¤ãã¦ãã§
ä½ããã£ãã¨ãã«ãã£ã¹ãã¬ã¤ã»ãã¼ãã¼ããã¤ãã¦ãã¦æä½ãè¡ããã¨ããã®ã¯å¿å¼·ãã§ãã
ããã¾ã使ããªããªãããã¿ããããã«ãå²ã¨ä½¿ãåæã®ãããã¤ã³ãã£ã³ã°ããã¤ã¹ãXPã®æã¯ã¹ã¯ãã¼ã«ç¨ã¨ãã¦æ´»èºããæç´èªè¨¼ãªã©
åä½ã§ä½¿ã£ãã¨ãã§ãä¸éãããªããã®ã¯ãããUMPC
ä¿¡é ¼ã®Made in JAPAN
å¯å£«éãããå½å
çç£ã«ãã ãã£ã¦ããææã®ãã®ãã·ã³ã
軽ãã¦å°ã£ã¡ããã¦ãä½ãããã£ãããã¦ãã¾ãã
ãã¦ãä½ããããï¼
ATOMã£ã¦amd64æªãµãã¼ããªã®ã§32ãããï¼i386ï¼ãã¼ã¸ã§ã³ãå ¥ããå¿ è¦ããã
Atom Z520ã¯64ãããæªå¯¾å¿ãªã®ãã
Intel Atom® プロセッサー Z520 (512K キャッシュ、1.33 GHz、533 MHz FSB) 製品仕様
æè¿64ãããçï¼amd64ï¼ãã¡ã¤ã³ã§åãã£ã¹ããªãã¥ã¼ã·ã§ã³ã32ãããçã®éçºãçµãã£ã¦ãããããªã®ã§ãå°ããã¼ã¸ã§ã³å¤ããã©32bitçã£ã¦ãã¤ãå ¥ããªãã¨ã ãã§ããã
軽éãã£ã¹ã¨ãªãã¥ã¼ã·ã§ã³Lubuntu 18.04.5 LTSç
LOOX Uã§ã®å®ç¸¾ããããããªLubuntuãææ°çããã¼ã³ã¨å
¥ãã¦ã¿ã¾ãããã
ã¨ãã£ã¦ãã32ãããçã®ææ°ãªã®ã§ã以ä¸ããDesktop 32-bitããã¦ã³ãã¼ããã¾ãã
Downloads – Lubuntu
2021/02/25ç¾å¨ã®32ãããçã®ææ°ã¯
18.04.5 Bionic Beaver LTS (LXDE)
LTSçã¨ã¯ãã2018å¹´é ã®ãªãªã¼ã¹ãªã®ã§ããµãã¼ãã®ããããè¦ãã¦ãã¦ãã¾ãã
2021å¹´4æã¾ã§ï¼
DVDãªããã試ãã¦ã¿ããã®ã§USBã¡ã¢ãªã«ç¼ãã¦èµ·åãããã
ãã¼ãå¯è½ã®USBãä½ãã®ã«ã以ä¸ããªã¼ã½ãããã¨ã£ã¦ã便å©
https://rufus.ie/ja_JP.html
ãã¦ã³ãã¼ããã¦è§£åãã¦exeãèµ·åãã¦ãæ¸ãè¾¼ã¿å
ã¨æ¸ãè¾¼ãISOæå®ããã ãã
USBå·®ãã¦BIOSã®USB-HDDã®èµ·ååªå é ä½
ããã¨USBããlubuntuãç¡äºç«ã¡ä¸ããã¾ãã
ä¸éããªãã¨ãªããããã£ã½ãã®ã§ãHDDã«ã¤ã³ã¹ãã¼ã«ãã¾ãã
HDDæè£ ï¼ãï¼ï¼
ãï¼ã§ãï¼ç¬ï¼
HDDã®ä¸è¯ã»ã¯ã¿ã¼ãããªãçºçãã¦ã¦ããã£ãã®ãã¨SSDã«ä¹ãæãããã¨ç©è²ãã¦ããã
HDDããã§ã¼å®ãã¦æããããã£ã¦ãã¾ã£ãã®ã§ãã
ã¨ã¤ãæè¿ã®åºæ¥äºã¿ããã«æ¸ãã¦ã¾ãããããï¼ï¼å¹´åã®åºæ¥äºï¼çï¼
ã¾ããã¤ãæè¿å¼è¶ãè·ç©ããHDDè¦ã¤ãåºããã®ããOSå ¥ãæ¿ãã®åæ©ã®ä¸ã¤ã§ããã
æ¬ä½è£è空ãã¦HDDå ¥ãæ¿ããã
ãããï¼æ¬ãããããªï¼ã¨ãã¨HDDãè¦ããã®ã§åãæ¿ãã¾ãã
ZIFã³ãã¯ã¿ã®ãããã»å¤ããã¡ãã£ã¨ã¯ã»ããã£ã¦æ°ãä»ãããããã§ããã
ã¤ã³ã¹ãã¼ã«
USBããèµ·åãã¦ã¤ã³ã¹ãã¼ã«
ãã¼ãã£ã·ã§ã³ä½æãããã©ã¼ãããããã¤ã³ã¹ãã¼ã«ãããã¹ã¦ãã£ã¦ããã¾ãã
è¨èªãæ¥æ¬èªæå®ãããããã
ãã°ããã¬ãªã¬ãªãã£ã¦ã¾ãããæ°æéã§ã¤ã³ã¹ãã¼ã«ãçµããã¾ãã
åæè¨å®
æåã«ãããã¨ãå¿ããªãããã«åå¿é²
æ¥æ¬èªãã©ã«ããè±èªã«
è¨èªãæ¥æ¬èªã«ããã¨ããã¼ã ãã£ã¬ã¯ããªã®ãã©ã«ããæ¥æ¬èªã§ããã¹ã¯ããããã¨ããããã¥ã¡ã³ããã¨ãã§ãã¦ã¾ãã
ãã©ã«ããæ¥æ¬èªã ã¨å°ããã¨ãï¼æè¿ã¯ããã¾ããªãããªï¼ããã®ã§ãè±èªã«ãã¾ãã
LANG=C xdg-user-dirs-gtk-update
åèï¼
ホームディレクトリのフォルダ名を日本語から英語に変更するには − @IT
sshã®ã¤ã³ã¹ãã¼ã«
LOOXUã®ç»é¢å°ã£ã¡ããããã¼ãã¼ãé åå¤æ ã ãããµã¼ãå©ç¨ãæ³å®ãã¦ããã®ã§ãSSHã§CUIæä½ã§ããããã«SSHãå ¥ãã¾ãã
ã¤ã³ã¹ãã¼ã«
OpenSSHãµã¼ã
sudo apt install openssh-server
è¨å®ã®å¤æ´ãã»ãã¥ãªãã£ãèæ ®ãã¦
/etc/ssh/sshd_config
ãä¿®æ£ãã¾ãã
sudo vi /etc/ssh/sshd_config
以ä¸ãã¼ãå¤æ´å¯¾è±¡ãã³ã¡ã³ãã¢ã¦ãããã¦ããã®ã解é¤ããããå¤ãå¤æ´ããããã¾ã
rootã¦ã¼ã¶ã§ã®ãã°ã¤ã³ãããªã
PermitRootLogin no
å ¬ééµã§ã®èªè¨¼ãè¡ãï¼å ¬ééµã®ä¿æå ´æï¼
PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys
ãã¹ã¯ã¼ãèªè¨¼ã®è¨å®ï¼å ¬ééµã§ã®èªè¨¼ã«ããå ´åã¯ãããï¼
PasswordAuthentication yes PermitEmptyPasswords no ChallengeResponseAuthentication yes
ããããããªããã©æªãã
X11Forwarding no
æ¥ç¶ãã端æ«æ¯ã«å
¬ééµã¨ç§å¯éµãä½æãã¦ããµã¼ãã«å
¥ãã¾ãã
/home/[ãã°ã¤ã³ID]/.ssh/authorized_keys
ã«è¿½å ãã¦ããã¾ãã
å
¬ééµã¨ç§å¯éµã®ä½ææ¹æ³ã¨æ¥ç¶æ¹æ³ã¯ãã°ã°ãã¨æ²¢å±±åºã¦ããã®ã§å²æã
ç§ã¯Teratermã§ä½æã»æ¥ç¶ãã¦ã¾ãã
è¨å®ã®åæ
systemctl restart sshd
VNCãµã¼ãã®ã¤ã³ã¹ãã¼ã«(x11vnc)
x11vncã¨ããVNCãµã¼ããå
¥ãã¾ãã
ããã¤ã¯ã端æ«ã®ç»é¢ããªã¢ã¼ããã表示ããã¿ã¤ãã§ãã
ããã¯ããã§ããã®ã§ãããã¡ãã£ã¨åé¡ãã
VNCã§æ¥ç¶ããã¨ãLOOXUã®ç»é¢ãç¹ãã¡ãããã§ãããï¼å½ããåã¨ããã°å½ããåï¼
ã¤ã³ã¹ãã¼ã«
sudo apt install x11vnc
VNCã®ãã°ã¤ã³ãã¹ã¯ã¼ãã®æå®
x11vnc -storepasswd
ãã¹ã¯ã¼ããå ¥åããã¨/home/[èªåã®ã¦ã¼ã¶ID]/.vnc/passwdã«ãã¹ã¯ã¼ããã¡ã¤ã«ãä½æããã¾ãã
èªåèµ·åã®è¨å®ï¼æªå®æ½ï¼
ããã¯çµå±è¡ã£ã¦ãã¾ãããå¿ è¦ãªæã«SSHã§å ¥ã£ã¦
x11vnc -display :0
ã¨æã¦ã°VNCãµã¼ããç«ã¡ä¸ããã¾ãã
ä¸å¿èªåèµ·åã®è¨å®æ¹æ³ãåå¿é²ã§
sudo vi /etc/xdg/autostart/x11vnc.desktop
以ä¸ãè¨å®
Desktop Entry] Type=Application Name=vncServer GenericName=VNC Server Icon= Exec=x11vnc -forever -usepw -loop -rfbauth /home/[èªåã®ã¦ã¼ã¶ID]/.vnc/passwd -rfbport 5900 -shared Terminal=true
VNCãµã¼ãï¼vnc4server)
ãã¡ãã¯ã端æ«ã®ãã£ã¹ãã¬ã¤ã¨ã¯å¥ã«GUIæä½ããããã®ãã®ã
ç«ã¡ä¸ããæ¯ã«ã¦ã¤ã³ãã¦ã·ã¹ãã ãç«ã¡ä¸ããã¾ãã
ã¤ã³ã¹ãã¼ã«
sudo apt install vnc4server
ãã¹ã¯ã¼ãè¨å®
vncpasswd
ã«ã¬ã³ããã£ã¬ã¯ããªä»¥ä¸ã®.vnc/passwdãã¡ã¤ã«ã«æ¸ããããããx11vncã§ãã¹ã¯ã¼ãè¨å®ãã¦ããã¨ããã©ã«ãã§åããã®ã使ããã¾ãã
è¨å®å¤æ´
ãã®ã¾ã¾ã ã¨ãç°è²ã§ä½ã«ããªãç»é¢ã¨ãªãã¾ãã
ã©ãããx-window-managerãå¼ã³åºãã¦ãããã¹ãéãï¼LXDEç¨ãããªãï¼ï¼ãããã
ã¨ããäºã§ã以ä¸ã®æ§ã«å¤æ´ãããã§ç«¯æ«ã¨åããããªãã¹ã¯ãããã表示ããã¾ãã
ç·¨éãããã¡ã¤ã«ã/home/[èªåã®ã¦ã¼ã¶ID]/.vnc/xstartup
#!/bin/sh # Uncomment the following two lines for normal desktop: unset SESSION_MANAGER # exec /etc/X11/xinit/xinitrc [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources #xsetroot -solid grey #vncconfig -iconic & #x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & #x-window-manager & #/usr/bin/lxterminal -t "$VNCDESKTOP Desktop" & /usr/bin/lxsession -s Lubuntu -e LXDE &
vncã®è¨å®ãåºãããå ´åã¯vncconfigãã¿ã¼ããã«ãåºãããå ´åã¯lxterminalãã³ã¡ã³ãå¤ãã°åºã¦ãã¾ãã
ã¾ããããªããª
èµ·åã¨åæ¢
èµ·å
vncserver :1
åæ¢
vncserver -kill :1
èªåãã°ãªã³è¨å®ãè¡ã
sshãVNCã®èªåèµ·åã§ããããã¹ã¯ãããã§ãã°ãªã³ããªãã¨æå¹ã«ãªãã¾ããã
VNCã¯ã¾ã ããsshããã¹ã¯ããããã°ãªã³ããªãã¨ã¤ãªãããªãã®ã¯è´å½çã
ãã°ãªã³åã«æå¹ã«ããæ¹æ³ããã¾ãã¡ããããªãã®ã§ãèªåãã°ãªã³ãã¡ããã
sudo vi /etc/lightdm/lightdm.conf.d/01_autologin.conf
以ä¸ãä¸è¨ãã¡ã¤ã«ã«æ¸ãè¾¼ã
[SeatDefaults] autologin-user=èªåã®ã¦ã¼ã¶ID autologin-user-timeout=0
æéããã£ã¦ã¹ãªã¼ããããç»é¢ããã¯ããªãããã«è¨å®ããã
ãµã¼ãã¨ãã¦åä½ãããããã¹ãªã¼ãããªãããã«ããã¨åæã«ãã°ãªãããã¨sshãã¤ãªãããªããªã£ã¡ãããã
ããã¦ããç¨åº¦çé»åãèæ
®
ãããã¸ãã¯GUIã§è¨å®ããæ¹ãç°¡åãªã®ã§VNCã§å
¥ã£ã¦è¨å®ã
è¨å® - Xfceé»æºç®¡ç - ä¸è¬
ã»ã©ãããããã®ãµããéããããã¨ããã£ã¹ãã¬ã¤ã®é»æºãåãã
è¨å® - Xfceé»æºç®¡ç - ã·ã¹ãã
ã»ãµã¹ãã³ãããªãããã«ï¼ãµã¼ãç¨éãªã®ã§åæã«ãµã¹ãã³ããããã¨å°ãï¼
ã»ããããªé»æºã®å©ç¨éçã§ã·ã£ãããã¦ã³ï¼é·æéåé»ã®æã«ã·ã£ãããã¦ã³ãUPSçãªï¼
è¨å® - Xfceé»æºç®¡ç - ãã£ã¹ãã¬ã¤
ã»çãæéã§ãã£ã¹ãã¬ã¤ã®é»æºåæï¼ï¼åã«ããï¼
è¨å® - Xfceé»æºç®¡ç - ã»ãã¥ãªãã£
ã»ã»ãã·ã§ã³ããã¯ããªã
ã»ç»é¢ããã¯ããªã
rootã®ãã¹ã¯ã¼ããè¨å®ãã
ubuntuç³»ã¯ããã©ã«ãã§rootã®ãã¹ã¯ã¼ããè¨å®ãããªãããã§ãã
â»è¨å®ããªãæ¹ãããã®ãï¼
sudoã§ã«ã¼ãã«ãªã£ã¦ãã¹ã¯ã¼ããè¨å®ãã
sudo su - passwd
ä»å¾ããããäºï¼ãã£ããã¨ï¼
ãã®ãã¨å¸¸æèµ·åã®ãµã¼ãã¨ãã¦æ´»èºãã¦ãããã¾ããã
WOLï¼Wakeup On LANï¼ã®ããã®ãµã¼ãã¨ãã¦
ã¡ã¤ã³ãã·ã³ãNASã®é»æºONãè¡ãããã«å¸¸æONã®ãµã¼ãã欲ããã£ããã§ãã
garapappa.hatenablog.com
VPNã§å¤ããã¢ã¯ã»ã¹
NUROã®ã«ã¼ã¿ï¼F660Aï¼ã¯VPNãµã¼ãæ©è½ãç¡ãã®ã§ãVPNãç«ã¦ã¦å¤ãããã¡ã¤ã«ãµã¼ããªããã«ã¢ã¯ã»ã¹ã§ããããã«ãã¾ãã
garapappa.hatenablog.com
ããå®ç¾ããããã«
garapappa.hatenablog.com
ãããªãã¨ã
garapappa.hatenablog.com
ãããªäºãã¦ã¿ãããã§ãã
Dockerå ¥ãã¦HomeAssistantå ¥ãã¦è±ã¯ã©ã¦ãã®ã¹ãã¼ããã¼ã åããã
ãããã¡ã¤ã³ç®çãå°æ¥ã®ã¹ãã¼ããã¼ã åã«åãã¦ããããçµ±åããããããã
ãã¨ã©ã£ãã®ãµã¼ãä¾åã¨ããæããã
ã¾ãã¯Dockerå
¥ãã¦HomeAssistantå
¥ãã¦ã¿ã
garapappa.hatenablog.com