SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Enthusiast mildfoam's Avatar
    Join Date
    May 2010
    Location
    Australia.
    Posts
    56
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    [ask] how to install - nginx, php, mysql, phpmyadmin

    Hi there,

    I just want to ask how i can use nginx server as well as Apache to substitute this one .

    I've heard nginx is more stable than Apache , right ? I'm using windows based at this moment but sometime i would use Linux

    hope someone can help me learn how to install nginx, php, mySQL and phpmyadmin

    thank you

  2. #2
    SitePoint Wizard silver trophy Karl's Avatar
    Join Date
    Jul 1999
    Location
    Derbyshire, UK
    Posts
    4,411
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    It's not often I tell people to Google, as we don't really like that on SitePoint, but in this instance it really is the best course of action:

    http://www.google.co.uk/search?sourc...centos+and+php

    Some of those links for you:

    http://www.cyberciti.biz/faq/rhel-fe...re-nginx-php5/

    http://adityo.blog.binusian.org/?p=428

    http://library.linode.com/web-server...stcgi/centos-5

    http://en.ispdoc.com/index.php/Insta...n_CentOS_Linux

    CentOS is a Linux distribution, it's based off of a well known distribution of Linux and is used by many hosting companies - Your best bet is to get an old PC and try it on there, or a cheap VPS from somewhere like VPS.net and have a play around with it.

    Installing MySQL with CentOS is pretty trivial for the standard version that comes with the OS i.e.:

    yum install mysql-server

    Similar for PHP:

    yum install php

    Although to work with nginx you'll need to do a bit more than that as advised in the above articles.

    Thanks,
    Karl Austin :: Profile :: KDA Web Services Ltd.
    Business Web Hosting :: Managed Dedicated Hosting
    Call 0800 542 9764 today and ask how we can help your business grow.

  3. #3
    SitePoint Guru Jason__C's Avatar
    Join Date
    Oct 2009
    Location
    Racoon City
    Posts
    656
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I'll just add. If you go with linux, I would choose CentOS also. I have it on a box (along with Win Server box), and couldn't be more pleased with it. Very easy to use, Great UI, and easy to find your way around. It's the closest you'll get to a Windows OS...without the price.

  4. #4
    SitePoint Wizard silver trophy Karl's Avatar
    Join Date
    Jul 1999
    Location
    Derbyshire, UK
    Posts
    4,411
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    Just as an aside, you don't want to be installing a desktop environment such as Gnome or KDE on to a server.

    Thanks,
    Karl Austin :: Profile :: KDA Web Services Ltd.
    Business Web Hosting :: Managed Dedicated Hosting
    Call 0800 542 9764 today and ask how we can help your business grow.

  5. #5
    SitePoint Guru Jason__C's Avatar
    Join Date
    Oct 2009
    Location
    Racoon City
    Posts
    656
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Karl View Post
    Hi,

    Just as an aside, you don't want to be installing a desktop environment such as Gnome or KDE on to a server.

    Thanks,
    Really? Wow, I did not know that. I am using KDE for the GUI. Is their a reason for not using either package? So, it would just be the Command-Line? Learn something everyday. Thanks

  6. #6
    SitePoint Wizard silver trophy Karl's Avatar
    Join Date
    Jul 1999
    Location
    Derbyshire, UK
    Posts
    4,411
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    Security is the main concern, the X Windowing system has never been all that in terms of security - I think they still recommend you don't run it on any Internet exposed servers (don't quote me on that though). You're presenting a much larger attack surface to any hackers etc. the more you have installed on a server.

    Thanks,
    Karl Austin :: Profile :: KDA Web Services Ltd.
    Business Web Hosting :: Managed Dedicated Hosting
    Call 0800 542 9764 today and ask how we can help your business grow.

  7. #7
    SitePoint Guru Jason__C's Avatar
    Join Date
    Oct 2009
    Location
    Racoon City
    Posts
    656
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Karl View Post
    Hi,

    Security is the main concern, the X Windowing system has never been all that in terms of security - I think they still recommend you don't run it on any Internet exposed servers (don't quote me on that though). You're presenting a much larger attack surface to any hackers etc. the more you have installed on a server.

    Thanks,
    Ok, that makes sense. I guess I better change my setup when I go live, and also get a manual on commands. That should be fun. lol


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •