I have just installed a new Magento 2 site, however when I open the home page, I only saw content without styling
You need to deploy static content of Magento 2.
You can run following command when you move to magento 2’s root folder
php bin/magento setup:static-content:deploy
and also make sure your files have correct ownership and permissions
e.g if your web server is running as www-data, you should check the owner of files are www-data, otherwise you should change the owner of all magento 2’s files by following command.
chown www-data:www-data -R *