Lately accessing Steemit.com very frustrating, slow and not able to access the community. Please remember Steemit.com is not STEEM, meaning you have alternative site like Yehey.org, Busy.org or ChainBB where you can login using your steem account.
FYI. You ALWAYS login through SSL e.g. https://yehey.org this is to encrypt your session to the website that gives you access to the blockchain. I hope that’s not too technical.
From Steemit Github “Condenser is the react.js web interface to the world’s first and best blockchain-based social media platform, steemit.com. It uses STEEM, a blockchain powered by Graphene 2.0 technology to store JSON-based content for a plethora of web applications”.
You can follow the guide here: https://github.com/steemit/condenser or follow my guide, both will end good result.
Every time I prepare a server, I setup the correct time . This will be useful checking your logs later.
sudo timedatectl set-timezone America/New_York
sudo apt-get install htop //You need to know your server CPU/Memory Utilization
sudo apt-get update
sudo apt-get upgrade
sudo apt install git curl wget
git clone https://github.com/steemit/condenser
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.5/install.sh | bash
[ -s “$NVM_DIR/nvm.sh” ] && . “$NVM_DIR/nvm.sh”
Close SSH session, re-login again. This is very important, a soft reboot to continue the setup.
nvm install v7.5 // v8.0 is not supported at this time. Don’t even try.
npm install -g yarn
yarn global add babel-cli
yarn run build
yarn run production // using port 8080, make sure your server allow it.
You should be to access your own blockchain site.
http://yehey.org:8080 //8080 is a default port.
SECURITY – SECURITY – SECURITY we need to implement security at all time.
Install, let’s encrypt.
I’m not going to re-invent the wheel, I followed this guide to install my server digital certificate so I can access with SSL protocol – https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-14-04
After you finished installing SSL on your server. You should be able to access it with SSL.
https://yehey.org // this will display the default placeholder of Apache page.
https://yehey.org:8080 // will be an error, cannot be display. This is correct we haven’t done anything yet.
http://yehey.org:8080 // you should be able to access the blockchain site (un-secure, not recommended let’s fix it.)
Run this command to forward ports from 8080 to 80.
sudo /sbin/iptables -t nat -I PREROUTING -p tcp –dport 80 -j REDIRECT –to-port 8080
PLEASE NOTE (double dash dport, and double dash to single dash port)
Now go to:
https://yehey.org // this will show the blockchain site, not the default apache page.
And I post this post using Yehey.org blockchain site. This article is also posted at https://que.com
Work is done.
I hope this help you and I hope you will support me as your Witness.
Update: Dec. 5, 2017: Server Maintenance Routine:
- Run “sudo apt-get update”
- Run “sudo apt-get upgrade”
- Run “sudo apt-get dist-upgrade”
- Restart the server.
- Run “yarn run production”
- Run “sudo /sbin/iptables -t nat -I PREROUTING -p tcp –dport 80 -j REDIRECT –-to-port 8080”
PLEASE NOTE (double dash dport, and double dash to single dash port) the content management system editor is not properly displaying the codes.
Follow me @Yehey. Please Vote Up and RESTEEM.