ubuntu

What package includes AB the Apache Server Benchmarking Tool in Ubuntu

I'm trying to find ab - Apache HTTP server benchmarking tool for Ubuntu, I'm hoping there's a package I can install for it. I decided I need to do some simple load testing on my applications. ...

How do I run a program as nobody?

I want a user-privileged (not root) process to launch new processes as user "nobody". I've tried a straight call to setuid that fails with -1 EPERM on Ubuntu 8.04: #include <sys/types.h> #include <unistd.h> int main() { setuid(65534); while (1); return 0; } How should I do this instead? ...

Good Java Practices in Ubuntu

Hey all, my Computational Science course this semester is entirely in Java. I was wondering if there was a good/preferred set of tools to use in ubuntu. Currently I use gedit with a terminal running in the bottom, but I'd like an API browser. I've considered Eclipse, but it seems to bloated and unfriendly for quick programs. ...

Has Ubuntu reached the point yet where it's user friendly for most users?

I remember once before (1-2 yrs ago) if you needed to configure ANYTHING in Ubuntu, you needed to go use the command line. How is it today? Can I use it as my full desktop? Can I take it to presentations around the country and not embarrass myself because the projector won't work? Does it work well when I have to connect to various ...

Scanner cannot be resolved to a type

I just installed Ubuntu 8.04 and I'm taking a course in Java so I figured why not install a IDE while I am installing it. So I pick my IDE of choice, Eclipse, and I make a very simple program, Hello World, to make sure everything is running smoothly. When I go to use Scanner for user input I get a very odd error: My code:import java.uti...

svn over HTTP proxy

Hi all. I'm on laptop (Ubuntu) with a network that use HTTP proxy (only http connections allowed). When I use svn up for url like 'http://.....' everything is cool (google chrome repository works perfect), but right now I need to svn up from server with 'svn://....' and I see connection refused. I've set proxy configuration in /etc/subve...

How do I erase my disk? (In a secure way) (Ubuntu)

I mean really erase. In a secure way. (It's Ubuntu) UPDATE: Ok, "shred -vfz -n 10 /dev/hda" looks like what I was after. ...

Time Synchronization Ubuntu Server Under Parallels

I've installed Ubuntu Server (8.04) into Parallels and found that the system time/clock ran fast to the extent that it would gain hours over time. ...

A visual MySQL tool for Ubuntu

Hi all I have recently installed Ruby on Rails on my new Ubuntu machine (first time for me) and i was working through a demonstration on setting up a sample blog. Basically, i came to the part of setting up the mysql database and would rather use a visual MySQL tool to do this rather than command line. What is best to use? and how do ...

How do I use (require :PACKAGE) in clisp under Ubuntu Hardy?

I am trying to evaluate the answer provided here, and am getting the error: "A file with name ASDF-INSTALL does not exist" when using clisp: dsm@localhost:~$ clisp -q [1]> (require :asdf-install) *** - LOAD: A file with name ASDF-INSTALL does not exist The following restarts are available: ABORT :R1 ABORT Break 1 [2]> :r1...

How do I add another run level (level 7) in Ubuntu?

Ubuntu has 8 run levels (0-6 and S), I want to add the run level 7. I have done the following: 1.- Created the folder /etc/rc7.d/, which contains some symbolic links to /etc/init.d/ 2.- Created the file /etc/event.d/rc7 This is its content: # rc7 - runlevel 7 compatibility # # This task runs the old sysv-rc runlevel 7 ("multi-user") ...

How do I use owfs to read an iButton temperature logger?

I've installed owfs and am trying to read the data off a iButton temperature logger. owfs lets me mount the iButton as a fuse filesystem and I can see all the data. I'm having trouble figuring out what is the best way to access the data though. I can get individual readings by catting the files, e.g. cat onewire/{deviceid}/log/tempera...

Mount TrueCrypt volume on login in Ubuntu

Is it possible to automount a TrueCrypt volume when logging in to Ubuntu 8.04? It's already storing the wireless network keys using the Seahorse password manager. Could TrueCrypt be made to fetch its volume password from the same keyring? Currently this would seem like the most convenient way to store my source code on the USB stick I ca...

How do you find out which version of the GTK Ubuntu is using?

I need to determine which version of GTK Ubuntu is using. Man does not seem to help ...

Automatically resizing X11 display when connecting an external monitor

I have a laptop running Ubuntu to which I connect an external monitor when I'm at the office. Usually this requires me to run "xrandr --auto" in order for the laptop to resize the display to match the external monitor. It would be nice if this could be done automatically, either triggered when the monitor is connected, but it would be en...

How to build a Debian/Ubuntu package from source?

I have the source of a program (taken from cvs/svn/git/...) and I'd like to build a Debian/Ubuntu package for it. The package is present in the repositories, but: It is an older version (lacking features I need) I need slightly different compile options than the default. What is the easiest way of doing it? I am concerned about a cou...

Which is the best LINUX distribution for an all time Windows user

I want a Linux installation which closely matches with Windows Vista in terms of GPU support and good Desktop experience. I heard that Ubuntu is a good choice here. Anybody have thoughts or experience to share. ...

Is it possible to simulate installation of Debian packages, still marking them installed?

Here's what I would like. Start with a virtual sytem with no installed packages. Then I invoke a tool similar to apt-get to ask it to compute the dependencies and mark all the packages that would be installed as installed. Let this be clear: it says the packages are installed, but they are no files actually installed. Then if I ask for ...

How do I upgrade python 2.5.2 to python 2.6rc2 on ubuntu linux 8.04?

Hi, I'd like to how to upgrade the default python installation(2.5.2) supplied with ubuntu 8.04 to python 2.6rc2. I'd like to make 2.6 the default python version on the system and migrate all the other useful installed python libraries installed on 2.5.2 to python 2.6rc2. Please let me know how I can achieve this. Thanks Dirk ...

how do i find which process is leaking memory

I have a system (Ubuntu) with many processes and one (or more) have a memory leak. Is there a good way to find the process that has the leak? Some of the process are JVMs, some are not. Some are home grown some are open source. ...