一个多功能的文件分享工具--zdir手动部署教程
Manual Installation
Download link for the latest version of Zdir: 小z博客软件库
Please complete the following operations in the SSH command line (Note: Please change to the latest download address by yourself):
# Create a new directory for storing zdir
mkdir zdir
# Enter the directory
cd zdir
# Download the latest installation program
wget https://soft.xiaoz.org/zdir/4.1.3/zdir_4.1.3_linux_amd64.tar.gz
# Unzip
tar -xvf zdir_4.1.3_linux_amd64.tar.gz
# Start
./zdir start
Note that the firewall also needs to allow the 6080
port
# For firewalld
firewall-cmd --zone=public --add-port=6080/tcp --permanent
firewall-cmd --reload
# If using ufw
ufw allow 6080/tcp
Management Commands
After using the
./zdir start
command, the systemd service will be automatically registered, and you can manage it through the following commands!
# Start
systemctl start zdir
# Stop
systemctl stop zdir
# Check status
systemctl status zdir
# Restart
systemctl restart zdir
# Enable on boot
systemctl enable zdir