• Hi there, I am trying to do a project for my linux class. WordPress is successfully installed through the terminal and I used these commands to do it. But when i go to my school’s ip address (i am assigned a machine from school), it gives page not found.

    Steps:
    yum update
    Install Apache/Mysql/PHP/Unzip/Wget:
    yum -y install mysql-server httpd php php-mysql unzip wget
    chkconfig httpd on
    chkconfig mysqld on
    /etc/init.d/mysqld start
    /etc/init.d/httpd start
    mysql -u root
    mysql> use mysql;
    mysql> update user set password=PASSWORD(“NEWPASSWORD”) where User=’root’;
    mysql> flush privileges;

    Setup WordPress Database
    mysql> CREATE DATABASE wordpress;
    mysql> GRANT ALL PRIVILEGES ON wordpress.* TO ‘wordpress’@’localhost’ IDENTIFIED BY ‘YOURPASSWORD’;
    mysql> FLUSH PRIVILEGES;
    mysql> quit;

    Download WordPress
    cd /var/www/html
    wget http://wordpress.org/latest.zip
    unzip latest.zip
    rm latest.zip
    mv wordpress/* ./
    rmdir wordpress/
    mkdir wp-content/uploads wp-content/cache
    chown apache:apache wp-content/uploads wp-content/cache ./

    Open and configure WordPress
    http://204.174.**.***/

    So when I go my server’s address it gives me page not found like I state previously.

    What’s going wrong?

    ALSO, I tried to install on VMWare Player running CentOS as well and it works!

    🙁

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi D3158,

    The first thing I would troubleshoot is why you’re getting a “page not found”. For example, I would try to put up a standard index.html page that says “testing”, then once you can get that working, attempt to install WordPress.

    The WordPress forums may not be the best place to learn how to install Apache/Mysql/PHP. For example, you may want to try checking out:
    http://www.lamphowto.com/

    Hi D3158,

    I just wanted to touch base and find out if you’ve been able to make any progress on this issue?

    Thread Starter D3158

    (@d3158)

    Hi Christini,
    Sorry I have been swamped with other courses so I couldn’t take time to respond back – until now! 🙂

    No it just doesn’t work. Maybe it’s the syntax issue with the following code?

    mysql> GRANT ALL PRIVILEGES ON wordpress.* TO ‘wordpress’@’localhost’ IDENTIFIED BY ‘YOURPASSWORD’;

    I wrote exactly that line of code except the ` surrounding the word wordpress and localhost. Do I need to change the name of localhost to the server ip address – even though I am using the server which to me is the localhost?

    I don’t know why I am having such a problem with this when I had NO problem with doing the steps I mentioned on a Virtual Machine running CentOS! 🙁

    Thanks Christini and sorry about the delay

    Hi D3158,

    But when i go to my school’s ip address (i am assigned a machine from school), it gives page not found.

    Before we can troubleshoot your MySQL (if there is a problem), we’ll need to ensure we have resolved the “page not found” issue. I don’t believe that you mentioned it, but were you able to resolve that? If so, can you give us the url / ip to your WordPress site?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WordPress ip address’ is closed to new replies.