ubuntu

How can I automate dpkg/apt-get?

I'm trying to create a script that automatically downloads packages for new servers. However, some things like 'mysql-server' can not installed automatically cause you need to configure them in the ncurses interface first. I've looked through the man pages and can't find anything appropriate. I don't care if I have to upload/edit a con...

Pack existing ubuntu installation to iso

How would you pack a current installation of linux to an iso that can be used to boot from? What I'm trying to do is have my current ubuntu installation on a dvd and whenever I'm using a different computer, I could boot from the dvd and have my whole environment already there. ...

Creating new database under Oracle XE on Ubuntu

I've just installed Oracle XE in Ubuntu. Is there any way to create new databases, besides the one that comes with the installation, preferably from the command line so that I can do it from a script? It would be nice to have multiple databases started in the same time, if possible. If it is not possible to create new databases, then ma...

Problem running 32 bit apps on 64 bit Linux

I have a very minimal install of 64 bit Ubuntu 8.04. When I try to run some 32-bit programs, such as my "jhead" program, I get the message "No such file or directory" I figured it may be a library problem, but when I do ldd jhead instead of a list of libraries it needs, I just get the message "not a dynamic application". Same for ano...

Is it possible to install ASP on Linux Ubuntu Hardy?

I have recently purchased a VPS from Slicehost with Ubuntu Hardy installed. Is it possible to set up the server to work with ASP? I have no idea if this is possible, but if it is, does anyone have any good tutorials? Thanks. ...

Mount LVM overlays/snapshots?

Dear lazyweb, I'm trying to mount a disk image created with the Fedora LiveUSB creator under Ubuntu programmatically, and I'm encountering some issues. From what I've been told, it's very difficult to mount LVM snapshots outside of the host system. I have both the "pristine" image and the persistent snapshot, so I thought that it shou...

Great C tutorial?

I really want to learn C (I'm planning on joining an open source GNOME project). What would be a good tutorial? ...

Invoking the new NotifyOSD framework in C?

I want to make my GTK+ applications use the new notification area in Ubuntu. How can I do this? An example is shown below: ...

Webcam driver settings?

I'm working on a C++ application that uses OpenCV/ffmpeg to capture video frames from my built-in webcam (Studio XPS 13). This application is really sensitive to those auto light adjustments that the webcam driver does.... is there any way I can change this behavior? Either via some webcam driver settings app, or in code (you may suggest...

What is in Apache 2 a "caught SIGWINCH" error?

Hi, My server (ubuntu 8.04) LAMP running drupal 6, when there is high traffic, it stops serving pages. A restart of apache2 will not work, so I have to restart the service. I found this message in the apache2 error.log [notice] caught SIGWINCH, shutting down gracefully Also I notice that the process id of the apache2, was aroun...

How to install g++ 4.4 on Ubuntu?

There is a Debian g++-4.4 package, but it's not Ubuntu. There are too many system-destroyed scary stories on the web. How can I install g++ 4.4 on Ubuntu? ...

How to set up MIT Scheme for 6.001 in Ubuntu 8.10

I play to self-study 6.001 with the video lectures and lecture handouts. However, I have some problems setting up MIT Scheme in Ubuntu (intrepid). I used package management and installed MIT-Scheme, but it's obviously the wrong version to use. It should be 7.5.1 instead of 7.7.90 I followed the instructions from this website (http://oc...

How to start using and developing on Ubuntu Linux?

I am a newbie Linux user who came from 10 years using windows OS, and developing in Microsoft languages. I want to have a good experience in Linux world and developing on it. First, I want to learn how to use this new OS, then how to start developing on it, I am interested in web applications, specially using Java/PHP because I have some...

New applications open in wrong x screen in Ubuntu

I have a dual monitor setup and each has its own x screen in Ubuntu 9.04. Everything works as it should in screen 0. When I open an application in screen 1 (using any menu, e.g., Applications, Places, etc.), it opens in screen 0 instead of screen 1. So to get an application to open in screen 1, I hit - and type the program name. This al...

Why does Xdebug throw an error for a file that's included, not required

I'm running LAMP server on Ubuntu 9.04(Desktop edition). I'm very new to Ubuntu, so I did most of this via the Synaptic Packet Manager. I then removed php5-common and just installed php5 via: apt-get install php5 My error reporting is set to: error_reporting = E_ALL & ~E_NOTICE I installed Xdebug and inserted the following in my php.i...

Is there any advantage for developing on a 64 bit OS?

Hi, I'm not sure I understand it properly: does a 64 bit OS run/compile code faster than a 32 bit OS on the same system? We're using 64 bit OSs where I am and it seems to only cause compatibility issues with legacy and proprietary software. (We're running Ubuntu 9.04 Jaunty amd64) ...

Variables in debian/rules makefile

I have to port one RPM (made for Fedora) to Ubuntu as a deb package. In the RPM .spec file I'm using several variables ($RPM_BUILD_ROOT, %{_libdir}, %{name}, %{version}) to create a symlink: %install ... (cd $RPM_BUILD_ROOT/%{_bindir}; ln -sf %{_libdir}/%{name}-%{version}/%{name} . ) (Relative symlinks are forbidden (please don't ask...

.bashrc at ssh login

When I ssh into my ubuntu-box running Hardy 8.04, the environment variables in my .bashrc are not set. If I do a source .bashrc, the variables are properly set, and all is well. How come .bashrc isn't run at login? ...

Network-aware wx.FileDialog

Hi all, I'm using wx.FileDialog in a wxPython 2.8.8.0 application, under Xubuntu 8.10.. My problem is that this dialog isn't network-aware, so I can't browse Samba shares. I see that this problem plagues other applications too (Firefox, Audacious...) so I'd like to ask where I could find informations on how to make it work. Is that dialo...

Where to find prebuilt binaries for subversion 1.6 for Ubuntu (or Debian)?

While I can easily find the binaries for the latest version of subversion (1.6) I can't find the binaries for Ubuntu (or Debian). The download page at tigris.org suggest to use the command: apt-get install subversion but as you can experience this will install up to the version 1.5.4 (at the time of writing May 6, 2009). This isn't ...