Ubuntu installation?
What I did after your last step on ubuntu:
wget https://sourceforge.net/projects/openemr/files/OpenEMR%20Current/7.0.0.2/openemr-7.0.0.tar.gz
tar xvzf openemr*.tar.gz
mv openemr-7.0.0 openemr ( mv here to change the name)
sudo mv openemr /var/www/html/
sudo chown -R www-data:www-data /var/www/html/openemr
sudo chmod 666 /var/www/html/openemr/sites/default/sqlconf.php
Then open browser to localhost/openemr to follow the steps.
Make sure you have mod_rewrite installed as the modules require mod_rewrite for the pages to load.
Typically this is done on ubuntu with the following. If you continue to have problems search the forum for apache rewrite and you’ll see lots of information on how people solved this problem.
a2enmod rewrite
sudo systemctl reload apache2
I had the same issue on Debian here is what I did, I edited /etc/apache2/apache.conf like this :
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride FileInfo
Require all granted
</Directory>
Added this in /etc/apache2/sites-enabled/XXXXXX.conf :
<Directory “/var/www/html/openemr”>
AllowOverride FileInfo
Require all granted
</Directory>
<Directory “/var/www/html/openemr/sites”>
AllowOverride None
</Directory>
<Directory “/var/www/html/openemr/sites/*/documents”>
Require all denied
</Directory>
And finally did :
a2enmod rewrite && sudo systemctl restart apache2