Package Details: tieba-cloud-sign 20231124.154303-2

Git Clone URL: https://aur.archlinux.org/tieba-cloud-sign.git (read-only, click to copy)
Package Base: tieba-cloud-sign
Description: Baidu Tieba Cloud Sign | 百度贴吧云签到
Upstream URL: https://github.com/MoeNetwork/Tieba-Cloud-Sign
Keywords: tieba 百度贴吧 签到 贴吧
Licenses: custom
Submitter: devome
Maintainer: devome
Last Packager: devome
Votes: 1
Popularity: 0.120419
First Submitted: 2024-01-13 07:26 (UTC)
Last Updated: 2024-04-25 10:05 (UTC)

Latest Comments

devome commented on 2024-04-17 15:01 (UTC) (edited on 2024-04-25 10:02 (UTC) by devome)

安装tieba-cloud-sign之后要做的事:

  1. 确保已启用cronie.service mariadb.service php-fpm.service以及反代服务;

  2. 初始化mariadb并创建一个数据库,记录下库名、用户名、密码等;

  3. 在php的配置/etc/php/php.ini中启用mysqli extension(如果需要登陆验证码,在安装可选依赖php-gd后,也需要在配置中启用gd extension),并重启php-fpm.service;

  4. 配置http服务(apache/caddy/nginx),注意php-fpm的socket是unix:/run/php-fpm/php-fpm.sock

  5. 根据http服务的设置访问相关网页,进行tieba-cloud-sign的初始化。

初始化tieba-cloud-sign以后,会生成一个安装锁/srv/tieba-cloud-sign/setup/install.lock,如果没有成功生成,请自行sudo touch /srv/tieba-cloud-sign/setup/install.lock

一个nginx反代的参考:

server {
    listen 80;
    listen [::]:80;

    root /srv/tieba-cloud-sign;

    location / {
        index index.php;
    }

    location ~ \.php$ {
        fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
    }
}