{"id":333,"date":"2025-04-25T15:54:41","date_gmt":"2025-09-03T08:05:52","guid":{"rendered":""},"modified":"2025-02-02T00:46:15","modified_gmt":"2025-02-01T23:46:15","slug":"ubuntu-24-04-sunucusunda-nginx-proxy-ile-nodebb-nas-l-kurulur","status":"publish","type":"post","link":"https:\/\/netcloud24.com\/knowledgebase\/ubuntu-24-04-sunucusunda-nginx-proxy-ile-nodebb-nas-l-kurulur\/","title":{"rendered":"Ubuntu 24.04 Sunucusunda Nginx Proxy ile NodeBB Nas?l Kurulur"},"content":{"rendered":"<p>\u00a0<\/p>\n<\/p>\n<div class=\"container\">\n<h1>Ubuntu 24.04 Sunucusunda Nginx Proxy ile NodeBB Nas?l Kurulur<\/h1>\n<p>NodeBB, Node.js \u00fczerine in?a edilmi? g\u00fc\u00e7l\u00fc, a\u00e7?k kaynakl? bir forum yaz?l?m?d?r. Bu k?lavuz, NodeBB&#8217;yi Ubuntu 24.04 sunucusunda nas?l kuraca??n?z?, MongoDB ile nas?l yap?land?raca??n?z? ve Nginx&#8217;i ters proxy olarak nas?l kullanaca??n?z? g\u00f6sterecek.<\/p>\n<h2>Ad?m 1: Sistemi G\u00fcncelleyin<\/h2>\n<p>?lk olarak, paket listesini g\u00fcncelleyin ve sistemdeki mevcut paketleri y\u00fckseltin. Bir terminal a\u00e7?n ve ?u komutlar? \u00e7al??t?r?n:<\/p>\n<pre><code>sudo apt update &amp;&amp; sudo apt upgrade -y<\/code><\/pre>\n<h2>Ad?m 2: Gerekli Ba??ml?l?klar? Y\u00fckleyin<\/h2>\n<p>Gerekli ba??ml?l?klar?, Git, Node.js, MongoDB ve Nginx gibi ara\u00e7lar? y\u00fckleyin:<\/p>\n<pre><code>sudo apt install git curl nginx mongodb -y<\/code><\/pre>\n<p>Ard?ndan, NodeSource deposunu ekleyerek Node.js&#8217;yi y\u00fckleyin:<\/p>\n<pre><code>curl -fsSL https:\/\/deb.nodesource.com\/setup_16.x | sudo -E bash -<\/code><\/pre>\n<pre><code>sudo apt install nodejs<\/code><\/pre>\n<h2>Ad?m 3: MongoDB&#8217;yi Y\u00fckleyin ve Yap?land?r?n<\/h2>\n<p>MongoDB hizmetini ba?lat?n ve sistem ba?lang?c?nda otomatik olarak ba?lat?lacak ?ekilde ayarlay?n:<\/p>\n<pre><code>sudo systemctl start mongodb<\/code><\/pre>\n<pre><code>sudo systemctl enable mongodb<\/code><\/pre>\n<p>NodeBB i\u00e7in MongoDB&#8217;de bir kullan?c? ve veritaban? olu?turun:<\/p>\n<pre><code>mongo<\/code><\/pre>\n<pre><code>\r\nuse nodebb\r\ndb.createUser({user: \"nodebbuser\", pwd: \"yourpassword\", roles: [\"readWrite\"]})\r\nexit\r\n        <\/code><\/pre>\n<h2>Ad?m 4: NodeBB&#8217;yi Y\u00fckleyin<\/h2>\n<p>NodeBB deposunu klonlay?n ve dizine gidin:<\/p>\n<pre><code>git clone -b v1.x.x https:\/\/github.com\/NodeBB\/NodeBB.git nodebb<\/code><\/pre>\n<pre><code>cd nodebb<\/code><\/pre>\n<p>NodeBB&#8217;nin ba??ml?l?klar?n? npm kullanarak y\u00fckleyin:<\/p>\n<pre><code>npm install --production<\/code><\/pre>\n<h2>Ad?m 5: NodeBB&#8217;yi Yap?land?r?n<\/h2>\n<p>NodeBB yap?land?rma komut dosyas?n? \u00e7al??t?rarak forumu yap?land?r?n:<\/p>\n<pre><code>.\/nodebb setup<\/code><\/pre>\n<p>Veritaban? bilgileri, URL ve y\u00f6netici bilgileri gibi \u00e7e?itli ayarlar? girmeniz istenecek. Daha \u00f6nce olu?turdu?unuz MongoDB kimlik bilgilerini kullan?n.<\/p>\n<h2>Ad?m 6: Nginx&#8217;i Ters Proxy Olarak Yap?land?r?n<\/h2>\n<p>Nginx&#8217;i ters proxy olarak yap?land?rmak i\u00e7in NodeBB i\u00e7in bir yap?land?rma dosyas? olu?turun:<\/p>\n<pre><code>sudo nano \/etc\/nginx\/sites-available\/nodebb<\/code><\/pre>\n<p>A?a??daki yap?land?rmay? ekleyin:<\/p>\n<pre><code>\r\nserver {\r\n    listen 80;\r\n\r\n    server_name your_domain.com;\r\n\r\n    location \/ {\r\n        proxy_pass http:\/\/localhost:4567;\r\n        proxy_set_header X-Real-IP $remote_addr;\r\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n        proxy_set_header X-Forwarded-Proto $scheme;\r\n        proxy_set_header Host $http_host;\r\n        proxy_set_header X-NginX-Proxy true;\r\n\r\n        proxy_redirect off;\r\n    }\r\n}\r\n        <\/code><\/pre>\n<p>Yap?land?rmay? etkinle?tirin ve Nginx&#8217;i yeniden ba?lat?n:<\/p>\n<pre><code>sudo ln -s \/etc\/nginx\/sites-available\/nodebb \/etc\/nginx\/sites-enabled\/<\/code><\/pre>\n<pre><code>sudo systemctl restart nginx<\/code><\/pre>\n<h2>Ad?m 7: NodeBB&#8217;yi Ba?lat?n<\/h2>\n<p>A?a??daki komutu kullanarak NodeBB&#8217;yi ba?lat?n:<\/p>\n<pre><code>.\/nodebb start<\/code><\/pre>\n<p>Art?k taray?c?n?zda alan ad?n?z? ziyaret ederek NodeBB forumunuza eri?ebilirsiniz.<\/p>\n<h2>Sonu\u00e7<\/h2>\n<p>Tebrikler! Ubuntu 24.04 sunucunuzda Nginx proxy kullanarak NodeBB&#8217;yi ba?ar?yla kurdunuz. Forumunuz kullan?ma haz?r. Bir <a href=\"https:\/\/netcloud24.com?language=turkish\" target=\"_blank\" rel=\"follow\">uzak sunucu<\/a> kullan?yorsan?z, g\u00fcvenlik duvar? ve a? ayarlar?n?n uzaktan eri?ime izin verecek ?ekilde do?ru yap?land?r?ld???ndan emin olun.<\/p>\n<\/div>\n<p><a href=\"https:\/\/de.netcloud24.com\/\" target=\"_blank\">Windows VPS Deutschland<\/a><\/p>\n<p><a href=\"https:\/\/es.netcloud24.com\/\" target=\"_blank\">Windows VPS Espa\u00f1a<\/a><\/p>\n<p><a href=\"https:\/\/nl.netcloud24.com\/\" target=\"_blank\">Windows VPS Nederland<\/a><\/p>\n<p><a href=\"https:\/\/it.netcloud24.com\/\" target=\"_blank\">Windows VPS Italia<\/a><\/p>\n<p><a href=\"https:\/\/pt.netcloud24.com\/\" target=\"_blank\">Windows VPS Portugal<\/a><\/p>\n<p><a href=\"https:\/\/it.netcloud24.com\/\" target=\"_blank\">VPS Windows Italia<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS Sverige<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS Norge<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS T\u00fcrkiye<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows RDS (Remote Desktop Services)<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS<\/a><\/p>\n<div class=\"post-author-box\" style=\"border-top:1px solid #ddd;margin-top:20px;padding-top:15px;\">\n<p><strong>Author:<\/strong> \u0141ukasz Bodziony<\/p>\n<p><strong>Website:<\/strong> <a href=\"https:\/\/ca.netcloud24.com\" target=\"_blank\" rel=\"dofollow\">Windows VPS<\/a><\/p>\n<p><em>\u0141ukasz Bodziony is the CEO and founder of <a href=\"https:\/\/netcloud24.com\" target=\"_blank\" rel=\"dofollow\">NETCLOUD24<\/a>, a global VPS hosting brand proudly originating from Poland. With extensive experience in cloud computing, virtualization, and server management, he delivers high-performance <strong>Windows VPS<\/strong> and <strong>Remote Desktop Services (RDS)<\/strong> solutions to clients across Europe, North America, and beyond.<\/em><\/p>\n<p><em>His expertise covers a wide range of technologies, including <strong>Microsoft Azure<\/strong>, <strong>Proxmox VE<\/strong>, <strong>Amazon Web Services (AWS)<\/strong>, and numerous other virtualization and cloud platforms.<\/em><\/p>\n<p><em>Beyond running his hosting business, \u0141ukasz also provides <strong>professional paid server configuration and optimization services<\/strong> for companies and individuals. Outside of work, he is dedicated to caring for his children and building a secure future for them.<\/em><\/p>\n<p><em>If you are interested in working with him or need expert assistance with your hosting, cloud environment, or server setup, feel free to reach out via <a href=\"https:\/\/ca.netcloud24.com\" target=\"_blank\" rel=\"dofollow\">Windows VPS<\/a>.<\/em><\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 Ubuntu 24.04 Sunucusunda Nginx Proxy ile NodeBB Nas?l Kurulur NodeBB, Node.js \u00fczerine in?a edilmi? g\u00fc\u00e7l\u00fc, a\u00e7?k kaynakl? bir forum yaz?l?m?d?r. Bu k?lavuz, NodeBB&#8217;yi Ubuntu 24.04 sunucusunda nas?l\u2026<\/p>\n","protected":false},"author":1,"featured_media":3421,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[],"tags":[14,12,11,23,20,21,22,17,7,8,6,10,18,19,15,24,16,5,13,9],"class_list":["post-333","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","tag-cheapvps","tag-cloudvps","tag-hostingvps","tag-rds","tag-rdscal","tag-remotedesktop","tag-remotedesktopvps","tag-servervps","tag-ukvps","tag-virtualserver","tag-vpshosting","tag-vpsserver","tag-vpssolutions","tag-vpswindows","tag-vpswithwindows","tag-windowsrds","tag-windowsserver","tag-windowsvps","tag-windowsvpshosting","tag-windowsvpsuk"],"jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/333","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=333"}],"version-history":[{"count":0,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/333\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/media\/3421"}],"wp:attachment":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}