yumengbai / wp-settings

0 stars 0 forks source link

bitnami remove ad #4

Open yumengbai opened 4 years ago

yumengbai commented 4 years ago

to reenable bnconfig:

sudo mv /opt/bitnami/apps/wordpress/bnconfig.disabled /opt/bitnami/apps/wordpress/bnconfig

don't forget to disable again before any server restart

sudo mv /opt/bitnami/apps/wordpress/bnconfig /opt/bitnami/apps/wordpress/bnconfig.disabled

yumengbai commented 4 years ago

Log in to into your server console using SSH and execute the following command. Remember to replace APPNAME with the actual name or directory location of your application.

sudo /opt/bitnami/apps/APPNAME/bnconfig --disable_banner 1

yumengbai commented 4 years ago

Restart the Web server.

If you’re using Apache, execute the command below:

sudo /opt/bitnami/ctlscript.sh restart apache If you’re using NGINX, execute the command below:

sudo /opt/bitnami/ctlscript.sh restart nginx