I am trying to use exim4 on debian to relay mail, nothing more. I have a stage mail server and a production mail server (both written custom in python to do weird stuff). I also have all these running on a single linode host.
production mail is on port 2500, stage mail is running on port 2501. I'd like exim to relay mail based on th...
Hi,
I have been trying to make an init script using start-stop-daemon. I am stuck on the arguments to the daemon. I want to keep these in a variable at the top of the script but I can't get the quotations to filter down correctly.
I'll use ls here so we don't have to look at binaries and arguments that most people wont know or care abou...
I'm having trouble getting an environmental variable out of apache config. (don't ask why it's being done this way, I didn't originally code it)
This is what I have in the apache config.
<Location "/var/www">
SetHandler python-program
PythonHandler mod_python.publisher
PythonOption MYSQL_PWD ###########
PythonDebug On
<...
Hi,
I'm using the openssl utility of debian in order to create a certificate.
The certificate paramemters are given in a configuration file, which is made of key-value pairs.
My problem is that I want one of the values to include the number sign (#). But openssl handles this sign as a beginning of comment, i.e. if my value is val#1, o...
I'm finding the scala '-i' command line option quite useful for running some scala code and then dumping me into an interactive shell so I can prod/inspect the things it defined.
One thing which completely mystifies me though: why does it load and run the script twice ?
For example, given file test.scala containing the cannonical
prin...
How can I determine which packages where installed because I requested the installation and which packages where automatically installed in order to satisfy dependencies?
In aptitude, this information is shown as "A":
i A fam ...
i grub ...
i A grub-common ...
This shows that I requested the package grub and that gru...
apt-get install devscripts
What is the equivalent in centOS?
...
I have created a java application for "Debian Linux." Now I want that that application reads a file placed in the directory where the jar file of that application is specified. So what to specify at the argument of the File Object?
File fileToBeReaded = new File(...);
What to specify as argument for the above statement to specify rela...
I have created a java application and packed it into a jar file on a Windows platform. Now I wants to deploy that jar file on Debian Linux.
Will the same jar file work for Debian Linux?
Is the command, used in windows for executing a jar file from the command prompt, same for Debain Linux?
i.e.
java -jvm "MyJar.jar"
Will the above...
I am building python2.6 from source on Debian Lenny.
( ./configure make make altinstall )
I don't want it to conflict with anything existing, but I want it to be in the default search path for bash.
Suggestions?
(ps, I'm using a vm, so I can trash it and rebuild.)
...
While I'm working on it, I have my application's location hardcoded:
public static string MYPROGRAM_PATH = "/path/to/my/workspace";
Obviously this won't work once I package and distribute my application. How do I keep track of where it is installed to?
I'm primarily concerned with linux packaging (specifically .deb's), but I'm planni...
I am distributing one of my applications using a .deb package, but have a problem relating to one of the files.
The distribution includes a database file which is constantly updated by the app, on a fresh install I want the installer to copy a new, empty db file onto the users system, but on an upgrade I want the installer to leave the...
I have few years of exp on linux, mainly ubuntu (dual-boot). Now i am shifting to windows, and installing linux in VirtualBox (PUEL). I am looking for a light-weight distro for development machine setup. Thought of using debian-unstable-minimum, and installing build-essentials, openbox(or a little more feature light-WM, ps recommend), ss...
Say I am able to follow the packaging guides and have figured out how to make a working .deb and .rpm, how can I get distros to actually include my software?
What's firstly the quickest / easiest way, and secondly the most appropriate / official way?
What if my software depends on other people's libraries that do not have packages? Do...
Hi all,
This is my first time compiling Linux kernel. I am using Debian Live. I used kernel-package to compile and I also added a new system call to return an arbitrary integer value greater than zero.
Everything went fine and I got both headers and image .deb files. When I tried to install them with dpkg, there was a warning that sai...
Migrated to Server Fault
Apache virtual host configuration on debian
Im new to apache configuration and would be really glad if someone helped me with the following.Im running apache on a virtual private server, running the debian operating system.
In /etc/apache2/sites-available, i have two virtual hosts defined,site1.com.conf and si...
I have the following debian structure:
debian/usr/share/test
debian/usr/share/test/test
debian/usr/share/test/test/a
debian/usr/share/test/test/b
After building the package using dpkg-deb --build and installing it using dpkg -i, it doesn't seem to create the folders test automatically if they don't exist. Do I need to create them man...
I had a customer report a wierd behavior related to PHP-#38146
I did var_dump(phpversion()) and I get:
string(14) "5.2.0-8+etch15"
What the heck is the -8, and the +etch15, some sort of Debian related extension of PHP? Related to hardened PHP or something? Does this mean they are essentially running a 5.2.0 build?
...
Does any one know of a good, free, visual SVN client for Linux?
...
Hi folks,
I've a problem with JBoss 3.2.6. When I try to launch it, I get this error.
09:19:22,449 ERROR [StatefulSessionContainer] Starting failed jboss.j2ee:jndiName=TypicalBean,service=EJB
java.rmi.ServerException: Could not bind home; nested exception is:
javax.naming.CommunicationException: Network is unreachable [Root excep...