2018/11/26

linux distro for atom ...

Linux-Lite 64bit.

linux-lite-4.1-64bit.iso
光是安裝..感覺就慢了..黑色畫面停留好久...游標才出來...,然後還要好久...title bar 出現..安裝時間好像快 2 hrs...
安裝好就可以用了,要是按下 update 的話.... update 時間比安裝時間更長...
  • browser 是 firefox, youtube 可以播放 480p OK, 720 不行,指示啟動很慢
  • video 用 vlc,可以正常播放 1080p 的 mp4
  • wifi OK, usb auto mount OK
  • apt source 是 ubuntu bionic
開機超慢,要 5 min...

suspend, hibernat 都失敗,會自己起來。
UI 操作還好,大概是因為 xfce,所以mount click 等都不會頓。


Porteus

Porteus-XFCE-v4.0-x86_64.iso
--iso 無法開機。


antiX

antiX-17.2_x64-base.iso
這個USA site 下載比台灣快。
安裝是開機進入 liveCD 後,在桌面有一個 install CD icon,再啟動安裝...

  • browser 是 firefox 跟 dillo, youtube 一樣播放 480p,感覺比 linux-lite 還卡
  • video 用 gnome mpv, 可以播放 1080p沒問題
  • wifi, ethernet 要用 console mode config program - ceni,不知道要怎麼關 wifi (目前是用 ifconfig)
  • apt source 是 debian stretch
  • usb mount OK
開機比較快,少於 1 min
做 apt-get update, upgrade 也是一堆問題要回答..

裝上 nginx,修改 /etcc/nginx/site-available/default,內容只有:
server {
    listen 12345 default_server;
    root /media;
    autoindex on;
    charset utf-8;
}

因為 usb driver c會自動 mount 在 /media/ 下...
但是 mount permission 是 700,只有 user 可以用。nginx 還是不能 access

AntiX 用 udevil,所以修改 /etc/udevil/udevil.conf
其中 ..
diff --git a/udevil.conf b/udevil.conf
index 75a4c0d..166020a 100644
--- a/udevil.conf
+++ b/udevil.conf
@@ -221,7 +221,7 @@ default_options_file      = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID,
 default_options_iso9660   = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID, ro, utf8
 default_options_udf       = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID
 default_options_vfat      = nosuid, noexec, nodev, noatime, fmask=0133, dmask=0022, uid=$UID, gid=$GID, utf8
-default_options_exfat     = nosuid, noexec, nodev, noatime, umask=0077, uid=$UID, gid=$GID, iocharset=utf8, namecase=0, nonempty
+default_options_exfat     = nosuid, noexec, nodev, noatime, umask=0000, uid=$UID, gid=$GID, iocharset=utf8, namecase=0, nonempty
 default_options_msdos     = nosuid, noexec, nodev, noatime, fmask=0133, dmask=0022, uid=$UID, gid=$GID
 default_options_umsdos    = nosuid, noexec, nodev, noatime, fmask=0133, dmask=0022, uid=$UID, gid=$GID
 default_options_ntfs      = nosuid, noexec, nodev, noatime, fmask=0133, uid=$UID, gid=$GID, utf8
@@ -252,7 +252,7 @@ allowed_options_smbfs     = nosuid, noexec, nodev, ro, rw, remount, port=*, user
 allowed_options_sshfs     = nosuid, noexec, nodev, noatime, ro, rw, uid=$UID, gid=$GID, nonempty, allow_other, idmap=user, BatchMode=yes, port=*
 allowed_options_curlftpfs = nosuid, noexec, nodev, noatime, ro, rw, uid=$UID, gid=$GID, nonempty, allow_other, user=*
 allowed_options_ftpfs     = nosuid, noexec, nodev, noatime, ro, rw, port=*, user=*, pass=*, root=*, uid=$UID, gid=$GID
-allowed_options_exfat     = nosuid, noexec, nodev, noatime, fmask=0133, dmask=0022, uid=$UID, gid=$GID, umask=0077, namecase=*, ro, rw, sync, flush, iocharset=*, remount, nonempty
+allowed_options_exfat     = nosuid, noexec, nodev, noatime, fmask=0133, dmask=0022, uid=$UID, gid=$GID, umask=0000, namecase=*, ro, rw, sync, flush, iocharset=*, remount, nonempty
.. 就是修改 umask,由 0077 改 0000
這樣mount permission 就會是 777 了。
--- 其實拿掉 dmask, fmask, umask 等 option 就可以了。

沒有留言:

張貼留言