- cd /opt/bitnami/apache/conf/vhosts
- sudo rm -rf nilis-mis-prod-http-vhost.conf
- sudo nano nilis-mis-prod-http-vhost.conf
restart apache
- sudo /opt/bitnami/ctlscript.sh restart apache
cd /tmp
wget https://dev.mysql.com/get/mysql-apt-config_0.8.22-1_all.deb
sudo dpkg -i mysql-apt-config*
sudo apt update
if you get a public key error use the below and re-run sudo apt update sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B7B3B788A8D3785C
sudo apt install mysql-server
sudo systemctl status mysql.service
sudo systemctl start mysql.service
netstat -na | grep LISTEN
sudo /opt/bitnami/ctlscript.sh stop mariadb
mv repeatStudents.model.php repeatstudents.model.php
bitnami@ip-172-26-14-159:/htdocs/NILIS-MIS/app/models$ mv admissionToken.model.php admissiontoken.model.php
bitnami@ip-172-26-14-159:/htdocs/NILIS-MIS/app/models$ mv examiner3Subject.model.php examiner3subject.model.php
bitnami@ip-172-26-14-159:/htdocs/NILIS-MIS/app/models$ mv resultSheet.model.php resultsheet.model.php
bitnami@ip-172-26-14-159:/htdocs/NILIS-MIS/app/models$ mv studentAttendance.model.php studentattendance.model.php
bitnami@ip-172-26-14-159:/htdocs/NILIS-MIS/app/models$ mv examParticipants.model.php examparticipants.model.php
bitnami@ip-172-26-14-159:/htdocs/NILIS-MIS/app/models$ mv medicalStudents.model.php medicalstudents.model.php
bitnami@ip-172-26-14-159:/htdocs/NILIS-MIS/app/models$ mv StudentModel.model.php studentmodel.model.php
bitnami@ip-172-26-14-159:/htdocs/NILIS-MIS/app/models$ mv notificationModel.model.php notificationmodel.model.php
sudo chmod -R a+rwx csv