ubuntu

Eclipse 3.5 / Statet / R Console not working on Ubuntu linux

Hi, I had Eclipse 3.4 working nicely with the R Console over rJava. I want to get Sweave working in Eclipse, but need Eclipse 3.5 / statet 0.8 to do it. When I try to start the rJava Console the JVM starts, but no feedback comes back to the console in Eclipse. JVM process below - any help gratefully received. Thanks, Dave dave 2...

Can I use a shared library compiled on Ubuntu on a Redhat Linux machine ?

I have compiled a shared library on my Ubuntu 9.10 desktop. I want to send the shared lib to a co-developer who has a Red Hat Enterprise 5 box. Can he use my shared lib on his machine? ...

How to check the presence of php and apache on ubuntu server through ssh

Hello, I am not much into linux, so can any body please guide me how can I check whether the apache is installed with php and mysql on ubuntu server through ssh. Also if installed in which directory. And if in case some other package is installed like lighttpd. Thank You. ...

How does linux-kernel read proc/pid file?

How and Where does linux-kernel read proc/pid file which shows all processes in the system. I found linux-source-2.6.31/fs/proc/ Here there are files, but it is hard to understand because it is really complicated. Can someone knows, how it works? ...

Installing a fresh downloaded php package ubuntu server

Hello, I am trying to setup my ubuntu server, but it seems to me that the php package downloaded has got corrupt as it is not installing the whole package. When I am trying to reinstall after removing the package with sudo apt-get install php5 it uses the same package which it had downloaded earlier but i want to download a fresh copy ...

Is PyGTK or PyQT preferred for making GTK-native Python apps?

I'm a web developer looking to get my feet wet with coding up a little desktop app for Ubuntu in Python. I've scoured the web looking for the pros and cons of PyGTK vs. PyQT and can't really find any good comparisons. What do you guys think? Do they both produce native-looking widgets on a GNOME system? Is one easier to use than the oth...

how to run crystal reports in ubuntu linux

Hi all, I am trying to use the crystal reports application in ubuntu. So far i was able to connect the MYSQL database using c# in .net platform and run a small application in ubuntu over crossover linux. But when i try to fetch the data from mysql database and display in crystal reports i get an error as shown in the below picture: ...

Choosing Linux for open source development.

I work on Windows XP platform and use Aptana Studio, MySQL for PHP development. I want to know which Linux edition and flavor would be appropriate for my development purposes? ...

scheduled task log to a file named after current date

i have a scheduled task running for every 30 mins in ubuntu. i'm writing the log to a file called sh_tsk.log and using >> so that it doesn't overwrite. But what i want is to separate logs using dates. i.e today's log should be in a file named after today's date and tomorrow's log should be in a file named after tomorrow's date. i know i ...

Problems installing Drupal with Xampp and Ubuntu

I am attempting a fresh install of Drupal 6.14 on a Ubuntu 9.10 machine using XAMPP for Linux. I use XAMPP fine with Wordpress and some different frameworks. I am having problems after I download and extract Drupal to my /htdocs/. The following pic shows the errors I get. ...

How to read data from file and display in QEditText box in QT

i would like to read a line of data from text file and display that data in Text Edit box ...

How do I change the shell for php's exec()

Hey, I want to use php's exec() function on an ubuntu server. The problem is, I alway get an error, that the command is not found. For example using exec("echo 123"); prints sh: /echo: not found To me, it looks like php is using the sh shell, when I want to be using bash. I tried changing the shell for www-data in /etc/passwd,...

Append date to filename in linux

I want add the date next to a filename ("somefile.txt"). For example: somefile_25-11-2009.txt or somefile_25Nov2009.txt or anything to that effect Maybe a script will do or some command in the terminal window. I'm using Linux(Ubuntu). Thanks in advance. oh i almost forgot to add that the script or command should update the filename to...

Compile Windows C console applications in Linux

Can I compile a Windows C console application (.exe) in Linux? (more specific, Ubuntu) I heard a long time ago of cross-compilers, but I wasn't interested in them at that time. Best regards, John F. ...

What's limiting my PHP resources?

I'm having a problem getting more memory out of PHP. This is the error message: Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 82 bytes) in ... Yet: I've set memory_limit in the php.ini file to 32M: memory_limit = 32M; I've also tried to override it manually in the actual script: ini_set('memory_...

can we deploy an asp.net web application developed in windows in ubuntu

Hi all, We have developed a web application in windows using visual studio 2005. Is it possible to deploy that application in linux using crossover. Is it possible to run crystal reports in asp.net using crossover. I have used wine, and cross over and even mono. But it was not possible for me to develop crystal reports web application ...

How do I change the dynamically change the window size with Ubuntu on VirtualBox

Ive installed Ubuntu inside of a Sun VirtualBox. When I maximise the VirtualBox window the Ubuntu window stays the same size and does not dynamically grow with the size of the VirtualBox window. Ive seen this done before. How do I set it up? (And no Im not just looking for how to increase the screen resolution) Thanks ...

Gambas - How can I create radio (mutually exclusive) menu?

I'm using Gambas 2.13 on Ubuntu 9.10. I have created a QT graphical application and I'm trying to create radio (mutually exclusive) menu items, with a radio icon instead of a check mark when selected. I can't find any property in the Menu documentation that does that. Can you help? ...

How to uninstall the libraries in ubuntu

Hi, In ubuntu 9.10, I execute the following command to download/install the following libraries: sudo aptitude build-dep openjdk-6 sudo aptitude install openjdk-6-jdk Can you please tell me how to uninstall the libraries I installed using the above command. Thank you. ...

updating RubyGems on Ubuntu

Does anybody know how to update RubyGems on Ubuntu. The usual way doesn't work: steve@ubuntu:~$ rails /home/steve/www/mynewapp -d mysql create create app/controllers create app/helpers create app/models create app/views/layouts create config/environments create config/initializers ...