CentOS LAMP + Wordpress - what's my FTP credentials? [newb]
So, I did a fresh install of CentOS, added the IUS Community RPMs for the newest MySQL and PHP, installed that and (Apache) HTTPd on it, configured the vhost.conf and all that, and the sites are now working properly except for when I try do for example do an automatic update/install themes or plugins I get asked for my FTP credentials.
And since I'm completely black in regards to hosting, linux and all that, this has me stuck. I've searched around, but alas, no luck. I of course initially tried using the root-user, but didn't work. So, I was just wondering if any of you know what to do in this case? Should I install some FPT-client or is it just a case of me missing the default FTP-user?
Thanks in advance!
2 Replies
Personally I don't do the FTP route with WP if I can help it, instead chown -R the installation to the user of the web server so it can write to the files, then updated it then chown -R it back to the old user.
Anyhow, that leads me to the next question. Since this installation is about two days old, the only user that I have any knowledge about is the root user (and the two MySQL-users for the databases). How do I know what user owns the installation/Apache and such? And how do I create a user that can take ownership for the installation etc.?