Results 1 to 19 of 19
  1. #1
    Join Date
    Sep 2006
    Posts
    31

    New to dedicated server

    Hi, i m new to dedicated server, i have no previous linux exprience and im willing to learn them. I will be getting my 1st unmanaged dedicated box very soon due to the growth of my project.

    My question is, how difficult is it to setup a new box for a person with no previous linux experience ? Will install directadmin taken care all the mysql, apache and php issues ? How about webmin ?

    Im using a mac, is it possible to remote my server ? ( server hosted in another country, i will have no physical contact with the box )

    Regards,
    Eric

  2. #2
    Join Date
    Apr 2005
    Location
    Cochin
    Posts
    2,452
    Quote Originally Posted by er1cw
    Hi, i m new to dedicated server, i have no previous linux exprience and im willing to learn them. I will be getting my 1st unmanaged dedicated box very soon due to the growth of my project.

    My question is, how difficult is it to setup a new box for a person with no previous linux experience ? Will install directadmin taken care all the mysql, apache and php issues ? How about webmin ?

    Im using a mac, is it possible to remote my server ? ( server hosted in another country, i will have no physical contact with the box )

    Regards,
    Eric

    Yes Da will take care of all your administration tasks and you can contact support for more than whats beyond the scope of DA.

    you can use ssh clients to remote to your server

  3. #3
    Yes, use Terminal located in Applications >> Utilities folder. To log into your server simply type

    ssh root@ip.of.your.server and hit return. You will be prompted for your root password and then voila, you are in!

    You should then follow precisely the steps to installing your control panel of choice from their documentation.

    Most providers however will install the control panel for you as part of the installation of the server.

  4. #4
    Join Date
    Sep 2006
    Posts
    31
    Ok, thanks. Any recommended os ?

  5. #5
    CentOS is very nice.

  6. #6
    Join Date
    Sep 2005
    Location
    In the office
    Posts
    857
    If you plan on using DA, stick with CentOS.. if your budget is not an issue, it would be smart for you to aim towards a Semi managed or Fully managed server. Good luck.

  7. #7
    Join Date
    Sep 2006
    Posts
    31
    Ok, thanks alot. Forwared the request to helpdesk. Hopefully i can find my way to setup webmin using ssh.

    Will post my noob reviews after the jump

  8. #8
    Sounds great keep us posted.

  9. #9
    Join Date
    Apr 2005
    Location
    Jacksonville, FL
    Posts
    981
    I second the recommendation for CentOS with DA; a good combination. Good luck!

    Now selling BigVPS's!
    Jacksonville Colocation and dedicated servers by colo4jax
    We are *not* a reseller. We own our servers, switches, routers and racks.

  10. #10
    Join Date
    Sep 2006
    Posts
    31
    Voila. I got my server yesterday. 10 minutes after the payment !!

    I login via shell, and have webmin installed straight away. Next thing, i go to webmin modules and install apache, mysql and bla bla bla one by one.. updated my ns records with my registrar. My domain is now pointing to the server.

    At first, everything works perfectly, up until my itchy hand messed up some setting in apache, and now my apache wont start. It says:

    Failed to start apache : Apache does not appear to be running :

    [Thu Oct 19 03:34:38 2006] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
    [Thu Oct 19 03:34:38 2006] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
    [Thu Oct 19 03:34:38 2006] [notice] Apache/2.0.52 (CentOS) configured -- resuming normal operations
    [Thu Oct 19 03:34:38 2006] [alert] Child 30171 returned a Fatal error...\nApache is exiting!
    [Thu Oct 19 03:34:38 2006] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
    Can anyone help ?

  11. #11
    Join Date
    Sep 2006
    Posts
    31
    I also installed apache2 via shell, i cant seems ot remove it now

  12. #12
    Join Date
    Sep 2006
    Posts
    31
    I set the user to root. and now i got this message

    Failed to start apache :
    Syntax error on line 926 of /etc/httpd/conf/httpd.conf:
    Error:\tApache has not been designed to serve pages while\n\trunning as root. There are known race conditions that\n\twill allow any local user to read any file on the system.\n\tIf you still desire to serve pages as root then\n\tadd -DBIG_SECURITY_HOLE to the CFLAGS env variable\n\tand then rebuild the server.\n\tIt is strongly suggested that you instead modify the User\n\tdirective in your httpd.conf file to list a non-root\n\tuser.\n

  13. #13
    Join Date
    Jul 2004
    Location
    Memphis, TN
    Posts
    1,225
    if you don't have it, I would suggest creating a nobody user...then modify the httpd.conf to run as nobody.


    As the warning said above running a webserver as root is a big no no.

  14. #14
    Join Date
    Sep 2006
    Posts
    31
    how can i modify the httpd.conf ?

  15. #15
    nano -w /etc/httpd/conf/httpd.conf

  16. #16
    Join Date
    May 2006
    Location
    San Francisco
    Posts
    7,325
    If this is a mission critical project, I'd recommend that you get some form of management. Otherwise, it's a good learning experience.

  17. #17
    Join Date
    Sep 2006
    Posts
    31
    Thanks, i will give that a try when i reach home later.

    It is not a mission critical project, but i would like to get it up asap. Time = money

    Btw, i have installed apache 1.3 in webmin and apache 2 in shell. How will that effect the server ? Do i have to uninstall any one of them ?

  18. #18
    Join Date
    Jul 2004
    Location
    Memphis, TN
    Posts
    1,225
    YOu don't have to uninstall one of them...just don't start the one you don't want...if you do, you'd have to change the port it listens on otherwise you would have a conflict of ports.

  19. #19
    Join Date
    Sep 2006
    Posts
    31
    Greetings !

    My apache is running now after changing the user to "nobody" and group "nobody". Installed php 4 using yum install php (really easy ). Restart apache and the php module is active now

    I guess im just one step away from setting up my website --upload all the files into /var/usr/www any idea how i can use my ftp client to upload files onto the server ?

    I think i will compile a noob's howto after my website is up. I believe it will benefits many ppl

Posting Permissions

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