LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-13-2008, 03:39 AM   #1
plk
Member
 
Registered: May 2007
Location: Krakow, Poland
Distribution: Dell Inspiron 6400 - Intel Core 2 Duo - Ubuntu 8.04
Posts: 57

Rep: Reputation: 15
Linux Box As Server


Hi there,
I just have a quick question ..

Is it true that you can use any linux distribution to run your machine as a server or you need to have a special distro such as ubuntu server?

I'm quite confused actually ..


Thnkas a lot
 
Old 04-13-2008, 03:49 AM   #2
SqdnGuns
Senior Member
 
Registered: Aug 2005
Location: Peoples Republic of Kalifornia
Distribution: Slackware64 Current
Posts: 1,038

Rep: Reputation: 127Reputation: 127
Quote:
Originally Posted by plk View Post
Hi there,
I just have a quick question ..

Is it true that you can use any linux distribution to run your machine as a server or you need to have a special distro such as ubuntu server?

I'm quite confused actually ..


Thnkas a lot
Most distros are fine, depends on what type of server?
 
Old 04-13-2008, 04:51 AM   #3
plk
Member
 
Registered: May 2007
Location: Krakow, Poland
Distribution: Dell Inspiron 6400 - Intel Core 2 Duo - Ubuntu 8.04
Posts: 57

Original Poster
Rep: Reputation: 15
Well, as web server, like when a my comp is on, people can connect to my port 80. ...

Also, if I have a mysql database, which I am tryinh to set up on localhost (with no luck so far because of some root password problem) can people actually connect to it?

Im quite new to network programming im afraid :-/

Cheers
 
Old 04-13-2008, 05:45 AM   #4
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Anyone will be able to connect to your server if you choose to allow them.

If you want a web server, then you will need to install Apache (or similar) and then open port 80 through your firewall. Most likely, you will need to forward port 80 on your DSL modem to your Linux box.

Other people will then be able to connect by going to your Public IP address (not the 192.168.0.0/16 address, that is a private address meaningful only on your LAN). Your Public IP address is assigned to you by your ISP. Hopefully, you can get a Static one, and then you can register a domain.

I hope this helps
--Ian
 
Old 04-13-2008, 09:05 AM   #5
mayhemt
Member
 
Registered: Sep 2005
Location: irving TX
Distribution: SuSe, Kubuntu, Win$ucks
Posts: 50

Rep: Reputation: 15
Quote:
Also, if I have a mysql database, which I am tryinh to set up on localhost (with no luck so far because of some root password problem) can people actually connect to it?
For configuring mysql, search for phpmyadmin package for your distro & install it. Once installed goto http://<yourmachine>/myphpadmin to configure mysql databases. Very easy thing to use, you need now know much SQL to use it.
 
Old 04-13-2008, 09:14 AM   #6
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
Ubuntu Server Definition

Quote:
Originally Posted by plk View Post
Hi there,
I just have a quick question ..

Is it true that you can use any linux distribution to run your machine as a server or you need to have a special distro such as ubuntu server?

I'm quite confused actually ..


Thnkas a lot
I use Ubuntu but initially was confused by the term Ubuntu Server. Red Hat EL, Fedora, and other distributions usually allow you to download server components as part of the install.

Ubuntu Desktop has components installed by default, which usually do not include typical server components, like MySQL, Apache, sendmail and other components seen as server (or workstation) components.

When you install Ubuntu server, you get LAMP (PHP, MySQL, and Apache) by default without an X-interface. Ubuntu server can be easily have an X interface installed, as Ubuntu desktop can be configured with server and programming components.

It is a little extra work to take Ubuntu desktop and add programming and server components, but it is worth it, at least for me.

As the other posters have stated, you can grab any distribution and either install or later configure it with server components.
 
Old 04-13-2008, 01:34 PM   #7
dbmacartney
Member
 
Registered: Mar 2007
Location: London, UK
Distribution: Debian, Red Hat Enterprise, Fedora
Posts: 70

Rep: Reputation: 15
Quote:
Originally Posted by mayhemt View Post
For configuring mysql, search for phpmyadmin package for your distro & install it. Once installed goto http://<yourmachine>/myphpadmin to configure mysql databases. Very easy thing to use, you need now know much SQL to use it.
MySQL also provide their own graphical client to manage mysql databases which I have found more useful that phpmyadmin in the past.

I use ubuntu and I have "mysql-query-browser" on my desktop which gives me this client.
 
Old 04-14-2008, 09:59 AM   #8
plk
Member
 
Registered: May 2007
Location: Krakow, Poland
Distribution: Dell Inspiron 6400 - Intel Core 2 Duo - Ubuntu 8.04
Posts: 57

Original Poster
Rep: Reputation: 15
Thank you all for your posts.
I have apache running together with mysql and phpmyadmin. Just need to learn a little bit more about all of the stuff. I unfortunately dont have a static ip but what I have is enough to et me started.

Again, thank you all.

plk
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux box as a FTP server Wendy Grimmette Linux - Newbie 4 08-28-2006 09:52 AM
Best linux web server on this box? phstpok Linux - General 3 07-19-2006 05:22 PM
please help - using linux box as server for win2k ruwach Linux - Networking 9 08-29-2004 03:59 PM
ftp server behind linux box mafa Linux - Networking 5 09-29-2003 02:54 PM
mail server behind linux box antken Linux - Networking 6 02-18-2003 02:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration