指令:

您需要到 /usr/syno/etc/packages/phpMyAdmin/nginx/ 下,新增一個 test.conf 檔,內容寫:

allow 10.12.12.85; <-- Enter the allowed IPs here
deny all;

 

然後再 reload nginx 服務:

nginx -s reload

指令:

步驟1
tee /etc/yum.repos.d/MariaDB.repo<<EOF
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.4.7/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
EOF
yum -y update && yum -y upgrade
 
步驟2
 
systemctl restart mariadb
systemctl enable mariadb
 
步驟3
systemctl restart httpd