For Windows
-
Install WampServer (https://sourceforge.net/projects/wampserver/files/latest/download)
-
Download the code as zip("Music-Database-System.zip"),extract it and copy it to C:\wamp64\www
-
Go to http://localhost/phpmyadmin/, login with username = "root"(there is no password)
-
Import db_music.sql to phpMyAdmin
For Ubuntu
- Install LAMP and phpMyAdmin in Ubuntu
Do the following (one-time):
2. To put files in /var/www/html you need root permission. For that, set the root password(if already not set):
sudo passwd root
Now login as root:
su root
Give permission to the folder:
sudo chmod 755 -R /var/www/html
or
sudo chmod 755 /var/www/html
- Run the following commands:
cd /etc/apache2
nano apache2.conf
Change the below code:
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
as:
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
-
Enable rewrite mode:
sudo a2enmod rewrite
Restart apache server:
sudo service apache2 restart -
Download the code as zip("Music-Database-System.zip"),extract it and copy it to /var/www/html/
-
Go to http://localhost/phpmyadmin/, login with username = "root"(there is no password)
-
Import db_music.sql to phpMyAdmin