Server
- Taxious
- Rum Guzzler
- Posts: 5056
- Joined: Fri Apr 18, 2003 10:16 am
- Location: Denver, CO
Server
I have two hard drives in my computer, one running Linux the other running windows. Would it be feasible to use the Linux drive as a server but leave windows alone? I realize that the web stuff would only be visible when I leave my Linux drive online, but I just want to play around with some SQL, php and stuff like that and don't want to pay for a web host. It would be cool to learn how to start / manage a server as well.
I realize this is probably way over my head but I'm willing to learn if anyone has a good resource site they could shoot at me. Thanks.
I realize this is probably way over my head but I'm willing to learn if anyone has a good resource site they could shoot at me. Thanks.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
-
- Master n00b
- Posts: 29
- Joined: Fri Dec 20, 2002 8:05 pm
Before I attempt to answer this question I need some clarification.
Are you asking if you can run two operating systems simultaneously in one computer from two different HD's? If that is your question, then no you cannot do that. Each operating system will need its own CPU memory peripherals etc.
If you are asking about dual booting a computer with Linux and Winblows, then yes but it seems like you are already doing that hence the need for clarification.
Finally if you want to run windows inside linux you can look into some of the emulation software out there that allows you to run winOS's while running linux. WINE is one such emulator and more info can be had at http://www.winehq.com/ WINE is by no means perfect but for some applications it will get the job done.
Good luck
Are you asking if you can run two operating systems simultaneously in one computer from two different HD's? If that is your question, then no you cannot do that. Each operating system will need its own CPU memory peripherals etc.
If you are asking about dual booting a computer with Linux and Winblows, then yes but it seems like you are already doing that hence the need for clarification.
Finally if you want to run windows inside linux you can look into some of the emulation software out there that allows you to run winOS's while running linux. WINE is one such emulator and more info can be had at http://www.winehq.com/ WINE is by no means perfect but for some applications it will get the job done.
Good luck
-
- Grand Master Architecht
- Posts: 406
- Joined: Fri Dec 31, 2004 10:11 pm
Taxious: Yes, that will work just fine, and is probably the most optimal (free) way to do it. Alternatively you could invest in some kind of virtualization software which will allow your computer to have several virtual computers running as many operating systems as you have memory for at the same time, but good virtualization software is pretty expensive. I've had nothing but excellent results running VMware on linux though.
2. Wine does not allow you to run "winOS's" while running linux. It allows you to run binary code compiled against windows libraries in Linux. It simply translates windows library calls to their linux equivilents.
Please do not say Winblows.radhaz wrote: If you are asking about dual booting a computer with Linux and Winblows, then yes but it seems like you are already doing that hence the need for clarification.
1. Wine is not an emulator. It's a translator.radhaz wrote: Finally if you want to run windows inside linux you can look into some of the emulation software out there that allows you to run winOS's while running linux. WINE is one such emulator and more info can be had at http://www.winehq.com/ WINE is by no means perfect but for some applications it will get the job done.
Good luck
2. Wine does not allow you to run "winOS's" while running linux. It allows you to run binary code compiled against windows libraries in Linux. It simply translates windows library calls to their linux equivilents.
- Taxious
- Rum Guzzler
- Posts: 5056
- Joined: Fri Apr 18, 2003 10:16 am
- Location: Denver, CO
I already have both drives in and the different operating systems installed, I've had that for a while. I guess all I'm asking is how to make a Linux server... or any tips / links would be helpful as well.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
-
- Save a Koala, deport an Australian
- Posts: 17517
- Joined: Thu Jan 02, 2003 3:00 pm
- Location: Straya mate!
- Contact:
-
- Fellow n00b
- Posts: 20
- Joined: Tue Jun 17, 2003 11:20 pm
- Location: Phx, AZ
He just wants to know how to make a linux server, I would answer ur question cause it seems like i'm the only one that sees it, but I don't know shit about servers...sorry
Lich Lord Koncave Immolator
OppressorKonvex Lenz
http://eq2players.station.sony.com/en/p ... =117556105
OppressorKonvex Lenz
http://eq2players.station.sony.com/en/p ... =117556105
- Taxious
- Rum Guzzler
- Posts: 5056
- Joined: Fri Apr 18, 2003 10:16 am
- Location: Denver, CO
I'm using a version of redhat... I am interested in trying to get some debian... Let me specify further... I know a little bit about server but not much, (ie the microsoft asp stuff vs the freeware - apache/ mysql/ect...)
So... I need to learn how to use apache with linux.. there ya go.
So... I need to learn how to use apache with linux.. there ya go.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
-
- Grand Master Architecht
- Posts: 406
- Joined: Fri Dec 31, 2004 10:11 pm
Well, if you're interested in Debian you should check out this page:
http://dotdeb.org
It provides packages to turn your Debian install into a kicking LAMP* server. I would just install the debian base system with no extra packages selected and then install the dotdeb packages.
Debian is a great choice for LAMP, and a great server distro. Have a great time with it.
I'm a Debian user too, you can check out my links at http://del.icio.us/ponds/debian , there are some guides for stuff there. Also feel free to ask if you need anything else.
*LAMP means Linux, Apache, MySQL, and PHP ( or Perl or Python )...basically what you need for a Web Application Server, to run software like, say, the Brell Rants boards. I assume this is what you want.
http://dotdeb.org
It provides packages to turn your Debian install into a kicking LAMP* server. I would just install the debian base system with no extra packages selected and then install the dotdeb packages.
Debian is a great choice for LAMP, and a great server distro. Have a great time with it.
I'm a Debian user too, you can check out my links at http://del.icio.us/ponds/debian , there are some guides for stuff there. Also feel free to ask if you need anything else.
*LAMP means Linux, Apache, MySQL, and PHP ( or Perl or Python )...basically what you need for a Web Application Server, to run software like, say, the Brell Rants boards. I assume this is what you want.
- Taxious
- Rum Guzzler
- Posts: 5056
- Joined: Fri Apr 18, 2003 10:16 am
- Location: Denver, CO
Thank you Ickhor I will check it out. I'm not as interested in making a php board as I am just messing around with my own programs and such.
Can cold fusion run on either unix based or windows based servers? Would I be able to install (I know it costs money) ASP on a linux server?
Can cold fusion run on either unix based or windows based servers? Would I be able to install (I know it costs money) ASP on a linux server?
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
-
- Grand Inspector Inquisitor Commander
- Posts: 2636
- Joined: Fri Dec 20, 2002 9:42 pm
-
- Grand Master Architecht
- Posts: 406
- Joined: Fri Dec 31, 2004 10:11 pm
you can install ASP on linux for free, you need mono (a free .NET implementation) and mod_mono (mono integration for apache). It's not "official" ASP, which only works on IIS, but most everything will run on it, since what mono really lacks at this point is windows forms integration, which you won't need for server pages. More info here: http://www.mono-project.com/contributing/asp-net.html . I wouldn't say it's mature enough to use in an enterprise setting, but that isn't really what you're looking for anyway.
If you want to run stable as Bahd advised, and I concur with, you are going to need extra mono packages since the current incarnation of stable (woody) is older than mono. Add this to your /etc/apt/sources.list : http://www.meebey.net/debian/ . Alternatively you can pin unstable, and install mono from unstable.
If you want to run stable as Bahd advised, and I concur with, you are going to need extra mono packages since the current incarnation of stable (woody) is older than mono. Add this to your /etc/apt/sources.list : http://www.meebey.net/debian/ . Alternatively you can pin unstable, and install mono from unstable.
-
- Grand Master Architecht
- Posts: 406
- Joined: Fri Dec 31, 2004 10:11 pm
- Taxious
- Rum Guzzler
- Posts: 5056
- Joined: Fri Apr 18, 2003 10:16 am
- Location: Denver, CO
I just got debian working with kde on the other drive. Good ol' yahoo chat buddies helped me get kde set up since I'm total linux n00b.
I really like the whole idea of being able to change everything. It's pretty cool. The thing that took me the longest was just getting X going haha.
I still have some major issues of course though before I even start trying to set up the server part like... how do you use the internet? It's obviously not like windows where you can insert cable into cable modem and go.
If I press the power button on the computer, it automatically goes to windows. The only way I can boot to grub is if I press f12. Is there a way to make it default to grub instead of the windows drive?
I found how to change the resolution but it only goes up to 800x600. Is there a apt command to load more?
I really like the whole idea of being able to change everything. It's pretty cool. The thing that took me the longest was just getting X going haha.
I still have some major issues of course though before I even start trying to set up the server part like... how do you use the internet? It's obviously not like windows where you can insert cable into cable modem and go.
If I press the power button on the computer, it automatically goes to windows. The only way I can boot to grub is if I press f12. Is there a way to make it default to grub instead of the windows drive?
I found how to change the resolution but it only goes up to 800x600. Is there a apt command to load more?
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
- Taxious
- Rum Guzzler
- Posts: 5056
- Joined: Fri Apr 18, 2003 10:16 am
- Location: Denver, CO
Ok I got the internet working, however can't get firefox to install. (It says it works for most linux versions on the Mozilla site)
Also, are there any good free virus scans for linux or do I not really need to worry about it?
Also, are there any good free virus scans for linux or do I not really need to worry about it?
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
-
- Grand Inspector Inquisitor Commander
- Posts: 2636
- Joined: Fri Dec 20, 2002 9:42 pm
Try typing 'apt-get install firefox'
Might try reading through this: http://www.debian.org/doc/manuals/apt-h ... ex.en.html apt-get is the way you will install most things, so it's good to be familiar with how it works, and what to do when it doesn't.
deselect is another way to install things, and if you're looking to install more than one or two things probably easier than using apt-get by itself. It will give you a list of all the packages you can install, let you pick and choose, show you dependencies, and then use apt-get to install them. It's docs are here: http://www.debian.org/doc/manuals/dsele ... in.en.html
To get the grub menu to come up automatically you'll need to boot from a drive that has it installed on the active partition or on the mbr of the boot disk. If you can pick the second hard drive as a boot drive in your BIOS it's probably the easiest way. Make sure the linux boot partition is active on the drive. Use fdisk for that.
Do you remember having it ask you a bunch of questions for which monitor, video card, mouse, keyboard, etc. you have? That same program should have also asked you which resolutions and color depths you wanted. I don't remember if there's a Debian specific way to configure it, but you may be able to manually configure it by running the xf86config program. It should be /etc/X11. Remember Linux is case sensitive, so don't confuse the script xf86config with the actual configuration file XF86Config.
What video card do you have? If you want hardware acceleration you'll probably have to install a card driver and enable it in your config. It's not absolutely necessary though when you're just fooling around.
To cycles between resolutions in X press ctrl, alt, and minus on the keypad simultaneously. To exit press ctrl, alt, backspace. If it starts X before you login you probably won't be able to exit that way.
Good luck.
Might try reading through this: http://www.debian.org/doc/manuals/apt-h ... ex.en.html apt-get is the way you will install most things, so it's good to be familiar with how it works, and what to do when it doesn't.
deselect is another way to install things, and if you're looking to install more than one or two things probably easier than using apt-get by itself. It will give you a list of all the packages you can install, let you pick and choose, show you dependencies, and then use apt-get to install them. It's docs are here: http://www.debian.org/doc/manuals/dsele ... in.en.html
To get the grub menu to come up automatically you'll need to boot from a drive that has it installed on the active partition or on the mbr of the boot disk. If you can pick the second hard drive as a boot drive in your BIOS it's probably the easiest way. Make sure the linux boot partition is active on the drive. Use fdisk for that.
Do you remember having it ask you a bunch of questions for which monitor, video card, mouse, keyboard, etc. you have? That same program should have also asked you which resolutions and color depths you wanted. I don't remember if there's a Debian specific way to configure it, but you may be able to manually configure it by running the xf86config program. It should be /etc/X11. Remember Linux is case sensitive, so don't confuse the script xf86config with the actual configuration file XF86Config.
What video card do you have? If you want hardware acceleration you'll probably have to install a card driver and enable it in your config. It's not absolutely necessary though when you're just fooling around.
To cycles between resolutions in X press ctrl, alt, and minus on the keypad simultaneously. To exit press ctrl, alt, backspace. If it starts X before you login you probably won't be able to exit that way.
Good luck.

Bahd Zoolander - Transcendent - On Vacation
- Taxious
- Rum Guzzler
- Posts: 5056
- Joined: Fri Apr 18, 2003 10:16 am
- Location: Denver, CO
Video Card: Nvidia Geforce 5200
I remember setting up all the crap for monitor/keyboard/mouse and stuff and remember selecting 1280x1024
I think I might have messed up kde last night. When at the prompt I was just playing around and tried another 'startkde' and it took me to a build-your-own kde/x combo screen. Now it boots to this and I can't seem to get the preconfigured kde gui to show <sigh> Do I have to reinstall it ?
I remember setting up all the crap for monitor/keyboard/mouse and stuff and remember selecting 1280x1024
I think I might have messed up kde last night. When at the prompt I was just playing around and tried another 'startkde' and it took me to a build-your-own kde/x combo screen. Now it boots to this and I can't seem to get the preconfigured kde gui to show <sigh> Do I have to reinstall it ?
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.