PDA

View Full Version : running a small server


lesmond
2004-04-03, 04:28 AM CST
Hi all

I am new to Fedora/Linux, so what I want to know is will it be ok to install Fedora on my second HD (20gb) i.e dual boot. Mainly I want it for running a small server, which I do already with windows xp, and its running OK so far! but I have been informed that Linux is much better for running servers and the like?
If I install Fedora will I have to keep that running to operate the server? and can I transfer all my website over to Fedora server? so if I boot into windows will my Fedora server stop running?

Lots of questions I know, but I would like to give it a go
I hope I have made myself clear.

Thanks Les:o

foolish
2004-04-03, 04:54 AM CST
First, figure out what services you want to run and check if they are avalable in the fedora core.

GallComp
2004-04-03, 08:50 AM CST
Originally posted by lesmond
and can I transfer all my website over to Fedora server? so if I boot into windows will my Fedora server stop running?


Yes the server will stop running, Fedora is a totally different OS than windows, you can only run one OS at a time in your computer... Dual booting means that you can choose wich Os to load when you start your PC...

And yes you can transfer your website to any Linux based server without a problem, maybe you will need to do some small code modifications depending on the packages that you have installed, but that is minor...

lesmond
2004-04-03, 12:14 PM CST
Ok got it all on and running fine, all I need to do now is get my website files transfered over, BUT how do I do that?

I have just about all packages installed that came with Fedora.

Thanks Les

Jman
2004-04-13, 09:13 PM CDT
Mount the Windows drive from Fedora. To do this, figure out what hard drive it is on. For the first hard drive, first partition, the device name would be /dev/hda1. Chances are that hard drive is ntfs. Add something like this to the end of the /etc/fstab file:
/dev/hda1 /mnt/windows ntfs users 0 0 ntfs might have to changed to vfat if the file system is fat32. However, if you have ntfs you have to install an rpm from this site (http://linux-ntfs.sourceforge.net/rpm/fedora1.html). Now you should be able to mount it by running mount /mnt/windows

That was the hard part. Now just copy the web site from /mnt/windows to Fedora, typically under the /var/www/html/ directory.

Or you could pack your website into a .zip file, copy it somehow, and unpack it on the Fedora machine.

Bana
2004-04-18, 08:59 PM CDT
Or if it is small enough you can pack it up into a .zip and email it to yourself and then check your email on the Linux side :p

ilja
2004-04-18, 11:01 PM CDT
Do you use it as an operational server? If yes, than it isn't the best way to install all the package to exist. Every application was written by people and they make faults. Off course there are allways bugs, that are found an bettered, but every additional programm is a bit of additional risc for you. So maybe, if you don't want to run it as a news-server (e.g), than remove the packages. Or if it will not a mail-server, than you also don't need some packages. Do you want it to be a LDAP-server? And so on. Mostly you needn't to delete them all, but stopping is often also fine enough.

lesmond
2004-04-22, 02:53 PM CDT
back again! well I got fedora up and running on another pc, all I have on this pc is fedora and its running Ok so far, I have put a test page on floppy to copy over for the server, BUT I cant put anything in /var/www/html it says I dont have permission!
file owner: root
file group: root
I thought that was me! root that is

now what do I do? is there some other way to transfer the files :o

thanks Les