/* 自定義代碼塊樣式 */

2023年10月2日 星期一

Free ERP on the Raspberry Pi (odoo)

 

#更新系統軟體

sudo apt update && sudo apt upgrade -y


#安裝資料庫

sudo apt install postgresql -y


#安裝py程序

sudo apt install python3-pip -y


#安裝odoo PDF工具

# for 32bit

wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.raspberrypi.bullseye_armhf.deb

sudo apt install ./wkhtmltox_0.12.6.1-2.raspberrypi.bullseye_armhf.deb -y


# for 64bit

wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.bullseye_arm64.deb

sudo apt install ./wkhtmltox_0.12.6.1-2.bullseye_arm64.deb -y


#安裝PDF工具中文字形

sudo apt install fonts-wqy-microhei ttf-wqy-microhei fonts-wqy-zenhei ttf-wqy-zenhei -y


#清理快取

fc-cache -f -v


# check Odoo service is running

sudo systemctl status odoo

沒有留言:

在ESP32S3使用 Adafruit_TinyUSB 建立 HID 裝置進行讀寫

Adafruit_USBD_HID usb_hid; #define USB_VID 0xCafe #define USB_PID 0x4011 #define USB_MANUFACTURER "ESP32S3" #define USB_PRODUCT ...