ubuntu-10.04

Is there any uml tools on Ubuntu ?

Is there any uml tools(as Rose) on ubuntu ? thanks ...

Ubuntu 10.04 - RVM won't set a default ruby.

Hello, I've managed to install RVM on a Linode VPS before, but after a rebuild I'm running in to all kind of problems and thought I'd see if anyone here could advise. I'm trying to install RVM (and Ruby 1.9.2) on a Linode Ubuntu 10.04 (32 Bit) VPS. I've tried following the instructions on many sites, such as http://web2linux.com/insta...

rubygems 1.3.7 TypeError (in 'merge') during installation on Ubuntu

While installing ruby-1.9.2-p0 with rvm on an updated Ubunutu x86_64, I keep getting an error in `merge': can't convert String into Hash (TypeError). All apt packages in rvm notes and those found in the rubygems manual have been installed. I believe the error is resulting when RVM is attempting to install rubygems. I also get the same e...

Why is there a switch in the CPU core usage when I run this C code?

When I ran this code using gcc, $ cat eatup.c #include<stdio.h> #include<stdlib.h> int main() { int i = 0; while(1) { i++; } } $ the CPU graph went like this : I am not sure why there is a cross in the CPU core usage. I started the run at the rise to the left of the 40 mark, then initially core2 usage rose to...

kdevelop keeps "forgetting" launch configuration

I'm running kdevelop 4 under ubuntu 10.4. Everything runs fine, except that when I add a launch configuration, the configuration is gone after I've run my project once. The same goes for configuring keyboard shortcuts (except that in this case the changes i made work for just a few seconds). I've run kdevelop 4 from a console to check if...

No error output after installing all LAMP components

Today I installed LAMP on my Ubuntu 10.04. I created separate VH file for my site. When I started playing with code I noticed, that there are no errors. Some times code didn't appear, but no error message. I got curious and started to search, what might cause such behaviour. After 2h of searching I still don't have answear. Can anyone h...

Ubuntu 10.04 Server switching to static IP

I am running an Ubuntu 10.04 server installation and I recently had to switch it from DHCP to static ip. I edited /etc/network/interfaces file and switched "iface eth0 inet dhcp" to "iface eth0 inet static address 192.168.1.167 netmask 255.255.255.240 network 192.168.1.160 broadcast 192.168.1.175 ...

JVM fonts and JasperReports

I'm trying to generate report with DynamicJasper, but I'm getting the following error net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'Arial' is not available to the JVM. msttcorefonts is installed, but I guess JVM is not using any fonts from it. I'm using ubuntu 10.04 any ideas??...

Ubuntu packages needed to compile Python 2.7

I've tried to compile Python 2.7 on Ubuntu 10.4, but got the following error message after running make: Python build finished, but the necessary bits to build these modules were not found: _bsddb bsddb185 sunaudiodev To find the necessary bits, look in setup.py in detect_modules() for the module's name. Wha...

Trouble Building Membase

On Ubuntu 10.04 command line: sudo apt-get install build-essential automake libtool pkg-config check libssl-dev sqlite3 libevent-dev libcurl libcurl4-gnutls-dev Reading package lists... Done Building dependency tree Reading state information... Done automake is already the newest version. libtool is already the newest version. p...

How to generate uuid with PostgreSQL 8.4.4 on Ubuntu 10.04?

Hi guys, I am running PostgreSQL 8.4.4 with Ubuntu 10.04. I am trying to generate uuid but can't find a way to do it. I do have the uuid-ossp.sql in /usr/share/postgresql/8.4/contrib/uuid-ossp.sql When I try this is what I get : postgres=# SELECT uuid_generate_v1(); ERROR: function uuid_generate_v1() does not exist LINE 1: SELECT ...

Creating an autostart application on Ubuntu Linux

Hi! I'm trying to setup a Python application that should automatically start when Linux boots. It should also start (unless not already running) if the computer resumes from standby mode - which is mainly the problem. Does anybody know where to integrate these requirements? Thanks, Marius ...

Typing using key combinations?

I'm a Ubuntu 10.04 user who is looking for a way to, for example, make my computer type a "+" character when I hold down the Windows Key (I think it's called "super" in Linux world) and press the "k" key. I need this to work in all applications. (I'm a person with a typing disability, and I need to adapt Ubuntu to my needs.) Thanks! ...

best way for Jetty to serve multiple wars hot

I have a new 64-bit Ubuntu server with 4G of memory. I need to serve several (6 now, maybe 50 later) war files as their own context roots. (Similar apps from a commmon code base branded differently). I'm more comfortable with Jetty than Apache. I can just drop the wars in /usr/share/jetty6/webapps. But how can I add new ones without ...

can't start ubuntu 10.04. What steps to take?

Installed Ubuntu 10.04 and was happy with how it was working. Then I tried to restart.... After restart, Ubuntu wouldn't start. It doesn't even get to the "ubuntu" loading screen with th e5 little dots that light up under the logo. The screen just goes black and, actually, looks like the power to the monitor is shut off. Finally got it ...

Does this top look healthy to you?

I run a server with the following specs: Intel i7 920 8 GB RAM Linux 2.6.32-25-server #44-Ubuntu 10.04 SMP Fri Sep 17 21:13:39 UTC 2010 x86_64 GNU/Linux 75 Apache processes Low-end hardware RAID-1 with 2 disks Historically all our problems with scaling the service have been disk bound but currently we see higher load numbers than bef...

Making /home folders private in Ubuntu 10.4

How do I stop one user account from being able to read files in another user account. Right now once i log in, I can easily navigate to /home/[username] and copy/read any file. How do I make it thus that only /home/[username]/shared is allowed to be read/copied. I would also like to prevent listing of directories. ...

Is it possible to serve static files with nginx/ubuntu from an nfs mount?

I've been getting "403 permission denied" while using a nfs mount. Any ideas? NB: Disabled sendfile. ...

Ubuntu 10.04 - Python multiprocessing - 'module' object has no attribute 'local' error

The following code is from the python 2.6 manual. from multiprocessing import Process import os def info(title): print(title) print('module name:', 'me') print('parent process:', os.getppid()) print('process id:', os.getpid()) def f(name): info('function f') print('hello', name) if __name__ == '__main__': ...

About the architecture of Virtual-Machine

System information: Ubuntu SMP Thu Sep 16 16:05:42 UTC 2010 x86_64 GNU/Linux Virtual Marchine: VirtualBox 3.1.6_OSE r59338 linux.amd64 I wanna to install a virtual system with x86-64 in Virtual Box,But it seemed that it is impossible to do this. The virtual machine tips me it only detected an i686 CPU. Is there any link between the...