[opensuse] How to install/configure a webserver?
Hi list, I run openSuSE 10.3 as my host OS and I have installed openSUSE 10.2 and backtrack onto VMware workstation. Now I want to install a webserver onto the openSUSE 10.2 in the VMware. Of course the procedure should be very similar to that of any other software. Just pop in the DVD and choose the packages and interdependencies and click "install". Can someone tell me however that how could I configure a webserver for the virtual LAN so that I could open up a small number of interlinked HTML files on the virtual LAN only? I just want to learn how to configure webservers / FTP servers. Thanks in advance. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 2007-11-15 at 19:45 +0530, Vaibhav Kaushal wrote:
Hi list,
I run openSuSE 10.3 as my host OS and I have installed openSUSE 10.2 and backtrack onto VMware workstation. Now I want to install a webserver onto the openSUSE 10.2 in the VMware. Of course the procedure should be very similar to that of any other software. Just pop in the DVD and choose the packages and interdependencies and click "install".
Can someone tell me however that how could I configure a webserver for the virtual LAN so that I could open up a small number of interlinked HTML files on the virtual LAN only?
I just want to learn how to configure webservers / FTP servers.
Thanks in advance.
I use XEN rather than VMWare for my Apache testing and its no problem... Make sure all your apache2 packages are installed on the vm, then start the service with /etc/init.d/apache2 start or rcapache2 start (whichever you prefer.) You may want to do this under Yast2 > httpd as it will be easier for you to open up the firewall there. Then you point your browser to that vm's ip address and you should get a "It works!" page. The default configuration for web html pages is pointing to /srv/www/htdocs. To configure apache service, go to /etc/apache2/default-server.conf. As for FTP servers, it depends which FTP server package you install, but generally all of them point to /srv/ftp for file repository. Hope that helps get you started. -- ---Bryen--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi, Thanks a lot for the reply. I will try to do what you have told. I think that I will go with the instalation from the package from the DVD of openSUSE 10.2 itself as I think that it should be holding all the dependencies necessary. Since I am not too good at installing apps on the Linux, I think installing from sources is not going to be a very good Idea for me! Another question I would like to ask which actually is a bit offtopic is: I had tried XEN when I used SLED 10 SP1 (I used it as only this Linux worked on my NEW system ... at the time). But when I installed Windows XP inside XEN, it was unable to detect the ethernet ; even after shutting down the firewall! What could be the problem? Would it have required the drivers (I do not think so).
I use XEN rather than VMWare for my Apache testing and its no problem...
Make sure all your apache2 packages are installed on the vm, then start the service with /etc/init.d/apache2 start or rcapache2 start (whichever you prefer.) You may want to do this under Yast2 > httpd as it will be easier for you to open up the firewall there.
Then you point your browser to that vm's ip address and you should get a "It works!" page.
The default configuration for web html pages is pointing to /srv/www/htdocs. To configure apache service, go to /etc/apache2/default-server.conf.
As for FTP servers, it depends which FTP server package you install, but generally all of them point to /srv/ftp for file repository.
Hope that helps get you started.
-- ---Bryen---
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- There are 10 kinds of people in the world - those who understand binary ... and those who don't! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 2007-11-15 at 21:02 +0530, Vaibhav Kaushal wrote:
Hi,
Thanks a lot for the reply. I will try to do what you have told. I think that I will go with the instalation from the package from the DVD of openSUSE 10.2 itself as I think that it should be holding all the dependencies necessary. Since I am not too good at installing apps on the Linux, I think installing from sources is not going to be a very good Idea for me!
You should definitely use the DVD install as it is optimized for your particular distribution. If you need a more recent version of the package, then just hang in there. Usually, a new rpm package for that particular update will be in the repositories in short time. Now, my question to you. In your first post, you said you are using 10.3. If so, why would you use 10.2 DVD for installation of the package? You should use your 10.3 DVD. Match the package with the distro version. -- ---Bryen--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi, Thanks again. yeah, I understand that DVD version of the app will be the best and optimized for the performance on my distro in particular. As far as the version is concenred, I would just say that in the very first mail I said that the thing is experimental and the server will run inside a VirtualMachine deployed on VMware Workstation. MY OS IS openSUSE 10.3 for sure; but the virtual machine which will host the server will be opensuse 10.2. So I will have to use the 10.2 DVD right? I am not using 10.3 as GUEST on Vmware to run my server because the support for openSUSE 10.3 is still "EXPERIMENTAL" for both as a host and as a guest. So Its better that I run at least ONE OS of the host and the guest which is FULLY SUPPORTED. So I chose another of my favorites, openSUSE 10.2. ANother option was a SLE (either SLED or SLES) Since I do not money to have SLES, the option is ditched and SLED is not for server thing, so that too goes. Sorry to make it long, but I thought it would be better to make it clear at one go.
Now, my question to you. In your first post, you said you are using 10.3. If so, why would you use 10.2 DVD for installation of the package? You should use your 10.3 DVD. Match the package with the distro version.
--
---Bryen---
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- There are 10 kinds of people in the world - those who understand binary ... and those who don't! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
have not personally installed windows in xen but it is my understanding from what I have read that your processor will have to have VT technology to be able to support windows in xen. Windows has not been modified to be aware of xen as suse has. The VT technology is what allows an unmodified OS to see the hardware properly. Some one correct me if I am off base on this one. On Thu, 2007-11-15 at 21:02 +0530, Vaibhav Kaushal wrote:
Another question I would like to ask which actually is a bit offtopic is:
I had tried XEN when I used SLED 10 SP1 (I used it as only this Linux worked on my NEW system ... at the time). But when I installed Windows XP inside XEN, it was unable to detect the ethernet ; even after shutting down the firewall! What could be the problem? Would it have required the drivers (I do not think so).
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
well, I use a Intel Core2Duo E 6320 processor which is said to support VT. So I think that it was OK! And anyway I had installed Windows XP! Only that I was not able to create the ethernet (virtual) with the HOST! On Nov 15, 2007 9:19 PM, Daryl Hamilton <dhnetconsulting@gmail.com> wrote:
have not personally installed windows in xen but it is my understanding from what I have read that your processor will have to have VT technology to be able to support windows in xen. Windows has not been modified to be aware of xen as suse has. The VT technology is what allows an unmodified OS to see the hardware properly. Some one correct me if I am off base on this one.
On Thu, 2007-11-15 at 21:02 +0530, Vaibhav Kaushal wrote:
Another question I would like to ask which actually is a bit offtopic is:
I had tried XEN when I used SLED 10 SP1 (I used it as only this Linux worked on my NEW system ... at the time). But when I installed Windows XP inside XEN, it was unable to detect the ethernet ; even after shutting down the firewall! What could be the problem? Would it have required the drivers (I do not think so).
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- There are 10 kinds of people in the world - those who understand binary ... and those who don't! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Nov 16, 2007 12:01 AM, Vaibhav Kaushal <vaibhavkaushal123@gmail.com> wrote:
well, I use a Intel Core2Duo E 6320 processor which is said to support VT. So I think that it was OK! And anyway I had installed Windows XP! Only that I was not able to create the ethernet (virtual) with the HOST!
On Nov 15, 2007 9:19 PM, Daryl Hamilton <dhnetconsulting@gmail.com> wrote:
have not personally installed windows in xen but it is my understanding from what I have read that your processor will have to have VT technology to be able to support windows in xen. Windows has not been modified to be aware of xen as suse has. The VT technology is what allows an unmodified OS to see the hardware properly. Some one correct me if I am off base on this one.
For some processors, you've got to double-check in the BIOS that the VT feature is enabled. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Well, how do I check that IN BIOS? Where are the options for it? And hey, thanks bryen! I got that thing working! Thanks a lot. However I would like to have some comments / suggestions from your side. On Nov 15, 2007 9:50 PM, Chee How Chua <chuacheehow@gmail.com> wrote:
On Nov 16, 2007 12:01 AM, Vaibhav Kaushal <vaibhavkaushal123@gmail.com> wrote:
well, I use a Intel Core2Duo E 6320 processor which is said to support VT. So I think that it was OK! And anyway I had installed Windows XP! Only that I was not able to create the ethernet (virtual) with the HOST!
On Nov 15, 2007 9:19 PM, Daryl Hamilton <dhnetconsulting@gmail.com> wrote:
have not personally installed windows in xen but it is my understanding from what I have read that your processor will have to have VT technology to be able to support windows in xen. Windows has not been modified to be aware of xen as suse has. The VT technology is what allows an unmodified OS to see the hardware properly. Some one correct me if I am off base on this one.
For some processors, you've got to double-check in the BIOS that the VT feature is enabled. --
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- There are 10 kinds of people in the world - those who understand binary ... and those who don't! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 2007-11-16 at 01:53 +0530, Vaibhav Kaushal wrote:
Well, how do I check that IN BIOS? Where are the options for it?
Depends on your BIOS's use of terminology. Hunt around, you may find something like "virtualization" or "vt".
And hey, thanks bryen! I got that thing working! Thanks a lot.
My pleasure! Use this information for good and not evil. :-)
However I would like to have some comments / suggestions from your side.
If you're learning/studying, I would suggest you research the following topics. They would make for a good solid starting point to further your Apache administration skills: - Password protecting directories or subdirectories using AuthBasic - Using SSL - Creating virtual hosts. (hint: vhosts.d) -- ---Bryen--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 16 November 2007 04:23:57 Vaibhav Kaushal wrote:
Well, how do I check that IN BIOS? Where are the options for it?
And hey, thanks bryen! I got that thing working! Thanks a lot.
However I would like to have some comments / suggestions from your side.
If you've managed to install Windows XP in a Xen environment then you've got the VT extensions on your processor and enabled in the BIOS. If they were disabled in the BIOS then you'd never have been able to install Windows XP in the first place. Networking within Xen for hardware assisted virtualistion (which is what you're doing with Windows XP in Xen) is _similar_ to that in VMware. There should be an emulated network card made available which typically uses the PCNet32 drivers (just like VMware without the VMware Tools installed). In your Windows XP Xen VM, is there no network device hardware present at all under device manager? The YaST/virt-install application for setting up the VM should have made a NIC available to the VM. It might be possible to double-check this via the virt-manager application. Failing that a look at the VM config file might be useful. It's not clear what you're using Windows XP in Xen for, but be aware video performance will be poor (you're essentially connecting via VNC to a very generic emulated video card), and disk I/O and network I/O are not great either. Disk and network I/O can be improved by using the para-virtual machine driver pack. This provides network and block device drivers that can take advantage of Xen's para-virtual interfaces. In this way, we don't modify the Windows kernel for Xen, but modify the drivers it uses for I/O. You should imply from this that the main use of Windows in a Xen environment is for servers rather than interactive user functionality. Regards, Jon -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Bryen
-
Chee How Chua
-
Daryl Hamilton
-
Jonathan Ervine
-
Vaibhav Kaushal