ubuntu-10.04

How do I set up SSH access for an Amazon EC2 instance?

时间秒杀一切 提交于 2019-12-03 00:06:53
问题 I need SSH access to an Amazon EC2 instance running Ubuntu 10.4. All I have is the Amazon username and password. Any ideas? 回答1: Basically, you need a private-key file to login into your EC2 via SSH. Follow these steps to create one: Go https://console.aws.amazon.com/ec2/home & sign in to your existing Amazon account. Click on "Key Pairs" on LHS or https://console.aws.amazon.com/ec2/home?region=us-east-1#s=KeyPairs. You should see the list of KEYs generated by you (or during EC2 creation

Facing some issues regarding tomcat startup and shutdown on ubuntu 10.04

﹥>﹥吖頭↗ 提交于 2019-12-02 22:08:24
I am facing some issues regarding tomcat startup and shutdown. I am using Tomcat v.6.0.32 (using the extracted the bundle downloaded from Apache website and not the one distributed by Ubuntu 10.04) Ubuntu v.10.04 I start the tomcat using command: $./catalina.sh jpda start Then I try to stop it using command: $./catalina.sh stop and get the following message: SEVERE: Catalina.stop: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress

Ruby on Rails MySQL #08S01Bad handshake - downgrade MySQL?

久未见 提交于 2019-12-02 20:36:38
We recently upgraded from MySQL 5.1.41 to 5.1.61 on our Ubuntu 10.04LTS server. We have an ancient RoR web app that's now giving a bad handshake error: Mysql::Error in MainController#index #08S01Bad handshake /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/vendor/mysql.rb:523:in `read' /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/vendor/mysql.rb:153:in `real_connect' /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection_adapters/mysql_adapter.rb:389:in `connect' /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record

How to use sudo over SFTP with CyberDuck?

与世无争的帅哥 提交于 2019-12-02 18:46:40
I'm copying this question from over here: http://getsatisfaction.com/cyberduck/topics/can_i_use_sudo_over_sftp_with_cyberduck I am having the same issue and finding it hard to find an answer: I am using Cyberduck over SFTP. I can connect and browse files fine, but when I try to upload, I get a permissions error. Web host says I need to use the 'sudo' command. I know how to do this via Terminal, but it is possible to to tell Cyberduck to use sudo? Please don't tell me to use root because: What if you don't have root access or don't want to enable root access? I had this same problem for a

Pointing a domain to my remote Node JS application?

淺唱寂寞╮ 提交于 2019-12-02 16:51:33
I'm trying to work out how exactly to deploy Node JS on my Ubuntu 10.04 LTS server. I've read many different blogs and articles that explain multiple different ways. Most seem out of date, or don't really work it seems. It seems that the simplest solution is to use something like Forever? ...or Upstart with Monit or Supervisor. Is that correct? One thing that I still don't understand though is without using something like Ngnix, how would I actually get my domain name (such as example.com) to actually point to my Node JS application and it's running port? Many thanks for any guidance. I'm not

rhino vs spidermonkey

空扰寡人 提交于 2019-12-02 15:52:59
I noticed ubuntu 10.04 removed the spidermonkey package. Rhino looks like it's still there though. What are the differences between rhino and spidermonkey (besides what language they're written in). And why did they remove spidermonkey? I'm afraid the difference is the language they are written in, or what it means. People use C/C++ to write all manner of things (like Firefox) whereas Java is most prevalent in Application Servers. From http://en.wikipedia.org/wiki/Rhino_%28JavaScript_engine%29 : Rhino converts JavaScript scripts into Java classes. Rhino works in both compiled as well as

Apache stops processing requests (mod_wsgi?)

不羁的心 提交于 2019-12-02 15:01:19
问题 At some point my site, running on Apache2 with mod_wsgi just stops processing requests . The connection to server is maintained and client waits for responce, but it never is returned by apache. The server at this time is at 0% CPU , and nothing is processing. I think, apache just sends request to queue and never gets them out of there. When I perform apache2ctl graceful the problem does not resolve. Only after apache2ctl restart . My site is a 4 instance wsgi application of Pyramid and 2

How do I set up SSH access for an Amazon EC2 instance?

不问归期 提交于 2019-12-02 13:53:08
I need SSH access to an Amazon EC2 instance running Ubuntu 10.4. All I have is the Amazon username and password. Any ideas? Basically, you need a private-key file to login into your EC2 via SSH. Follow these steps to create one: Go https://console.aws.amazon.com/ec2/home & sign in to your existing Amazon account. Click on "Key Pairs" on LHS or https://console.aws.amazon.com/ec2/home?region=us-east-1#s=KeyPairs . You should see the list of KEYs generated by you (or during EC2 creation process). Click on "Create Key Pair" if you don't see any or you lost your private-key. Enter a unique name and

Apache stops processing requests (mod_wsgi?)

好久不见. 提交于 2019-12-02 10:08:43
At some point my site, running on Apache2 with mod_wsgi just stops processing requests . The connection to server is maintained and client waits for responce, but it never is returned by apache. The server at this time is at 0% CPU , and nothing is processing. I think, apache just sends request to queue and never gets them out of there. When I perform apache2ctl graceful the problem does not resolve. Only after apache2ctl restart . My site is a 4 instance wsgi application of Pyramid and 2 instances of Zope 3. It is running normaly and does not have speed problems, that I am aware of. versions:

Monodevelop on Ubuntu Console.ReadLine doesn't work

旧城冷巷雨未停 提交于 2019-12-01 22:18:48
问题 I'm trying to develop on Mono platform on Ubuntu. But I got trouble on my first application :) Here is the code: using System; using System.Threading; namespace threadings { class MainClass { public static void Main (string[] args) { Console.WriteLine ("The start"); string x=Console.ReadLine(); Console.WriteLine(x); Console.WriteLine ("the end"); } } } And here is the result: The start the end And no any string between them, and no reading from console happens, and I can't input anything.