I am having a problem.I use Ubuntu 10.04 server edition.Two computers on LAN one with Public Ip A other with local (Class C IP)say it BWith a third computer in same subnet I can access a TomCat application running on B as http://Ip of B:8080/applicationI want to use A as a Reverse Proxy for this application to be reachable from internet.So on Googling I came across some thing known as mod_ajp I enabled that on my Server A asa2enmod proxya2enmod proxy_ajpa2enmod headersbut after that I am not able to understand as how do I define vhost to be able to forward HTTP request which come on A as www.myserver.com/appto B which I can see internally as http://Ip of B:8080/application so Tomcat on B handles this.
I've got my first EC2/cloud instance of Ubuntu up and running. This is my first time really dealing with the server edition. I've loaded Apache, Tomcat, PostgreSQL, and Webmin. I've got a public IP on the instance and it is working. I've opened, for now, ports 80, 8080, 443, and 10000 to 0.0.0.0/0.
I cannot get into Tomcat Manager or Webmin at all through a browser. For Tomcat, I've restarted, stop/started, and verified that Tomcat is running. I installed Webmin all through apt-get commands so any dependencies should have been installed (first time doing it this way), but cannot get to the login screen. But if I just go to the IP, Apache goes to the "It Works." splash page. Did I miss some set up? Is there an internal firewall in Ubuntu Server edition that needs to be set?
I have KDE 4.4 and Firefox 3.6. Whenever I click a link from a plasmoid widget, it tries to open Konqueror and another instance of Firefox. The page actually loads in the opened Firefox window, but the task bar shows an instance of Konqueror and another instance of Firefox, that keeps loading for a while then close. See image below:
I currently have setup the browser default application as "firefox". If I set this option to use the default application, it opens in Konqueror and I don't see additional windows in the task bar. If I change the option to "firefox %u", then it exhibit the same issue, but the process is much faster, so the loading windows don't stay for long in the task bar. Additionally, it opens the link on a new Firefox window and opens the page twice. Although Konqueror is not loaded, the bouncing icon next to the mouse pointer shows up and stay for a while.
I am configuring bind9 on fedora 9(sulphur).I have configured /etc/named.conf and created zone file in /var/named/I have started the service but when I am executing the command nslookup mydomain.com it is not able to resolve the name.Another problem I am facing when I do telnet localhost 53,I am able to connect.but when I do telnet myip 53 it does not connect.Seems to be a firewall problem but I ve disabled iptables selinux completely even I ve disabled dnsmasq but still not working.
I installed eclipse and tomcat with package manager. Eclipse and tomcat are running but i can't see tomcat in the eclipse. I just see 'Basic' folder. That is a screenshot [URL]
I am running Ubuntu Enterprise Cloud on two PCs, one as Controller, one as a node. I have downloaded two Ubuntu virtual machine images from the Ubuntu Enterprise Cloud Store and can successfully start instances of them with: euca-run-instances -k mykey emi-XXXXXXXX -t c1.medium
If I run this command I can see the instance is running: watch -n5 euca-describe-instances
I can ping the IP address of the VM instance from my Controller but I can't make an SSH connection to it. I'm following the instructions @ [URL] so I have tried connecting with: ssh -i ~/.euca/mykey.priv ubuntu@192.168.1.250
The result is: Permission denied (publickey).
If I try adding -v to the ssh command I get: OpenSSH_5.1p1 Debian-6ubuntu2, OpenSSL 0.9.8g 19 Oct 2007 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for *
I might just be crazy or particularly dumb today but what I'm trying to do is have sed replace the first and second instance of a character on a line but not after that.
Basically it is a csv file with a date formatted as dd/mm/yyyy and I need to completely remove the slashes. No problem using:
Code: sed 's////g' < file > outputfile
The only problem is that one of the columns after this may also contain these slashes and shouldn't be removed.
I must have read every single sed page on the net today to find a way to do it to no avail! Is it as simple as :
Code: sed 's////1' < file > outputfile
And then run the same on the output file again? these two slashes will always be the first and second slashes in the file.
I'm trying to use tigthvnc (with ssh tunneling) in order to acess remotely my parent's kubuntu desktop. That way I'll give them some support when I'm at my home or office.
Practically I hadn't used vnc with linux, but I recall having used with windows. In linux when I logged to the remote machine (which runs vncserver) it's opens a new instance of X server. I'd like to access to the X session that's already opened. Let's suppouse my parents are logged into X with the user: john. I'd like to access john's session, to see and check his applications. In one word I'd like to vnc in linux behaves the same way as windows.
Is that possible with vnc? I'm using tightvnc. I tried -shared option in client, but no success.
Is there any way to make Dragon Player so there is just one running instance of it at a time? Like if i have something playing and i click on something else to play have it so that the instance currently running changes to the new file instead of opening a new window?
So i'm really loving the whole gnome-do/docky thing. My question is that on other docks, you can hold down a modifier key to launch a new instance rather then switching to an already opened instance of an app. So lets say I have chrome on the win7 dock
first click launches chrome other clicks will focus the opened window shift click will open a new instance of chrome ctrl-shift-click will launch a new instance as admin
I need to set up an ubuntu 10.04 instance on ec2, but there are some instance ready available I tried with few but I am not really happy with that since those are meant for test puporse.
I have to deploy a java/j2ee based web app with mysql. 1)need to install tomcat 2)java runtime 6 3) apache web server
What would be the best image to use for my requirement and I initially planning to launch with the micro instance if my web app demands I may further move to small and larger instances. So it should be eligible for free usuage tier.
I've beeb setting up keepalived/haproxy as a load balancer for our site.
If you keep it down to two load balancing instances it works just fine. However, I was told to add a 3rd load balancer to the mix and that adds a new wrinkle. I need to add a new keepalived instance and I can't quite figure out how that's done.
It would seem to me to be an issue of the priorities as that is the only thing I altered in the files. Initially, nodes A and B were set to 101 and 100 respectively. I set node A to 102, node B to 101 and node C to 100... keepalived restarts and the virtual IP is pingable. But the website goes down!
SO then I tried Node A set to 101, node B to 100 and node C to 99. Same thing, I restated keepalived and the site goes down, tho the virtual IP remains pinagble and keepalived and haproxy are running.
here is a sample config file from my setup:
Code: vrrp_instance VI_1 { state MASTER interface eth0 virtual_router_id 51
is it possible to run for instance pan remotely via ssh and make that instance of pan running on server, regardless upon closing it via ssh?for example i would love to do: start pan instance via ssh on the server keep it open while downloading close the ssh session, keep the pan running on the server in background. open ssh session and access the same instance of pan running on the server etc something in that loop.im unable to do that because when i close pan ssh remotely the instance automatically terminates on the server.
Installed Fedora 12 in a 3.1.6 Virtual Box with Open Solaris as the host OS. All went well, with Guest Additions and was really nice. Until however I did a yum update and now it fails to boot, or at least get to a login box. how I can watch the boot information i.e. turn off the splash screen whilst it is coming up?
Is there a way (as in there in Windows), for not to group tasks of same application, in one single button in the task manager? so even every instance of one app appears as separate buttons?
When a new instance of a running KDE 4 application (kwrite, konqueror, etc.) is run under opensuse 11.4 with KDE4 it seems that the default behaviour is to open a new tab in the running instance.
This occurs when the new instance is called from the command line; the start menu; the run dialogue; or a desktop icon, even when called from a separate desktop. In konqueror the menu option <File> <new window> opens a new tab and seems redundant.
How can a user force KDE 4 applications to run a new instance in a separate frame / window when another instance of that application is already running?
Possible Duplicate: Can history files be unified in bash? I have bash running in an ssh session, call this session A. I leave the office, go home, ssh to the same box, call this session B. From session B, I'd like to be able to look at the history of session A.
The performance of my suse install under Virtual Box is starting to affect my work, and I really need access to my real multi core CPUs - can I take my vm and stick it on a bootable SD or external HD?I've read the howto move existing linux installation to usb-flash and make it bootable? but it didn't work for me (I'm not convinced I copied correctly).
e.g.: I don't want to use Firefox Add-ons, and I need to be logged in several places [via HTTPS in ff], but it requires several proxys (so I don't want to install e.g.: foxyproxy).How can I exactly start several Firefox instances, so that I could use several proxys?
I just finished setting up a default Linux EC2 instance and would like to install PHPMyAdmin. I already have Apache and MySQL installed but cannot seem to install PHPMyAdmin. I tried using
sudo apt-get phpmyadmin but the command apt-get is not recognized.
I also tried sudo yum install phpmyadmin but that I get the message No package phpmyadmin available.
I have a terminal that opens when the system starts and I was wondering if there is any way to keep it specifically, not other terminal windows, from appearing in the window switcher in compiz?
I'm trying to install a virtual 10.04 image on a 10.04 server host, and the method I used that worked with 9.10 now fails. For example, I try to install with the following virt-install command (as root):