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 ...

Use iKuai's Docker to install Uptime to monitor network conditions and set notification reminders

Use iKuai’s Docker to install Uptime to monitor network conditions and set notification reminders Uptime Kuma Introduction I love open source Uptime Kuma is an open source project, its project address is here https://github.com/louislam The developer thinks that Hong Kong Coder, the project already has 43.4k stars. Please give him more stars! Reason Sometimes some servers are offline for some reason and I forget to check. Then the server cannot serve normally. So I came up with the idea to install Uptime in iKuai’s Docker to monitor the online status of servers and network devices. ...

Cloud server installation ikuai routing

Server configuration Mirror: Ubuntu 18.04 64-bit CPU: 1 core Memory: 2G Bandwidth: 2mbps Total system disk capacity: 20GB Total data disk capacity: 0GB Installation steps View cloud server network configuration cat /etc/network/interfaces or netstat -rn Download the ISO installation package **x32-bit ** wge thttps://www.ikuai8.com/download.php?n=/3.x/iso/iKuai8_x32_3.5.11_Build202112031159.iso -O ikuai8.iso x64-bit wget https://www.ikuai8.com/download.php?n=/3.x/iso/iKuai8_x64_3.5.11_Build202112031159.iso -O ikuai8.iso Mount ISO image sudo mount ikuai8.iso /mnt Copy ISO image boot file sudo cp -rpf /mnt/boot / Restart the server sudo reboot ...

Cloud server installation Ai Kuai set up SD-WAN

cloud server General computing type | s6.medium.2 | 1vCPUs | 2GiB mirror Ubuntu 16.04 server 64bit Operation steps Download one-click script in ssh command line wget -O install_ikiso.sh Give script permission chmod +x install_ikiso.sh Download and install Aikuai ./install_ikiso.sh x32 Log in to the server remotely through the cloud platform to run reboot Select AiQuick Start for installation and configuration -Unbind lan port -Bind wan port -Set the wan port address and gateway -If you do not enable WAN port access, please enter the web settings from the intranet Enter the WEB management interface and change the password. After binding the cloud platform, you can set up SD-WAN. ...

Use Aigai SD-WAN to access remote LAN resources

demand Access the intranet resources, monitoring services, and NAS services of gateway A. iKuai SD-WAN activation Aikuai SD-WAN activation link Network topology diagram Aikuai Cloud SD-WAN configuration information Aikuai Cloud SD-WAN topology diagram Access remote LAN function test Access to the NAS server and monitoring is normal. Ping quality test Performance is good, packet loss is rare. Occasionally packet drops occur during peak network usage periods because mobile terminal A is too far away from the other two gateways. Tracert test is direct connection, MTR test quality is normal. ...

搜尋文章

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

Plz typing to search for articles.