Wordpress does not have the permission to generate .htaccess or config files. I just setup a LAMP server with the apt-ge开发者_StackOverflow社区t install lamp-server^ command on ubuntu.
Thanks.
Your /home/domain.com should have owner to be www-data and group www-data
Access rights for that folder must be 755 (rwxr-xr-x)
basically, just type these two :
sudo chown -R www-data:www-data /home/domain.com
sudo chmod 755 /home/domain.com
I would recommend to review access rights for the various folders of your installation.
It's not a big deal, you can manually create the .htaccess file yourself, wordpress will give you the code that you need to copy paste if it can't create the file itself.
With the config file (guessing you mean wp-config(-sample).php), you can edit those values manually, you don't need to use the installer for that.
Have a read through this page and double check you have all the correct file/folder permissions for your wordpress installation
精彩评论