Hi,
I would like to move my application on EC2.
I would like to know the AMI Image which has Linux(Preferably Ubuntu),PHP 5,MemCached, eAccelerator or XCache.
Please advise.
Regards,
Mugil.
Hello.
I am trying to implement a transport layer protocol for my project. I am going to use Linux as my operating system. Could you please suggest me some books or links that explain the implementation of transport layer (like TCP)? Thank you..
Thanks,
Bala
I would like to use OpenBSD's implementation of malloc, realloc and free on my Debian lenny desktop rather than glibc's.
Are they simply drop in replacements: will they work on my Linux desktop ?
Which are the file(s) that I need and which OpenBSD package contains them ?
I want to clear console screen every time the user make an input in C++.
I'm thinking of using system command. For Windows, it is "cls". For Linux, it is "clear". Is there a way check which system to use the appropriate command in c++?
Thanks.
Normally when linking against a static library, I have to specify a library directory and the name of a libX.so (or its symbolic link) as -lX flag for linking [and its directory with -L flag].
Can I automate this based on my header files (in c/c++) only? Or maybe it is not a good idea? Is there a software for locating the -L and -l parameters automatically? Is some table stored somewhere on the system about this on popular linux systems or even cygwin?
Specifically, I'm using the linux command:
find . -regextype posix-extended -regex '' ...
I just want to make sure the posix type I'm using is the type Perl uses, since that is by far the one I am most familiar with.
Hi.
I'm interesting in information what show me output ls -la in linux. So, default size is 4K. But if there are a lot of files, maybe with zero size, such as PHP sessions =), the size != 4K.
What showing me ls -la?
And after, when i clean this folder i see tha last max size.
My understanding is that when make executes, it generates a DAG internally to represent all the dependencies in the project. Is there a way to get at that DAG and graph it, say using something like graphviz? I'm using gnu make on Linux.
I need to download everything from an FTP server to hosting on a different server. I have shell access only to the server I'm downloading the files to. How, using the Linux FTP comnand, can I download every file, creating the directories needed for them in the process?
I am trying to isolate a nasty bug, which brings down my linux kernel. I am printing messages to stderr and stderr is redirected to a log file. Is there a way to disable buffering on the file access? When kernel hangs, I am losing the messages in the buffer.
When you try to build git on Red Hat Enterprise Linux 3, you get an error:
In file included from /usr/include/openssl/ssl.h:179,
from git-compat-util.h:139,
from builtin.h:4,
from fast-import.c:147:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
Hi,
I m running iperf between two machines (linux) and I can observe the mtu of both the interfaces connected is 1500.
I ran tcpdump to capture packets and I observed some packets have
"length as 2962"....how come this is possible with mtu as only 1500?
Please clarify.
Thanks!
Note: flags field is set as DF. and proto is TCP
What is the ending 'r' for and the leading 'd' for in file permissions on Linux?
Example:
drwxr-xr-x
I know about the user, group, others part, and I know w=write, r=read, x=execute.
But I don't know about the leading 'd' and the trailing 'r'.
Care to explain?
Thanks
on Linux 12.04
I have an executable file located in say:
/a/b/exe
and a config file on
/a/b/config
when doing:
cd /a/b/
./exe
everything's ok and the stat function finds the file config on /a/b/
HOWEVER,when running from root
/a/b/exe
the stat doesn't find the config file
any idea why?
it makes it impossible to run the binary using a script that isn't ran from the folder of the exe....
Thanks
if you wanna code a desktop application in java for windows, mac and linux, will the code be the same for all of them?
and you just change the GUI so that the Windows application will be more Windows-like and so on?
how does it work without digging into details?
In perl you can simply write print "-" x 20 and you get a line with dashes...but i need the same thing in bash/commandline on linux without perl/(g)awk etc. any ideas? The intention is to use it in the -exec of the find command and i want to prevent using simple echo "---------" ...
I used asp.net in a project in an old company. The vs was licensed etc. Right now, I am planning to use mono since my new company is using linux based stuff and I heard that mono uses the .net framework etc. I just want to know if I need to purchase anything or is it ok to create a webapp using mono?
if i write this command in linux "dd if=/dev/sda of=/dev/sdb" it copy the whole dev/sda partition bit by bit to dev/sdb.....is there any way that i can just only copy the contents of /dev/sda to /dev/sdb and not the whole partition bit by bit......
Is there a way to detect the character encoding set in the terminal which is calling my Java program? In Windows I can call the "chcp" tool and parse the output.
But what about in Linux or Mac?
Hey guys.
I've just installed Ubuntu 10.04, trying out linux for the first time. I'm wondering if it's possible to link my documents folder in Ubuntu to my documents folder in Windows, so that when I open the folder in Ubuntu, I am linked to the folder in Windows.
Any ideas?
I am looking for the Java equivalent of gprof.
I did a little Java profiling using System.getCurrentMillis(),
and saw several GUI tools which seem too much.
A good compromise could be a text-based Java profiler, preferably
free or low-cost, which works in either Windows XP or Linux.
Hello,
in a Linux environment, I need to kill a process which has been started by user2 if I am user1 without being sudoers or using root.
Do you know if there is a way of setting that when launching the process? Such as a list of users allowed to kill the process?
Thanks
Using my c++ program how can I find out what group the current user running my program belongs to? So my program need to figure out a couple of things :
The current username of the user
The group the user belongs to
How can do the above 2 using c++ on a RedHat / Linux machine?
I have written a Python application and would like to give my users the option of having the app automatically launch itself when the user logs in. It is important that the user is able to toggle this option on/off from within the app itself, rather than having to manually edit login scripts, so this needs to be done from within the Python code rather than from a shell script. The app is deployed on Ubuntu Linux, any suggestions for the best way of doing this?
How can I get the following output using linux command by comparing two text files? Thanks.
file1:
site110
site120
file2:
domain1.com - site110
domain2.com - site111
domain3.com - site112
domain4.com - site113
domain5.com - site120
output:
domain1.com - site110
domain5.com - site120