What to do after Rebuilding Linux VPS?

Discussion in 'Site & Server Administration' started by MrBryx, Sep 3, 2009.

  1. #1
    I wonder what settings should I set after rebuilding a Linux VPS? I'm using CentOS 5.3 and have HyperVM + Kloxo/Lxadmin control panels. I'm planning running PHP Scripts (Wordpress, SMF, etc.). Kloxo has some warning messages after a fresh install, I set it all up but I think those are just the basic stuff to make the VPS run stable. What about the other things?

    These are the other things I did:
    * Switched program from lighttpd to apache
    * Used djbdns for dns and bogofilter for spam
    * Added a nameserver template
    * Added a mysql database for testing the scripts
    * Added a domain
    * Logged in via root on ssh and did yum update (I'm not sure if this helps)

    Are there any things I missed? I'm asking this because I'm having problems, my scripts seems to be able to add the tables on the database but when its running already, its giving me "Error Number: 1045" and something like "can't connect to userdb@localhost". I googled it and found some GRANT ALL fix, I logged in via SSH as root and did all those mysql commands but still no luck. Did I missed something? What should I check? I can run php scripts that doesn't require a database, but not scripts like wordpress and smf. Please help me out and others that are having the same problem too. Thanks
     
    MrBryx, Sep 3, 2009 IP
  2. whitefire

    whitefire Peon

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    using the wrong mysql password, have you tried using mysqladmin to fix it?
     
    whitefire, Sep 4, 2009 IP