Monthly Archives: December 2022

Testo za picu (u procesoru)

  • 1 kašika kvasca
  • 1 kašičica šećera
  • 1 šolja tople vode (oko 37-39 C)
  • 3 šolje brašna
  • 1 kašićica soli

Voda, šećer i kvasac se pomešaju i ostave da odstoje da kvasac malo nadođe.

Brašno i so staviti u procesor, izmiksati jedno dva puta. Uz mešanje polako sipati kvasac i vodu. Mešati dok se ne stvori kompaktna lopta koja se ovaja od zidova posude.

Izvaditi iz procesora i staviti u nauljenu posudu na toplo mesto jedno sat i po do dva da nadođe.

Migration of WP to new Bitnami instance on AWS Lightsail

My original WordPress instance on AWS was showing me that its using an old version of PHP that wasn’t supported anymore. I was reluctant to move to a new WordPress instance, thinking it’s going to be sooo complicated, and how I’m going to handle the IP address change, and do I need to do HTTPS certificates all over again, …

It turned out it’s sooo simple! I’ve read these two posts several times: Update PHP Version On Bitnami WordPress On AWS Lightsail and Updating PHP on an AWS Lightsail WordPress Stack. They helped me a lot to understand the process. I didn’t follow them to the letter, my case was a bit simpler than theirs.

First thing on the list was to update the WordPress to the latest version and then back up the WordPress installation. That involves installing the All-In-One WP Migration plugin and exporting data to a safe temporary storage (eg. local hard drive).

Next step is to create a new Bitnami WordPress instance. Wait several minutes for it to be completed. If you try to get into the instance with the SSH console it will give you an error if it’s not done yet. Attach a static IP to it, then you can add your domain to that static IP. I’m using AWS name servers, that’s why it turns out to be simpler than most cases. SSH into the instance and run:

sudo /opt/bitnami/bncert-tool

Answer all the question. Now you can get to your WordPress website. It shows default theme with no posts – they haven’t been imported yet. Update WP to the latest version and install the All-In-One WP Migration plugin. Edit php.ini:

sudo vi /opt/bitnami/php/etc/php.ini

; Maximum size of POST data that PHP will accept.
post_max_size = 100M

; Maximum allowed size for uploaded files.
upload_max_filesize = 100M

Change these two values if needed to whatever they need to be – bigger than the size of the backed up data file. Restart the services on the instance:

sudo /opt/bitnami/ctlscript.sh restart

Log into the WP Dashboard and import the data file into the WP using above mentioned plugin. Everything will be restored. Done!