{"id":655,"date":"2014-01-27T17:08:46","date_gmt":"2014-01-27T15:08:46","guid":{"rendered":"http:\/\/www.ayhanarda.com\/blog\/?p=655"},"modified":"2014-01-27T17:09:33","modified_gmt":"2014-01-27T15:09:33","slug":"ubuntu-ghost-blog-kurulumu","status":"publish","type":"post","link":"https:\/\/www.ayhanarda.com\/blog\/2014\/01\/ubuntu-ghost-blog-kurulumu\/","title":{"rendered":"Ubuntu Ghost Blog Kurulumu"},"content":{"rendered":"<p>Bu yaz\u0131m\u0131zda ghost blog platformunu ubuntu sunucumuza kuraca\u011f\u0131z , \u015fimdi elimizde s\u0131f\u0131r durumda \u00fczerinde ssh harici hi\u00e7 bir \u015fey kurulu olmayan makinam\u0131z oldu\u011funu ve ssh ile eri\u015fti\u011fimizi varsay\u0131yorum.<br \/>\n\u00d6ncelikle sunucumuzu g\u00fcncelleyelim. \u0130\u015flemlerimizi root kullan\u0131c\u0131s\u0131 ile yapmak daha kolay olacakt\u0131r , <strong>su root<\/strong> ile root kullan\u0131c\u0131s\u0131na ge\u00e7ebiliriz. root \u015fifresini bilmiyor iseniz <strong>passwd root<\/strong> ile de\u011fi\u015ftirebilirsiniz.<\/p>\n<p>root@ubuntu:~#<strong> sudo apt-get update<\/strong><br \/>\nroot@ubuntu:~# <strong>sudo apt-get upgrade<\/strong><br \/>\nroot@ubuntu:~# <strong>sudo aptitude install build-essential zip<\/strong><\/p>\n<p>\u015eimdi <a href=\"http:\/\/nodejs.org\/dist\/latest\/\">nodejs.org<\/a> \u00fczerinden son versiyon u indirip kural\u0131m.<\/p>\n<p>root@ubuntu:~#\u00a0<strong>wget http:\/\/nodejs.org\/dist\/node-latest.tar.gz<\/strong><br \/>\nroot@ubuntu:~#\u00a0<strong>tar -xzf node-latest.tar.gz<\/strong><br \/>\nroot@ubuntu:~# <strong>cd node-v0.10.25 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <\/strong>(s\u00fcr\u00fcm de\u011fi\u015ftik\u00e7e klas\u00f6r ad\u0131 de\u011fi\u015fecektir)<\/p>\n<p>\u015eimdi node u muzu kurabiliriz.<\/p>\n<p>root@ubuntu:~\/node-v0.10.25# <strong>.\/configure<br \/>\n<\/strong>root@ubuntu:~\/node-v0.10.25#<strong> <strong>make<\/strong><br \/>\n<\/strong>root@ubuntu:~\/node-v0.10.25#<strong> make install<br \/>\n<\/strong><\/p>\n<p>\u015eimdi Ghost u indirip , kural\u0131m<\/p>\n<p>root@ubuntu:~\/node-v0.10.25# <strong>sudo mkdir -p \/var\/www\/<\/strong><br \/>\nroot@ubuntu:~\/node-v0.10.25# <strong>cd \/var\/www<\/strong><br \/>\nroot@ubuntu:\/var\/www# <strong>wget https:\/\/ghost.org\/zip\/ghost-latest.zip<\/strong><br \/>\nroot@ubuntu:\/var\/www# <strong>sudo unzip -d ghost ghost-latest.zip<\/strong><br \/>\nroot@ubuntu:\/var\/www# <strong>cd ghost<\/strong><br \/>\nroot@ubuntu:\/var\/www\/ghost# <strong>sudo npm install &#8211;production<\/strong><\/p>\n<p>\u015eimdi Ghost kurulumumuzu konfigure edelim.<\/p>\n<p>root@ubuntu:\/var\/www\/ghost# <strong>cp config.example.js config.js<br \/>\n<\/strong>root@ubuntu:\/var\/www\/ghost#<strong> nano config.js<br \/>\n<\/strong><\/p>\n<p>A\u00e7\u0131lan dosyada Production b\u00f6l\u00fcm\u00fc alt\u0131ndaki host yazan yerin yan\u0131ndaki ip adresini sunucu ip adresiniz ile g\u00fcncelleyiniz , port k\u0131sm\u0131n\u0131 ise 80 olarak de\u011fi\u015ftiriniz , url k\u0131sm\u0131na site adresiniz yazmal\u0131s\u0131n\u0131z.<\/p>\n<p>\/\/ ### Production<br \/>\n\/\/ When running Ghost in the wild, use the production environment<br \/>\n\/\/ Configure your URL and mail settings here<br \/>\nproduction: {<br \/>\nurl: &#8216;<strong>http:\/\/www.ayhanarda.com\/blog<\/strong>&#8216;,<br \/>\nmail: {},<br \/>\ndatabase: {<br \/>\nclient: &#8216;sqlite3&#8217;,<br \/>\nconnection: {<br \/>\nfilename: path.join(__dirname, &#8216;\/content\/data\/ghost.db&#8217;)<br \/>\n},<br \/>\ndebug: false<br \/>\n},<br \/>\nserver: {<br \/>\n\/\/ Host to be passed to node&#8217;s `net.Server#listen()`<br \/>\nhost: &#8216;<strong>192.185.189.211<\/strong>&#8216;,<br \/>\n\/\/ Port to be passed to node&#8217;s `net.Server#listen()`, for iisnode set this to `process.env.PORT`<br \/>\nport: &#8216;<strong>80<\/strong>&#8216;<br \/>\n}<br \/>\n},<\/p>\n<p>\u015eimdi bu i\u015flemden sonra ghost u \u00e7al\u0131\u015ft\u0131rabiliriz.<\/p>\n<p>root@ubuntu:\/var\/www\/ghost# <strong>sudo npm start &#8211;production<\/strong><\/p>\n<p>Browser\u0131m\u0131z\u0131 a\u00e7al\u0131m ve ip adresinden \u00e7al\u0131\u015f\u0131p \u00e7al\u0131\u015fmad\u0131\u011f\u0131n\u0131 test edelim, i\u015fte hepsi bu kadar.<\/p>\n<p>E\u011fer kullanmak ister iseniz <a href=\"http:\/\/www.webhostingsitesi.com\" target=\"_blank\">webhosting<\/a> sitesi\u00a0 ile ileti\u015fime ge\u00e7ebilirsiniz.<\/p>\n<p>Sayg\u0131lar\u0131mla<\/p>\n<p>Ayhan ARDA<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div style=\"padding-bottom:20px; padding-top:10px;\" class=\"hupso-share-buttons\"><!-- Hupso Share Buttons - https:\/\/www.hupso.com\/share\/ --><a class=\"hupso_toolbar\" href=\"https:\/\/www.hupso.com\/share\/\"><img decoding=\"async\" src=\"https:\/\/static.hupso.com\/share\/buttons\/lang\/tr\/share-medium.png\" style=\"border:0px; padding-top: 5px; float:left;\" alt=\"Share Button\"\/><\/a><script type=\"text\/javascript\">var hupso_services_t=new Array(\"Twitter\",\"Facebook\",\"Google Plus\",\"Pinterest\",\"Linkedin\");var hupso_background_t=\"#EAF4FF\";var hupso_border_t=\"#66CCFF\";var hupso_toolbar_size_t=\"medium\";var hupso_image_folder_url = \"\";var hupso_twitter_via=\"ayhanarda\";var hupso_url_t=\"\";var hupso_title_t=\"Ubuntu%20Ghost%20Blog%20Kurulumu\";<\/script><script type=\"text\/javascript\" src=\"https:\/\/static.hupso.com\/share\/js\/share_toolbar.js\"><\/script><!-- Hupso Share Buttons --><\/div>","protected":false},"excerpt":{"rendered":"Bu yaz\u0131m\u0131zda ghost blog platformunu ubuntu sunucumuza kuraca\u011f\u0131z , \u015fimdi elimizde s\u0131f\u0131r durumda \u00fczerinde ssh harici hi\u00e7 bir \u015fey kurulu olmayan makinam\u0131z oldu\u011funu ve ssh ile eri\u015fti\u011fimizi varsay\u0131yorum. \u00d6ncelikle sunucumuzu g\u00fcncelleyelim. \u0130\u015flemlerimizi root kullan\u0131c\u0131s\u0131 ile yapmak daha kolay olacakt\u0131r , su root ile root kullan\u0131c\u0131s\u0131na ge\u00e7ebiliriz. root \u015fifresini bilmiyor iseniz passwd root ile de\u011fi\u015ftirebilirsiniz. root@ubuntu:~# [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"categories":[466,66,40,444],"tags":[474,467,475,473,469,468,472,470,471],"class_list":["post-655","post","type-post","status-publish","format-standard","hentry","category-ghost","category-linux-2","category-open-source","category-ubuntu-linux-2","tag-best-ghost-hosting","tag-ghost-blog","tag-ghost-blog-hosting","tag-ghost-hosting","tag-ghost-installation","tag-ghost-kurulumu","tag-linux-ghost-kurulumu","tag-ubuntu-ghost-install","tag-ubuntu-ghost-kurulumu"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ayhanarda.com\/blog\/wp-json\/wp\/v2\/posts\/655","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ayhanarda.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ayhanarda.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ayhanarda.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ayhanarda.com\/blog\/wp-json\/wp\/v2\/comments?post=655"}],"version-history":[{"count":2,"href":"https:\/\/www.ayhanarda.com\/blog\/wp-json\/wp\/v2\/posts\/655\/revisions"}],"predecessor-version":[{"id":657,"href":"https:\/\/www.ayhanarda.com\/blog\/wp-json\/wp\/v2\/posts\/655\/revisions\/657"}],"wp:attachment":[{"href":"https:\/\/www.ayhanarda.com\/blog\/wp-json\/wp\/v2\/media?parent=655"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ayhanarda.com\/blog\/wp-json\/wp\/v2\/categories?post=655"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ayhanarda.com\/blog\/wp-json\/wp\/v2\/tags?post=655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}