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)

root@ip-172-31-26-46:~# 

To stop MySQL, run

root@ip-172-31-26-46:~# /opt/bitnami/ctlscript.sh stop mysql
Unmonitored mysql
/opt/bitnami/mysql/scripts/ctl.sh : mysql stopped
root@ip-172-31-26-46:~# 

To disable Banner on WordPress site, run

/opt/bitnami/apps/wordpress/bnconfig --disable_banner 1

Disable MySQL in Bitnami instance after moving Database to RDS

/opt/bitnami/ctlscript.sh stop mysql
mv /opt/bitnami/mysql/scripts/ctl.sh /opt/bitnami/mysql/scripts/ctl.sh.disabled
mv /opt/bitnami/config/monit/conf.d/mysql.conf /opt/bitnami/config/monit/conf.d/mysql.conf.disabled

Apache Config

VirtualHost entry for wordpress is available on file

vi /opt/bitnami/apache2/conf/bitnami/bitnami.conf

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *