ubuntu

Fix gnu screen blocking reverse video

I alias screen to 'TERM=screen screen' in order to fix it from messing up some key bindings (e.g. switching delete and backspace) However, when I do this screen doesn't show some reverse video output -- for example, it works in vim, but not output from watch -d . If I run \screen thus avoiding the alias reverse video always works as exp...

What do the values in tload mean?

The server I'm trying to maintain is sassing me. Among other things, I ran tload. This probably provides helpful information to someone who knows how to read this data. I do not. It says: 1.36, 1.12, 0.59 ------------- What should I glean from this? This is our home-grown stat server, it gets a crap-ton of requests, and runs logr...

Best Books for getting up to speed in all things UNIX

I have been hacking around on UNIX servers for a while now, I love Debian, its a great server OS. But I feel like I don't really grasp the entire system and overall environment of UNIX. More and more, server maintenance and configuration is becoming a bigger part of my life and I am looking for some great book recommendations. Keep in ...

How can I let users run a script with root permissions?

Given the dangers of SUID shell scripts, is there a more secure way of giving passwordless access to scripts (bash, PHP) with root permissions in Linux? (Ubuntu 8.10) ...

Why can't I find Perl modules after upgrading to Intrepid Ibex Ubuntu?

I upgraded to Ubuntu Intrepid Ibex yesterday and suddenly some of the Perl modules that I installed (on the Hardy Heron) have all gone missing! I get the usual "Can't locate module in @INC" error. Has any of the CPAN repositories changed or something for Intrepid? Google doesn't help at all. Thanks in advance. ...

Set Ubuntu Sound Volume on boot

The Ubuntu startup/login sound can be very loud, but I do like having it. I wrote a script that uses amixer to set the volume to 25%. This is the level I like to have it at, but when I use TV out or headphones I have to turn up the volume. I cannot seem to get the script to run before the login sound plays. I have tried a cron @reboot, a...

Installing and Linking PhysX Libraries in Debian Linux

Hello! I am trying to get PhysX working using Ubuntu. First, I downloaded the SDK here: http://developer.download.nvidia.com/PhysX/2.8.1/PhysX_2.8.1_SDK_CoreLinux_deb.tar.gz Next, I extracted the files and installed each package with: dpkg -i filename.deb This gives me the following files located in /usr/lib/PhysX/v2.8.1: li...

How to see packages installed on a given date using aptitude

Does anyone know if there's an easy way to find a list of packages installed, sorted by date, when using aptitude (or apt-get)? I was installing a bunch of packages to try something new, and it didn't work out. I'd like to remove all of these packages, to get back some disk space. I've tried just looking at the list of .deb files down...

What tools do I need to develop in actionscript (in Linux)

I've never developed flash before but I have a project where I want to use an actionscript 3 library and I'm not sure what tools I need to start. To further complicate things my main development box is an ubuntu box. Are there any necessary packages I need to install? Or any .deb's I can buy? Thanks ...

Install of Tomcat 5.5 on Ubuntu (using apt) leaves CATALINA_HOME unset

Hi, I'm setting up my development environment for writing web applications using Java, and I'm in need of some help. What I have done: Installation of Java SE 6 from Sun I installed (sudo apt-get install …) the following packages (one at a time as some of them requires user interaction) to get Java SE 6 from Sun: sun-java6-bin sun-ja...

Problem creating a tomcat 6 server in eclipse form Ubuntu

Hey Guys, I m Having a problem running tomcat 6 with eclipse 3 in ubuntu. i installed tomcat 6 on my machine and when i test it using http://localhost:8080, it work fine. But when i want to create a server in eclipse, when i select Tomcat 6 , i get the following message " Cannot create a server using the selected type". and i can't click...

What is the upgrade path for taking Ubuntu 6.06 LTS Server to Ubuntu 8.10 Desktop?

My development team uses a Ubuntu 6.06 LTS Server VMware image as our development environment. It has our development stack on it. I would like to upgrade that to Ubuntu 8.10 Desktop (Note: Desktop, not Server) . . . while not breaking any of the development stack in the original image. The development stack uses apt-get packages in t...

Why can't I find System.Text.RegularExpressions when using Mono in Linux?

I'm attempting to use Mono and Monodevelop (the IDE) to code a C# project in Ubuntu. Everything is working apart from the fact that the System.Text.RegularExpressions (Package?) is not found. The only relevant thing I have found on the interwebs is here There appears to be a solution of sorts posted, but I don't understand. Please he...

Tomcat & Eclipse integration

I'm developing on a Ubuntu 8.04 machine using Eclipse Ganymede. I installed Tomcat 5.5 using sudo apt-get install tomcat5.5 tomcat5.5-admin and using an Ant script I deploy my WAR file by copying it to $CATALINA_HOME/webapps. I then created an Eclipse project and I have it output compiled source in a similar but separate directory struc...

Fresh WAS-CE installation gives nothing but "HTTP 400 'bad request'"?

I apologise in advance for something I'm expecting is a horrifyingly noob-question. I decided to try out developing web-applications in Java, using IBM's WAS-CE platform. I've never worked with this platform before, nor any other platforms for running Java web applications (I've been using php for all my web projects). Now, I downloade...

What do I need to compile the kernel on Ubuntu Eee?

I'm trying follow a tutorial to create a custom USB driver in Linux and I hope to develop this thing on my Eee PC with Ubuntu Eee using g++. Unfortunately to follow the tutorial I need the linux/module.h header file. From what I understand I will need to compile the kernel to get this to work. I never compiled a kernel before and all ...

How to set up headers and libraries for Linux development.

I recently set up, for a learning exercise, an Ubuntu desktop PC with KDE 4.2, installed Eclipse and started to look for information on how to develop for KDE. I know there's KDevelop and will probably have a look at that at some time in the future. Right now, however, I don't have the correct headers and libraries for creating KDE appli...

Installing Webby on Ubuntu

I'm trying to install webby on Ubuntu ubuntu-8.10. So far I have installed Ruby 1.8, and RedCloth for Ruby 1.8. When I tried to install webby (using gem) I received the error: Error installing webby: webby requires hpricot (= 0.6.0, runtime) So naturally I tried to install hpricot: sudo gem install hpricot --version=0.6.0 But t...

Installing Compass (Following the Compass Primer)

I am currently following the Compass Primer I've followed all the steps for installation on Ubuntu 8.10, and when I try to run it, to ensure that it's installed correctly, it gives me a big mess of errors: sudo /var/lib/gems/1.8/bin/compass /var/lib/gems/1.8/gems/chriseppstein-compass-0.3.8/lib/compass/commands /install_rails.rb:5:...

Page displays true after running command: 'webby'

So, I'm running though the webby tutorial and I get to the part where you run the webby command for the first time to generate the website in the /output directory. I do that, and next I'm told to open output/index.html. I do so, and the only thing that displays is: true I view the source...and all that is displayed is true Th...