CentOS LAMP + Wordpress - what's my FTP credentials? [newb]

Okay, so I've been constantly crashing all my linux distributions the last couple of weeks mostly for fun and learning, however, I now do feel like I should actually use the Linode for what I originally intended it to do, host websites.

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! :D

Oh, and I didn't really know where to put this post, hope it is in the right category.

2 Replies

Unless you installed a FTP server then you won't have any FTP credentials.

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.

Heh, I obviously should've thought that not installing a FTP server wouldn't add it.

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.?

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct