ERP Next Moving - Migrating from Tencent Cloud to PVE

Prerequisites Lightweight cloud creates images and shares them Create a cloud server instance through the image created by the lightweight cloud Create another image for the cloud server created under this image. Create a new bucket as a storage object for image export Download the backed up image through the bucket Import to PVE Get start Create an image for the erpnext host in the lightweight cloud Enable sharing of the image in the region of the instance Create a cloud server in this region (cloud server - non-lightweight cloud) and select this image After activation, wait for startup and confirm that the service is normal Stop the instance and create an image on the current instance (cloud server - not lightweight cloud) Wait for the image to be created Come to object storage-bucket list-create bucket Return to the image in the cloud service and select the image created in step 5. Select image export in the image options Select the QCOW2 format when exporting. After the export is completed, it will be stored in the bucket. Return to object storage - select the bucket list - find the image you just exported - select download image Download the exported image locally and then import it into PVE. PVE Import USB Disk mount Import qcow2 to vm Config VM lsblk mkdir -p /mnt/usb mount /dev/sdb1 /mnt/usb ls /mnt/usb/iso/*.qcow2 ## import to vm - qm importdisk <源文件路径> <目标存储ID> qm importdisk 101 /mnt/usb/iso/vps-backup.qcow2 local-lvmReturn to the PVE interface, add the imported disk to the created empty vm, and set the startup disk. ...

ikuai installation script

The steps to install ikuai in vps are as follows Command operation part Check the IP address and gateway address of the current vps ip route default via 10.0.0.1 dev eth0 proto dhcp src 10.0.0.14 metric 100 10.0.0.0/22 dev eth0 proto kernel scope link src 10.0.0.14Add script #!/bin/bash # 檢查是否以 root 用戶運行 if [ "$EUID" -ne 0 ]; then echo "請以 root 用戶運行此腳本" exit 1 fi # 詢問用戶下載 32 位或 64 位版本 read -p "請選擇要下載的 iKuai8 版本 (32/64): " arch # 根據用戶選擇下載對應的 ISO 鏡像 if [ "$arch" == "32" ]; then url="https://www.ikuai8.com/download.php?n=/3.x/iso/iKuai8_x32_3.7.20_Build202506041743.iso" filename="ikuai8_x32.iso" elif [ "$arch" == "64" ]; then url="https://www.ikuai8.com/download.php?n=/3.x/iso/iKuai8_x64_3.7.20_Build202506041743.iso" filename="ikuai8_x64.iso" else echo "無效的選擇,請重試" exit 1 fi # 下載 ISO 鏡像 echo "正在下載 $filename..." wget "$url" -O "$filename" echo "下載完成" # 掛載 ISO 鏡像 echo "正在掛載 $filename..." sudo mount -o loop "$filename" /mnt if [ $? -ne 0 ]; then echo "掛載 $filename 失敗,請手動檢查" exit 1 fi echo "掛載成功" # 複製啟動文件 echo "正在複製啟動文件..." sudo cp -rpf /mnt/boot / # 檢查操作結果 echo "檢查操作結果:" if [ -f "$filename" ]; then echo "- $filename 存在" else echo "- $filename 不存在" fi if mountpoint -q /mnt; then echo "- 掛載成功" else echo "- 掛載失敗" fi if [ -d "/boot" ]; then echo "- 啟動文件已複製" else echo "- 啟動文件複製失敗" fi # 檢查主機 IP 地址和網關地址 ip_address=$(ip addr show | grep 'inet ' | awk '{print $2}' | cut -d'/' -f1) gateway=$(ip route show | grep default | awk '{print $3}') echo "- IP 地址: $ip_address" echo "- 網關地址: $gateway" echo "所有操作完成,請執行 reboot 重啟 VPS,並通過 VNC 連接控制台"Execute script chmod +x install_ikuai.sh bash install_ikuai.shFollow the prompts to restart the vps and connect to the vps through the vns console ...

Notes on installing Panabit Professional Edition on public cloud

Notes on installing Panabit Professional Edition on public cloud Release date: Dec 22,2022 Th . Panabit Version: R0.00[TANG(Datang)r3], Build date 20221031.132102 [Linux 3.10] Author: Duke Hsu This note records the process of installing panabit using a single network card lightweight cloud server. Preparation cloud server Operating system: Centos 7.6 x64 Configuration: 2C 8G 1 eth Panabit material Panabit one-click upload cloud server tool (including installation and decompression GUI.exe) Panabit Professional Edition Linux installation package (LPanabitOEM_WUDAIr1_20201125_Linux3.tar.gz) Cloud server IP address and password The cloud server needs to open the SSH port and service ...

搜尋文章

輸入標題、分類或文章內容

Plz typing to search for articles.