Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
Wallabagのソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
Wallabag
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
[[Category:ウェブアプリケーション]] [https://wallabag.org/ wallabag] is a self hostable application for saving web pages. == Installation == Install the {{Pkg|wallabag}} package. == Configuration == === PHP === A list of required php modules can be found [https://doc.wallabag.org/en/admin/installation/requirements.html#php-extensions here]. The following snippet is provided for brevity. {{hc|/etc/php/conf.d/wallabag.ini|2= extension=bcmath extension=gd extension=gettext extension=iconv extension=intl extension=tidy ; database - sqlite ;extension=pdo_sqlite ;extension=sqlite3 ; database - pgsql ;extension=pdo_pgsql ;extension=pgsql }} === Wallabag === Once wallabag has been properly configured, commands must be run in order to initialise the database and application state. {{Tip|Ensure the desired environment is set by appending {{ic|1=--env=prod}} to the commands.}} {{bc|1= <nowiki> # cd /usr/share/wallabag # sudo -u wallabag php bin/console cache:clear # sudo -u wallabag php bin/console doctrine:migrations:migrate </nowiki> }} {{Note|When changes are made to {{ic|/etc/wallabag/parameters.yml}}, the cache must be cleared.}} == Database == Supported databases are: * [[SQLite]] (for development only, database migrations are not supported in production.) * [[PostgreSQL]] * [[MariaDB]] The setup and configuration are not covered here. == Application Server == === php-fpm === It is recommended to make a copy of {{ic|/etc/php/php-fpm.d/www.conf}} and modify that. {{hc|/etc/php/php-fpm.d/wallabag.conf|2= [wallabag] user = wallabag group = wallabag }} == Web Server == === nginx === The below configuration is sourced from upstream [https://doc.wallabag.org/en/admin/installation/virtualhosts.html#configuration-on-nginx documentation] and slightly amended: {{hc|/etc/nginx/example.conf|2= <nowiki> server { root /usr/share/wallabag/web; # When you want to import large files into wallabag, you need to add this line. client_max_body_size XM; # allows file uploads up to X megabytes. location / { # try to serve file directly, fallback to app.php try_files $uri /app.php$is_args$args; } location ~ ^/app\.php(/|$) { fastcgi_pass unix:/run/php-fpm/php-fpm.sock; fastcgi_split_path_info ^(.+\.php)(/.*)$; include fastcgi_params; # When you are using symlinks to link the document root to the # current version of your application, you should pass the real # application path instead of the path to the symlink to PHP # FPM. # Otherwise, PHP's OPcache may not properly detect changes to # your PHP files (see https://github.com/zendtech/ZendOptimizerPlus/issues/126 # for more information). fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; fastcgi_param DOCUMENT_ROOT $realpath_root; # Prevents URIs that include the front controller. This will 404: # http://domain.tld/app.php/some-path # Remove the internal directive to allow URIs like this internal; } # return 404 for all other php files not matching the front controller # this prevents access to other php files you don't want to be accessible. location ~ \.php$ { return 404; } } </nowiki> }} Generic configuration for other web servers can be found [https://doc.wallabag.org/en/admin/installation/virtualhosts.html upstream]. == Troubleshooting == === Upgrading between versions === There are upgrade [https://doc.wallabag.org/en/admin/upgrade.html instructions] available, dependent on the old and new versions. Generally, cache must be cleaned and database migrations performed, as shown in the configuration section. == See also == * [https://doc.wallabag.org Wallabag documentation] * [https://github.com/wallabag/wallabag Source repository]
このページで使用されているテンプレート:
テンプレート:Bc
(
ソースを閲覧
)
テンプレート:Hc
(
ソースを閲覧
)
テンプレート:Ic
(
ソースを閲覧
)
テンプレート:Note
(
ソースを閲覧
)
テンプレート:Pkg
(
ソースを閲覧
)
テンプレート:Tip
(
ソースを閲覧
)
テンプレート:TranslationStatus
(
ソースを閲覧
)
Wallabag
に戻る。
検索
検索
Wallabagのソースを表示
話題を追加