0%

VMWare 安裝 Linux 之記錄及備忘事項 ( 主要是 openSUSE )

VMWare 安裝 Linux 之記錄及備忘事項 (含嘸蝦米輸入法)

VMwareTools 更新 (安裝過程全用預設值)

步驟一

1
2
3
4
5
tar -zxvf VMwareTools-10.3.21-14772444.tar.gz -C /tmp

cd /tmp/vmware-tools-distrib

sudo ./vmware-install.pl

VMWare Tools 和 Shared folder(共享資料夾)

步驟二 (無報錯即表示成功,檔案總管需重開)

1
2
3
sudo vmhgfs-fuse .host:/ /mnt/hgfs -o subtype=vmhgfs-fuse,allow_other

ls /mnt/hgfs

kali2020挂载共享文件夹(挂载hgfs共享文件)

步驟三 編輯 fstab 檔案

1
sudo nano /etc/fstab

結果參考如下

1
2
3
4
5
6
7
8
9
10
11
12
13
UUID=0f4ae7dd-1572-49c8-8849-dde58db9b6a7  /                       btrfs  defaults                      0  0
UUID=0f4ae7dd-1572-49c8-8849-dde58db9b6a7 /var btrfs subvol=/@/var 0 0
UUID=0f4ae7dd-1572-49c8-8849-dde58db9b6a7 /usr/local btrfs subvol=/@/usr/local 0 0
UUID=0f4ae7dd-1572-49c8-8849-dde58db9b6a7 /srv btrfs subvol=/@/srv 0 0
UUID=0f4ae7dd-1572-49c8-8849-dde58db9b6a7 /root btrfs subvol=/@/root 0 0
UUID=0f4ae7dd-1572-49c8-8849-dde58db9b6a7 /opt btrfs subvol=/@/opt 0 0
UUID=0f4ae7dd-1572-49c8-8849-dde58db9b6a7 /home btrfs subvol=/@/home 0 0
UUID=0f4ae7dd-1572-49c8-8849-dde58db9b6a7 /boot/grub2/x86_64-efi btrfs subvol=/@/boot/grub2/x86_64-efi 0 0
UUID=0f4ae7dd-1572-49c8-8849-dde58db9b6a7 /boot/grub2/i386-pc btrfs subvol=/@/boot/grub2/i386-pc 0 0
UUID=0f4ae7dd-1572-49c8-8849-dde58db9b6a7 /.snapshots btrfs subvol=/@/.snapshots 0 0
UUID=7c1839cf-5194-4a36-9470-2b7c2c4ff2f9 swap swap defaults 0 0
# mount hgfs
.host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 0

調整開機時倒數等待之預設時間

1.導​​航到Yast->系統-> Bootloader
2.單擊Bootloader安裝選項卡,然後單擊Boot Loader選項按鈕
3.在“秒數超時”字段下,更改從8秒到2秒之間的數字
4.單擊OK(確定)按鈕應用更改
How to make GRUB countdown shorter?

安裝無蝦米 (嘸蝦米)

重要步驟

1.解壓縮得出 noseeing.gtab
2.安裝gcin (yast)
3.開啟Kansole sudo cp noseeing.gtab /usr/share/gcin/table (無法直接用檔案總管複製)

1
zypper install gcc

字典檔備份

./20201216-LinuxOpenSuse/noseeing.gtab

參考文章複製

無蝦米安裝程序:

  1. 於/etc/apt/sources.lst 加入這行
    deb http://www.calno.com unstable main
  2. sudo apt-get update;sudo apt-get install gcin (安裝gcin)
  3. sudo im-switch -s gcin (下次登入即可使用gcin)
  4. wget http://edt1023.sayya.org/misc/noseeing-6.tar.gz (下載無蝦米表格檔)
  5. tar zxvf noseeing-6.tar.gz
  6. sudo cp noseeing.gtab /usr/share/gcin/table/
  7. (system restart)
    Ubuntu gcin使用無蝦米輸入法

其他參考文章

電腦文 OpenSuse Server上安裝gcin中文輸入法
請問在英文語系的ubuntu,無法輸入中文 論壇 - Ubuntu基本設定

PyCharm Python Debugger Extension 未整理筆記

  • 未安裝前,執行偵錯時會跳出提示,建議使用者安裝 Python Debugger Extension
  • 安裝的過程有些許繁瑣
    2020-11-18
    11:17 Python Debugger Extension Available
    Cython extension speeds up Python debugging
    Install How does it work

install ok

Software Updates 更新指令

1
sudo zypper dup