Installing Craft CMS on Linux Mint OS? I am totally newbie in Craft CMS so don't be harsh to me.

While coming to my problem I am getting Error : 404 while installing Craft CMS on my local server Linux Mint OS please someone guide me to install Craft CMS successfully on my local server,I followed below basic steps..


Created db gave db details in db.php.
Renamed htaccess to .htaccess.


My folder structure was 

/var/www/html/Craftdemo/craft and public



  My local server configured correctly and is working good enough to run
  my other sites like Wordpress/Magento and some JS files.


Thanks in advance
Nobody is going to be harsh here, so don't worry. The Craft community is a nice place :-)

Sounds like the site root is not pointing to the Craft public accessible folder (the one with index.php). Can you open the URL to another file in the site root? Add a test.txt file for example and try to open it in your browser.

Regarding the .htaccess file: You are using apache, right? .htaccess doesn't work for nginx. Might sound obvious, but you wouldn't be the first to make this mistake. ;-)