cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 installation in Linux Mint

Magento 2 installation in Linux Mint

I am using Linux Mint. I installed Magento 2. I tried to browse Admin Panel. But I couldn't browse. Then I found I have to change file & folder permission. I tried below command to change file permission.
 
foysal@foysal-laptop /var/www/html/aloquick $ find . -type f -exec chmod 644 {} \;
 
I got below result.
 
chmod: changing permissions of './var/generation/Magento/Weee/Model/Tax/Proxy.php': Operation not permitted
 
I tried below command to change folder permission.
 
foysal@foysal-laptop /var/www/html/aloquick $ find . -type d -exec chmod 775 {} \;
 
I got below result.
 
chmod: changing permissions of './var/generation': Operation not permitted
 
I executed (sudo find . -type f -exec chmod 644 {} \; sudo find . -type d -exec chmod 775 {} \Smiley Wink this commands. But I can't browse both front end and back end of the site.
 
Where is the issue ? Am I using wrong commands ?