ubuntu

Ruby on Rails installation error on Ubuntu

Hi I am a newbie to rails. I just started learning Ubuntu, I am using version 10.04 especially to work on rails and use feedzirra in my college project. I am getting the following error. Could you please help. anergroup@ubuntu:~/ruby$ ruby -v ruby 1.8.8dev (2010-10-01) [i686-linux] anergroup@ubuntu:~/ruby$ rails -v Rails 2.3.8 The l...

Find a string in all the files on the system.

Hi all. Using PHP, how to find all the files in the whole system (I am using ubuntu) which contain string errorlog. I tried exec() and grep but it is taking just one occurrence. Thanks. ...

time of disconnection in ubuntu server

in ubuntu server (with ssh protocol), how I can change the time of disconnection for inactivity? ...

Git status slow on VMWare guest but not host

I am running an Ubuntu Lucid guest inside VMWare Player on a Windows XP machine, using a shared folder. git status is slow in the VM (24 seconds) but fast on the host machine (0.06 seconds) Any idea why? More details: My repo is about 620 MB (obtained by doing du -hs . in the guest OS) I've tried running git gc as described here, bu...

Using bluetooth keyboard in grub bootloader

I want to choose between several OS's during startup. How can i manage this by using my bluetooth keyboard/Cellphone or at least my IR remote? ...

ProFTPD and jailing user's to their home directory.

I am running ubuntu karmic with ProFTPD and I have uncommented following line: # Use this to jail all users in their homes DefaultRoot ~ This kind of works (users are jailed to their home when defining server path), when the user connects to the ftp they are initially in / ... meaning the root which is not what I w...

http to https redirection using .htaccess not working

Hi, I want to redirect http://myip/admin to https://myip/admin. I am trying to use .htaccess to do this (want this only for the admin folder). Contents of .htaccess placed in the relevant folder: RewriteEngine On RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} (apache mod_rewrite is enabled). B...

ubuntu php eclipse noob question...

Hi I am new to php eclipse and I have a question about my eclipse interface.. According to the pictures I saw on the internet, the keyword for php will be colored (mysql_connect, echo...etc). However, every words in my php file are plain black. There are no colored keyword. I am sure my file is saved as .php. How would i solve this prob...

warning: GDB: Failed to set controlling terminal: Invalid argument

I'm using Qt Creator on Ubuntu to develop C. Whenever I run with the debugger, I get the message warning: GDB: Failed to set controlling terminal: Invalid argument. This happens even with a hello world program. How can I solve this? ...

UBUNTU:How to NOT run vsftpd at boot time... ?!

Possible Duplicate: UBUNTU:How to NOT run vsftpd at boot time ?! Also, already migrated to SF: UBUNTU:How to NOT run vsftpd at boot time… ?! HI, Im trying to prevent vsftpd to start at boot time and didnt find how until now... Im using Ubuntu 10.04 LTS. I have installing vfstpd via apt-get I have removed the init scrip...

Xampp / Lampp changing database dir (No datadir)

Hello, I want to use same database dir on my ubuntu installation as of windows 7, I read a lot on net which guided to change datadir of my.cnf but there is no datadir in my /opt/lampp/etc/my.cnf # Example MySQL config file for medium systems. # # This is for a system with little memory (32M - 64M) where MySQL plays # an important part,...

Using RakNet source with Code::Blocks on Ubuntu

Hey Forum, So i'm trying to find out how to use the source files from RakNet with Code::Blocks, in Ubuntu. All the tutorials on the internet are for windows, or use windows ".lib files". I need to find a way to get this working but I'm getting very discouraged since this is my third day in a row that has been without result. If anyone c...

What Is the simplest way to compile FFMPEG on an Ubuntu Server

Hi, I need to execute FFMPEG with some options that are not included when I install using apt-get, so I need to re-compile it. What is the best/easiest way to do it? I'm using a Ubuntu 8.04 Server. The option I need to add is --enable libspeex1. Thanks in advance. ...

Ubuntu - Error: Failed to create the SD card

I see a lot of posts about writing to the SD card, but I believe my problem is different. I am unable to create the SD card during the process of building an AVD. I initially tried to use the Android SDK and AVD Manager to do this, selecting Name: my_avd Target: Android 2.2 - API Level 8 SD Card: Size: 1024 MiB Skin: Built-In: Default ...

Ubuntu/Spring 3 - Strange issue with locale

I'm experiencing a strange issue with Ubuntu 10.04.1 LTS x86_64 where everything seems to work fine when the system locale is en_US. However, when the system locale is en_GB Spring tries to look for the default resource bundle as en_us rather than en_US. The exception: 06-Oct-2010 23:35:12 org.springframework.context.support.ResourceBu...

How do I uninstall ubuntu on my external HDD?

I have ubuntu 10.04 Netbook Edition and I don't like its interface compared to desktop and it makes my laptop slow. I want to uninstall it but I don't know how to? Its installed to my 1TB external HDD ...

Should we upgrade ubuntu server from 9.04 to 10.04?

We are running a pretty vanilla ubuntu server for web hosting and email. I am wondering what the pros are of upgrading to 10.04 of ubuntu? Any risks involved? ...

CWD of an Node.js application started with upstart (Ubuntu)

I've coded an node.js app that when get executed need to return CWD from process to be able to read files on disk. When I start the app directly with node in the actual app directory... #!sh node app.js everything is working fine and "process.cwd()" return the good path. But when the script is started with upstart or even direct...

Allow all users access to virtual computer. VMPLAYER + Ubuntu

Installed VmPlayer on a PC that runs Windows 7. I logged as admin and installed Ubuntu Linux via VmPlayer. When I log in as 'user', VmPlayer does not show the Ubuntu installation. Is there a way to allow all users on that PC, to access that Ubuntu virtual PC? Thanks for all help. ...

How to develop Android Apps using a Samsumg Galaxy 5 device?

Hi, I am developing my first Android App. I have an application already running on emulator (Eclipse + Android dev. tools) on Ubuntu 10.04 LTS - the Lucid Lynx - released in April 2010. I have already tryied the steps provided on Android Developers Portal on this link, but whenever I try to list my already connected device using ./adb d...