How to installing/updating WordPress using Subversion

wordpress

The reason I use WordPress as my blog, is because it can auto update plugins, themes and even the WordPress core. In my last post, I have explain how to fix auto-update for themes and plugins. But it would not work on WordPress Core upgrade. The only way left is to use FTP to update the core. Since I hate using FTP, I have to find another solutions.

And here come Subversion to the rescue! With Subversion, I can update the WordPress core with just one line of code and even can schedule it every month. Or I can use Subversion to download and update WordPress experimental/bleeding edge/trunk version.
Continue reading How to installing/updating WordPress using Subversion

How to set the Time Zone on Fedora Server

By default Fedora set the timezone to UTC. You can define the timezone during installation but if you like me using VPS droplet, your timezone could be wrong. Luckily it can be change easily.

Fedora store all the default timezone inside /usr/share/zoneinfo directory. From there you can list all the content to find your own timezone.

cd /usr/share/zoneinfo
ls
Africa      Chile    GB         Indian       MST         PRC        UTC
America     CST6CDT  GB-Eire    Iran         MST7MDT     PST8PDT    WET
Antarctica  Cuba     GMT        iso3166.tab  Navajo      right      W-SU
Arctic      EET      GMT0       Israel       NZ          ROC        zone.tab
Asia        Egypt    GMT-0      Jamaica      NZ-CHAT     ROK        Zulu
Atlantic    Eire     GMT+0      Japan        Pacific     Singapore
Australia   EST      Greenwich  Kwajalein    Poland      Turkey
Brazil      EST5EDT  Hongkong   Libya        Portugal    UCT
Canada      Etc      HST        MET          posix       Universal
CET         Europe   Iceland    Mexico       posixrules  US

Continue reading How to set the Time Zone on Fedora Server

How to fix 502 error when using reverse proxy on Fedora

In computer networks, a reverse proxy is a type of proxy server that retrieves resources on behalf of a client from one or more servers. These resources are then returned to the client as though they originated from the proxy server itself.

Reverse proxy can be useful in many ways. You can hide your application original URL by masking it with proxy. You can easily control who visit your URL with “allow” & “deny” function. You can add HTTPS protocol on top of the application that not supporting it (I’m looking at you Transmission Webui).

Reverse proxy can be archive in Nginx simply by using this line of code inside the server block.

Continue reading How to fix 502 error when using reverse proxy on Fedora