i am unable to install moodle as webinstaller not showin saying 404 error but i ave the moodle directory in my /var/www/ folder
though my web server is running and showing the index file.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
hello, ihave hosted a moodle site,
today i did the mysqldump by folowing code:
mysqldump -u username -p dbname > dbname.sql
so it shows mysqldump: Got error: 1044: Access denied for user ‘root’@‘localhost’ to database ‘moodle’ when using LOCK TABLES
so i goggled and found that inserting --single-transaction in the line can help so i did
mysqldump --single-transaction -u username -p dbname > dbname.sql
but now on my moodle site am unable to restore the course backup, it says cannot connect to server
It looks like you’re running a recent version of Ubuntu. As of Ubuntu 13.10, the default document root was changed from /var/www to /var/www/html, so you need to either:
If you decide to go with (2), you can change your DocumentRoot by editing /etc/apache2/sites-enabled/000-default.conf, replacing /var/www/html with /var/www and restarting Apache:
sudo service apache2 restart