Server :: Config Web Server To Be Access By Other Machines With Browser?
Jul 19, 2010
I installed a server called Oracle VM Manager, which is actually a web based application to manage Oracle VM server.After successfully installed everything, it suppose to be access by browser using But strange thing is, I can see web pages from the server itself with but any other machines to access it with hostname or ip address all failed.
I was trying to have access from a browser to the squirrelmail configtest page in my server, making some changes, I accidentaly remove the directory webmail. After I replace it with a backup apache2 can not start. This is what I have. Syntax error on line 281 of /etc/apache2/apache2.conf: Syntax error on line 1 of [URL].. closed. But I am sure there is a ?> at the end of this file.Base on what I read on [URL]...-with-the-tag/ I test without the ?> also, but I got the same error.
I am having a server in a corporate data centre. There are some virtual machines running on it.The main server is accessible from internet via SSH. There are some people who within the lan access the virtual machines whose IPs on LAN are
from internet only one host is allowed SSH. This machine has public IP and is also connected to LAN on the IP 192.168.1.50. Tunnel is not allowed on our network.So now I am came across a solution as explained on this link. I am not clear with on which machine .ssh/config file I add following
Code: Host securehost.example.com ProxyCommand ssh user1@insidemachine.com nc %h %p Should above be done on gateway where public IP and ssh is allowed or client on internet who has to login. Do I need to create separate accounts on the gateway also so that the users who can SSH to gateway then are forwarded to inside machines? Or one account on gateway is sufficient for different people logging in via internet to my gateway and then forwarded to internal machine?
Then do I need to create an account user1 on the gateway also?
1) What is the correct syntax for ProxyCommand on gateway's .ssh/config should I use
Code: ProxyCommand ssh user1@inside.machine nc %h %p or I should use Code: ProxyCommand ssh user1@gateway.com in nc %h %p
2) Should I create new user accounts on gateway also which exist on internal machine?
in my network, users has total access to their PCs, so theres a problem to filter (URL, ports,etc.) their virtual machines installed (they can assign self any IP, e.g.)
Id thought about use the MAC prefix in VMware VMs (00:0c:29:*), but i can only found a way through DHCP, and this isn't a good solution (they can assign a static IP to workaround...)
It will be better using firewall (iptables), but I don't found the way to add rules based in MACs with wildcards.
I have a linux server , there are many files in it , I want to let the user to use browser ( windows ) to access the files to upload / download files , as below command , the user can access the path in the server "linuxserver".
I'm running Fedora 10 with apache and I installed mod_dav_svn so that I could set up a secured remote code repository. It appeared to be working ok until I turned on SSL and basic Authentication.I even verified in my subversion.conf httpd configuration file that it is pointing to the correct password file. When I attempt to access it from my web browser, it prompts me for a user name and password, but it will not let me log in. I tried to disable SSL thinking that that might have been the problem, but I get the same results either way. Can anyone please help me resolve this problem?
I'm going away for the weekend and will only be able to bring my laptop that has the latest release of Ubuntu on it. My question is: will i be able to access my company's Terminal Server site [URL] from browser in Linux, and be able to launch the applications? (Outlook, etc.) Seems to connect to Windows Server 2008. If this works in Linux, that would make my life a lot easier..
I have Fedora Core 13 running. I have successfully (I think) installed squid, although I may have it configured incorrectly. I can ssh into the box from work via putty, but I can't use the proxy. I get a message "the connection to the server was reset while the page was loading" I can use the proxy from my home network, and have watched the tcpdump for port 3128 while using the proxy. I have turned off iptables completely (I'm not sure yet how to just allow squid)...
How can I run LAMP (Linux, Apache, MySQL, PHP) in a virtual machine (Ubuntu in virtual box) and make it so the web server is accessible locally (and ONLY locally) on the host OS via an ip address?
Been a while since I last posted here, though I stop by often. Unfortunately I find myself in a bit of a pickle again. Here's the situation. I have an RHEL3u5 server running Apache 2.0.48 and an equivalent of Tomcat and JBoss. IBM's WebSphere Application Server 6.0.2 to be exact, the Apache also being one of their flavors (IBMIHS).
Everything's been going dandy since forever, but lately the httpd processes seemingly just hit a brick wall of some unknown kind. Checking the /server-status page reveals a whole lot of piling up "waits".
The funny part is that the load average rarely goes higher than 1.0, I/O seems within limits, memory usage as far as I can tell seems fine, disk usage appears all good... I would've felt more at ease if something did shoot through the roof, but there's just nothing to go on. It's definitely Apache getting its knickers all in a twist as well since I can access the servlet engine's web GUI just fine over its dedicated port via browser.
Here's what I noticed so far: Apache processes rise steadily to over 35 or so, after which it all goes south fast. As a result and as a temporary fix, I've enabled a cronjob that checks the amount of httpd processes and just restarts Apache if they're above 28. So far this seems to keep things sort of happy, but obviously I'm still twitchy with the overall state of affairs. I do not have the settings immediately at hand, but here are some further details so far:
Server spec: 8 x Xeon CPUs 8GB RAM
I'll post further details probably on Monday, specifically key portions of the httpd.conf file.
config my apache server to list all my files: c/c++, php, java files, like the txt file on my server, e.g /var/www/mydomain/pub i want to dump all my c/c++, php, java file under the pub directory and I can access it from my domain name, if I dump txt file, I have no problem to view it, but when I dump c/c++ or php files under pub directory, then I can't view it like regular txt file, Q: is there anyway I can configure my apache server to view all the c/C++, php, java file as like txt file?
I've got a home server running Ubuntu Server 9.04 and several machines running Ubuntu Desktop (9.04 and 8.04) and Windows (XP, Vista and 7). Now what I want to do is to create a domain and directory server similar in function to Windows Server w/ AD and join my other machines to the domain, but am not sure where to start. I already have file shares with Samba but now I want to setup a domain.
I would like to setup 2 linux machine each with two ethernet cards, and need to connect to two subnet e.g. 192.168.*.* and 10.0.*.* . If one linux machine out of order, the other will take over all the services(1 httpd and two named(192.168.*.1 and 10.0.0.1 as server ip). What network config is best and easy to failover to other machine?
it may be a simple doubt i have but i really want to know this,in the httpd.conf file under the server root of apache server.they have instructed not to add a slash at the end when mentioning or giving the path for server root.I think both will still remain the same, then y is that mentioned that way?
when installing mysql-server by this command sudo apt-get install mysql-server. Installaton is complete but i cant get a my.cnf file. Can anyone tell, what is the mistake i did and how to overcome from this error. Here, i am posting the results
I'm presently writing software to keep my system time from drifting, it uses an external clock device.To verify it's accuracy I'm running ntpd as a server, and have another server monior the first as a client. This allows me to compare the offset with other 'valid' time servers.The problem is that the monitoring client keeps synchronising with my development server. How can I configure either the dev. server or the client so that it's time won't be selected as a good time source?The ntp.conf on the dev. server looks like:
Code: server 127.127.1.0 # local clock fudge 127.127.1.0 stratum 10
I have a Bind DNS caching-only server setup that is working. I am bringing up a new AD domain controller that will also be a DNS server for that AD but I don't want it responding to any DNS queries except those that are AD related.So, my goal is to leave this caching server as the primary DNS server for stations on the network and have it forward requests for the AD domain to the domain controller.My understanding is that I just need a forward zone for that domain pointing to the domain controller. However it does not seem to be working.So that leaves me to think that my caching server is not forwarding properly.
For example, this AD is going to have a naming convention of hostname.mydomain.local.If I do an nslookup and specify the domain controller's IP address as the server, I can query addresses that exist in DNS on that server, such as dc1.mydomain.local.However, queries to my caching server times out (I get a response from the caching server if I query mydomain.local but none of the objects in that domain) Here is my named.conf file:
I have a DNS server on my LAN at 192.168.140.25. Going by the example in the O'Reilly DNS and BIND book I bought, I set up the domain movie.edu and [URL]. To my great surprise and delight, I can access toystory.movie.edu in a browser from another PC on the LAN (as long as I add 192.168.140.25 to the DNS servers). Encouraged by this victory, I decided to try to set up another subdomain at [URL].
This kind of worked but not completely. Interestingly, I can get to both [URL] and [URL] on my server, but on my PC, I can only get to [URL] not [URL]. Here is my db.movie.edu:
Code:
$TTL 3h movie.edu. IN SOA toystory.movie.edu. al.movie.edu. ( 1 ; Serial 3h ; Refresh after 3 hours
I only have one IP adress to access the server. But the server will host 3 web sites and I want them to be hosted in a vm. So, I want to setup 3 virtual machines to do it and use apache reverse proxy and vhosts to redirect the domain requested to the right vm. Now. I understand the concept, but I am not an expert to set that up....
I have an openSUSE 11.3 server. So, I have to set a virtual machine server, is that right? I have been told that I cannot do it with VMware server in oS 11.3. Can I use virtualbox for this? I only have to install virtual box? Is there a special version to install? Once the virtual machine server is install, is it trivial to create 3 vm? So, I want to know wich are the steps I have to take to set that up.
suddenly ,I get a project to shutdown all xp's by a Linux server(RHEL5) using a single command.by net command i did that.but in this case i have to specify all the ip addresses manually .Is there any way that Linux server obtain the ip addresses automatically on a network and then shut down all the pc's
I would like to setup grsync to auto backup me xp desktop and win7 laptop.I have setup samba and can access the directories on the ubuntu server.I can see the desktop and laptop on the network from the server.But when I try to find the machines i want to backup in source in grsync they are not there.What should the permissions be on the windows machines?
I'm planing to get 4 dedicated, remote servers for my start up, the question I have is: how to do only one installation and then duplicate or clone this installation into all the other machines. I could install those 4 servers manually, but the problem is - we have a lot of things that our application needs, and later there will be more servers. So an automatic way to do that would be better. We are using Debian. Perhaps there's a way to create a "big package" that will contain all of the necessary software in it, then simply require from the hosting provider that all of our servers come with Debian installed, and then manually upload the "big package" and install it?