Moving from Apache to NGINX on Centos 7

For about 10 years myelectrons.ru, myelectrons.com, 775mv.com and a few other websites of ours have been rather slow. Last time we came back to them, they were so slow (9-15 seconds), it was painful to just wait for it to load so you can hit another button in the administration panel. So we started searching for ways to speed them up. The more obvious solution was to move to a different hosting service because the ping was so slow (200 ms). Nginx, an engine many recommended to speed up a website, appeared to be a suitable option to try. We weren't exactly sure yet how it could speed up a website. So we tried a simple Nginx installation and it didn't bring much of an improvement. That's when my dad came across this blog post https://danielmiessler.com/blog/wordpress-nginx-speed-guide/ Notice how fast it loads? That's lightning speed! The post itself talks about how to make your website faster using Nginx and both server and client side caching. And although it does cover the main points, some stuff the author considers basic doesn't get covered. When I read through it, it left me with a lot of questions still unanswered. It took me several days to figure it all out with the help of my dad. Here I'll share with you, and for myself to refer to it later, how I went about installing Nginx.

View More Moving from Apache to NGINX on Centos 7

Busy busy busy

post front image representing constant action
Photo by Johannes Rapprich from Pexels

I'm somehow finally able to cooperate with my dad, and helping him get a few websites up. Started out just learning a chunk of web administering (is that a word?) like installing WordPress, basic MariaDB commands. Although even before that I had to get my computer to a working state as we just assembled a new one for me and obviously the software is a lot harder to deal with than the hardware. So installing Windows first, then dealing with Ubuntu drivers. Ended up reinstalling Ubuntu altogether.

View More Busy busy busy

The irony of magma’s temperature

What is the earth made off? The inner core is iron under high pressure. Then we have the outer core made of heavy metals, the mantle made out of hot liquid rock, and finally the crust on which we all live. Alright, this is a globally accepted scheme. Although, why after all those billions of years that the earth exists is that rock, the magma, still hot and liquid? Didn't it have more than enough time to cool down to a solid state?  View More The irony of magma’s temperature

Intro to python

Hello everyone! I thought why not give people a simple introduction to python coding, because personally I know I have had a hard time finding an easy to understand tutorial in the past. So by doing this I hope to ease the pressure from some of you who might have been in the same situation.

 

In this article, I will cover:

  • hello world program

View More Intro to python