wordpress error 500 & wordpress Path

simply because plugin crash I guess

go to the Path of wordpress



find plugin folder, rename any plugin you think may cause error

go back to your website

change wordpress files deployed by bitnami on AWS

find the path of wordpress


exam file structure apt-get install tree

├── index.php
├── license.txt
├── readme.html
├── wp-activate.php
├── wp-admin
├── wp-blog-header.php
├── wp-comments-post.php
├── wp-config.php
├── wp-config-sample.php
├── wp-content
├── wp-cron.php
├── wp-includes
├── wp-links-opml.php
├── wp-load.php
├── wp-login.php
├── wp-mail.php
├── wp-settings.php
├── wp-signup.php
├── wp-trackback.php
└── xmlrpc.php

in folder wp-content, which contains themes that can be modified.

bitnami AWS server MySQL config

if you launch a bitnami worldpress server on AWS,

it’s mysql, apache, php-fpm are stored in different locations compares to installed via apt-get

they are monitored and managed by bitnami.

so, go to



./ctlscript.sh status

if you want to restart mysql

./ctlscript.sh restart mysql


use command mysqladmin


MySQL add user privilege

Linux config mysql

go to /etc/mysql/mysql.conf.d/

> vim mysqld.conf

command out

bind-address =


# bind-address =


get in mysql

$ mysql -u root -p  (-localhost)
Enter password:

if you want to create user fun with password love, and who can access the database from anywhere

> create user 'fun'@'%' identified by 'love'


> grant all privileges on *.* to 'fun'@'%' with grant option;

>flush privileges;


mysql> GRANT ALL ON . to root@’′ IDENTIFIED BY ‘your-root-password’;

If … Mysql forget root password

go to the Path of mysql’s config directory



or if you are using bitnami


vim mysqld.cnf   (my.cnf)

under [mysqld]



Now log in to mysql that do not need password, change password for root, e.g.

use mysql

mysql>update user set password=password('newpassword') where user= 'root';

mysql>flush privileges;

difficulty encountered

in bitnami, mysql database’s user table do NOT have column ‘password’, instead it has, ‘authentication_string’ for the password column, so:

mysql>update user set authentication_string=password('newpassword') where user= 'root';

mysql>flush privileges;

password(‘string’), is a function that encrypt the string to safer representation.

then go back to mysql config file and delete  skip-grant-tables

restart mysql


add R to jupyter notebook solve -- unable to load shared object 'somepath/anaconda2/lib/R/modules//R_X11.so'

first simply run

$conda install -c r r-irkernel  

$conda install -c r r-essentials 
if encounter the below error when fire up R

unable to load shared object ‘/home/someuser/anaconda2/lib/R/modules//R_X11.so’:
libSM.so.6/libXrender.so.1: cannot open shared object file: No such file or directory



You need to execute the following commends in orders 

  1. $conda install -c r r-base 
  2. $conda install -c r r-essentials


For Oracle Linux 





Python free space:

Don’t forget to clean up tarballs

$conda clean -a