sudo /opt/bitnami/ctlscript.sh restart
sudo /opt/bitnami/ctlscript.sh restart apache
余談: local host に 自分のパソコン(ブラウザ)からアクセスする。
Linux And Mac OS X
To access the application using your Web browser, create an SSH tunnel, as described below.
Make sure you can log in to the server using SSH. Refer to the FAQ for more information on this.
Open a new SSH session to the server using the command below:
ssh -N -L 8888:127.0.0.1:80 -i KEYFILE bitnami@SERVER-IP
Remember to replace KEYFILE in the previous commands with the path to your private key file, and SERVER-IP with the public IP address or hostname of your server. Note that if successful, this command will create an SSH tunnel but will not display any output on the server console.
While the tunnel is active, you should be able to access the phpMyAdmin console through the secure SSH tunnel you created, by browsing to http://127.0.0.1:8888/phpmyadmin.
To log in, use username root for MySQL and the application password from the detail page for your cloud server.