LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-13-2006, 12:58 PM   #1
mbvo
Member
 
Registered: May 2006
Location: the land of confusion
Distribution: slackware-current
Posts: 220

Rep: Reputation: 31
Linux vs. win 2k web server


Hi,

I've got 5 windows systems on a network right now. I've been thinking about setting up my web server with linux. But I have absolutely no money. How hard would it be to set up linux as a second OS on an NTFS partition? And how hard would it be to transfer from IIS 5.0 to what ever http and ftp server I can get with Linux? I've heard linux is a very stable OS but what evactly are all the pro's and cons to Linux? Also with a web site running I have to make the transfer as smooth and quick as possable.
 
Old 05-13-2006, 01:19 PM   #2
lotusjps46
Member
 
Registered: Apr 2003
Location: Dallas
Distribution: Vector Linux, Suse 10.1
Posts: 186

Rep: Reputation: 30
Setting up a webserver on Linux is not too hard. Installing Linux is not as hard as installing XP, but it is different.

Linux installs to a Linux partition (a type ext3 or reiserfs format, not NTFS). Yes, there ARE Linux distributions that will run on a MS partition, but they are for demonstrations and tools, not web servers.

For a first time install Ubuntu or Fedora Core are good, if the machine is more that 600hmz and 256meg. Both have good update capabilities, which is important fromm a security point of view for a server. The best is probably Slackware or Debian with a non-GUI install, but that means learning all the commands with no graphics, which would be daunting.

Almost any Linux distribution either comes with Apache or Apache2, and ProFTP, or has them available as packages. There is allot of information on configuring these available on the net. To flatten the learning curve use pre-compiled packages instead of installing software from the source code. That means you get software in packages using apt-get or Synaptic Package Manager or Yast, or some other package manager system. Use whatever comes with your distribution. Compiling from source is time consuming and frustrating. Save it for later.

Everything you need is free. Download it and install it on a spare box. A simple Apache webserver is started by opening a terminal, and becomming root with "su" and the root pasword, and typing "httpd start". "httpd stop " stops it. The website files go in /var/www/htdocs. There is a test index.html in there that should appear in a browser with that computer's IP address.

Good luck.

C
 
Old 05-13-2006, 01:27 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
I started my first migration by installing Apache on my Windows server and switching evertything from IIS to apache. That gave me the opportunity to learn the apache config files and how all that stuff worked. Once I saw how that worked and how stable it was I migrated everything from Windows to Linux.. One step at a time made the process easier for me because I could first learn apache, and not worry about changes in how the OS functioned. Once I was comfortable with those Changes I switched the OS.

apache_2.2.2-win32-x86-no_ssl.msi Apache 2.2 installer for windows.

Please note you can NOT run IIS and apache at the same time on the same PC un the same port... you either need to stop IIS and start Apache, or set apache to run on a port other than 80 while you are experimenting.

Last edited by farslayer; 05-13-2006 at 01:29 PM.
 
Old 05-13-2006, 01:37 PM   #4
mbvo
Member
 
Registered: May 2006
Location: the land of confusion
Distribution: slackware-current
Posts: 220

Original Poster
Rep: Reputation: 31
it's a:

