--- tags: 其他 --- # 問題排除 ## 門市連線 示範軟體[mobaxterm](https://mobaxterm.mobatek.net/) * add new session  * SSH設定 * remote host=門市rpi ip  * 輸入帳號、密碼 ## 印表機 ```bash #查詢印表機連接 systemctl list-unit-files pos-print.service #查詢印表機狀態 systemctl status pos-print #印表機服務重啟 sudo systemctl restart pos-print #遠端測試列印(不是每台都有放test_print_receipt.sh) /opt/tk3c/bin/test_print_receipt.sh ``` ## API ```bash # 狀態查詢 sudo systemctl status tomcat # 重啟Tomee sudo systemctl restart tomcat ``` ## MQTT ```bash # 重啟 sudo systemctl restart mosquitto ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up