linux

How to install Flash Builder 4 or a Flash Builder plugin on Eclipse in Ubuntu 10.04 ?

I want to install Flash Builder 4 or a Flash Builder plugin on Eclipse in Ubuntu. There are two methods I know to achieve it. 1. Use fb4linux. 2. Use wine and follow these steps http://diariolinux.com/2009/06/22/how-to-install-flash-builder-on-linux/ Second method gave me errors while installing. First method is good and installs...

grails app will not deploy on tomcat FAIL - Application could not be started

My first experience with implementing my own rackspace cloud server is going really well up to this point. I have Debian installed and I am running tomcat 5.5 on the server. I have a grails application that I created a war file of. (I am using grails 1.3.2 BTW) I open the Tomcat manager and use the upload and deploy war feature. The ...

Call external script within chroot environment

I use a chroot development environment for developing software for devices. The chroot dev environment isolates the rest of my system from my build-system hacking. The chroot environment is text-based, but I prefer to use a graphical text editor. Right now, I keep one terminal chrooted into the dev environment to build packages and one t...

Small help with bash

Hello, I'm using accessing thorough DBUS from some process. The trouble is that it runs from another user and session of DBUS is different for them. So I can't acces application which uses DBUS through another process if the sessions are different. I found the way to resolve this trouble: some script writes into file dbus session data fr...

what can i use to create a revision tree graphic on linux

Which tool should I use in order to create a revision tree for a whole svn repository on linux. It's going to be like a visualization of every action made on that repository. ...

can memory corruption be caused by invalid *reading* freed memory?

I'm getting *** glibc detected *** (/my/program/...): malloc(): memory corruption: 0xf28000fa *** I've run under valgrind, which reports cases of reading memory that has been freed, but no cases of illegal memory writes. Could reading freed memory cause memory corruption? If not, any suggestions where else to look beyond the valgri...

sudo in php exec()

I don't know what the deal is here… So I want to run an applescript: sudo osascript myscript.scpt it works fine in the terminal, however when I execute it via PHP's exec(), nothing happens. The console says no tty present and no askpass program specified ; TTY=unknown ; … I did my research, and it seems I'm missing the password for th...

Permission to manipulate files in Hudson workspace

Hi I am having trouble working with the Hudson workspace. I am using fabric to manipulate source files on the Hudson CI server. By default, the source files are downloaded from subversion server to workspace folder, with "hudson" as the owner. On the ubuntu machine that runs Hudson CI, I cannot run the "cp" command on a source file even...

Basic doubt in Oprofile

Hello, I am trying to profile my software (in Linux) with oprofile. My software consists of both userspace and kernel module. First my doubt is what does the --separate=kernel option do? What will be the difference when running without that option? I did try to see it but couldn't find any difference. Could you please post an example? C...

How to automate this process?

I do these jobs every day manually with a GUI client: upload data(.tar.gz) to remote server(linux) via ssh,which takes about an hour. uncompress the data and run update.sh How can I automate the process so that I don't need to wait an hour? My PC OS is windows. How to do the above jobs by commandline? ...

Linux blocking udp socket won't receive

Hello, I am openning a udp blocking socket on an ubuntu machine, it goes successful (no errors returned). When sending data to that machine and port from another machine the receive doesnt breaches and in a wireshark sniffer I see and Icmp error "port unreachable". I though it might be an iptables problem and opened the port for accep...

Hard evidence that Linux is more stable than windows?

I am trying to convince management to switch from SQL Server, to MySQL on Linux. This is very much a windows house, and management seems very wary of using Linux. Can anyone provide hard facts showing Linux is more stable, higher performance than windows for running a DB server? And any other advantages? Also, nobody here knows how to...

Is it possible to stream during a conversion? - FFMPEG

Hi folks, I'm wondering if it is possible to stream video while the video is being generated through conversion. Any ideas? ...

Bash script to prepend a random number to all files

I have a "smart" phone that doesn't seem to have a music shuffle function, so the next best thing is to write a bash script to prepend all filenames in the current directory with a random number. Is this difficult to do? Thanks. ...

How does the java-service-wrapper decide whether to use the 32 or 64 bit VM?

We're using a vendor licensed copy of the Tanuki Java Service Wrapper to start their platform. It ships with wrappers for every O/S flavour and architecture and the recommended profile is a 64 bit VM with a 3 gig heap. We're using 64 bit Redhat, but I've been unable to find a wrapper configuration option which forces the wrapper.sh scri...

Loadable object for Sub::Name

I am trying to use wkhtmltopdf to generate pdfs. I've got a perl script that does the job in Windows. I'm now trying to move it to my production linux box (shared hosting). I can create a pdf on the linux box with wkhtmlpdf but am having issues with the perl script. I'm now getting an error "Can't locate loadable object for module Sub::N...

How is linux kernel tested ?

How do the Linux kernel developers test their code locally and after they have it committed? Do they use some kind of unit testing, build automation? test plans? ...

How to do a while loop with a string redirected into it

Im trying to loop though a string with HTTP links inside and newlines, I want to loop over a line at a time. At the moment I have echo -e "$HTTP_LINKS" | while read HTTP_S_LINK ; do TEST_STRING="test" done But this way I don't have access to the TEST_STRING out side the loop, which is what I want. I'm using the while loop so that...

Email Server; How to configure postfix to suit my needs? (Do I need SASL or/and TLS?)

I have a linux server, where I just installed postfix. I have done nothing more with the email server config. My website is a classifieds website, where users may put ads, delete ads etc etc. No login and no member functions at all. Only place I need to use email is this: When posting a new classified a confirmation email will be se...

sed help remove malwarm code from multi files

Hello guys ive this malwarm code in so many files html and php on the server i need to remove them using sed -i expression search all files on dir /home/ find infected files and remove the code replace it withe white space any help ? <script language=JavaScript>var usikwseoomg = 'PaBUTyjaZYg3cPaBUTyjaZYg69PaBUTyjaZYg66';var nimbchn...