LinkStack is a great choice for deploying a beautiful and lightweight link aggregator page!
Introduction:
LinkStack, an open-source link aggregation page, is known as the ultimate link management solution. It allows for effective online management and link sharing, enabling users to overcome the limitation of only being able to add one link on social media platforms. Users can customize the appearance of LinkStack instances by theme, and its high customizability is its advantage.
CF-Worker-Dir | LinkStack | |
---|---|---|
自定义化程度 | 🌟🌟🌟 | 🌟🌟🌟🌟🌟 |
部署难度 | 😈😈 | 😈😈😈😈 |
Deployment Method:
Step One: Update Sources
Ubuntu/Debian:
apt update -y && apt upgrade -y
Centos:
yum update -y && yum upgrade -y
Step Two: Install and Configure Docker
Install Docker:
curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh ./get-docker.sh
Start Docker:
sudo systemctl start docker
Set Docker to start automatically at boot:
sudo systemctl enable docker
Step Three: Pull LinkStack Image
docker pull linkstackorg/linkstack
Step Four: Start LinkStack Container
docker run --detach \
--name linkstack \
--hostname linkstack \
--env HTTP_SERVER_NAME="www.example.xyz" \ # Change to your own domain
--env HTTPS_SERVER_NAME="www.example.xyz" \ # Change to your own domain
--env SERVER_ADMIN="admin@example.xyz" \ # Change to your own email
--env TZ="Europe/Berlin" \
--env PHP_MEMORY_LIMIT="512M" \
--env UPLOAD_MAX_FILESIZE="16M" \
--publish 80:80 \ # You can modify the left port to an unoccupied port
--publish 443:443 \ # You can modify the left port to an unoccupied port
--restart unless-stopped \
--mount source=linkstack,target=/htdocs \
linkstackorg/linkstack
Step Five: Reverse Proxy to Domain
Here we use a very simple method: Origin Rules provided by Cloudflare.
Configuration is as follows:
Modify Field to Hostname, Value to the selected full domain, Rewrite to the port you just filled on the left.
Remember to resolve your subdomain to the server IP:
Use an A record, Name as the domain prefix, Content as the server address.
Step Six: Log into the Domain to Start Installation
Step Seven: Proceed with Further Configuration
Default interface after installation:
You can log in at https://domain name/login
to log in and proceed with further configuration.
Related Links:
Official website: https://littlelink-custom.com/
Demo: https://littlelink-custom.llc.ovh/
GitHub address: https://github.com/JulianPrieber/littlelink-custom
Original link:https://enblog.fuyiran.link/Technology/31.html
Copyright: All posts on this blog, unless otherwise stated, are published using theCC BY-NC-SA 4.0 license agreement. Please indicate the source for reprinting Fu Speaking (enblog.fuyiran.link)