CentOS Server Üzerine Ghost Blog Sistemi Kurulumu

in #utopian-io7 years ago (edited)

Merhaba, blog yazarlarının genellikle birinci tercihi Wordpress olsa da zaman zaman Wordpress'in kronik bir takım sorunları, özellikle de yüksek kaynak tüketimi sebebiyle daha hızlı ve stabil içerik yönetim sistemleri arayışına geçebiliyoruz. Bu yazımda bir hosting üzerinden değil direkt olarak sunucu ile çalışan ve gayet kullanışlı bir blog sistemi olan tamamen açık kaynaklı Ghost CMS'in kurulumunu basit bir şekilde anlatmaya çalışacağım.

Putty tarzı bir SSH programı ile CentOS sunucumuza giriş yapıyoruz.


yum update && yum upgrade -y komutumuz ile işletim sistemimizi güncelleyerek kararlı sürüme yükseltiyoruz.


Güncellemeler tamamlandıktan sonra yum install nginx -y komutu ile Nginx Web Server kurulumunu gerçekleştiriyoruz.


Nginx kurulduktan sonra mkdir -p /var/www/ghost komutu ile gerekli dizinimizi oluşturuyoruz ve cd /var/www/ghost komutu ile içerisine giriş yapıyoruz.


yum install nodejs -y komutu ile NodeJS kurulumunu gerçekleştiriyoruz.


yum install npm -y komutu ile NPM kurulumunu gerçekleştiriyoruz, bende kurulu olduğu için hata verdi fakat sizde kurulumu başlatacaktır.


npm i -g ghost-cli komutu ile NPM üzerine Ghost-CLI kurulumunu gerçekleştiriyoruz, ortalama 5 dakika kadar sürecektir.


CLI kurulduktan sonra ghost install local komutu ile Ghost paketimizi kurmaya başlıyoruz, bu işlem de ortalama bir 10 dakika kadar sürecektir.


Paketimiz de kurulduktan sonra cd komutu ile anadizine dönerek nano /etc/nginx/conf.d komutunu yazıp Ngnix için ayar dosyası oluşturuyoruz ve içine resimdeki yani aşağıda yer alan kodları yapıştırarak CTRL+X ile kaydediyoruz, yalnız işaretli alana kendi ip adresinizi yazmayı unutmayın.
server {
listen 80;
server_name IPADRESINIZ;
location / {
proxy_set_header HOST $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:2368;
}
}

Daha sonra sunucumuza reboot komutunu yazarak yeniden başlatıyoruz ve http://ip:2368 yazarak sitemize ulaşabiliriz.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

its a may be rooting processes.

Yes, it is usually very short.

Help me please up vote my posts😊

teşekkür ederim detaylı anlatım için hocam CentOS ile hiç uğraşamadım sayenizde onuda çözecem ghost blog sistemi ücretli diye biliyordum galiba ben olayı yanlış anladım :)

Rica ederim :) kendi sunucunuza kurmayıp da onların sistemini kullanmak isterseniz ödeme yapıyorsunuz evet ama open source kodları olduğu için kendi altyapımızı oluşturabiliyoruz.

anladım tekrar teşekkür ederim sisteme bir ara göz atmalıyım alternatif arıyordum denk geldi

Rica ederim hocam kolay gelsin şimdiden.

Aww, my brother is hacker, i think i need to show this post to him hehe,
I F-ollowed you please F-ollow me back @angelinacastle

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Hey @sedatyildiz I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Suggestions

  • Contribute more often to get higher and higher rewards. I wish to see you often!
  • Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!

Get Noticed!

  • Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.20
TRX 0.13
JST 0.030
BTC 67435.35
ETH 3528.53
USDT 1.00
SBD 2.68