{"id":390,"date":"2026-03-24T17:23:44","date_gmt":"2026-03-24T16:23:44","guid":{"rendered":"https:\/\/netcloud24.com\/pl\/blog\/?p=390"},"modified":"2026-03-24T17:23:44","modified_gmt":"2026-03-24T16:23:44","slug":"jak-zainstalowac-wiki-js-na-debian-12-2","status":"publish","type":"post","link":"https:\/\/netcloud24.com\/pl\/blog\/jak-zainstalowac-wiki-js-na-debian-12-2\/","title":{"rendered":"Jak zainstalowa\u0107 Wiki.js na Debian 12"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div class=\"author\"><b>Autor:<\/b> \u0141ukasz Bodziony<br \/>\n<b>Marka:<\/b> <a href=\"https:\/\/netcloud24.com\">netcloud24.com<\/a><br \/>\nSpecjalista VPS Windows, Linux i infrastruktury serwerowej<\/div>\n<h1>Jak zainstalowa\u0107 Wiki.js na Debian 12<\/h1>\n<p>Wiki.js to nowoczesny system wiki oparty na Node.js, idealny do dokumentacji firmowej, projekt\u00f3w IT oraz baz wiedzy.<\/p>\n<div class=\"cta\">\ud83d\ude80 Najlepszy <a href=\"https:\/\/netcloud24.com\">VPS Linux Debian 12<\/a> pod Wiki.js:<br \/>\nNVMe SSD \u2022 Xeon \u2022 99.99% SLA \u2022 Backup 14 dni \u2022 Start w 5 minut<\/div>\n<h2>1. Wymagania<\/h2>\n<ul>\n<li>Debian 12<\/li>\n<li>2+ GB RAM<\/li>\n<li>Root access<\/li>\n<\/ul>\n<h2>2. Aktualizacja systemu<\/h2>\n<pre>apt update &amp;&amp; apt upgrade -y\r\n<\/pre>\n<h2>3. Instalacja Node.js (LTS)<\/h2>\n<pre>curl -fsSL https:\/\/deb.nodesource.com\/setup_20.x | bash -\r\napt install nodejs -y\r\nnode -v\r\n<\/pre>\n<h2>4. Instalacja PostgreSQL<\/h2>\n<pre>apt install postgresql -y\r\n<\/pre>\n<h3>Tworzenie bazy<\/h3>\n<pre>sudo -u postgres psql\r\nCREATE DATABASE wikijs;\r\nCREATE USER wikijs WITH PASSWORD 'haslo';\r\nALTER ROLE wikijs SET client_encoding TO 'utf8';\r\nALTER ROLE wikijs SET default_transaction_isolation TO 'read committed';\r\nALTER ROLE wikijs SET timezone TO 'UTC';\r\nGRANT ALL PRIVILEGES ON DATABASE wikijs TO wikijs;\r\n\\q\r\n<\/pre>\n<h2>5. Instalacja Wiki.js<\/h2>\n<pre>mkdir -p \/var\/www\/wikijs\r\ncd \/var\/www\/wikijs\r\nwget https:\/\/github.com\/Requarks\/wiki\/releases\/latest\/download\/wiki-js.tar.gz\r\ntar xzf wiki-js.tar.gz\r\n<\/pre>\n<h2>6. Konfiguracja<\/h2>\n<pre>nano config.yml\r\n<\/pre>\n<p>Ustaw:<\/p>\n<pre>db:\r\n  type: postgres\r\n  host: localhost\r\n  port: 5432\r\n  user: wikijs\r\n  pass: haslo\r\n  db: wikijs\r\n<\/pre>\n<h2>7. Uruchomienie<\/h2>\n<pre>node server\r\n<\/pre>\n<h2>8. Reverse Proxy (NGINX)<\/h2>\n<pre>apt install nginx -y\r\nnano \/etc\/nginx\/sites-available\/wikijs\r\n<\/pre>\n<pre>server {\r\n  listen 80;\r\n  server_name twojadomena.pl;\r\n\r\n  location \/ {\r\n    proxy_pass http:\/\/127.0.0.1:3000;\r\n    proxy_set_header Host $host;\r\n    proxy_set_header X-Real-IP $remote_addr;\r\n  }\r\n}\r\n<\/pre>\n<pre>ln -s \/etc\/nginx\/sites-available\/wikijs \/etc\/nginx\/sites-enabled\/\r\nsystemctl restart nginx\r\n<\/pre>\n<h2>9. Autostart (systemd)<\/h2>\n<pre>nano \/etc\/systemd\/system\/wikijs.service\r\n<\/pre>\n<pre>[Unit]\r\nDescription=Wiki.js\r\nAfter=network.target\r\n\r\n[Service]\r\nType=simple\r\nExecStart=\/usr\/bin\/node server\r\nRestart=always\r\nUser=root\r\nWorkingDirectory=\/var\/www\/wikijs\r\n\r\n[Install]\r\nWantedBy=multi-user.target\r\n<\/pre>\n<pre>systemctl daemon-reexec\r\nsystemctl enable wikijs\r\nsystemctl start wikijs\r\n<\/pre>\n<h2>10. Dost\u0119p<\/h2>\n<p>Otw\u00f3rz w przegl\u0105darce:<\/p>\n<pre>http:\/\/IP_SERWERA\r\n<\/pre>\n<div class=\"box\">\ud83d\udca1 Na szybkim <a href=\"https:\/\/netcloud24.com\">VPS Linux NVMe<\/a> Wiki.js dzia\u0142a p\u0142ynnie nawet przy du\u017cych projektach.<\/div>\n<h2>11. Zabezpieczenia<\/h2>\n<ul>\n<li>HTTPS (Let&#8217;s Encrypt)<\/li>\n<li>Firewall (CSF)<\/li>\n<li>Backup bazy danych<\/li>\n<\/ul>\n<div class=\"cta\">\ud83d\udd10 Bezpieczny <a href=\"https:\/\/netcloud24.com\">VPS hosting Debian<\/a> + backup + DDoS protection<\/div>\n<h2>12. Podsumowanie<\/h2>\n<p>Wiki.js to szybkie i nowoczesne rozwi\u0105zanie do zarz\u0105dzania wiedz\u0105. W po\u0142\u0105czeniu z wydajnym VPS daje profesjonalne \u015brodowisko produkcyjne.<\/p>\n<div class=\"author\">Artyku\u0142 przygotowany przez: <b>\u0141ukasz Bodziony<\/b><br \/>\n\ud83d\udc49 <a href=\"https:\/\/netcloud24.com\">netcloud24.com \u2013 VPS Windows, Linux, RDS<\/a><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &nbsp; Autor: \u0141ukasz Bodziony Marka: netcloud24.com Specjalista VPS Windows, Linux i infrastruktury serwerowej Jak zainstalowa\u0107 Wiki.js na Debian 12 Wiki.js to nowoczesny system wiki\u2026<\/p>\n","protected":false},"author":1,"featured_media":377,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-390","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows"],"_links":{"self":[{"href":"https:\/\/netcloud24.com\/pl\/blog\/wp-json\/wp\/v2\/posts\/390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netcloud24.com\/pl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netcloud24.com\/pl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/pl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/pl\/blog\/wp-json\/wp\/v2\/comments?post=390"}],"version-history":[{"count":1,"href":"https:\/\/netcloud24.com\/pl\/blog\/wp-json\/wp\/v2\/posts\/390\/revisions"}],"predecessor-version":[{"id":391,"href":"https:\/\/netcloud24.com\/pl\/blog\/wp-json\/wp\/v2\/posts\/390\/revisions\/391"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/pl\/blog\/wp-json\/wp\/v2\/media\/377"}],"wp:attachment":[{"href":"https:\/\/netcloud24.com\/pl\/blog\/wp-json\/wp\/v2\/media?parent=390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netcloud24.com\/pl\/blog\/wp-json\/wp\/v2\/categories?post=390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netcloud24.com\/pl\/blog\/wp-json\/wp\/v2\/tags?post=390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}