Just purchased a Windows Virtual Private Server...

Discussion in 'Site & Server Administration' started by BitzDefender, Aug 8, 2010.

  1. #1
    Hi, all. I just bought a windows vps from http://rytechhosting.com/
    To be honest I wasn't expecting an actual OS....anyway I looked at some tutorials and got ftp working. I can connect to the files from another computer. I loaded an html page and when a php function was called it just displayed text. I'm guessing it's because I don't have it installed.

    On google it says to type:
    yum -y install httpd php mysql mysql-server php-mysql

    to install it, but where do I type that?
    http://i33.tinypic.com/2emikjk.png

    That is what the ftp looks like (that's also me on the VPS)

    Can you guys help?
     
    BitzDefender, Aug 8, 2010 IP
  2. Shagoon

    Shagoon Notable Member

    Messages:
    596
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    220
    #2
    "yum -y install httpd php mysql mysql-server php-mysql"
    That is a linux command, and you're saying you got a Windows VPS... somehow this doesn't make sense...
     
    Shagoon, Aug 8, 2010 IP
  3. BitzDefender

    BitzDefender Active Member

    Messages:
    277
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    80
    Digital Goods:
    3
    #3
    It probably doesn't make sense. So how do I install php on a windows vps?
     
    BitzDefender, Aug 8, 2010 IP
  4. Shagoon

    Shagoon Notable Member

    Messages:
    596
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    220
    #4
    Shagoon, Aug 8, 2010 IP
  5. RonBrown

    RonBrown Well-Known Member

    Messages:
    934
    Likes Received:
    55
    Best Answers:
    4
    Trophy Points:
    105
    #5
    Don't install Apache (unless you have a reason to) on Windows. Windows has IIS which is a brilliant stable and secure web server - particularly if your VPS runs 2008.

    You can download the free Web Platform Installer from Microsoft - http://www.microsoft.com/web/downloads/platform.aspx - and it automatically installs a number of applications for you, including .NET, PHP, MS SQL, MySQL, WordPress etc etc. Don't know how good a job it makes of it, or how securely it does the setup, but it will help you out at the moment.

    You need to make sure your server is secure. 2008 is pretty secure out the box, but not ideal for shared hosting. 2003 (IIS 6.0) needs a little more work but can be made very secure. There are plenty of articles on the internet about securing IIS, and a quick search of Google will find them for you.
     
    Last edited: Aug 8, 2010
    RonBrown, Aug 8, 2010 IP
  6. BitzDefender

    BitzDefender Active Member

    Messages:
    277
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    80
    Digital Goods:
    3
    #6
    Ok I can use php now! Thanks, but that's connecting to 127.0.0.1, any idea how to let others connect?
     
    BitzDefender, Aug 8, 2010 IP
  7. BitzDefender

    BitzDefender Active Member

    Messages:
    277
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    80
    Digital Goods:
    3
    #7
    I tried re-connecting via ftp but it's still plain html.
     
    BitzDefender, Aug 8, 2010 IP
  8. Shagoon

    Shagoon Notable Member

    Messages:
    596
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    220
    #8
    That's cause you're using a browser to connect to FTP... try using a FTP client, such as FileZilla.
     
    Shagoon, Aug 8, 2010 IP
  9. BitzDefender

    BitzDefender Active Member

    Messages:
    277
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    80
    Digital Goods:
    3
    #9
    Woo it works. Thank you very much....too bad I'm using this for a php dos shell experiment and it's doing 100 pps...lol
     
    BitzDefender, Aug 8, 2010 IP