Wordpress, FTP(?), etc. first linode setup
I got my first Linode (640MB) on Friday night.
Installed a CentOS 5 distro.
Then I installed the following:
mysql-server php php-mysql ntp (to keep server clock in sync)</list>
with yum install. Updated everything with yum update.
Then I downloaded, unzipped and installed Wordpress.
Then edited config.php with
define('DB_NAME', 'wordpress1'); // The name of the database define('DB_USER', 'wpuser1'); // Your MySQL username define('DB_PASSWORD', 'wppassword1'); // ...and password
Then with mysql, did the following:
mysql> CREATE DATABASE wordpress1; mysql> GRANT ALL PRIVILEGES ON wordpress1.* TO "wpuser1"@"localhost" mysql> IDENTIFIED BY "wppassword1"; mysql> FLUSH PRIVILEGES;
However, when I try to access wp-admin/install.php in my browser to install/configure it, all I get is an Apache page.
Also, I'm trying to figure how to install and configure the server for FTP. What I'm looking for is the easiest way to do it and/or a walk-through guide, as I'm very much a noob with console and Linux in general. I'll be the only accessing the FTP.
Thanks in advance for your help.
As for FTP, stay away from it, it's very insecure. Especially if you're the only one accessing it, you can just reuse your SSH login/password to connect to your server with SFTP which for all purposes works just like FTP but infinitely more secure. Most sane FTP clients, including FileZilla, supports SFTP as a "server type" option, so you don't even need to install anything else.
Using the ssh adress I get under console for host; assuming that's what I'm supposed to use right? Getting a 'Fatal: unable to initialise SFTP on server: could not connect' error.
As for the Apache page, see yourself:
Your Apache page says:
> If you are the website administrator:
You may now add content to the directory /var/www/html/. Note that until you do so, people visiting your website will see this page and not your content.
Did you put Wordpress in /var/www/html yet? If it's installed elsewhere, either move it to /var/www/html , or edit the configuration file also mentioned in your Apache screen so that Apache knows where Wordpress is. (If you change any configurations, restart Apache by typing "service httpd restart".)
Now, when I access '
I get a 'Error establishing a database connection'
Figure something is wrong with the database server.
Assuming that's MySQL, just not sure where to start looking.
service mysqld status
show that it is running? If not then do
service mysqld start
Simply a mistake of mine, didn't allocate the mysql rights for the user to the right database; simply a typo.
Guess it's what happens when you're too tired after working on it for a while, you forget those little details that makes a big difference.