After Lao Su's DSM6.17
system was restored, he found that some packages were missing. When installing phpMyAdmin
the packages, it was displayed that thePHP7.4
But searching in the suite yields onlyPHP7.3
Downloaded the minimum from https://archive.synology.cn/download/Package/PHP7.47.4.9-0003
When installing manually, it actually shows DSM6.17
that it is not supported
Lao Su didn't want to upgrade, so he flipped through the screenshots wallabag
from
Obviously phpMyAdmin
, you don't have to PHP7.4
upgrade to use it, so why not try the phpMyAdmin
downgraded version. next4.9.2-0181
This time it showed that it was only needed PHP5.6
, so I downloaded it again 5.6.20-0023
, and finally got it done, now I can sleep in during the holiday
I wish you a healthy Dragon Boat Festival~
The push plan that netizens
Frank Yang
neediphone
; someone recommended it a long time ago, but Lao Su isAndroid
a user , and this time he borrowed a mobile phone to make a fuss;
What is Bark?
Bark
is aniOS
application that allows you to push custom notifications to youriPhone
.Bark
Relying on AppleAPNs
will not consume the power of the device. Based on the system push service and push extension,APP
the main body does not need to run, and it is timely, stable and reliable.
Install
Install it in Docker mode on Synology.
Search in the registry bark-server
, select the first one finab/bark-server
, version selection latest
.
At the time of writing this article,
latest
the version corresponds tov2.1.5
;
roll
Inside docker
the folder , create a new folder bark
with a subfolder inside itdata
folder | mount path | illustrate |
---|---|---|
docker/bark/data |
/data |
store data |
port
It is fine if the local port does not conflict. If you are not sure, you can check it with the command
# 查看端口占用
netstat -tunlp | grep 端口号
local port | container port |
---|---|
8054 |
8080 |
command line installation
If you are familiar with the command line, it may be docker cli
faster
# 新建文件夹 bark 和 子目录
mkdir -p /volume2/docker/bark/data
# 进入 bark 目录
cd /volume2/docker/bark
# 运行容器
docker run -d \
--restart unless-stopped \
--name bark \
-p 8054:8080 \
-v $(pwd)/data:/data \
finab/bark-server
You can also use docker-compose
the installation , save the following content as docker-compose.yml
a file
version: '3'
services:
bark-server:
image: finab/bark-server
container_name: bark-server
restart: unless-stopped
ports:
- 8054:8080
volumes:
- ./data:/data
Then execute the following command
# 新建文件夹 bark 和 子目录
mkdir -p /volume2/docker/bark/data
# 进入 bark 目录
cd /volume2/docker/bark
# 将 docker-compose.yml 放入当前目录
# 一键启动
docker-compose up -d
run
Enter in the browser http://群晖IP:8054/ping
, if it returns, code:200
it should mean that the construction is successful
reverse proxy
This step is not necessary, it depends on your application scenario
Lao Su's Tencent small host has expired, and the default Cloudflared + npm
method . If you don't understand it, you can read the previous article
Article Portal:
Just set the host, SSL
no need to set
iOS
APP Store
Found in Bark
, address: https://apps.apple.com/cn/app/bark-customed-notifications/id1403753865
Open APP
, it points to the official server by default api.day.app
, you need to click +
the sign to add the private server we built earlier
Fill in your server or domain name APP
atIP
After the addition is successful, you need to 允许
send a message to notify
Click Register Device in the middle
The sending format of different content will be displayed
# 推送内容
https://bark.laosu.ml/T4PZSXypARjLfFY6xycY7G/这里改成你自己的推送内容
# 推送标题
https://bark.laosu.ml/T4PZSXypARjLfFY6xycY7G/推送标题/这里改成你自己的推送内容
The string of characters after the domain name T4PZSXypARjLfFY6xycY7G
is the unique code used to identify the device
Then you can use the command line, API
debugging tools, or chrome
plugins to iphone
send messages to
Chrome
Plug-in download address: https://chrome.google.com/webstore/detail/bark/pmlkbdbpglkgbgopghdcmohdcmladeii
After the installation is complete, click the plug-in icon on the browser, a prompt will pop up
Default Push Content
Refers to the content pushed by default, Clipboard
the content in the clipboard, Current page URL
and the address of the currently opened web page
find the following New device push URL
Fill in the address obtained earlier,https://bark.laosu.ml/T4PZSXypARjLfFY6xycY7G/
If you have more than one
iphone
,Alias
fill it in to distinguish different mobile phones
After selecting the content on the web page, right click to findPush To Device
The mobile phone will receive the sent message
Multiple words can be expanded
reference documents
Finb/bark-server: Backend of Bark
address: https://github.com/Finb/bark-server
Finb/Bark: Bark is an iOS App which allows you to push custom notifications to your iPhone
地址:https://github.com/Finb/Bark
Bark use document
address: https://bark.day.app/
Bark server deployment document | Fin
address: https://day.app/2018/06/bark-server-document/