recreate project

This commit is contained in:
root
2026-02-10 22:11:06 -05:00
commit 663c0cdbda
10149 changed files with 1379710 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
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