{"id":206,"date":"2025-06-15T14:04:19","date_gmt":"2025-06-15T12:04:19","guid":{"rendered":"https:\/\/netcloud24.com\/pl\/blog\/?p=206"},"modified":"2025-06-15T14:06:34","modified_gmt":"2025-06-15T12:06:34","slug":"jak-zainstalowac-concrete5-cms-z-apache-i-darmowym-ssl-lets-encrypt-na-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/netcloud24.com\/pl\/blog\/jak-zainstalowac-concrete5-cms-z-apache-i-darmowym-ssl-lets-encrypt-na-ubuntu-20-04\/","title":{"rendered":"Jak zainstalowa\u0107 Concrete5 CMS z Apache i darmowym SSL Let&#8217;s Encrypt na Ubuntu 20.04"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>Concrete5 to intuicyjny system zarz\u0105dzania tre\u015bci\u0105 (CMS), kt\u00f3ry umo\u017cliwia \u0142atwe tworzenie i edytowanie stron internetowych. W tym poradniku poka\u017cemy, jak zainstalowa\u0107 Concrete5 na systemie Ubuntu 20.04 z wykorzystaniem Apache i bezp\u0142atnego certyfikatu SSL Let&#8217;s Encrypt.<\/p>\n<h2>\u2705 Wymagania wst\u0119pne<\/h2>\n<ul>\n<li>Serwer VPS lub <strong>serwer dedykowany<\/strong> z Ubuntu 20.04 \u2013 <a href=\"https:\/\/netcloud24.com\/serwery\/vps-linux\" target=\"_blank\" rel=\"noopener\"><strong>Polecamy Netcloud24.com<\/strong><\/a><\/li>\n<li>Dost\u0119p root lub konto z sudo<\/li>\n<li>Domena skierowana na serwer<\/li>\n<\/ul>\n<h2>\ud83d\udd27 Krok 1: Aktualizacja systemu<\/h2>\n<pre><code>sudo apt update &amp;&amp; sudo apt upgrade -y<\/code><\/pre>\n<h2>\ud83d\udd27 Krok 2: Instalacja Apache, PHP i niezb\u0119dnych modu\u0142\u00f3w<\/h2>\n<pre><code>sudo apt install apache2 php libapache2-mod-php php-mysql php-xml php-mbstring php-zip php-cli php-curl unzip curl -y<\/code><\/pre>\n<h2>\ud83d\udd27 Krok 3: Instalacja i konfiguracja MySQL<\/h2>\n<pre><code>sudo apt install mysql-server -y\r\nsudo mysql_secure_installation\r\n\r\n# Tworzenie bazy danych i u\u017cytkownika\r\nsudo mysql -u root -p\r\nCREATE DATABASE concrete5 CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;\r\nCREATE USER 'c5user'@'localhost' IDENTIFIED BY 'TwojeSilneHas\u0142o';\r\nGRANT ALL PRIVILEGES ON concrete5.* TO 'c5user'@'localhost';\r\nFLUSH PRIVILEGES;\r\nEXIT;\r\n<\/code><\/pre>\n<h2>\ud83d\udce5 Krok 4: Pobranie i rozpakowanie Concrete5<\/h2>\n<pre><code>cd \/tmp\r\nwget https:\/\/www.concretecms.org\/download_file\/-\/view\/131387\/ -O concrete5.zip\r\nunzip concrete5.zip\r\nsudo mv concrete* \/var\/www\/concrete5\r\nsudo chown -R www-data:www-data \/var\/www\/concrete5\r\n<\/code><\/pre>\n<h2>\ud83d\udd27 Krok 5: Konfiguracja Apache<\/h2>\n<pre><code>sudo nano \/etc\/apache2\/sites-available\/concrete5.conf<\/code><\/pre>\n<p>Wklej poni\u017csz\u0105 konfiguracj\u0119, zast\u0119puj\u0105c <code>twojadomena.pl<\/code>:<\/p>\n<pre><code>&lt;VirtualHost *:80&gt;\r\n    ServerName twojadomena.pl\r\n    DocumentRoot \/var\/www\/concrete5\r\n    &lt;Directory \/var\/www\/concrete5&gt;\r\n        AllowOverride All\r\n        Require all granted\r\n    &lt;\/Directory&gt;\r\n    ErrorLog ${APACHE_LOG_DIR}\/error.log\r\n    CustomLog ${APACHE_LOG_DIR}\/access.log combined\r\n&lt;\/VirtualHost&gt;\r\n<\/code><\/pre>\n<pre><code>\r\nsudo a2ensite concrete5.conf\r\nsudo a2enmod rewrite\r\nsudo systemctl reload apache2\r\n<\/code><\/pre>\n<h2>\ud83d\udd10 Krok 6: Instalacja darmowego certyfikatu SSL Let&#8217;s Encrypt<\/h2>\n<pre><code>sudo apt install certbot python3-certbot-apache -y\r\nsudo certbot --apache -d twojadomena.pl\r\n<\/code><\/pre>\n<h2>\u2705 Krok 7: Instalacja przez przegl\u0105dark\u0119<\/h2>\n<p>Otw\u00f3rz przegl\u0105dark\u0119 i przejd\u017a do <code>https:\/\/twojadomena.pl<\/code>. Uzupe\u0142nij dane bazy danych oraz dane administratora, aby zako\u0144czy\u0107 instalacj\u0119.<\/p>\n<h2>\ud83d\ude80 Gotowe!<\/h2>\n<p>Gratulacje! Concrete5 CMS dzia\u0142a na Twoim <strong>serwerze VPS<\/strong> lub <strong>serwerze dedykowanym<\/strong> z Ubuntu 20.04.<\/p>\n<h2>\ud83c\udf10 Skorzystaj z najlepszych serwer\u00f3w<\/h2>\n<p>Je\u015bli szukasz wydajnego <strong>serwera VPS<\/strong> lub <strong>serwera dedykowanego<\/strong>, wybierz <a href=\"https:\/\/netcloud24.com\/serwery\/vps-linux\" target=\"_blank\" rel=\"noopener\">Netcloud24.com<\/a>. Oferujemy gotowe \u015brodowiska z pe\u0142nym dost\u0119pem root, bez ukrytych koszt\u00f3w i z natychmiastow\u0105 aktywacj\u0105.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Concrete5 to intuicyjny system zarz\u0105dzania tre\u015bci\u0105 (CMS), kt\u00f3ry umo\u017cliwia \u0142atwe tworzenie i edytowanie stron internetowych. W tym poradniku poka\u017cemy, jak zainstalowa\u0107 Concrete5 na systemie\u2026<\/p>\n","protected":false},"author":1,"featured_media":208,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-206","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/netcloud24.com\/pl\/blog\/wp-json\/wp\/v2\/posts\/206","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=206"}],"version-history":[{"count":1,"href":"https:\/\/netcloud24.com\/pl\/blog\/wp-json\/wp\/v2\/posts\/206\/revisions"}],"predecessor-version":[{"id":207,"href":"https:\/\/netcloud24.com\/pl\/blog\/wp-json\/wp\/v2\/posts\/206\/revisions\/207"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/pl\/blog\/wp-json\/wp\/v2\/media\/208"}],"wp:attachment":[{"href":"https:\/\/netcloud24.com\/pl\/blog\/wp-json\/wp\/v2\/media?parent=206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netcloud24.com\/pl\/blog\/wp-json\/wp\/v2\/categories?post=206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netcloud24.com\/pl\/blog\/wp-json\/wp\/v2\/tags?post=206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}