800 Mhz Intel Pentium III
128 Mb RAM
80 Gb hard drive(although I have a 40 Gb that I haven't tried)

everything was found in the trash and put together /w a copy of windows from another computer(I rarley buy computer parts dumpster diving and repairing is cheaper)

I can probably learn the commands easily. I've used mac OS(whatever was new in 95), DOS 5.5-6.2, and windows 3.1, 3.11, 95, 98 se, nt 4.0 workstation and server, 2000 pro, and xp home and pro, not yet tried me or 2003. I'm guessing that there should be ether a sell out there or coming out soon for those copies of lynux. But like I said everything has to be done as fast as possable since I have a web site going(i'm also suplying web space for a friend).

P.S. my server is at http://24.136.209.5 (been using no-ip.com redirects to remember easily) or soon to be http://jetfighteriv.info
 
Old 05-13-2006, 01:39 PM   #5
mbvo
Member
 
Registered: May 2006
Location: the land of confusion
Distribution: slackware-current
Posts: 220

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by farslayer
Please note you can NOT run IIS and apache at the same time on the same PC un the same port... you either need to stop IIS and start Apache, or set apache to run on a port other than 80 while you are experimenting.
that just takes common sence
 
Old 05-13-2006, 01:55 PM   #6
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,923

Rep: Reputation: 278Reputation: 278Reputation: 278
Linux is a command line driven os. All the management of apache is command line. In fact, you can't run a gui desktop on a webserver that is for anything serious because the machine will slow to a crawl after a while. Text only linux is a much better performer than gui linux, anyway. Debian has an install option for web server. If you pick that option during the install everything will be configured for you. But, 128 MB ram is going to be tough. You might want to consider building a new kernel. If you need to know how to do that you will have to read a little.
 
Old 05-13-2006, 04:19 PM   #7
mbvo
Member
 
Registered: May 2006
Location: the land of confusion
Distribution: slackware-current
Posts: 220

Original Poster
Rep: Reputation: 31
also I've got 2 forums that the database is a microsoft access database. how can i get them to work in linux?
 
Old 05-13-2006, 07:32 PM   #8
mbvo
Member
 
Registered: May 2006
Location: the land of confusion
Distribution: slackware-current
Posts: 220

Original Poster
Rep: Reputation: 31
ok i think i can convert my database to sql but the forums are asp forums requireing access, mysql or sqlserver. how do i do that in linux?
 
Old 05-14-2006, 01:06 AM   #9
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by mbvo
that just takes common sence
Have to play to the Lowest common denominator, you never can tell the experience level of the person to which you are speaking in the forum.. if you don't say it, their next post will be complaining it doesn't work because the port is in use, if you do say it then they feel as though they are being talked down to.. just can't win
 
Old 05-14-2006, 01:13 AM   #10
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by mbvo
ok i think i can convert my database to sql but the forums are asp forums requireing access, mysql or sqlserver. how do i do that in linux?
you could try apache:asp http://www.apache-asp.org/index.html
 
Old 05-14-2006, 01:37 AM   #11
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 813

Rep: Reputation: 195Reputation: 195
Frankly, with the amount of windows specific stuff you have (IIS, 2 databases in MS-access, asp form software), I think conversion is not practical (unless you have infinite time and infinitely patient users). A better option may be to:

(1) Make a decent web server configuration. Depending on the distribution, 64 MB RAM should do.
(2) Find equivalent forum software to your asp forums (for example what runs this site),
(3) Do a feature comparison to see what you might get extra (and not get also),
(4) Dump the forum history data into mysql,
(5) Trial phase and GO LIVE.

Of course with 5 users on your network, you need not even migrate the old stuff if it is acceptable to the end users. (Keep the old stuff on the old "server" and all new threads on the liinux/apache/mysql/php box).

End
 
Old 05-14-2006, 08:46 AM   #12
lotusjps46
Member
 
Registered: Apr 2003
Location: Dallas
Distribution: Vector Linux, Suse 10.1
Posts: 186

Rep: Reputation: 30
mbvo, I checked out the no-ip.com that you mentioned. Are you on a dynamic IP? My server is on my desktop machine, with a GUI and everything (Slackware 10.2), and it is connected through a regular DSL line that changes IP about once a week (been running like this for years with no problems).

I use www.dnsexit.com for my domain name server. They provide DNS service that can be updated automaticly by your server so that you can always see your website on the internet from anywhere. It is a real DNS; it uses my real domain name (notmyrealdomain.com), not "notmyrealdomain.noip.com". They even offer several pieces of Linux software to run on your server to update the IP automaticly. It is also free (as in beer).

Just a thought.

C
 
Old 05-14-2006, 01:22 PM   #13
mbvo
Member
 
Registered: May 2006
Location: the land of confusion
Distribution: slackware-current
Posts: 220

Original Poster
Rep: Reputation: 31
I'm using what i thought was a dynamic ip addy but it only changes if the cable modem is connected to the computer directly. When connected to the router it's always 24.136.209.5. idk what the differance is but it works for me. I found a good price on a domain name at ipower.com but i'm still waiting for the email telling me what to do to make it go to my web site. 24.136.209.5 will soon be jetfighteriv.info.

I would realy like it if I could transfer the same forum. What I was planning to do is for maybe a couple hours the server would go down while i try to set up linux as a second OS. I've already warned the only ppl(that i know of) that view the web site that it may go down for short amounts of time and why.
 
  


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
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 07:21 AM
Help me setting up my web server and win free 100MB webspace with your own domain abimanyu007 Linux - Networking 9 09-07-2004 06:17 PM
so is a web server running Linux without X 4x faster than win2k server? Mr. Mojo Risin General 3 09-02-2003 08:41 PM
Setup a linux server, DNS, WEB, FTP, and Mail Server Help watermelon_lee Linux - Networking 1 08-26-2003 04:09 AM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 03:38 AM


All times are GMT -5. The time now is 10:05 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