Files
2026-02-10 22:11:06 -05:00

30 lines
802 B
Plaintext

apt update
apt upgrade
nano /var/ww/codeigniter/app/Config/App.php
#copy the content of the project folder into "/var/www/codeigniter/"
#make sure the permissions is granted
chown -R www-data:www-data /var/www/codeigniter/writable/cache/
chmod -R 775 /var/www/codeigniter/writable/cache/
chown -R www-data:www-data /var/www/codeigniter/writable/session/
chmod -R 775 /var/www/codeigniter/writable/session/
rm -rf /var/www/codeigniter/writable/cache/*
systemctl restart apache2
nano /etc/mysql/mariadb.conf.d/50-server.cnf or nano /etc/mysql/my.cnf
bind-address = 0.0.0.0
#run myphpadmin in docker container poiting to remote database
docker run --name myphpmyadmin -d \
-e PMA_HOST=192.168.3.126 \
-e PMA_PORT=3306 \
-e PMA_USER=alrahma \
-e PMA_PASSWORD=@alrahma2024 \
-p 8080:80 \
phpmyadmin