顯示頁面舊版反向連結Fold/unfold all回到頁頂 本頁是唯讀的,您可以看到原始碼,但不能更動它。您如果覺得它不應被鎖上,請詢問管理員。 ====== 安裝與測試 TagUI ====== ===== 在 Win10 上安裝 ===== * 下載網址 - https://tagui.readthedocs.io/en/latest/setup.html * 下載 [[https://github.com/kelaberetiv/TagUI/releases/download/v6.0.0/TagUI_Windows.zip|TagUI_Windows.zip]] * 將壓縮檔解開放入 c:\ (所以解壓縮後會看到 c:\tagui) * 下載與安裝 OpenJDK for Windows - [[https://corretto.aws/downloads/latest/amazon-corretto-8-x64-windows-jdk.msi|amazon-corretto-8.265.01.1-windows-x64.msi]] * 確認有安裝 Chrome 瀏覽器 [[https://www.google.com/chrome/]] * 開啟命令視窗 [Win]-R -> cmd * 設定環境變數<code sh>setx path "%path%;c:\tagui\src"</code> * 進行測試驗證<code sh>tagui</code> 如果出現 tagui 不是內部或外部命令的訊息,先關閉命令視窗在重啟一個新的命令視窗 * 執行第一次測試<code sh>tagui c:\tagui\flows\samples\1_google.tag</code> 如果出現找不到 MSVCR110.dll 請安裝 Visual C++ Redistributable - [[https://tagui.readthedocs.io/en/latest/_downloads/fbf25f6118d2d4ab7642688b0da8bfa0/vcredist_x86.exe|vcredist_x86.exe]] * 如果在命令視窗無法正確出現中文,可先輸入 chcp 65001 讓字碼頁由 CP950 切換成 65001(UTF-8) ===== 在 Ubuntu Desktop 18 上安裝 ===== * 先更新到最新版的 <code sh> sudo apt update sudo apt upgrade </code> * 建立執行的 user -> localadmin <code sh> sudo useradd -s /bin/bash -d /home/localadmin/ -m -G sudo localadmin sudo passwd localadmin </code> * 執行 [[/tech/ubuntu_xrdp]] * 使用 localadmin 身分安裝 tagui<code sh> su - localadmin echo xfce4-session > ~/.xsession wget https://github.com/kelaberetiv/TagUI/releases/download/v6.14.0/TagUI_Linux.zip sudo apt install unzip unzip TagUI_Linux.zip wget https://corretto.aws/downloads/latest/amazon-corretto-8-x64-linux-jdk.tar.gz tar -zxvf amazon-corretto-8-x64-linux-jdk.tar.gz sudo apt install php </code> * <del>使用 Windows 遠端桌面以 localadmin 連入, 透過 firefox 下載 chrome Exp. google-chrome-stable_current_amd64.deb</del> * 安裝 Chrome <code sh> sudo apt --fix-broken install xdg-utils fonts-liberation curl wget https://www.ichiayi.com/google-chrome-stable_current_amd64.deb sudo dpkg -i google-chrome-stable_current_amd64.deb </code> * 建立 tagui 連結 <code sh> sudo ln -sf /home/localadmin/tagui/src/tagui /usr/local/bin/tagui sudo ln -sf /home/localadmin/tagui/src/end_processes /usr/local/bin/end_processes sudo ln -sf /usr/bin/python3 /usr/bin/python DISPLAY=:10.0 tagui /home/localadmin/tagui/flows/samples/1_google.tag </code> ===== 參考網址 ===== * https://tagui.readthedocs.io/en/latest/setup.html * https://blog.darkthread.net/blog/command-prompt-codepage/ * https://tagui.readthedocs.io/en/latest/main_concepts.html#run-by-double-click * https://askubuntu.com/questions/514167/how-to-start-a-gui-application-from-cron tech/tagui.txt 上一次變更: 2021/02/19 20:05由 jonathan