Results 1 to 19 of 19
Thread: New to dedicated server
-
10-17-2006, 01:11 PM #1Junior Guru Wannabe
- 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
-
10-17-2006, 01:55 PM #2Disabled
- Join Date
- Apr 2005
- Location
- Cochin
- Posts
- 2,452
Originally Posted by er1cw
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
-
10-17-2006, 01:58 PM #3Junior Guru
- Join Date
- May 2006
- Posts
- 237
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.
-
10-17-2006, 07:12 PM #4Junior Guru Wannabe
- Join Date
- Sep 2006
- Posts
- 31
Ok, thanks. Any recommended os ?
-
10-17-2006, 07:14 PM #5Junior Guru
- Join Date
- May 2006
- Posts
- 237
CentOS is very nice.
-
10-17-2006, 07:16 PM #6Web Hosting Master
- 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.
-
10-17-2006, 08:20 PM #7Junior Guru Wannabe
- 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
-
10-17-2006, 10:19 PM #8Junior Guru
- Join Date
- May 2006
- Posts
- 237
Sounds great keep us posted.
-
10-18-2006, 06:19 AM #9The least among you.
- 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-18-2006, 09:36 PM #10Junior Guru Wannabe
- 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
-
10-18-2006, 09:37 PM #11Junior Guru Wannabe
- Join Date
- Sep 2006
- Posts
- 31
I also installed apache2 via shell, i cant seems ot remove it now
-
10-18-2006, 09:39 PM #12Junior Guru Wannabe
- 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
-
10-18-2006, 09:55 PM #13Web Hosting Master
- 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.
-
10-18-2006, 10:31 PM #14Junior Guru Wannabe
- Join Date
- Sep 2006
- Posts
- 31
how can i modify the httpd.conf ?
-
10-18-2006, 10:55 PM #15New Member
- Join Date
- Oct 2006
- Posts
- 2
nano -w /etc/httpd/conf/httpd.conf
-
10-18-2006, 11:14 PM #16Retired Moderator
- 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.
-
10-18-2006, 11:26 PM #17Junior Guru Wannabe
- 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 ?
-
10-18-2006, 11:33 PM #18Web Hosting Master
- 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.
-
10-19-2006, 05:03 AM #19Junior Guru Wannabe
- 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