# mysqld
sudo /opt/bitnami/ctlscript.sh stop mysql
sudo /opt/bitnami/ctlscript.sh start mysql
sudo /opt/bitnami/ctlscript.sh restart mysql
자동실행 차단
sudo mv /opt/bitnami/mysql/scripts/ctl.sh /opt/bitnami/mysql/scripts/ctl.sh.disabled
# apache
sudo /opt/bitnami/ctlscript.sh stop apache
sudo /opt/bitnami/ctlscript.sh start apache
sudo /opt/bitnami/ctlscript.sh restart apache
# php-fpm
sudo /opt/bitnami/ctlscript.sh stop php-fpm
sudo /opt/bitnami/ctlscript.sh start php-fpm
sudo /opt/bitnami/ctlscript.sh restart php-fpm
# php 7.x로 업그레이드
sudo /opt/bitnami/ctlscript.sh stop
sudo mv /opt/bitnami /opt/bitnami.back
cd
wget “https://bitnami.com/redirect/to/185888/bitnami-lampstack-7.1.16-0-linux-x64-installer.run”
chmod +x ./bitnami-lampstack-7.1.16-0-linux-x64-installer.run
sudo ./bitnami-lampstack-7.1.16-0-linux-x64-installer.run
sudo /opt/bitnami/ctlscript.sh restart apache