How to Upgrade PHP on Bitnami WordPress in AWS Lightsail

I have an old Bitnami WordPress server on the Amazon Lightsail server. Bitnami does not support upgrading the PHP version. The recommended solution is to create a new bitnami WordPress instance and migrate the website to the new lightsail instance. Since this server had many websites configured, I do not want to migrate the websites … Read more

Reset MySQL root password on Bitnami server

MySQL

To reset MySQL root password on Bitnami server, first check MySQL server version you are running. mysql –version Create a file vi /tmp/mysql-init Add following text For MySQL 5.7 or MySQL 8 ALTER USER ‘root’@’localhost’ IDENTIFIED BY ‘NEW_PASSWORD’; ALTER USER ‘root’@’127.0.0.1’ IDENTIFIED BY ‘NEW_PASSWORD’; For MySQL 5.6 UPDATE mysql.user SET Password=PASSWORD(‘NEW_PASSWORD’) WHERE User=’root’; FLUSH PRIVILEGES; … Read more

Disable MySQL bin log on Bitnami

MySQL

if you have cloud sevrer with less disk space, it is better disable MySQL bin log as it take approx 3 GB of disk space on bitnami server. To disable MySQL binlog, edit mysql config file. vi /opt/bitnami/mysql/my.cnf Find [mysqld] Add below disable_log_bin Here is what i have in the my.cnf root@wordpress-vm:~# cat /opt/bitnami/mysql/my.cnf [mysqladmin] … Read more

Install LetsEncrypt SSL on Bitnami

NOTE: bitnami provides a tool to install SSL, it is better to use the tool to install SSL. You can see more info on page How to install LetsEncrypt SSL on Bitnami WordPress Server To install LetsEncrypt SSL on bitnami wordpress server, install letsencrypt with wget https://raw.githubusercontent.com/serverok/server-setup/master/install/letsencrypt.sh sh ./letsencrypt.sh Stop apache web server with /opt/bitnami/ctlscript.sh … Read more

Bitnami

WordPress bitnami How to install LetsEncrypt SSL on Bitnami WordPress Server Install LetsEncrypt SSL on Bitnami Disable MySQL bin log on Bitnami Reset MySQL root password on Bitnami server WordPress Failed to update Plugin Upgrade PHP Version on Bitnami WordPress on AWS Lightsail To remove logo from bitnami wordpress, login to SSH as user “bitnami”, … Read more

WordPress bitnami

Install LetsEncrypt SSL on Bitnami To stop/start service use ctlscript.sh root@ip-172-31-26-46:~# /opt/bitnami/ctlscript.sh usage: /opt/bitnami/ctlscript.sh help /opt/bitnami/ctlscript.sh (start|stop|restart|status) /opt/bitnami/ctlscript.sh (start|stop|restart|status) mysql /opt/bitnami/ctlscript.sh (start|stop|restart|status) php-fpm /opt/bitnami/ctlscript.sh (start|stop|restart|status) apache help – this screen start – start the service(s) stop – stop the service(s) restart – restart or start the service(s) status – show the status of the service(s) … Read more